joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c4df
Capabilities:
Encode data using xor

Disassembly:
mov dword [esi], edi
jmp 0x53c50b
int1
xchg byte [eax + 0x6b261de7], bh
and byte [esi], cl
out 0x1d, eax
imul esp, dword es:[eax], 0xe
test eax, 0xf9a28648
stosb byte es:[edi], al
mov edi, 0xad98ec79
mov byte [0x79bfaaf9], al
in al, dx
cwde
lodsd eax, dword [esi]
sbb dword [ebx + 9], 0x15bf895d
adc al, 0x13
pop eax
call [eax - 0x44]
jecxz 0x53c4ff
in al, dx
or ecx, ecx
dec ebx
push ds
mov eax, dword [0x675bc555]
dec ebx
jg 0x53c52c
mov dl, 0x3d
mov ah, byte [edi - 0x4e4d6b7c]
cmpsd dword [esi], dword es:[edi]
inc edx
enter 0xffffffffffffc811, 0x33
lcall 0x4ed, 0x1b63e9ad
mov cl, 0x3d
cmp al, 0x56
scasd eax, dword es:[edi]
inc ebx
cmovs ebx, eax
ja 0x53c52c
or al, byte [ebx]
insb byte es:[edi], dx
or byte [ebx + 0x2f], bh
mov al, 0x3c
push ecx
lcall 0x997d, 0x273aed21
push esi
mov eax, ds
dec ebp
jp 0x53c502
call 0xd51667a2
lodsb al, byte [esi]
cmpsb byte [esi], byte es:[edi]
arpl cx, sp
test byte [edi - 0x2069cf25], ch
aas
jmp 0x53c5b6
pop ds
push 0xcd6bcd1f
push 0xb8a4ccc2
cmpsd dword [esi], dword es:[edi]
stosd dword es:[edi], eax
nop
mov edi, dword [ecx]
dec byte [esi + 0x34]
dec esp
out 0x4c, al
mov cl, 0x13
mov byte gs:[ecx + esi*2 - 0x42db068a], al
or al, 0xc4
cmp eax, 0xddf517e8
loope 0x53c61b
cmp edi, dword [edi - 0x2df502c4]
mov edx, 0xc2ef8dc
mov dl, bh
fdiv st(0), st(0)
or al, 0x8a
xlatb
xchg dword [eax - 0x17], edi
lodsb al, byte [esi]
lea ebp, [ebp - 0x7ee7bc4]
xor dword [ebx + 0x596a5238], 0xbf556735
cwde
arpl word [edi - 0x77251765], ax
insd dword es:[edi], dx
popfd
aad 0x88
lea edi, [eax + 0x5f]
pop edx
mov ah, 0x8a
jb 0x53c5e6
jg 0x53c63b
xor byte [ebp - 0x1bc271c8], ch
add eax, 0xb8870c0f
jb 0x53c5b7
in al, 5
invalid
xchg ecx, eax
imul edi, dword [ecx + ebx*8], 0xf0448774
fnstenv es:[ebx + ebx - 0x2053c06b]
cmpsd dword [esi], dword es:[edi]
pushal
push 0x882c2763
push ecx
retf

