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

Disassembly:
cpuid
not bh
mov byte [esp + 7], ah
lea eax, [ecx + ebx]
pop bx
pop dword [esp]
jmp 0xa615c2
xchg word [esp + 0xd], si
xchg cl, bl
mov cx, word [esp + 4]
pop ecx
shr edi, cl
jmp 0xa6159b
clc
add esp, 1
push dword [esp]
mov eax, dword [esp + 7]
cpuid
mov ch, 0x5b
jmp 0xa61693
lea edi, reloc.RASAPI32.dll_RasGetConnectStatusA
lea ebx, reloc.RASAPI32.dll_RasGetConnectStatusA
add esp, 0
mov ecx, dword [esp]
mov bp, si
lea esi, [ebx*4]
jmp 0xa6163c
add esp, 4
rdtsc
mov dh, 0x50
add esp, 0
cpuid
rdtsc
jmp 0xa615ee
mov byte [esp], ah
mov ebp, dword [esp]
setne ah
call fcn.00a61667
mov ebx, 0x22d7b022
movsd dword es:[edi], dword [esi]
jecxz 0xa61656
bts edx, edx
clc
xchg esi, edx
xchg byte [esp], dh
mov ebx, dword [esp]
lea edx, reloc.RASAPI32.dll_RasGetConnectStatusA
jmp 0xa61626
pop bx
pop ebx
bswap ebx
setle al
stc
xchg si, bp
mov eax, 0xf7df738e
jmp 0xa61616
not bx
mov dword [esp + 2], ebp
setno cl
pop word [esp + 4]
mov ax, si
neg ebp
jmp 0xa61655

Function at 0xa61744
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
xchg word [esp + 1], ax
lea esp, [esp + 1]
lea ecx, reloc.RASAPI32.dll_RasGetConnectStatusA
jmp 0xa6192d
pop ebp
lea ebp, [ecx + edx]
xchg esi, edx
rol ebx, cl
bsr bx, dx
lea esp, [esp]
jmp 0xa6179a
dec ecx
lea ebp, reloc.RASAPI32.dll_RasGetConnectStatusA
bsf bx, ax
rdtsc
lea esp, [esp]
push edi
jmp 0xa617b0
mov ch, byte [esp]
mov ebx, esp
shr ax, cl
setae dh
mov ax, word [esp]
cpuid
jmp 0xa617e0
mov bp, word [esp]
lea esp, [esp]
mov ecx, dword [esp]
cld
xchg ebx, esi
mov ah, 0x27
jmp 0xa6185c
lea ecx, [eax + edx]
lea esp, [esp + 1]
neg eax
lea esp, [esp]
pop cx
mov ax, 0x16a1
jmp 0xa618bd

Function at 0xa61ac2
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov esi, 0x3e0bcbb0
mov dx, word [esp + 2]
push word [esp + 3]
pop eax
jmp 0xa61ac4
jmp 0xa61aac
rcr dh, cl
mov edi, dword [esp]
xchg esi, eax
lea esp, [esp]
cpuid
not edx
jmp 0xa61b10
lea ebx, [ecx*4]
bswap esi
sub esp, 0x12
mov eax, dword [esp + 2]
pop word [esp + 0xc]
xchg word [esp + 3], si
jmp 0xa61afa

Function at 0xa61d1a
Capabilities:
Execute anti-debugging instructions

Disassembly:
bt cx, dx
btc dx, di
lea esp, [esp + 0x1c]
rdtsc
pushfd
stc
jmp 0xa61d1c
jmp 0xa61d04
shr eax, cl
add esp, 2
neg cl
mov edi, dword [esp + 4]
cmc
xchg edi, esi
jmp 0xa61f94
mov esi, 0x473556ec
xchg al, bl
pop ebp
call fcn.00a61d55
mov ebx, dword [esp + 5]
mov cl, 0x6f
pop dword [esp]
bsr bx, si
sbb bh, bl
call 0xa61db5
sbb eax, 0xa63d8d6c
mov byte [0x6691679e], al
mov dword [esp], esi
setnp al
push dword [esp + 1]
pop cx
call fcn.00a61d62
pop bx
jmp 0xa61dbd
dec bx
call fcn.00a61dea
hlt
pop ebx
neg edi
xchg word [esp + 1], bp
mov dl, byte [esp + 6]
xchg word [esp + 5], si
mov esi, dword [esp]
jmp 0xa61d79
pop si
rdtsc
mov byte [esp + 2], bl
mov bh, cl
btr ecx, eax
mov ecx, dword [esp + 0xa]
jmp 0xa61dd4
sub esp, 9
mov eax, dword [esp + 8]
rol edx, cl
mov dh, byte [esp]
lea ebx, reloc.RASAPI32.dll_RasGetConnectStatusA
xchg bx, ax
jmp 0xa61e0c
shl ah, 7
xchg di, bx
rdtsc
mov bp, word [esp + 2]
clc
mov cx, word [esp + 1]
jmp 0xa61f15
Function at 0xa61e81
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, reloc.RASAPI32.dll_RasGetConnectStatusA
rol bp, cl
jmp 0xa61ed3
push word [esp]
shl bh, 4
ror dl, cl
lea ecx, [esi - 0x6d]
mov dh, 0xa3
sub esp, 0x19
jmp 0xa61ead

