joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67b594
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.0067b60b
push 0xf066cfb4
jmp 0x67b730
jmp 0x67b767
mov ebp, edi
lea eax, [esp + edi]
rdtsc
jmp 0x67b751
lea esi, [esp]
inc dx
jge 0x67b778
bswap ebp
bt eax, esp
jmp 0x67b783
mov cx, 0xb311
mov ch, byte [esp]
xchg bl, cl
mov edi, dword [esp + 0x2c]
mov esi, esp
jmp 0x67b732
bswap ebp
jmp 0x67b780
bt eax, esp
sub esp, 0xc0
mov ebp, esp
jmp 0x67b7c9
jmp 0x67b7b3
lea ebx, [edx + edi]
mov cx, 0x3448
and ax, si
jmp 0x67b7e7
setg cl
rdtsc
xchg bx, ax
mov edx, edi
btr ebx, esi
jo 0x67b78d
lea ebx, [edx + edi]
mov cx, 0x3448
and ax, si
jmp 0x67c459
lea eax, [ecx + edx]
sub esp, 6
clc
mov ax, word [esp + 1]
lea esp, [esp + 2]
jmp 0x67b9b0
lea esp, [esp + 1]
jmp 0x67b84d
add ebx, 0xbf4f54c2
jmp 0x67b952
ror al, 2
jb 0x67b874
mov ebx, ecx
jmp 0x67b876
lea esp, [esp + 4]
add edi, 0x74f90140
mov bl, 7
bswap ebx
mov bx, cx
jmp 0x67b837
lea esp, [esp + 1]
jmp 0x67b84d
mov ebx, ecx
sub edi, 0x3e4b8305
jmp 0x67b882
bswap ebx
shr bx, 0xa
jbe 0x67b8c2
mov al, byte [esp]
jmp 0x67b8ac
mov eax, dword [esp + 3]
mov word [esp + 0x17], dx
sub al, 0xc
jmp 0x67b82c
neg ch
bt bx, cx
jmp 0x67b8cb
mov al, byte [esp]
neg ch
bt bx, cx
dec edi
mov al, ah
jmp 0x67b90c
xchg bl, cl
xor ax, di
lea esp, [esp + 2]
jmp 0x67b8ec
btr ax, sp
jmp 0x67b8d0
lea esp, [esp + 0x14]
not edi
bswap ebx
bsf ebx, edx
jns 0x67b923
mov bx, bp
jmp 0x67b981
xchg ebx, eax
xchg ch, ah
sub esp, 0x16
jne 0x67b8e6
btr ax, sp
xchg bl, cl
xor ax, di
lea esp, [esp + 2]
jmp 0x67b8ec
jmp 0x67b97e
pushal
mov eax, dword [esp + 3]
mov word [esp + 0x17], dx
sub al, 0xc
add ebx, 0xbf4f54c2
add bh, 0x3e
xchg byte [esp + 0x16], bh
add esp, 0x1f
jno 0x67b813
jo 0x67b86e
mov bx, bp
add edi, dword [esi]
mov al, byte [esp]
mov cx, word [esp]
jmp fcn.0067b925
ror edi, 0
je 0x67b940
pushal
jmp 0x67b89f
lea eax, [ecx + edx]
sub esp, 6
jmp 0x67b7ed

Function at 0x67b71d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], esp
pushal
jmp 0x67b727
mov byte [esp + 0xc], bh
call fcn.0067b7a4

Function at 0x67b7a4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
mov dword [esp + 0x28], edi
lea esp, [esp + 0x28]
pushfd
jmp 0x67b599

Function at 0x67d38c
Capabilities:
Execute anti-debugging instructions

Disassembly:
not edx
mov edi, ebx
sub esp, 5
mov byte [esp + 2], bh
pop word [esp]
jmp 0x67d3ea
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
mov ch, dh
mov eax, 0xdf87eca7
bswap edx
jmp 0x67d42e
lea esp, [esp + 3]
xchg dword [esp], esi
rdtsc
mov cx, 0x569a
rcl ax, 6
rdtsc
jmp 0x67d3d4
xchg dword [esp + 0x11], esi
lea esp, [esp + 2]
push dword [esp + 0x14]
ret 0x18
mov bh, dh
xchg dword [esp], esi
mov di, 0xec82
sub esp, 0x12
push dword [esp + 0xc]
not esi
jmp 0x67d418
Function at 0x689b71
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x670760
pushfd
or dword [esp], reloc.iphlpapi.dll_GetAdaptersInfo
popfd
cpuid
nop
jmp 0x670777
pop ebx
ret
jmp 0x670754
Function at 0x6a8997
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
jmp 0x6a8bc8
jmp 0x6a8b00
call fcn.006a8d1f
movsd dword es:[edi], dword [esi]
inc ebx
sal dword [esi + reloc.iphlpapi.dll_GetAdaptersInfo], cl
lcall 0x3330, 0x31bd0cfd
sub al, byte [ebp - 0x18]
pop eax
add al, 0
add al, ch
jbe 0x6a8830
add al, 0
add byte [ebp + 0x45b6d343], ah
neg byte [ebp + 0xcfd9a04]
mov ebp, 0x2a333031
inc ebp
call 0x6a8ca1
call 0x7eee6cc4
iretd
cmp dword [esi - 0x31], reloc.iphlpapi.dll_GetAdaptersInfo
imul edi, ebx, 0xffffff9e
insd dword es:[edi], dx
fimul dword [esi]
cdq
clc
invalid
pushfd
pop word [esp]
mov word [esp], di
lea esp, [esp + 2]
jmp 0x6a8d3b
cmp dword [ebp - 0x10], ebx
call 0x6a88a5
aaa
mov word [esp], si
jmp 0x6a88af
lea esp, [esp + 4]
ja 0x6a8844
pushal
mov word [esp + 9], si
jmp 0x6a8bff
mov cx, 0xad50
jmp 0x6a89b9
push ebp
mov ebp, esp
mov ch, byte [esp]
mov cx, 0x77c4
jmp 0x6a8981
not bh
mov bx, 0x418a
mov ecx, dword [esp]
mov bl, byte [esp]
jmp 0x6a89c3
sub esp, 0x14
bsr ecx, ecx
cmc
push ebx
jmp 0x6a89a3
push edx
mov edx, ebp
add edx, 0xc
jmp 0x6a89f2
mov ebx, dword [edx]
pop edx
push esi
mov cx, 0xea8e
bswap ecx
jmp 0x6a8d02
mov eax, dword [eax + 4]
call fcn.006a8a33
push sp
lea esp, [esp + 2]
movzx ecx, bx
cmc
xor dx, 0xedc9
jmp 0x6a8ae6
div ecx
push ecx
jmp 0x6a8af1
invalid
inc ecx
lea edx, reloc.iphlpapi.dll_GetAdaptersInfo
xor edx, edx
jmp 0x6a8ad0
lea esp, [esp + 4]
movzx eax, ax
mov dword [ebp - 4], eax
jmp 0x6a8818
movzx esi, word [ebp + 0xc]
pushal
jmp 0x6a8c30
inc edi
mov edi, dword [eax]
or cx, 0xfd59
mov ch, 0x7f
sbb cx, cx
jmp 0x6a8a95
mov dword [ebp - 8], eax
sub esp, 0
clc
jmp 0x6a8b72
mov ecx, esi
imul ecx, eax
imul eax, ebx
jmp 0x6a8b2a
or edx, reloc.iphlpapi.dll_GetAdaptersInfo
cmc
call 0x6a8b57
js 0x6a8adb
in al, dx
push ds
lea esp, [esp + 2]
jmp 0x6a8b95
mov eax, ecx
shl eax, 0x10
push dx
lea esp, [esp + 2]
jmp 0x6a8b4a
cmp edi, edx
jmp 0x6a8bb2
sub edi, eax
pushal
sub edx, eax
jmp 0x6a8b7f
lea esp, [esp + 8]
dec dword [ebp - 0x10]
jmp 0x6a8802
lea esp, [esp + 0x40]
jbe 0x6a8802
push bp
push word [esp]
push dword [esp + 1]
jmp 0x6a8b9c
shr ecx, 0x10
lea esp, [esp + 4]
add ecx, dword [ebp - 8]
pushal
jmp 0x6a8c15
lea esp, [esp + 0x20]
movzx ebx, bx
dec ch
lea ecx, reloc.iphlpapi.dll_GetAdaptersInfo
mov ch, byte [esp]
mov ch, 0xca
jmp 0x6a8b40
lea esp, [esp + 0x20]
jne 0x6a882e
mov eax, 0x13d2d75b
jmp 0x6a8c92
lea esp, [esp + 0x20]
sub dword [ebp - 0x10], ecx
jmp 0x6a889c
lea esp, [esp + 0x20]
movzx eax, ax
pushal
bsf ecx, eax
jmp 0x6a8be5
mov al, byte [esp]
not eax
lea eax, [ebx + edi]
mov eax, esi
call fcn.006a8c5f
pushal
jmp 0x6a8cdf
or ecx, reloc.iphlpapi.dll_GetAdaptersInfo
jmp 0x6a8cea
mov eax, esi
shl eax, 0x10
lea esp, [esp + 0x24]
jmp 0x6a8cc9
sub edi, eax
sub ecx, eax
pushfd
cmc
jmp 0x6a8da3
push cx
bswap ecx
lea esp, [esp + 2]
push edi
mov cx, si
jmp 0x6a8b18
sub dword [ebp - 0x10], ebx
call fcn.006a8d13
lea esp, [esp + 8]
cmp word [ebp - 0xc], ax
call fcn.006a8d7a
in al, 0x70
out 0x81, al
jo 0x6a8d0b
in eax, dx
cld
iretd
dec dword [ebp - 0x10]
jmp 0x6a885a
cmp edi, ecx
lea esp, [esp + 4]
jbe 0x6a885a
jmp 0x6a8d72
Function at 0x6a8a33
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x6a8a9d
clc
jmp 0x6a8a56
shr ebx, 0x10
mov ch, byte [esp]
mov ecx, 0x31113173
jmp 0x6a8a1d
add ecx, 0xfffffff4
mov dword [ecx], ebx
pop ecx
jmp 0x6a8a76
mov ecx, 0xffff
push ecx
mov ecx, ebp
jmp 0x6a8a40
lea esp, [esp + 8]
jne 0x6a87bf
sub esp, 0xd
stc
jmp 0x6a8a7f
mov dword [ebp - 0x10], eax
push ebx
cmp bx, cx
jmp 0x6a8a60
lea esp, [esp + 1]
jmp 0x6a8ac1
shr eax, 0x10
mov dword [ebp - 4], eax
lea esp, [esp + 0xc]
jmp 0x6a8818

Function at 0x906442
Capabilities:
Access peb ldr_data

Disassembly:
mov byte [esp + 1], dl
call fcn.009063cf
mov dword [esp], ebp
mov dword [esp + 4], ebx
call 0x906410
pop edx
rcl byte [esi + 0x31], 0xc0
ja 0x9063fe
sal byte [edi - 3], 0xcc
pop edi
cmpsb byte [esi], byte es:[edi]
push dword [esp]
mov dword [esp + 4], edx
call 0x9063ee
push dword [esp + 3]
jmp 0x90641a
int3
mov byte [esp + 4], dl
mov dword [esp + 8], esp
call 0x906438
cld
cmc
pushfd
outsd dx, dword [esi]
les edx, [edi + eax*4]
mov dword cs:[esp], ecx
call 0x906404
mov dword [esp + 8], ebp
call 0x906442
cmp dword [ebp - reloc.iphlpapi.dll_GetAdaptersInfo], ecx
sbb al, 0x24
lea esp, [esp + 3]
jmp 0x906814
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp fcn.00906468
push word [esp]
mov byte [esp + 2], bh
lea esp, [esp + 2]
mov dword [esp + 4], edi
lea esp, [esp + 4]
jmp 0x90647e
mov dword [esp + 4], esi
pushal
lea esp, [esp + 0x1e]
push word [esp]
push dword [esp + 2]
pop dword [esp]
jmp 0x9066f8
Function at 0x41daf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x418015
lea edi, [esi - 0x17015]
push edi
or ebp, 0xffffffff
jmp 0x41db12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41db19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41db08
mov eax, 1
add ebx, ebx
jne 0x41db2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41db20
jne 0x41db3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41db20
xor ecx, ecx
sub eax, 3
jb 0x41db50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41dbc2
mov ebp, eax
add ebx, ebx
jne 0x41db5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41db68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41db8c
inc ecx
add ebx, ebx
jne 0x41db78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41db6d
jne 0x41db89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41db6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41dbac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41db9d
jmp 0x41db0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41dbac
add edi, ecx
jmp 0x41db0e
pop esi
mov edi, esi
mov ecx, 0x51
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41dbca
cmp byte [edi], 2
jne 0x41dbca
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 0x41dbcf
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41dc47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d924]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d960]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41dbfc
mov ecx, edi
jns 0x41dc2b
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 + 0x1d968]
or eax, eax
je 0x41dc41
mov dword [ebx], eax
add ebx, 4
jmp 0x41dc19
call dword [esi + 0x1d964]
mov ebp, dword [esi + 0x1d96c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41dc7b
sub esp, 0xffffff80
jmp 0x401b88
Function at 0x402d64
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.0040452c
test esi, esi
jne 0x402d9a
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.0040461c
jmp 0x402db8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402c78
mov edi, eax
test esi, esi
je 0x402db8
cmp dword [ebx], 0
je 0x402db8
dec esi
jmp 0x402da1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40354c
Capabilities:
Query or enumerate registry value

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

Function at 0x40430c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d604c], 0
je 0x40436d
cmp word [0x4d6220], 0xd7b2
jne 0x404335
cmp dword [0x4d6228], 0
jbe 0x404335
mov eax, 0x4d621c
call dword [0x4d6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4d306c
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 0x404394
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d3030], 0
jne 0x404389
push 0
push 0x4d3064
push 0x4d306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4044e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004029d4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4d604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044a8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4065b8
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 0x40661e
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.0040479c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040304c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406608
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406625
lea eax, [ebp - 0x10]
call fcn.0040452c
ret