Function at 0x566c56
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
sti
push ebx
les eax, [esi + 0x1a58cf11]
lea esp, [ebp + 0x1de77032]
mov cl, al
pop edi
mul dword [eax + 0x22]
mov ch, 0xe7
invalid
Function at 0x434460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43447a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434470
mov eax, 1
add ebx, ebx
jne 0x434493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434488
jne 0x4344a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434488
xor ecx, ecx
sub eax, 3
jb 0x4344b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43452a
mov ebp, eax
add ebx, ebx
jne 0x4344c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4344d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4344f4
inc ecx
add ebx, ebx
jne 0x4344e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4344d5
jne 0x4344f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4344d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x434514
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x434505
jmp 0x434476
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x434514
add edi, ecx
jmp 0x434476
pop esi
mov edi, esi
mov ecx, 0x254
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x434532
cmp byte [edi], 2
jne 0x434532
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 0x434537
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x4345af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x39200]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x392b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x434564
mov ecx, edi
jns 0x434593
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x392b8]
or eax, eax
je 0x4345a9
mov dword [ebx], eax
add ebx, 4
jmp 0x434581
call dword [esi + 0x392c8]
mov ebp, dword [esi + 0x392bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4345e3
sub esp, 0xffffff80
jmp 0x403291
Function at 0x11d94
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x44], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x4c], 0x18
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 0x40
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
push 0x20
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x100020
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
call dword [0xa2b890c0]
test eax, eax
jge 0x11deb
xor eax, eax
pop edi
pop esi
leave
ret 8
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
push 0x1000000
push 0x10
push esi
push eax
push 0xf001f
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x44], esi
call dword [0xa2b8917c]
test eax, eax
jge 0x11e1b
push dword [ebp - 4]
call dword [0xa2b89180]
jmp 0x11de3
push 4
push 0x100000
push 1
lea eax, [ebp - 0x14]
push eax
push esi
push 0x3e8
push esi
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [0xa2b89184]
test eax, eax
jl 0x11e10
push ebx
push dword [ebp - 4]
call dword [0xa2b89180]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov esi, dword [ecx + eax + 0x78]
push dword [ebp + 8]
add esi, eax
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
add ecx, eax
mov dword [ebp - 0xc], eax
add edi, eax
add ebx, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], ecx
call dword [0xa2b89188]
and dword [ebp + 0xc], 0
cmp dword [esi + 0x14], 0
jbe 0x11ed4
mov eax, dword [ebp + 0xc]
mov eax, dword [ebx + eax*4]
add eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [0xa2b89188]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + ecx*2]
add eax, dword [ebp - 0x1c]
push 1
mov eax, dword [edi + eax*4 - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [0xa2b8918c]
test eax, eax
je 0x11ed8
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x14]
jb 0x11e8a
xor esi, esi
jmp 0x11edb
mov esi, dword [ebp + 8]
push dword [ebp - 0x10]
call dword [0xa2b89180]
mov eax, esi
pop ebx
jmp 0x11de5
Function at 0x125ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
add esi, edi
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0xc], edx
xor edx, edx
add eax, edi
add ecx, edi
add ebx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
cmp dword [esi + 0x14], edx
ja 0x125fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx ecx, word [ecx + edx*2]
add ecx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + ecx*4 - 4]
add eax, edi
add ecx, edi
push 0xa2b87704
push eax
mov dword [ebp - 0x10], ecx
call dword [0xa2b89034]
pop ecx
pop ecx
test eax, eax
je 0x12630
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x14]
jb 0x125f3
jmp 0x125ea
mov eax, dword [ebp - 0x10]
sub eax, edi
jmp 0x125ec
Function at 0x1554c
Capabilities:
Enumerate pe sections

Disassembly:
push 0x58
push 0xa2b89358
call fcn.00017f1c
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], ebx
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push 0xa2b876de
call fcn.00011f2a
cmp eax, ebx
jge 0x1557f
xor eax, eax
jmp 0x156ea
push 0xa2b8ac84
push dword [ebp - 0x2c]
call dword [0xa2b8903c]
cmp eax, ebx
jl 0x15578
push dword [0xa2b8ac84]
call dword [0xa2b89044]
mov dword [ebp - 4], ebx
call fcn.00015464
mov esi, eax
call fcn.000121a0
mov dword [0xa2b8ac5c], eax
mov eax, dword [eax + 0x10]
sub eax, esi
mov edx, eax
mov dword [ebp - 0x30], edx
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], ebx
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x1c], ecx
jge 0x15609
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
mov edi, dword [ebp - 0x2c]
add ecx, edi
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x38], edi
cmp edi, edx
ja 0x15604
mov edx, dword [ecx + 8]
add edx, edi
mov edi, edx
mov edx, dword [ebp - 0x30]
cmp edx, edi
jae 0x15604
mov ecx, dword [ecx + 0x14]
sub ecx, dword [ebp - 0x38]
add ecx, edx
jmp 0x1560c
inc dword [ebp - 0x1c]
jmp 0x155ce
mov ecx, dword [ebp - 0x24]
cmp edx, dword [eax + 0x54]
jae 0x15616
mov dword [ebp - 0x24], edx
mov ecx, edx
sub esi, dword [eax + 0x34]
mov eax, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
push 0xa2b88196
lea eax, [ebp - 0x50]
push eax
call dword [0xa2b89064]
mov dword [ebp - 0x68], 0x18
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], 0x240
lea eax, [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
push ebx
push ebx
push 0x860
push 1
push 1
push 0x80
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x100020
lea eax, [ebp - 0x20]
push eax
call dword [0xa2b89104]
cmp eax, ebx
jge 0x156ab
push eax
push 0xa2b88172
call fcn.000180da
pop ecx
pop ecx
push dword [ebp - 0x20]
call dword [0xa2b89180]
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0xa2b8aa88
call fcn.000180f4
add esp, 0xc
jmp 0x15578
push ebx
lea eax, [ebp - 0x48]
push eax
push 4
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [0xa2b890fc]
cmp eax, ebx
jge 0x156cf
push eax
push 0xa2b88146
jmp 0x15683
add dword [ebp - 0x28], esi
push dword [ebp - 0x20]
call dword [0xa2b89180]
mov dword [ebp - 4], 0xfffffffe
call fcn.000156f2
mov eax, dword [ebp - 0x28]
call fcn.00017f61
ret 4

Function at 0x16b2e
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret 4
Function at 0x401338
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40134a
mov eax, dword [0x46808b]
shl eax, 2
mov dword [0x46808f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0045959c
pop edx
call fcn.00459500
call fcn.004595dc
push 0
call fcn.0045ab3c
pop ecx
push 0x468034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x468093], eax
push 0
jmp fcn.0045fd7c

Function at 0x401b64
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
mov edx, dword [ebp - 8]
push dword [edx + 4]
mov ecx, dword [ebp - 8]
push dword [ecx]
push str.MSG:_d__wParam:_d__lParam:_d
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret

Function at 0x4100d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46f69c
cmp dword [edi], 0
jne 0x410150
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x46f698]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4687a0
mov ecx, 2
call fcn.0042117c
mov edx, 0x4100ac
lea eax, [esi + 5]
call fcn.004100cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004100cc
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 0x410125
mov dword [0x46f698], 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 0x414514
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x41454d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004229a4
jmp 0x414556
mov eax, ebx
mov edx, esi
call fcn.00422908
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414560
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
test eax, eax
jle 0x414581
mov al, byte [esp]
jmp 0x414583
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x414c08
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x414a80
mov eax, dword [0x46f404]
cmp byte [eax], 0
je 0x414c75
mov eax, dword [0x46f408]
call fcn.00421514
call fcn.004210e8
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00412d8c
push eax
lea eax, [esp + 0x50]
push eax
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 0x414cbc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x414cab
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46f2c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46f590]
call fcn.00423fd0
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x415778
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 0x4157dc
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00422b1c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00412aac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4157e3
lea eax, [ebp - 0xc]
call fcn.004228b4
ret