Function at 0xa62089
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xa620b5
mov byte [esp + 1], bh
push dword [esp + 5]
push eax
lea esp, [esp + 0x17]
bswap ebx
mov edi, ebx
jmp 0xa6211c
mov edi, 0x45c790d1
lea esp, [esp]
add esp, 0
lea esp, [esp]
rcl esi, 3
jmp 0xa620f9
mov ch, 0x9b
cmc
mov dh, 0x22
bsr edx, ecx
lea ecx, [edx + ebp]
mov edx, 0xbbdd26a3
jmp 0xa6212d
bsf ebp, edx
bt eax, ebx
shl ah, cl
rdtsc
mov eax, dword [esp]
rdtsc
jmp 0xa620c8
std
mov di, sp
lea ecx, [edx + ebp]
bswap ecx
add bx, bp
std
jmp 0xa6262f
xchg al, ch
mov bx, bp
pop edx
std
mov edi, 0x82d50802
xchg byte [esp + 7], cl
jmp 0xa621a4
pop ax
pop bp
lea ecx, reloc.RASAPI32.dll_RasGetConnectStatusA
lea eax, [ebp*4]
jmp 0xa621b3
mov bl, byte [esp + 0x15]
mov word [esp + 0x11], bp
xchg word [esp + 0x14], cx
lea edi, [edi*4]
rcl ch, 7
mov ax, cx
jmp 0xa6215c
cld
xchg byte [esp + 0xf], bl
pop ebp
pushal
add bp, 0x4d74
inc ebx
jmp 0xa6216e
mov byte [esp + 0x17], ah
mov edi, 0xaab29bb2
push dword [esp + 0x20]
jmp 0xa62242
lea edx, [eax*4]
xchg ebp, esi
mov ah, cl
sub esp, 0x17
mov ecx, 0x56d6946d
xchg dh, ch
jmp 0xa62187
sub esp, 0x15
bt cx, bp
shl ch, cl
xchg ecx, esi
xchg word [esp + 0xa], dx
jmp 0xa62222
lea ebx, [esi + esi]
mov ax, 0x648f
push bp
lea esp, [esp + 1]
mov edx, 0x4ba51888
cpuid
jmp 0xa621e0
add esp, 0xb
mov edx, eax
mov esi, dword [esp + 8]
lea esp, [esp + 0xa]
mov eax, ebp
jmp 0xa62270
lea ebx, reloc.RASAPI32.dll_RasGetConnectStatusA
xchg ch, al
mov ax, word [esp + 0x15]
cpuid
mov bh, cl
mov dx, word [esp + 6]
jmp 0xa6220c
xchg byte [esp + 1], ah
lea edx, [ebx*4]
pop cx
sub esp, 0x16
lea esp, [esp + 0x44]
rdtsc
jmp 0xa621f6
lea eax, reloc.RASAPI32.dll_RasGetConnectStatusA
rdtsc
cpuid
bswap esi
mov dx, word [esp]
jmp 0xa62493
xchg dx, cx
sub esp, 0x10
cpuid
std
mov ax, word [esp + 0x10]
add esp, 0xe
jmp 0xa6225a
mov dh, 0x66
not ecx
shl ecx, cl
xchg edi, ebp
std
mov bl, byte [esp]
jmp 0xa621c9
lea esp, [esp + 3]
lea esp, [esp + 4]
popal
call fcn.00a622fb
les eax, [ebp - 0x2b]
mov esp, 0xf676ab4f
add edi, esi
pop ds
jmp 0xa624bc
jns 0xa624cf
cli
push 0x5c14fa0f
fisttp word [edi + 0x2a]
invalid
mov cx, 0xfcda
bsr bp, bx
setns ch
pushfd
clc
mov di, dx
jmp 0xa62424
stc
cwde
imul ebx, esp, 0x1d
mov bl, byte [eax]
jg 0xa6244f
and edi, dword [ebp + reloc.RASAPI32.dll_RasGetConnectStatusA]
test ch, dl
inc eax
salc
mov cl, 0x40
jmp 0xf514223b
not ah
lea esp, [esp]
shr bh, 4
mov ah, byte [esp]
mov esi, ebx
std
jmp 0xa62292

Function at 0xa62361
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0xa5d01f
call fcn.00a5d024
call 0xa61317
jmp 0xa623d2
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
lea esp, [esp + 0x40]
jmp 0xa623a7
mov eax, dword [eax + 0x1c]
jmp 0xa623e8
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xa62391
pop eax
jmp 0xa62409
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0xa61312
sub eax, 0x661317
push eax
jmp 0xa5cfb3
Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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 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 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x48c14882
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x4bf85641
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
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402a9c
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.0040404c
test esi, esi
jne 0x402ad2
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.0040413c
jmp 0x402af0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029b0
mov edi, eax
test esi, esi
je 0x402af0
cmp dword [ebx], 0
je 0x402af0
dec esi
jmp 0x402ad9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403184
Capabilities:
Query or enumerate registry value

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

