joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b645f
Capabilities:
Hash data using murmur3

Disassembly:
or edi, dword [0x501858]
rol esi, 0x16
mov dword [0x5050f6], ebx
inc esi
ror esi, 0x17
sub dword [0x505508], ebx
inc eax
call fcn.00406360
rol edi, 0x1f
shr edx, 0x13
call fcn.0049fc97
loop fcn.004b645f
not eax
sub edi, esp
inc edi
ror eax, 5
mov esi, esp
xor eax, esp
inc ecx
or edx, dword [0x5017c0]
add esi, eax
xor edi, dword [0x5017e8]
xor edx, edi
add eax, eax
dec eax
xor ecx, eax
mov esi, eax
test esp, ecx
jo 0x4b64fb
rol eax, 4
or esi, edi
shr esi, 0x1d
out dx, al
sbb eax, 0xa418c681
fld dword [ebx]
rol esi, 0x19
mov esi, 0x103d2d76
sub eax, 0x1a432390
mov ecx, ecx
shr esi, 9
ror esi, 9
call fcn.00402719
mov ecx, 0x31fc4c
call fcn.00406360
ror esi, 2
rol eax, 0x14
rcl byte [ecx + esi], 0x3d
mov byte [ecx + 0x50], dl
add byte [ebx], cl
cmp eax, 0x50196c
inc eax
xchg eax, eax
inc esi
dec eax
sub edi, dword [0x501876]
not ebx
shr edi, 0x19
loop 0x4b64e1
xor edx, 0x767e38
or esi, edi
rol esi, 6
xchg eax, eax
add esi, 0xd09c90a
or dword [0xc48bd08b], ecx
xchg esi, eax
shr eax, 0x14
xor esi, eax
or esi, dword [0x5012ee]
mov ecx, 0x9c206a

Function at 0x4b648c
Capabilities:
Hash data using murmur3

Disassembly:
or edi, dword [0x501858]
rol esi, 0x16
mov dword [0x5050f6], ebx
inc esi
ror esi, 0x17
sub dword [0x505508], ebx
inc eax
call fcn.00406360
rol edi, 0x1f
shr edx, 0x13
call fcn.0049fc97
loop fcn.004b645f
not eax
sub edi, esp
inc edi
ror eax, 5
mov esi, esp
xor eax, esp
inc ecx
or edx, dword [0x5017c0]
add esi, eax
xor edi, dword [0x5017e8]
xor edx, edi
add eax, eax
dec eax
xor ecx, eax
mov esi, eax
test esp, ecx
jo 0x4b64fb
rol eax, 4
or esi, edi
shr esi, 0x1d
out dx, al
sbb eax, 0xa418c681
fld dword [ebx]
rol esi, 0x19
mov esi, 0x103d2d76
sub eax, 0x1a432390
mov ecx, ecx
shr esi, 9
ror esi, 9
call fcn.00402719
mov ecx, 0x31fc4c
call fcn.00406360
ror esi, 2
rol eax, 0x14
rcl byte [ecx + esi], 0x3d
mov byte [ecx + 0x50], dl
add byte [ebx], cl
cmp eax, 0x50196c
inc eax
xchg eax, eax
inc esi
dec eax
sub edi, dword [0x501876]
not ebx
shr edi, 0x19
loop 0x4b64e1
xor edx, 0x767e38
or esi, edi
rol esi, 6
xchg eax, eax
add esi, 0xd09c90a
or dword [0xc48bd08b], ecx
xchg esi, eax
shr eax, 0x14
xor esi, eax
or esi, dword [0x5012ee]
mov ecx, 0x9c206a
Function at 0x4b64b9
Capabilities:
Hash data using murmur3

Disassembly:
or edi, dword [0x501858]
rol esi, 0x16
mov dword [0x5050f6], ebx
inc esi
ror esi, 0x17
sub dword [0x505508], ebx
inc eax
call fcn.00406360
rol edi, 0x1f
shr edx, 0x13
call fcn.0049fc97
loop fcn.004b645f
not eax
sub edi, esp
inc edi
ror eax, 5
mov esi, esp
xor eax, esp
inc ecx
or edx, dword [0x5017c0]
add esi, eax
xor edi, dword [0x5017e8]
xor edx, edi
add eax, eax
dec eax
xor ecx, eax
mov esi, eax
test esp, ecx
jo 0x4b64fb
rol eax, 4
or esi, edi
shr esi, 0x1d
out dx, al
sbb eax, 0xa418c681
fld dword [ebx]
rol esi, 0x19
mov esi, 0x103d2d76
sub eax, 0x1a432390
mov ecx, ecx
shr esi, 9
ror esi, 9
call fcn.00402719
mov ecx, 0x31fc4c
call fcn.00406360
ror esi, 2
rol eax, 0x14
rcl byte [ecx + esi], 0x3d
mov byte [ecx + 0x50], dl
add byte [ebx], cl
cmp eax, 0x50196c
inc eax
xchg eax, eax
inc esi
dec eax
sub edi, dword [0x501876]
not ebx
shr edi, 0x19
loop 0x4b64e1
xor edx, 0x767e38
or esi, edi
rol esi, 6
xchg eax, eax
add esi, 0xd09c90a
or dword [0xc48bd08b], ecx
xchg esi, eax
shr eax, 0x14
xor esi, eax
or esi, dword [0x5012ee]
mov ecx, 0x9c206a

