joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b72b
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push esi
xchg edi, eax
xchg esi, eax
jmp 0x42b740
pushal
mov eax, 0xfffefdfc
mov ecx, 0x40
push eax
sub eax, 0x4040404
loop 0x42b74b
xor edx, edx
xor ebx, ebx
push dword [0x40ccac]
push dword [0x425cbc]
push dword [0x41ed4c]
push dword [0x41b9ac]
xor dword [esp], esi
mov ecx, 0x100
xor eax, eax
add al, byte [esp + edx + 0x10]
add al, byte [esp + ebx]
mov bh, byte [esp + eax + 0x10]
xchg byte [esp + edx + 0x10], bh
mov byte [esp + eax + 0x10], bh
inc ebx
inc edx
and ebx, 0xf
loop 0x42b779
add esp, 0x10
xor eax, eax
lea esi, [edi + 4]
xor edx, edx
dec edi
inc dl
add al, byte [esp + edx]
mov bl, byte [esp + edx]
xchg byte [esp + eax], bl
mov byte [esp + edx], bl
mov cl, byte [esp + eax]
add cl, bl
mov bl, byte [esp + ecx]
inc edi
xor byte [edi], bl
jne 0x42b79e
cmp esi, edi
ja 0x42b79e
add esp, 0x100
popal
pop esi
ret
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x546f035a
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..7LWLf
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x37574c17
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x412b93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00409411
mov dword [esi + 0x34], eax
mov eax, dword [0x4181a4]
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
jae 0x405db6
inc ecx
mov dword [eax + 4], ecx
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
mov dword [esi], 0x413194
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], 0
mov eax, dword [esi + 0x20]
push 0
push 0
push 0
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x1c], 0
mov dword [ecx], 0
mov ecx, esi
call fcn.00405e90
mov cl, byte [esp + 0x18]
xor eax, eax
test cl, 1
mov dword [esi], 0x4131c8
jne 0x405e23
mov eax, 4
test cl, 2
jne 0x405e2a
or al, 2
mov edx, dword [esi + 0xc]
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0x20
mov dword [esi + 0x44], eax
mov dword [edx], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov eax, esi
pop esi
mov dword [ecx], 0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x408ac0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412dd6
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
test ebp, ebp
jne 0x408b33
push 0x1c
call fcn.0040a116
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x18], ebp
je 0x408b16
push str.pstr__NULL
push 0x85
push 0x418154
push str.Z:workBelcarraUSBLAN_applicationsusblan_ifconfigutils_win32.cpp
push eax
call fcn.00403700
add esp, 0x14
jmp 0x408b18
xor eax, eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push 0x414618
push eax
mov dword [esp + 0x20], 0xffffffff
call fcn.0040a1a6
mov ebx, dword [esp + 0x20]
push 0
push 0
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
add edi, 2
push edi
call fcn.0040a116
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x24], esi
jne 0x408bb2
push 0x1c
call fcn.0040a116
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x18], 1
je 0x408b95
push str.new_char___failed
push 0x89
push 0x418154
push str.Z:workBelcarraUSBLAN_applicationsusblan_ifconfigutils_win32.cpp
push eax
call fcn.00403700
add esp, 0x14
jmp 0x408b97
xor eax, eax
lea ecx, [esp + 0x20]
push 0x414618
push ecx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x28], eax
call fcn.0040a1a6
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [esp + 0x20], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x408bd7
call fcn.00409039
mov ecx, dword [ebp + 4]
xor edx, edx
cmp ecx, edx
je 0x408bff
mov al, byte [ecx - 1]
test al, al
je 0x408bff
cmp al, 0xff
je 0x408bff
cmp ebx, edx
jne 0x408c23
dec al
mov byte [ecx - 1], al
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
jmp 0x408c4c
cmp ebx, edx
jne 0x408c0e
push 1
mov ecx, ebp
call fcn.00405990
jmp 0x408c4c
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x408c1a
cmp eax, ebx
jae 0x408c2b
push 1
mov ecx, ebp
call fcn.00405990
push ebx
mov ecx, ebp
call fcn.00406150
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x24]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
push esi
call fcn.00409383
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x40d898
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x416fe0
cmp edx, dword [eax]
je 0x40d8ba
add eax, 8
inc ecx
cmp eax, 0x417070
jl 0x40d8ab
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x416fe0]
jne 0x40d9e8
mov eax, dword [0x418250]
cmp eax, 1
je 0x40d9c2
test eax, eax
jne 0x40d8eb
cmp dword [0x416ad4], 1
je 0x40d9c2
cmp edx, 0xfc
je 0x40d9e8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d922
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040cac0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a620
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40d965
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a620
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41395c
push edi
call fcn.0040f130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040cac0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040cad0
lea eax, [ebp - 0xa0]
push 0x41393c
push eax
call fcn.0040cad0
push dword [esi + 0x416fe4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040cad0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00410e7e
add esp, 0x2c
pop edi
jmp 0x40d9e8
lea eax, [ebp + 8]
lea esi, [esi + 0x416fe4]
push 0
push eax
push dword [esi]
call fcn.0040a620
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
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
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1000a360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000a36f
pop dword [ebp - 0x2c]
mov eax, 0x1000a36f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc5f17061
add dword [ebp - 0x3c], 0x8860d4ea
mov dword [ebp - 0x38], 0x37e92d42
sub dword [ebp - 0x38], 0x5b5e0fd
mov dword [ebp - 0x34], 0x2504a799
sub dword [ebp - 0x34], 0xd8b8636b
mov dword [ebp - 0x30], 0x97c4af41
add dword [ebp - 0x30], 0x683b50bf
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xdd1ba7d1
add eax, 0x32e5987f
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x73eaa830
sub dword [ebp - 0x3c], 0xff783eda
mov dword [ebp - 0x38], 0x1798dfe9
add dword [ebp - 0x38], 0x29d3818c
mov dword [ebp - 0x34], 0x653747d0
add dword [ebp - 0x34], 0xfe38249c
mov dword [ebp - 0x30], 0x6ee5e05b
add dword [ebp - 0x30], 0x911a1fa5
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xbb2e5688
sub eax, 0xab2d1634
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8a6
push 0
call eax
mov ecx, 0xaa7b6bb6
sub ecx, 0xaa7b2267
mov edi, eax
mov edx, 0x72b79eca
add edx, 0x9d4a4336
add edx, dword [ebp - 0x2c]
mov esi, 0x9bf66950
sub esi, 0xe5e5e191
sub dword [ebp - 0x1c], 0xe2772b63
mov ebx, dword [edx]
mov dword [ebp - 0x24], 0x8ab9b1ee
xor ebx, esi
add dword [ebp - 0x20], esi
mov dword [edi], ebx
sub dword [ebp - 0x24], 0x1b7364d3
add edi, 0xff528d9e
add edi, 0xad7266
add edx, 4
loop 0x1000a48c
add eax, 0x1180f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4068a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068c9
xor eax, eax
test eax, eax
je 0x4068dc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068dc
xor ecx, ecx
jmp 0x4068df
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a02
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ac], 0
push esi
jne 0x406a39
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a13
mov dword [ecx*4 + 0x4275a8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a0e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a6a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275a8]
xor eax, esi
inc ecx
dec edx
jne 0x406a4c
pop edi
not eax
pop esi
ret 0xc

Function at 0x408e3c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 4]
call fcn.00401b1d
mov dword [ebp - 8], edi
mov ecx, 0x811c9dc5
xor esi, esi
movzx eax, byte [ebp + esi - 8]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, 4
jb 0x408e5b
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00409fd4
mov ecx, dword [0x436768]
mov eax, dword [eax + 4]
test eax, eax
jne 0x408e8b
mov eax, ecx
cmp eax, ecx
je 0x408e9d
add eax, 0xc
lea ecx, [ebp - 4]
push eax
call fcn.00401a70
jmp 0x408eb3
or edi, 0x4000
lea edx, [ebp - 4]
mov ecx, edi
call fcn.00403fe1
mov esi, eax
test esi, esi
js 0x408f23
mov eax, dword [ebp - 4]
xor edx, edx
mov esi, dword [ebx]
inc edx
mov edi, 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x408ed8
push edi
lea ecx, [ebp - 4]
call fcn.00401e24
mov eax, dword [ebp - 4]
push esi
push eax
call dword [0x41f284]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00402bec
test esi, esi
jne 0x408ef7
mov esi, 0x80040709
jmp 0x408f23
mov esi, dword [ebp - 4]
test esi, esi
jne 0x408f02
xor eax, eax
jmp 0x408f09
push esi
call fcn.00413a3b
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
call fcn.00401cc6
cmp byte [ebp + 8], 0
je 0x408f21
mov ecx, dword [ebp - 4]
call fcn.00403ed8
xor esi, esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004014a6
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x402f6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403004
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fe4
xor eax, eax
push ebp
push 0x402fdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403020
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fe4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45a020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403cb8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45c04c], 0
je 0x403d19
cmp word [0x45c220], 0xd7b2
jne 0x403ce1
cmp dword [0x45c228], 0
jbe 0x403ce1
mov eax, 0x45c21c
call dword [0x45c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45a06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d40
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45a030], 0
jne 0x403d35
push 0
push 0x45a064
push 0x45a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405c10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405c76
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004040a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b30
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405c60
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c7d
lea eax, [ebp - 0x10]
call fcn.00403e34
ret

Function at 0x40ad98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40add1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f24
jmp 0x40adda
mov eax, ebx
mov edx, esi
call fcn.00403e88
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ade4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ae05
mov al, byte [esp]
jmp 0x40ae07
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b48c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b304
mov eax, dword [0x45b11c]
cmp byte [eax], 0
je 0x40b508
mov eax, dword [0x45af28]
call fcn.0040299c
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004085a0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b550
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b53e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45aed4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c668]
call fcn.00405124
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bdf8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bece
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ecc
lea eax, [ebp - 8]
call fcn.00404344
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042f4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40beb8
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40beb1
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 - 8]
call fcn.004042f4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be9b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bee0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be9b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40beb8
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bed5
lea eax, [ebp - 8]
call fcn.00403e34
ret

Function at 0x40c34c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c3b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408110
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3b7
lea eax, [ebp - 0xc]
call fcn.00403e34
ret

Function at 0x41d8c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45c888
cmp dword [edi], 0
jne 0x41d944
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45c884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45a3fc
mov ecx, 2
call fcn.004028c8
mov edx, 0x41d8a0
lea eax, [esi + 5]
call fcn.0041d8c0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d8c0
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 0x41d919
mov dword [0x45c884], 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

Function at 0x41eb60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41eb66
ret
Function at 0x420fdc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42102d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421014
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421004
jmp 0x42102d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x421015
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42eaec
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42ea38
call sub.user32.dll_EnumWindows
ret

Function at 0x42ec0c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42ec89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042e66c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42ec31
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042e26c
cmp dword [ebp - 4], 0
je 0x42ec73
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042f4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ec90
lea eax, [ebp - 4]
call fcn.00403e34
ret

Function at 0x431c54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45cb58], 0
je 0x431da3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45b0b4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x431da3
mov eax, dword [0x45cb5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45cb58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x431d72
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45cb58]
call fcn.00416e98
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x431d6a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x431d6a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x431d6a
mov eax, dword [ebp - 0x14]
call fcn.0043a8ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x431d6a
push ebp
call fcn.00431c10
pop ecx
test al, al
jne 0x431d6a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x431d26
mov eax, dword [ebp - 0x14]
call fcn.0043941c
dec eax
jle 0x431d6a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004032f8
cmp byte [ebp - 1], 0
je 0x431d6a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x431d6a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45cb5c]
call fcn.004313dc
inc edi
dec ebx
jne 0x431cb9
mov eax, dword [0x45cb5c]
cmp dword [eax + 8], 0
jle 0x431d8a
mov eax, dword [0x45cb5c]
call fcn.0043146c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431da3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00431a78
pop ecx
test al, al
jne 0x431da3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret