joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9d5a26
Capabilities:
Encrypt data using aes

Disassembly:
push 0xa
jmp 0x9d59a5
lea esp, [esp + 0x40]
cmp ebx, 0x990100
jne 0x9d50c4
jmp 0x9d597d
pop eax
xchg ebp, esi
jmp 0x9d59e6
xor edx, ecx
sub esp, 0x1b
lea esp, [esp + 3]
mov dword [eax + 0x1c], edx
jmp 0x9d5993
pop ebp
mov ebx, dword [esp]
lea esp, [esp + 4]
ret
pop edi
pop esi
mov bp, word [esp]
jmp 0x9d59ca
jmp 0x9d59bc

Function at 0x9d5c6b
Capabilities:
Encrypt data using aes

Disassembly:
lea eax, [edi*4]
jmp 0x9d5a28
call fcn.009d5c6b
pop word [esp]
jmp 0x9d5c42
jmp 0x9d5cd6
call fcn.009d6247
jle 0x984917
call 0xfb9e8b50
ret
call 0x9a6179
bsr ebx, esp
mov bx, word [esp]
and dword [ebp - 4], 0
jmp 0x984912
push edi
mov esi, dword [esp]
not si
mov esi, ecx
jmp 0x9848dd
mov bl, dl
mov ebx, eax
call 0x98491c
add dword [eax], eax
add byte [eax], al
test ecx, 0xec8302e3
sbb eax, 0x63f3eeb
mov cl, 0xb0
fsubr qword [ecx + 0x47c3fb06]
dec edi
fist word [edx - 0x6a8f1fa1]
push esi
mov esi, dword [esp]
mov si, 0x394a
mov esi, dword [esp]
mov esi, 0x8b8e093f
jmp 0x984903
push ebx
jmp 0x9d5a60
lea esp, [esp + 2]
mov dword [esp + 0x24], edx
call fcn.009d5a6d
lea ecx, [edx + eax*4]
in eax, 0x14
std
sbb dword [eax + 0x5b], edi
pushal
neg cx
bswap ebp
xchg ebp, ecx
sub esp, 0x16
jmp 0x9d5a4a
mov word [esp], cx
lea esp, [esp + 2]
jle 0x9848c7
lea ebx, [eax + edi]
neg dh
jmp 0x9d5c8d
lea esp, [esp + 4]
cmp eax, 1
call 0x984825
mov di, ax
jmp 0x9d5d1d
btr bx, bx
lea ecx, [eax - 1]
shl edi, 0x13
mov bl, byte [esp]
lea edx, [esp + 0xa6]
jmp 0x9d5c77
lea esp, [esp + 4]
jmp 0x984820
bsf dx, dx
rol dh, 3
jmp 0x9d5d01
movzx ebx, byte [esi + 0x11]
mov di, word [esp]
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
mov dx, 0x31b6
jmp 0x9d5cbe
mov edi, 0x241dddd1
jmp 0x9d5d4b
add esi, 0x10
neg dl
mov edx, dword [esi]
bsr di, di
jmp 0x9d5ceb
mov dword [ebp - 4], ecx
not bl
neg ch
mov ecx, 0xff
jmp 0x984886
mov dword [esp], edx
cmc
popal
sub esp, 0x14
jmp 0x9d5d59
pushal
btc ecx, ebp
lea eax, [eax + ebx]
bswap edi
xchg si, cx
jmp 0x9d5d2e
shr edi, 0x18
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
clc
call 0x9d5d6a
xchg edi, eax
jmp 0x9d5dab
jl 0x98480a
mov ax, 0x92e9
bswap eax
push edx
mov eax, dword [ebp - 8]
jmp 0x9d5cb5
lea esp, [esp + 0x18]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
mov ebx, edi
bt ebx, eax
jmp 0x9d5db8
and edi, ecx
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
and ebx, ecx
jmp 0x9d5d95
movzx ebx, byte [esi + 2]
clc
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
jmp 0x9d5e22
movzx ebx, byte [esi + 5]
cmc
call fcn.009d5e03
xor eax, 0xb34021b1
push ebx
xor eax, 0xb24720b2
inc ecx
xor ebp, dword [edx]
inc ebp
lea esp, [esp + 4]
cmp dword [ebp - 4], ebx
pushfd
lea esp, [esp + 4]
jmp 0x9d5d80
and ebx, ecx
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
setne bh
lea ebx, [esi*4]
mov ebx, esi
jmp 0x9d5dc6
Function at 0x9d5fd6
Capabilities:
Encrypt data using aes

Disassembly:
and ebx, ecx
lea esp, [esp + 0x3c]
jmp 0x9d6182
sub esp, 0x10
lea esp, [esp + 0x24]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
call fcn.009d6003
pop ds
lahf
punpckhdq mm3, qword [ecx + 0x1c8b7245]
popfd
fsubr st(0)
cwde
add byte [ebx + 0x648d15ec], al
and al, 1
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
sub esp, 0x15
lea esp, [esp + 1]
and ebx, ecx
jmp 0x9d6019
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
inc bl
lea ebx, [ecx + esi]
movzx ebx, byte [esi + 0xa]
stc
jmp 0x9d6033

Function at 0x9d6003
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov word [esp], sp
lea esp, [esp + 3]
jmp 0x9d60ed
lea esp, [esp + 0x20]
xor edi, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
mov dl, byte [esp]
jmp 0x9d60bb
and edx, ecx
sub esp, 0x1d
mov word [esp + 0x1a], ax
lea esp, [esp + 1]
jmp 0x9d6045
and edx, ecx
mov edx, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
sub esp, 0
jmp 0x9d605b
sub esp, 0x1b
lea edi, [esp + esi]
rcr di, cl
bsf edi, edi
lea esp, [esp + 3]
jmp 0x9d60c6
mov ebp, esi
add ebp, 8
mov dword [ebp], edi
pop ebp
jmp 0x9d6089
not dx
mov edx, edi
mov edx, dword [esi + 0xc]
push ebp
jmp 0x9d609f
push edx
mov edx, ebx
lea edx, [edx*4]
jmp 0x9d60d6
lea edx, reloc.mscoree.dll__CorExeMain
mov ebx, dword [edx]
pop edx
bts di, bx
jmp 0x9d614d
lea ebx, reloc.mscoree.dll__CorExeMain
lea esp, [esp + 1]
movzx ebx, byte [esi + 0xd]
pushfd
mov dword [esp], edx
jmp 0x9d607b
lea esp, [esp + 3]
jmp 0x9d612f
shr edi, 0x18
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
stc
sub esp, 0x17
mov dword [esp + 4], esp
jmp 0x9d6104
and edi, ecx
mov edi, dword [edi*4 + reloc.mscoree.dll__CorExeMain]
pushfd
jmp 0x9d615c
mov edi, edx
sub esp, 0xe
pop dword [esp + 5]
lea esp, [esp + 2]
jmp 0x9d611b
and ebx, ecx
lea esp, [esp + 0x38]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
lea ebx, [eax + ebx]
jmp 0x9d639f
pushal
sub esp, 0xe
lea esp, [esp + 2]
lea esp, [esp + 0x2c]
xor edi, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
call fcn.009d620b
mov al, 0x32
mov al, byte [0xb2fe32c7]
aaa
cmpsd dword [esi], dword es:[edi]
ret 0xdd31
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
stc
and edx, ecx
jmp 0x9d6198
and edx, ecx
mov edx, dword [edx*4 + reloc.mscoree.dll__CorExeMain]
and ebx, ecx
sub esp, 4
jmp 0x9d61bd
setb bl
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + reloc.mscoree.dll__CorExeMain]
jmp 0x9d6260
Function at 0xb559be
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xb55a09
mov dx, word [esp + 3]
add esp, 0
push dword [esp + 2]
lea edx, [esp + edi]
pop dword [esp]
pushal
jmp 0xb559f3
pop esi
std
mov dword [esp + 0x1b], esp
neg ax
xchg dword [esp + 6], edx
not edx
jmp 0xb55a69
mov eax, 0x25d7b5ee
pop word [esp + 1]
mov dl, byte [esp]
xchg dword [esp], eax
sbb esi, 0xea426395
lea esi, [ebp*4]
jmp 0xb559c0
push word [esp + 4]
xchg word [esp + 0x14], ax
cld
bsr si, bx
lea esp, [esp + 0x20]
jmp 0xb55a7f
mov al, byte [esp + 0xa]
lea eax, reloc.mscoree.dll__CorExeMain
not dh
mov byte [esp], bh
lea esp, [esp + 1]
cld
jmp 0xb55a4e
mov dl, 0x9f
mov dl, bh
rdtsc
mov ax, 0x59c4
std
rcr esi, 0
jmp 0xb55b92
bswap edx
lea eax, [eax + edi]
push si
lea esp, [esp + 3]
xchg al, dh
lea esi, [edx*4]
jmp 0xb55aa5
add esp, 0
push edx
not si
add esp, 2
mov eax, 0xbfc5a5e5
xchg dx, ax
jmp 0xb55abf