Function at 0x403ed0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45804c], 0
je 0x403f31
cmp word [0x458220], 0xd7b2
jne 0x403ef9
cmp dword [0x458228], 0
jbe 0x403ef9
mov eax, 0x45821c
call dword [0x458238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45606c
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 0x403f58
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456030], 0
jne 0x403f4d
push 0
push 0x456064
push 0x45606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f3c
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 0x405fa2
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.004042bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f8c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fa9
lea eax, [ebp - 0x10]
call fcn.0040404c
ret

Function at 0x408700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040450c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408719
test al, 0x10
jne 0x40871d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b080
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 0x40b0b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040413c
jmp 0x40b0c2
mov eax, ebx
mov edx, esi
call fcn.004040a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b774
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b5ec
mov eax, dword [0x457380]
cmp byte [eax], 0
je 0x40b7f0
mov eax, dword [0x457184]
call fcn.00402bb4
call fcn.004028dc
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.004088c0
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 0x40b838
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b826
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45712c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458668]
call fcn.00405450
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 0x40c0d4
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 0x40c1aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040e4
lea eax, [ebp - 8]
call fcn.0040455c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040450c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c194
mov eax, ebx
call fcn.00402774
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c18d
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.0040450c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c177
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c1bc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c177
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 0x40c194
mov eax, dword [ebp - 0x10]
call fcn.00402794
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1b1
lea eax, [ebp - 8]
call fcn.0040404c
ret

Function at 0x40c6b0
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 0x40c714
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.004042bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408370
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c71b
lea eax, [ebp - 0xc]
call fcn.0040404c
ret

Function at 0x41f170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458888
cmp dword [edi], 0
jne 0x41f1ec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x456504
mov ecx, 2
call fcn.00402970
mov edx, 0x41f148
lea eax, [esi + 5]
call fcn.0041f168
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f168
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 0x41f1c1
mov dword [0x458884], 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 0x420400
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 0x420406
ret
Function at 0x422848
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 0x422899
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422880
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422870
jmp 0x422899
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 0x422881
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42be34
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 0x42bd80
call sub.user32.dll_EnumWindows
ret

Function at 0x42bf54
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 0x42bfd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b9b4
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 0x42bf79
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042b5b4
cmp dword [ebp - 4], 0
je 0x42bfbb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040450c
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 0x42bfd8
lea eax, [ebp - 4]
call fcn.0040404c
ret

Function at 0x42ec74
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 [0x458b58], 0
je 0x42edc3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x457318]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42edc3
mov eax, dword [0x458b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ed92
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458b58]
call fcn.00418724
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ed8a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ed8a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ed8a
mov eax, dword [ebp - 0x14]
call fcn.004377d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ed8a
push ebp
call fcn.0042ec30
pop ecx
test al, al
jne 0x42ed8a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42ed46
mov eax, dword [ebp - 0x14]
call fcn.00436308
dec eax
jle 0x42ed8a
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.00403510
cmp byte [ebp - 1], 0
je 0x42ed8a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ed8a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458b5c]
call fcn.0042e3fc
inc edi
dec ebx
jne 0x42ecd9
mov eax, dword [0x458b5c]
cmp dword [eax + 8], 0
jle 0x42edaa
mov eax, dword [0x458b5c]
call fcn.0042e48c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42edc3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ea98
pop ecx
test al, al
jne 0x42edc3
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
Function at 0x43235c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4323a8
mov eax, esi
call fcn.00447778
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4323a8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4323a8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4324e7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4323e8
cmp eax, 0x108
ja 0x4323e8
mov eax, esi
call fcn.00447778
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4324de
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4324e7
jmp 0x4324de
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4324c7
cmp eax, 0x20a
ja 0x4324c7
test byte [esi + 0x50], 0x80
jne 0x43241a
sub eax, 0x203
je 0x432417
sub eax, 3
je 0x432417
sub eax, 3
jne 0x43241a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43242e
dec eax
je 0x432443
dec eax
je 0x432460
dec eax
je 0x432443
jmp 0x432467
mov ecx, ebx
mov eax, dword [0x457318]
mov eax, dword [eax]
mov edx, esi
call fcn.00450f24
jmp 0x4324de
cmp byte [esi + 0x5d], 1
jne 0x432459
mov eax, esi
mov si, 0xffed
call fcn.00403510
jmp 0x4324e7
or word [esi + 0x54], 1
jmp 0x4324de
and word [esi + 0x54], 0xfffe
jmp 0x4324de
mov eax, dword [0x458b14]
cmp byte [eax + 0x20], 0
je 0x4324de
mov eax, dword [0x458b14]
cmp dword [eax + 0x1c], 0
je 0x4324de
mov eax, dword [ebx]
mov edx, dword [0x458b14]
cmp eax, dword [edx + 0x1c]
jne 0x4324de
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004476bc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403510
jmp 0x4324e7
cmp eax, 0xb00b
jne 0x4324de
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00430cc4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret