joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5006ec
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x21c]
call fcn.004c59a0
push 0x250
push 0
mov eax, dword [ebp - 0x21c]
push eax
call fcn.004d6720
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0044dc60
mov dword [ebp - 4], 0
push 0
push 0x511cc0
lea ecx, [ebp - 0x224]
call fcn.0045bcd0
cmp eax, 1
je 0x4c5efb
push 0
push 0x507c80
lea ecx, [ebp - 0x224]
call fcn.0045bcd0
test eax, eax
je 0x4c5efb
push 0
push 0x505f5c
lea ecx, [ebp - 0x224]
call fcn.0045bcd0
test eax, eax
jne 0x4c5f60
push 0x5c
lea ecx, [ebp - 0x224]
call fcn.00462f60
add eax, 1
push eax
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x224]
call fcn.004607d0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x254
call fcn.00458e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0044dfa0
jmp 0x4c6047
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004d6720
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x254
call fcn.00458e40
push 0x5c
lea ecx, [ebp - 0x248]
call fcn.004c57c0
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
push eax
push 1
lea ecx, [ebp - 0x244]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x254
call fcn.00462fc0
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x240]
call fcn.0048ff20
mov byte [ebp - 0x21d], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.0044dfa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.0044dfa0
movzx eax, byte [ebp - 0x21d]
test eax, eax
je 0x4c6047
push 0x5c
mov ecx, dword [ebp - 0x21c]
add ecx, 0x254
call fcn.0045a240
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 0x250], eax
mov edx, dword [ebp - 0x21c]
cmp dword [edx + 0x250], 0xffffffff
jne 0x4c6097
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0044dfa0
mov eax, dword [ebp - 0x24c]
jmp 0x4c60b9
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.0044dfa0
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret 4
Function at 0x4c7aa0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044dc60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004604a0
test eax, eax
je 0x4c7b1d
push 0
call fcn.0044f1a0
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0045d330
add esp, 0xc
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00458e10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0044dfa0
lea ecx, [ebp - 0x10]
call fcn.004432f0
push eax
push 0x5128a0
push closesocket
call fcn.004c7b60
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044dfa0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4c7c80
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004d6720
add esp, 0xc
mov dword [ebp - 0x214], 0x103
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044dc60
mov edx, dword [ebp - 0x210]
or edx, 1
mov dword [ebp - 0x210], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d219c
mov esp, ebp
pop ebp
ret
Function at 0x4cb640
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044dc60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004604a0
test eax, eax
je 0x4cb692
call fcn.0044f1a0
push eax
lea ecx, [ebp - 0x10]
call fcn.00458e40
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0044dc60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004604a0
test eax, eax
je 0x4cb6ea
push 0
lea ecx, [ebp - 0x10]
call fcn.004432f0
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.0045d330
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00458e10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0044dfa0
lea ecx, [ebp - 0x10]
call fcn.004432f0
push eax
lea ecx, [ebp - 0x14]
call fcn.004432f0
push eax
push 0x5128a0
push closesocket
call fcn.004cb740
add esp, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0044dfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044dfa0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4cb810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4cb825
xor eax, eax
jmp 0x4cb875
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4cb859
mov dword [ebp - 8], 1
jmp 0x4cb860
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4cca30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.004cc8b0
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x67
call fcn.0044f250
mov ecx, eax
call fcn.0049d740
mov esp, ebp
pop ebp
ret
Function at 0x4f18d6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f1755
Function at 0x43b649
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
sub eax, 0x616c4f00
dec ecx
call fcn.0043b68d
sub esp, 4
mov dword [esp], 0x2c34f064
pop ecx
and eax, ecx
xor dword [ebx], esi
add ecx, ecx
add ebx, 1
or ecx, ecx
cmp ebx, edi
jne fcn.0043b649
add eax, 0x75e7fe01
mov eax, 0xbee57493
ret
Function at 0x1b23700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.01b2378f
jae 0x1b2370e
xor ecx, ecx
call fcn.01b2378f
jae 0x1b2373d
xor eax, eax
call fcn.01b2378f
jae 0x1b2374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.01b2378f
adc al, al
jae 0x1b2372f
jne 0x1b23779
stosb byte es:[edi], al
jmp 0x1b23711
call fcn.01b2379b
sub ecx, ebx
jne 0x1b23756
call fcn.01b23799
jmp 0x1b23775
lodsb al, byte [esi]
shr eax, 1
je 0x1b23783
adc ecx, ecx
jmp 0x1b23772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01b23799
cmp eax, 0x7d00
jae 0x1b23772
cmp ah, 5
jae 0x1b23773
cmp eax, 0x7f
ja 0x1b23774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b23711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0xae191d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae191d
ret
Function at 0x405df4
Capabilities:
Move file

Disassembly:
mov eax, 0x407087
call fcn.004067f0
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ebx
nop
nop
nop
nop
nop
nop
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401084
pop ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.00401805
pop ecx
pop ecx
mov dword [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 1
lea eax, [ebp - 0x1c]
pop edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004035a3
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.004065d8
mov byte [ebp - 4], 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
mov esi, 0x40a50c
push eax
push esi
call fcn.00404dfd
add esp, 0x14
test al, al
je 0x405ea3
mov ecx, dword [ebp + 8]
push esi
call fcn.0040366d
mov dword [ebp - 0x10], edi
jmp 0x405f64
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004035a3
mov byte [ebp - 4], 4
call section..text
cmp eax, ebx
pop ecx
jne 0x405ed1
mov ecx, dword [ebp + 8]
push esi
call fcn.0040366d
mov dword [ebp - 0x10], edi
jmp 0x405f64
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.004035a3
mov byte [ebp - 4], 6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x40a470
push 0x40a46c
lea ecx, [ebp - 0x18]
call fcn.0040387b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x18]
call fcn.004031b5
push eax
lea ecx, [ebp - 0x14]
call fcn.004031b5
push eax
call dword [sym.imp.MSVCRT.dll_rename]
pop ecx
test eax, eax
pop ecx
jne 0x405f49
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004035a3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
call fcn.0040355b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040355b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040355b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40dd58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x57dc5c
push 0xa
push 0x40ddec
mov eax, dword [0x57dc40]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40dd7c
call fcn.0041ae10
push ebx
mov eax, dword [0x57dc40]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40dd93
call fcn.0041ae10
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40dda5
call fcn.0041ae10
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x57dc60], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x57dc64], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x57dc68], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x57dc6c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x57dc70], ecx
add edx, dword [eax + 0x14]
mov dword [0x57dc74], edx
pop esi
pop ebx
ret

Function at 0x412b1c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x412bc5
test eax, edx
je 0x412bc8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x412b45
push edx
mov edx, eax
mov eax, esp
call fcn.00406d14
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x412b5b
push eax
lea eax, [esp + 8]
call fcn.00406d14
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x412b6a
movzx eax, word [eax]
sub eax, ecx
jmp 0x412b91
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x412bab
add ecx, 4
js 0x412b82
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x412ba8
push eax
mov eax, ecx
mov edx, 2
call fcn.00406118
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x412b8f
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x412b91
xor eax, eax
ret
test eax, eax
je 0x412bd8
test edx, edx
jne 0x412b2c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x413ee8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00406b84
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x413f06
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x413f27
cmp ebx, 3
je 0x413f27
cmp ebx, 0x7b
je 0x413f27
mov eax, esi
call fcn.00413ea8
test al, al
jne 0x413f2b
xor eax, eax
jmp 0x413f2d
mov al, 1
pop esi
pop ebx
ret

Function at 0x413f30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406b84
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x413f49
test al, 0x10
jne 0x413f4d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x414110
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00406b84
push eax
call sub.kernel32.dll_GetFileAttributesW
pop ebx
ret
Function at 0x414124
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00406b84
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x414146
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x417dc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x417df9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406c34
jmp 0x417e02
mov eax, ebx
mov edx, esi
call fcn.00406af8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417e0c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x417e2e
movzx eax, word [esp]
jmp 0x417e30
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4185c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4186e5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004183d0
mov esi, eax
mov eax, dword [0x57a910]
cmp byte [eax], 0
je 0x41868d
mov eax, dword [0x57a22c]
call fcn.00404728
call fcn.004043a0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x418598]
call fcn.004085b4
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x418700
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4186c9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x57a12c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x57dc40]
call fcn.004087bc
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4186ec
lea eax, [ebp - 4]
mov edx, dword [0x418598]
call fcn.004086d4
ret
Function at 0x41989c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x419972
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406b4c
lea eax, [ebp - 4]
call fcn.0040759c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b84
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41995c
mov eax, ebx
call fcn.00404238
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x419955
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406b84
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41993f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x419984
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41993f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41995c
mov eax, dword [ebp - 0x10]
call fcn.00404254
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419979
lea eax, [ebp - 4]
call fcn.00406ae8
ret

Function at 0x41acb8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004064d4
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x41ac62
mov eax, edi
add eax, eax
call fcn.00404238
mov esi, eax
jmp 0x41ac64
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41ac9d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41ac87
mov eax, esp
cmp esi, eax
je 0x41acaa
mov eax, esi
call fcn.00404254
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41ace4
cmp bl, 0
je 0x41ace0
cmp bl, 0x41
jl 0x41acdb
cmp bl, 0x5a
jg 0x41acdb
or bl, 0x20
xor al, bl
inc esi
jmp 0x41acbf
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41ac24
Function at 0x4408a8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x440946
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44090a
cmp byte [ebx + 0x10], 0
jne 0x44090a
cmp byte [ebx + 0x3c], 0
jne 0x44090a
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x44092b
lea edx, [ebp - 4]
mov eax, dword [0x57a7e8]
call fcn.0040a158
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4310bc]
call fcn.00418704
call fcn.0040592c
jmp 0x44092b
lea edx, [ebp - 8]
mov eax, dword [0x57a7e8]
call fcn.0040a158
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4310bc]
call fcn.00418704
call fcn.0040592c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44094d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406af0
ret

Function at 0x4411c4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x441212
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0044082c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44122b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x441234
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0044082c
dec esi
jne 0x441256
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x442a70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x57ff9c
cmp dword [edi], 0
jne 0x442aec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x57ff98]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x56d330
mov ecx, 2
call fcn.00404428
mov edx, 0x442a48
lea eax, [esi + 5]
call fcn.00442a68
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00442a68
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x442ac1
mov dword [0x57ff98], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8