Function at 0xb579fb
Capabilities:
Parse pe header

Disassembly:
call fcn.00b57a3e
pop word [esp + 1]
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0xb57a28
Function at 0x4e25e6
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e2632
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e2617
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2627
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e2642
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e2681
test ebx, ebx
je 0x4e2656
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e264b
cmp ecx, 0xfff1
jb 0x4e2664
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e276c
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e26a6
Function at 0x582b36
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
dec esi
push cs
shl dword [edi + 0x73], 1
and byte [ecx + 0x18], bh
xor byte [ebx + 0x6d95b9a5], al
mov byte [0x52c16efc], al
inc edi
adc bl, byte [ebp + 0x3c]
or dword [edi - 0x59cabd73], esi
leave
sahf
and dword [ebp - 0x5d926a47], 0xfffffffc
outsb dx, byte [esi]
rcl dword [edx + 0x47], 0x12
pop ebp
cmp al, 9
mov bh, 0x8d
inc edx
xor eax, 0x9e3ec9a6
xor cl, byte [eax - 0x58fda2f8]
arpl word [ecx + 0x72], sp
jge 0x582b40
fstp st(4)
test al, 0x36
call 0xc091518
imul eax
mov bh, 0xf9
mov dl, 0x5d
add cl, byte [0xecdf217]
mov byte [ecx], 0x15
ja 0x582ba7
and ebp, eax
div byte [ebp + 0x2d]
mov ecx, dword [edx + 0x3aaafd47]
mov byte [0x823e9e92], al
movsb byte es:[edi], byte [esi]
xor dl, dh
sbb esi, edi
ret 0x99d4
movsd dword es:[edi], dword [esi]
mov bl, 0xc8
adc eax, 0xe254d010
jae 0x582be3
sahf
std
sub ah, byte [edx]
mov ecx, 0x3542b0d1
bound esp, qword [ecx]
xchg esp, eax
daa
xor ebp, dword [0xfb5c45cf]
scasb al, byte es:[edi]
int3
add esi, dword [ebx + 0x50b3abc6]
xchg byte [ebp - 0x4a9afaa0], ch
adc dword [edi - 0x6e], ebx
sbb bl, byte [edx + eax*8]
sub dword [edi], 0x27
dec edi
xchg ebp, eax
invalid
Function at 0x65772d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3b8
cmp edx, dword [eax]
je 0x65774f
add eax, 8
inc ecx
cmp eax, 0x65f448
jl 0x657740
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3b8]
jne 0x65787d
mov eax, dword [0xa64d28]
cmp eax, 1
je 0x657857
test eax, eax
jne 0x657780
cmp dword [0x65f2e4], 1
je 0x657857
cmp edx, 0xfc
je 0x65787d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6577b7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00658110
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006585a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6577fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.006585a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c91c
push edi
call fcn.0065a470
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00658110
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658120
lea eax, [ebp - 0xa0]
push 0x65c8fc
push eax
call fcn.00658120
push dword [esi + 0x65f3bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658120
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a3e4
add esp, 0x2c
pop edi
jmp 0x65787d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3bc]
push 0
push eax
push dword [esi]
call fcn.006585a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403140
Capabilities:
Query or enumerate registry value

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

Function at 0x403f6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48704c], 0
je 0x403fcd
cmp word [0x487220], 0xd7b2
jne 0x403f95
cmp dword [0x487228], 0
jbe 0x403f95
mov eax, 0x48721c
call dword [0x487238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48506c
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 0x403ff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x485030], 0
jne 0x403fe9
push 0
push 0x485064
push 0x48506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4063ac
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 0x406412
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.00404358
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d04
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4063fc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406419
lea eax, [ebp - 0x10]
call fcn.004040e8
ret