Function at 0x40e788
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 0x40e7c1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040461c
jmp 0x40e7ca
mov eax, ebx
mov edx, esi
call fcn.00404580
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40f818
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 0x40f8ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045c4
lea eax, [ebp - 8]
call fcn.00404a3c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049ec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f8d8
mov eax, ebx
call fcn.004029d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f8d1
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.004049ec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f8bb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f900
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f8bb
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 0x40f8d8
mov eax, dword [ebp - 0x10]
call fcn.004029f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f8f5
lea eax, [ebp - 8]
call fcn.0040452c
ret
Function at 0x40ffec
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 0x410050
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.0040479c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b65c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410057
lea eax, [ebp - 0xc]
call fcn.0040452c
ret

Function at 0x4252ec
Capabilities:
Resume thread

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

Function at 0x4264ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4d8ab0
cmp dword [esi], 0
jne 0x426592
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4d8aac]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4d3c54
mov ecx, 2
call fcn.00402c38
mov edx, 0x4264c4
mov eax, dword [ebp - 8]
add eax, 5
call fcn.004264e4
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.004264e4
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x426559
mov eax, dword [ebp - 8]
mov dword [0x4d8aac], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x427a98
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 0x427a9e
ret
Function at 0x42a130
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 0x42a181
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a168
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a158
jmp 0x42a181
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 0x42a169
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439808
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004392b4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004049ec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x439866
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d58a0]
mov dl, 1
mov eax, dword [0x4391ac]
call fcn.0040f070
call fcn.00403ea8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004049ec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4398c8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d5b8c]
mov dl, 1
mov eax, dword [0x4391ac]
call fcn.0040f070
call fcn.00403ea8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004392e4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x460b1c
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 0x460a68
call sub.user32.dll_EnumWindows
ret

Function at 0x460c3c
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 0x460cb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046069c
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 0x460c61
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046029c
cmp dword [ebp - 4], 0
je 0x460ca3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004049ec
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 0x460cc0
lea eax, [ebp - 4]
call fcn.0040452c
ret
Function at 0x4642a8
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 [0x4d8db4], 0
je 0x4643f7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d5958]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4643f7
mov eax, dword [0x4d8db8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d8db4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4643c6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d8db4]
call fcn.0041c468
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4643be
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4643be
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4643be
mov eax, dword [ebp - 0x14]
call fcn.0046d0b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4643be
push ebp
call fcn.00464264
pop ecx
test al, al
jne 0x4643be
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x46437a
mov eax, dword [ebp - 0x14]
call fcn.0046bbe4
dec eax
jle 0x4643be
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.004038d8
cmp byte [ebp - 1], 0
je 0x4643be
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4643be
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d8db8]
call fcn.00463a30
inc edi
dec ebx
jne 0x46430d
mov eax, dword [0x4d8db8]
cmp dword [eax + 8], 0
jle 0x4643de
mov eax, dword [0x4d8db8]
call fcn.00463ac0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4643f7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004640cc
pop ecx
test al, al
jne 0x4643f7
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