Function at 0x4b64ea
Capabilities:
Hash data using murmur3

Disassembly:
or edi, dword [0x501858]
rol esi, 0x16
mov dword [0x5050f6], ebx
inc esi
ror esi, 0x17
sub dword [0x505508], ebx
inc eax
call fcn.00406360
rol edi, 0x1f
shr edx, 0x13
call fcn.0049fc97
loop fcn.004b645f
not eax
sub edi, esp
inc edi
ror eax, 5
mov esi, esp
xor eax, esp
inc ecx
or edx, dword [0x5017c0]
add esi, eax
xor edi, dword [0x5017e8]
xor edx, edi
add eax, eax
dec eax
xor ecx, eax
mov esi, eax
test esp, ecx
jo 0x4b64fb
rol eax, 4
or esi, edi
shr esi, 0x1d
out dx, al
sbb eax, 0xa418c681
fld dword [ebx]
rol esi, 0x19
mov esi, 0x103d2d76
sub eax, 0x1a432390
mov ecx, ecx
shr esi, 9
ror esi, 9
call fcn.00402719
mov ecx, 0x31fc4c
call fcn.00406360
ror esi, 2
rol eax, 0x14
rcl byte [ecx + esi], 0x3d
mov byte [ecx + 0x50], dl
add byte [ebx], cl
cmp eax, 0x50196c
inc eax
xchg eax, eax
inc esi
dec eax
sub edi, dword [0x501876]
not ebx
shr edi, 0x19
loop 0x4b64e1
xor edx, 0x767e38
or esi, edi
rol esi, 6
xchg eax, eax
add esi, 0xd09c90a
or dword [0xc48bd08b], ecx
xchg esi, eax
shr eax, 0x14
xor esi, eax
or esi, dword [0x5012ee]
mov ecx, 0x9c206a
Function at 0x4b651b
Capabilities:
Hash data using murmur3

Disassembly:
or edi, dword [0x501858]
rol esi, 0x16
mov dword [0x5050f6], ebx
inc esi
ror esi, 0x17
sub dword [0x505508], ebx
inc eax
call fcn.00406360
rol edi, 0x1f
shr edx, 0x13
call fcn.0049fc97
loop fcn.004b645f
not eax
sub edi, esp
inc edi
ror eax, 5
mov esi, esp
xor eax, esp
inc ecx
or edx, dword [0x5017c0]
add esi, eax
xor edi, dword [0x5017e8]
xor edx, edi
add eax, eax
dec eax
xor ecx, eax
mov esi, eax
test esp, ecx
jo 0x4b64fb
rol eax, 4
or esi, edi
shr esi, 0x1d
out dx, al
sbb eax, 0xa418c681
fld dword [ebx]
rol esi, 0x19
mov esi, 0x103d2d76
sub eax, 0x1a432390
mov ecx, ecx
shr esi, 9
ror esi, 9
call fcn.00402719
mov ecx, 0x31fc4c
call fcn.00406360
ror esi, 2
rol eax, 0x14
rcl byte [ecx + esi], 0x3d
mov byte [ecx + 0x50], dl
add byte [ebx], cl
cmp eax, 0x50196c
inc eax
xchg eax, eax
inc esi
dec eax
sub edi, dword [0x501876]
not ebx
shr edi, 0x19
loop 0x4b64e1
xor edx, 0x767e38
or esi, edi
rol esi, 6
xchg eax, eax
add esi, 0xd09c90a
or dword [0xc48bd08b], ecx
xchg esi, eax
shr eax, 0x14
xor esi, eax
or esi, dword [0x5012ee]
mov ecx, 0x9c206a
Function at 0x4b7207
Capabilities:
Encode data using xor

Disassembly:
add ecx, dword [eax - 0x7f]
add ch, al
xor dword [ecx - 0x2ee2fcad], edx
pop edi
push eax
add byte [esi - 0x7f], al
invalid
Function at 0x4bb5d1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4bb66e
push ebx
push esi
call fcn.004bb6bf
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004bb51a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4bb61b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4bb66d
push edi
push eax
call fcn.004b6411
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4bb63b
call fcn.004b5ac6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4bb66c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004bb51a
add esp, 0x20
test eax, eax
jne 0x4bb65a
push edi
call fcn.004b5ac6
jmp 0x4bb662
push ebx
call fcn.004b5ac6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4bb671
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4bb682
pop esi
ret
push ebx
push edi
push esi
call fcn.004bb6bf
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004b6411
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4bb6aa
push ebx
push esi
push edi
call fcn.004a1ed0
add esp, 0xc
push 0
call fcn.004b5ac6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4bb701
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bb96a

Function at 0x4bbe77
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bbe82
Function at 0x4be7c8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x504d40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4be808
cmp byte [ebx], 0xa
jne 0x4be808
or byte [eax + edi + 0x28], 4
jmp 0x4be80d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4be90b
mov al, byte [edx]
cmp al, 0x1a
je 0x4be8ed
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4be83c
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4be861
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4be86b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4be81e
jmp 0x4be90b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4be8e8
cmp dword [ebp - 0xc], 0
je 0x4be8e8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x504d40]
test byte [eax + edi + 0x28], 0x48
je 0x4be8c2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4be8ad
mov byte [esi], dl
jmp 0x4be8be
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x504d40]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4be90b
cmp byte [ebp - 1], 0xa
jne 0x4be8d1
cmp esi, ebx
jne 0x4be8d1
mov byte [esi], 0xa
jmp 0x4be90a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004c4470
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4be90b
mov byte [esi], 0xd
jmp 0x4be90a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x504d40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4be907
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4be90b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4be914
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x504d40]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4be957
cmp word [esi], dx
jne 0x4be957
or byte [edi + eax + 0x28], 4
jmp 0x4be95c
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4beaaf
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4bea8f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4be99e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4be9d4
cmp eax, edx
jae 0x4be9e0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4be976
jmp 0x4beaaf
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4bea8b
cmp dword [ebp - 0x14], 0
je 0x4bea8b
mov eax, dword [ebx*4 + 0x504d40]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4bea63
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4bea2c
mov word [esi], cx
jmp 0x4bea5f
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x504d40]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x504d40]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x504d40]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4beaaf
pop ebx
cmp word [ebp - 4], bx
jne 0x4bea74
cmp esi, dword [ebp + 0xc]
jne 0x4bea74
mov word [esi], bx
jmp 0x4beaac
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004c4470
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4beaaf
push 0xd
jmp 0x4beaa8
mov ecx, dword [ebx*4 + 0x504d40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4beaa6
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4beaaf
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c60cd
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c6270
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c6245
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c6245
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c61f4
jg 0x4c6126
test eax, eax
je 0x4c61ea
push 1
push 0x1000
call fcn.004b7674
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c614c
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4c61e1
push 0x8000
push ebx
call fcn.004aea60
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4c6178
jg 0x4c6173
cmp ecx, 0x1000
jb 0x4c6178
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004bccf6
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c61bd
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4c6173
jl 0x4c61a4
test ecx, ecx
jne 0x4c6165
push dword [ebp - 0xc]
push ebx
call fcn.004aea60
push esi
call fcn.004b5ac6
add esp, 0xc
xor edi, edi
jmp 0x4c6256
cmp byte [edi + 0x24], 0
je 0x4c61d4
cmp dword [edi + 0x20], 5
jne 0x4c61d4
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c61df
mov edi, dword [edi + 0x18]
jmp 0x4c61e1
xor edi, edi
push esi
call fcn.004b5ac6
pop ecx
jmp 0x4c6256
test ecx, ecx
jg 0x4c61b6
jl 0x4c61f4
test eax, eax
jae 0x4c61b6
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c4470
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c6217
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c61b6
jmp 0x4c624e
push ebx
call fcn.004bbf00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c61b6
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4c6256
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c6253
mov edi, dword [edi + 0x18]
jmp 0x4c6256
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004c4470
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43ebc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43ec52
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ec44
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ec3c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ec05
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x43ec60
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x43ecca
push esi
lea edi, [eax + 0x400]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x43ec9a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43ece6
push ecx
push esi
call fcn.0043f600
add esp, 8
mov ebx, eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43ed40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ed5e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ed53
pop esi
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x56187f21
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
mov ecx, 0x617b40de
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401dc0
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401e2c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e89
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401e89
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401e89
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ebe
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401d80
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401f22

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219