Function at 0x40bbc4
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 0x40bbfd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041d8
jmp 0x40bc06
mov eax, ebx
mov edx, esi
call fcn.0040413c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c2b8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c130
mov eax, dword [0x486a1c]
cmp byte [eax], 0
je 0x40c334
mov eax, dword [0x486750]
call fcn.00402ac8
call fcn.00402938
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.00408de0
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 0x40c37c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c36a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4866dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x487668]
call fcn.004058a4
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 0x40cc3c
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 0x40cd12
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404180
lea eax, [ebp - 8]
call fcn.004045f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ccfc
mov eax, ebx
call fcn.004027d0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ccf5
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.004045a8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ccdf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cd24
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ccdf
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 0x40ccfc
mov eax, dword [ebp - 0x10]
call fcn.004027f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd19
lea eax, [ebp - 8]
call fcn.004040e8
ret

Function at 0x40d190
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 0x40d1f4
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.00404358
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408950
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1fb
lea eax, [ebp - 0xc]
call fcn.004040e8
ret

Function at 0x423aec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x487888
cmp dword [edi], 0
jne 0x423b68
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x487884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48564c
mov ecx, 2
call fcn.004029cc
mov edx, 0x423ac4
lea eax, [esi + 5]
call fcn.00423ae4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423ae4
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 0x423b3d
mov dword [0x487884], 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 0x424d7c
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 0x424d82
ret
Function at 0x4271c4
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 0x427215
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4271fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4271ec
jmp 0x427215
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 0x4271fd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4315f8
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 0x431544
call sub.user32.dll_EnumWindows
ret

Function at 0x431718
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 0x431795
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00431178
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 0x43173d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430d78
cmp dword [ebp - 4], 0
je 0x43177f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045a8
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 0x43179c
lea eax, [ebp - 4]
call fcn.004040e8
ret

Function at 0x4345b4
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 [0x487b58], 0
je 0x434703
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x486998]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x434703
mov eax, dword [0x487b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x487b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4346d2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x487b58]
call fcn.0041c8cc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4346ca
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4346ca
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4346ca
mov eax, dword [ebp - 0x14]
call fcn.0043d1c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4346ca
push ebp
call fcn.00434570
pop ecx
test al, al
jne 0x4346ca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x434686
mov eax, dword [ebp - 0x14]
call fcn.0043bcf4
dec eax
jle 0x4346ca
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.004034cc
cmp byte [ebp - 1], 0
je 0x4346ca
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4346ca
mov edx, dword [ebp - 0x14]
mov eax, dword [0x487b5c]
call fcn.00433d3c
inc edi
dec ebx
jne 0x434619
mov eax, dword [0x487b5c]
cmp dword [eax + 8], 0
jle 0x4346ea
mov eax, dword [0x487b5c]
call fcn.00433dcc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434703
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004343d8
pop ecx
test al, al
jne 0x434703
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 0x437cc8
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 0x437d14
mov eax, esi
call fcn.0044d2ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437d14
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x437d14
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 0x437e53
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x437d54
cmp eax, 0x108
ja 0x437d54
mov eax, esi
call fcn.0044d2ac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437e4a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x437e53
jmp 0x437e4a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x437e33
cmp eax, 0x20a
ja 0x437e33
test byte [esi + 0x50], 0x80
jne 0x437d86
sub eax, 0x203
je 0x437d83
sub eax, 3
je 0x437d83
sub eax, 3
jne 0x437d86
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x437d9a
dec eax
je 0x437daf
dec eax
je 0x437dcc
dec eax
je 0x437daf
jmp 0x437dd3
mov ecx, ebx
mov eax, dword [0x486998]
mov eax, dword [eax]
mov edx, esi
call fcn.00456a58
jmp 0x437e4a
cmp byte [esi + 0x5d], 1
jne 0x437dc5
mov eax, esi
mov si, 0xffed
call fcn.004034cc
jmp 0x437e53
or word [esi + 0x54], 1
jmp 0x437e4a
and word [esi + 0x54], 0xfffe
jmp 0x437e4a
mov eax, dword [0x487b14]
cmp byte [eax + 0x20], 0
je 0x437e4a
mov eax, dword [0x487b14]
cmp dword [eax + 0x1c], 0
je 0x437e4a
mov eax, dword [ebx]
mov edx, dword [0x487b14]
cmp eax, dword [edx + 0x1c]
jne 0x437e4a
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.0044d1f0
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.004034cc
jmp 0x437e53
cmp eax, 0xb00b
jne 0x437e4a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00436604
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