Function at 0x421bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x468cd8]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x421c88
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x421c68
xor eax, eax
push ebp
push 0x421c61
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 0x421ca4
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 0x421c68
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x468cd8]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x468cd8], ax
mov esp, ebp
pop ebp
ret

Function at 0x422738
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46f9c0], 0
je 0x422799
cmp word [0x46fb94], 0xd7b2
jne 0x422761
cmp dword [0x46fb9c], 0
jbe 0x422761
mov eax, 0x46fb90
call dword [0x46fbac]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x4227c0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x468ce8], 0
jne 0x4227b5
push 0
push 0x468d40
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x4241c4
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 0x4243f4
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x424247
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4243f4
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x424247
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x424410
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4242d0
xor eax, eax
push ebp
push 0x4242c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0042400c
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 0x4242ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x424430
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4242ae
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 0x4242d0
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 0x4243ea
cmp byte [ebp - 0xd], 0
jne 0x424317
cmp byte [ebp - 0x12], 0
je 0x4243ea
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x424330
dec ebx
cmp byte [ebx], 0x2e
je 0x42433f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x42432f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4243ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x42437c
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 0x4243ea
cmp byte [ebp - 0xd], 0
je 0x4243ea
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 0x4243ea
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 0x424b68
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x46ff34], 1
jae 0x424bee
mov byte [0x468cd4], 2
mov dword [0x46f984], 0x467156
mov dword [0x46f988], 0x467168
mov byte [0x46f9c2], 2
mov dword [0x46f970], 0x4237f4
call fcn.00421bc0
test al, al
je 0x424bab
call fcn.00421bf0
call fcn.00421cb4
mov word [0x46f9c8], 0xd7b0
mov word [0x46fb94], 0xd7b0
mov word [0x46fd60], 0xd7b0
call fcn.004236d4
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x46f9b4], eax
call fcn.0041fbb4
mov dword [0x46f9b0], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x46f9a8], eax
ret

Function at 0x425604
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 0x425550
call sub.USER32.DLL_EnumWindows
ret

Function at 0x425728
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 0x4257a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00425174
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 0x42574d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00424dcc
cmp dword [ebp - 4], 0
je 0x42578f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00422d64
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 0x4257ac
lea eax, [ebp - 4]
call fcn.004228b4
ret

Function at 0x42da38
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004228b4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42da87
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00422b1c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433d34
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 0x433d3a
ret

Function at 0x43617c
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 0x4361cd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4361b4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4361a4
jmp 0x4361cd
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 0x4361b5
pop ebx
mov esp, ebp
pop ebp
ret