joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42175c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x421773
add esp, 0xfffffff0
call fcn.00402b38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040d378
mov dl, 1
mov eax, 0x407ab8
call fcn.00402938
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x407ab8
call fcn.00402938
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x416c3c
call fcn.0041b4f8
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x4218b4
mov eax, dword [0x42a014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041b884
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x422b64
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x42a014]
push eax
call sub.kernel32.dll_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004059d0
test eax, eax
je 0x421850
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004058e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004059b0
test eax, eax
je 0x421864
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403364
cmp byte [0x42a034], 0
jne 0x421894
mov eax, ebx
call fcn.00421944
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x4218ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42234c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x42237e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004032e8
jmp 0x422388
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.0040329c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x422d3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x422d74
mov eax, esi
call fcn.004154a0
test al, al
je 0x422d74
mov eax, dword [ebx + 0x60]
call fcn.00415308
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x422d74
push 0
mov eax, dword [ebx + 0x60]
call fcn.00415308
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0xb6c11e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb6c13e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb6c12a
add dl, dl
jne 0xb6c149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb6c19a
xor eax, eax
add dl, dl
jne 0xb6c156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb6c23b
add dl, dl
jne 0xb6c165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb6c170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb6c17b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb6c186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb6c190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb6c135
mov eax, 1
add dl, dl
jne 0xb6c1a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb6c1b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb6c19f
sub eax, ebx
mov ebx, 1
jne 0xb6c1e6
mov ecx, 1
add dl, dl
jne 0xb6c1cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb6c1d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb6c1c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb6c135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb6c1fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb6c208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb6c1f4
cmp eax, 0x7d00
jae 0xb6c22b
cmp eax, 0x500
jb 0xb6c226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb6c135
cmp eax, 0x7f
ja 0xb6c22e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb6c135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb6c25c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb6c135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x4059a6
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test edi, edi
pop ecx
mov esi, eax
jbe 0x4059d1
mov eax, dword [esp + 0xc]
push ebx
mov ecx, esi
sub eax, esi
mov edx, edi
mov bl, byte [eax + ecx]
xor bl, 0x42
mov byte [ecx], bl
inc ecx
dec edx
jne 0x4059c4
pop ebx
push 0x408230
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push edi
push esi
call fcn.00404b97
push esi
mov edi, eax
call fcn.00405a0a
add esp, 0x18
mov eax, edi
pop edi
pop esi
ret 0x10

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 0x40d1a0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub esp, 0x6c4
mov eax, dword [0x4233c0]
xor eax, esp
mov dword [esp + 0x6c0], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x6dc]
push 0x41b718
mov ebp, ecx
mov dword [esp + 0x18], edi
call fcn.0040dce0
add esp, 4
push 0x41b708
push 0x41b6fc
call dword [fcn.0041a0b0]
push eax
call dword [fcn.0041a0ac]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x40d243
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebx
call dword [fcn.0041a0e4]
push eax
call esi
test eax, eax
je 0x40d243
cmp dword [esp + 0x10], ebx
je 0x40d243
push 0x41b6f4
lea ecx, [esp + 0x2d4]
push 0x41b660
push ecx
call fcn.00414d71
add esp, 0xc
push 0x10
push 0x41b654
lea edx, [esp + 0x2d8]
push edx
push edi
call dword [fcn.0041a304]
push ebx
call fcn.00415566
xor ecx, ecx
mov dword [ebp + 0x548], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
Function at 0x943c00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x67f00d
lea edi, [esi - 0x27e00d]
push edi
or ebp, 0xffffffff
jmp 0x943c22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x943c29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x943c18
mov eax, 1
add ebx, ebx
jne 0x943c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x943c30
jne 0x943c4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x943c30
xor ecx, ecx
sub eax, 3
jb 0x943c60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x943cd2
mov ebp, eax
add ebx, ebx
jne 0x943c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x943c78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x943c9c
inc ecx
add ebx, ebx
jne 0x943c88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x943c7d
jne 0x943c99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x943c7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x943cbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x943cad
jmp 0x943c1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x943cbc
add edi, ecx
jmp 0x943c1e
pop esi
mov edi, esi
mov ecx, 0x18ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x943cda
cmp byte [edi], 0x11
jne 0x943cda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x943cdf
lea edi, [esi + 0x53f000]
mov eax, dword [edi]
or eax, eax
je 0x943d4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x54b7ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x54b804]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x943d0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x54b80c]
or eax, eax
je 0x943d48
mov dword [ebx], eax
add ebx, 4
jmp 0x943d29
call dword [esi + 0x54b808]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x943d7f
cmp al, 0xef
ja 0x943d72
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x943d54
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x943d61
mov ebp, dword [esi + 0x54b810]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x943db3
sub esp, 0xffffff80
jmp 0x40ee0c
Function at 0x40108c
Capabilities:
Terminate process

Disassembly:
jmp 0x410320
cmp ecx, dword [0x42ec04]
jne 0x410329
ret
jmp fcn.00410340

Function at 0x40c3d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x40c3f6
xor eax, eax
jmp 0x40c47d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x40c411
xor eax, eax
jmp 0x40c47d
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x40c437
cmp dword [ebp - 0x14], 0x20b
je 0x40c457
jmp 0x40c47b
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x40c444
xor eax, eax
jmp 0x40c47d
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x40c47d
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x40c46a
xor eax, eax
jmp 0x40c47d
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x40c47d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40dba0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x43bbc0], 1
jne 0x40dbbd
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x43bbbc], 1
mov cl, byte [ebp + 0x10]
mov byte [0x43bbb8], cl
cmp dword [ebp + 0xc], 0
jne 0x40dc22
cmp dword [0x43d5c4], 0
je 0x40dc10
mov edx, dword [0x43d5c0]
sub edx, 4
mov dword [0x43d5c0], edx
mov eax, dword [0x43d5c0]
cmp eax, dword [0x43d5c4]
jb 0x40dc10
mov ecx, dword [0x43d5c0]
cmp dword [ecx], 0
je 0x40dc0e
mov edx, dword [0x43d5c0]
call dword [edx]
jmp 0x40dbdf
push 0x42e82c
push 0x42e624
call fcn.0040dd20
add esp, 8
push 0x42ea34
push 0x42e930
call fcn.0040dd20
add esp, 8
cmp dword [0x43bbc4], 0
jne 0x40dc5b
push 0xffffffffffffffff
call fcn.0040114a
add esp, 4
and eax, 0x20
je 0x40dc5b
mov dword [0x43bbc4], 1
call fcn.004013a7
cmp dword [ebp + 0x10], 0
je 0x40dc63
jmp 0x40dc79
mov dword [0x43bbc0], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0040120d
add esp, 4
pop ebp
ret
Function at 0x4174e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.00410e90
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x417514
xor eax, eax
jmp 0x417622
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
and eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x43bb80]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x11
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jae 0x417567
xor eax, eax
jmp 0x417622
cmp dword [0x43bb80], 1
je 0x4175ed
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x417591
xor eax, eax
jmp 0x417622
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x1000
je 0x417576
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x44]
and eax, 0x100
je 0x4175bc
mov eax, 1
jmp 0x417622
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x5c]
jae 0x4175c8
xor eax, eax
jmp 0x417622
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 8]
jae 0x4175d6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x4175f3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x43bb80]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x405ab4
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 0x405b1a
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.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40ab48
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 0x40ab81
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40ab8a
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b23c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b0b4
mov eax, dword [0x450074]
cmp byte [eax], 0
je 0x40b2b8
mov eax, dword [0x44fe9c]
call fcn.00402acc
call fcn.00402824
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.004083a8
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 0x40b300
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b2ee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44fe4c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x451664]
call fcn.00404fc8
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 0x40bb54
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 0x40bc2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bc14
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc0d
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.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bbf7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc3c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bbf7
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 0x40bc14
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc31
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40c120
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 0x40c184
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.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e44
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c18b
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x451884
cmp dword [edi], 0
jne 0x41a2dc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x451880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44f3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a238
lea eax, [esi + 5]
call fcn.0041a258
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a258
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 0x41a2b1
mov dword [0x451880], 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 0x41b4f0
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 0x41b4f6
ret
Function at 0x41d938
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 0x41d989
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d970
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d960
jmp 0x41d989
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 0x41d971
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427f8c
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 0x427ed8
call sub.user32.dll_EnumWindows
ret

Function at 0x4280ac
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 0x428129
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427b0c
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 0x4280d1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042770c
cmp dword [ebp - 4], 0
je 0x428113
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
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 0x428130
lea eax, [ebp - 4]
call fcn.00403f5c
ret

Function at 0x42adcc
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 [0x451b54], 0
je 0x42af1b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x450018]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42af1b
mov eax, dword [0x451b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x451b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42aeea
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x451b54]
call fcn.00413830
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42aee2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42aee2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42aee2
mov eax, dword [ebp - 0x14]
call fcn.00433930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42aee2
push ebp
call fcn.0042ad88
pop ecx
test al, al
jne 0x42aee2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42ae9e
mov eax, dword [ebp - 0x14]
call fcn.00432460
dec eax
jle 0x42aee2
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.00403420
cmp byte [ebp - 1], 0
je 0x42aee2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42aee2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x451b58]
call fcn.0042a554
inc edi
dec ebx
jne 0x42ae31
mov eax, dword [0x451b58]
cmp dword [eax + 8], 0
jle 0x42af02
mov eax, dword [0x451b58]
call fcn.0042a5e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42af1b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042abf0
pop ecx
test al, al
jne 0x42af1b
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