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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x28]
cmp eax, dword [esp]
jge 0x64acff
mov ecx, 0xf0
mov edx, 0x64ae24
mov eax, 0x64ae80
call fcn.004063b4
mov eax, dword [esp + 4]
cmp eax, dword [esp]
je 0x64ad26
mov eax, dword [esp]
dec eax
cmp eax, dword [esp + 4]
je 0x64ad26
mov ecx, 0xf2
mov edx, 0x64ae24
mov eax, 0x64af0c
call fcn.004063b4
mov eax, dword [ebx + 0x28]
mov edx, dword [esp]
cmp edx, dword [esp + 4]
jle 0x64ad33
inc eax
mov edx, dword [ebx + 0x18]
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov esi, dword [esp + 4]
dec esi
test esi, esi
jl 0x64ad73
inc esi
shl edx, 5
movzx edi, byte [eax + 2]
xor edx, edi
and edx, 0x3fff
mov edi, eax
and edi, dword [ebx + 0x58]
mov ebp, dword [esp + 8]
lea ebp, [ebp + edi*4]
mov edi, dword [ecx + edx*4]
mov dword [ebp], edi
mov dword [ecx + edx*4], eax
inc eax
dec esi
jne 0x64ad4a
mov esi, dword [esp + 8]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x28], eax
cmp byte [ebx + 4], 0
je 0x64adac
mov eax, dword [esp]
add dword [ebx + 0x44], eax
mov eax, dword [esp]
add dword [ebx + 0x48], eax
cmp byte [ebx + 0x34], 0
je 0x64adc6
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x64adc6
mov eax, ebx
call fcn.0064b2d0
jmp 0x64adc6
mov edx, eax
sub edx, dword [ebx + 0x44]
cmp edx, dword [ebx + 0x5c]
jl 0x64adc6
mov byte [ebx + 4], 1
sub eax, dword [ebx + 0x5c]
sub eax, dword [ebx + 0x44]
add dword [ebx + 0x44], eax
add dword [ebx + 0x48], eax
cmp word [ebx + 0x3a], 0
je 0x64adfe
mov eax, dword [esp]
add dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x10]
test esi, 0xfff
jne 0x64adfe
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fmul dword [0x64af80]
fild dword [ebx + 0x50]
fdivp st(1)
call fcn.004047bc
mov edx, eax
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x64ae0d
mov eax, ebx
call fcn.0064b2d0
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x654cc0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x654dcf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004051ac
inc dword [ebx + 0x10]
cmp dword [ebx + 0x2c], 0
jne 0x654cfe
cmp dword [ebx + 0x28], 0
jbe 0x654d32
jmp 0x654d00
jle 0x654d32
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.006546a4
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0xc]
call fcn.00407118
push eax
mov eax, dword [ebx + 4]
call fcn.00407118
push eax
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x654d94
cmp word [ebx + 0x32], 0
je 0x654d73
mov byte [ebp - 1], 0
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
cmp byte [ebp - 1], 0
je 0x654d5f
mov dl, 1
mov eax, dword [0x62ad04]
call fcn.0062ce00
call fcn.00405c84
mov eax, dword [ebx + 4]
call fcn.0062e4e4
cmp edx, 0xffffffff
jne 0x654d6f
cmp eax, 0xffffffff
je 0x654d3d
jmp 0x654d84
mov dl, 1
mov eax, dword [0x62ad04]
call fcn.0062ce00
call fcn.00405c84
mov eax, dword [ebx + 4]
call fcn.0062e354
mov edx, dword [ebx + 0x10]
call fcn.0062feb8
push 0xff20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x42f620]
call fcn.0043b2e0
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x654dd6
lea eax, [ebp - 8]
call fcn.0040707c
ret
Function at 0x67245e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
jmp 0x672516
mov eax, dword [ebp + 8]
add dword [ebp + 8], 4
mov eax, dword [eax]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
shr ecx, 9
add eax, ecx
cmp eax, 0x100
jae 0x6724ae
movsx edx, byte [eax + 0x69fd98]
mov ecx, 9
sub ecx, edx
shl eax, cl
and eax, 0xff
movzx eax, byte [eax + 0x69fe98]
shl edx, 8
add eax, edx
add ebx, eax
jmp 0x672516
cmp eax, 0x10000
jae 0x6724c6
mov edx, eax
shr edx, 8
movsx edx, byte [edx + 0x69fd98]
add edx, 8
jmp 0x6724ed
cmp eax, 0x1000000
jae 0x6724de
mov ecx, eax
shr ecx, 0x10
movsx edx, byte [ecx + 0x69fd98]
add edx, 0x10
jmp 0x6724ed
mov ecx, eax
shr ecx, 0x18
movsx edx, byte [ecx + 0x69fd98]
add edx, 0x18
lea ecx, [edx - 9]
shr eax, cl
and eax, 0xff
movzx eax, byte [eax + 0x69fe98]
mov ecx, edx
shl ecx, 8
add eax, ecx
mov edx, eax
add ebx, eax
test esi, esi
je 0x672516
cmp esi, edx
jg 0x672516
or eax, 0xffffffff
jmp 0x672527
mov edx, dword [ebp + 0xc]
add dword [ebp + 0xc], 0xffffffff
test edx, edx
jne 0x67246d
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x67e6a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.KERNEL32.DLL_GetTickCount_1
mov ebx, eax
mov eax, dword [0x6a1094]
mov eax, dword [eax]
call fcn.004e391c
call sub.KERNEL32.DLL_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x67e6ab
pop esi
pop ebx
ret

Function at 0x67e984
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407074
xor eax, eax
push ebp
push 0x67ea45
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x67ea23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x729248]
mov eax, dword [eax + 0x3fc]
mov dl, 1
call fcn.004f65fc
mov eax, dword [0x6a1094]
mov eax, dword [eax]
call fcn.004e391c
push 2
mov eax, dword [0x6a05d0]
call fcn.00407118
push eax
mov eax, dword [ebp - 4]
call fcn.00407118
push eax
push 0x67ea54
push 0
mov eax, dword [0x729248]
call fcn.004bbd30
push eax
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
mov eax, dword [0x729248]
call fcn.004b346c
mov eax, dword [0x6a1094]
mov eax, dword [eax]
call fcn.004e391c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x67ea2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67ea4c
lea eax, [ebp - 4]
call fcn.0040707c
ret
Function at 0x67ea6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd80
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x270]
mov edx, dword [0x40ece0]
call fcn.00407da8
xor eax, eax
push ebp
push 0x67eb79
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x278]
mov ecx, 0x67eb94
mov edx, dword [0x6a05d0]
call fcn.00407570
mov eax, dword [ebp - 0x278]
call fcn.00407118
mov edx, eax
lea eax, [ebp - 0x274]
call fcn.00407248
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov edx, 0x1ff
call fcn.00415320
mov edi, eax
test edi, edi
jne 0x67eb40
lea eax, [ebp - 0x27c]
mov ecx, dword [ebp - 0x25c]
mov edx, dword [0x6a05d0]
call fcn.00407570
mov esi, dword [ebp - 0x27c]
mov dword [ebp - 0x280], esi
mov eax, dword [ebp - 0x280]
call fcn.00407118
push eax
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x270]
call fcn.00415370
mov edi, eax
test edi, edi
je 0x67eaf5
mov eax, dword [0x6a05d0]
call fcn.00415be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67eb80
lea eax, [ebp - 0x27c]
mov edx, 3
call fcn.00407084
lea eax, [ebp - 0x270]
mov edx, dword [0x40ece0]
call fcn.00407e80
ret
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

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

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 0x80a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0080a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x80a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80a06a
add dl, dl
jne 0x80a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80a0dc
xor eax, eax
add dl, dl
jne 0x80a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80a17d
add dl, dl
jne 0x80a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x80a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x80a075
mov eax, 1
add dl, dl
jne 0x80a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x80a0e1
sub eax, ebx
mov ebx, 1
jne 0x80a128
mov ecx, 1
add dl, dl
jne 0x80a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x80a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x80a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x80a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x80a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x80a136
cmp eax, 0x7d00
jae 0x80a16d
cmp eax, 0x500
jb 0x80a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80a075
cmp eax, 0x7f
ja 0x80a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x80a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x80a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402a78
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.0040442c
test esi, esi
jne 0x402aae
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.0040451c
jmp 0x402acc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040298c
mov edi, eax
test esi, esi
je 0x402acc
cmp dword [ebx], 0
je 0x402acc
dec esi
jmp 0x402ab5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403518
Capabilities:
Query or enumerate registry value

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

Function at 0x404290
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48304c], 0
je 0x4042f1
cmp word [0x483220], 0xd7b2
jne 0x4042b9
cmp dword [0x483228], 0
jbe 0x4042b9
mov eax, 0x48321c
call dword [0x483238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x481054
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 0x404318
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48101c], 0
jne 0x40430d
push 0
push 0x481074
push 0x481054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409c94
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 0x409ccd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040451c
jmp 0x409cd6
mov eax, ebx
mov edx, esi
call fcn.00404480
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a388
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a200
mov eax, dword [0x482cbc]
cmp byte [eax], 0
je 0x40a3f0
mov eax, dword [0x482a1c]
call fcn.00402e34
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408d4c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40a438
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a426
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4829b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x483718]
call fcn.00405bd8
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 0x40afac
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 0x40b010
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.00404694
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408980
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b017
lea eax, [ebp - 0xc]
call fcn.0040442c
ret
Function at 0x41d42c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x483a24
cmp dword [edi], 0
jne 0x41d4a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x483a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4814d0
mov ecx, 2
call fcn.0040294c
mov edx, 0x41d404
lea eax, [esi + 5]
call fcn.0041d424
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d424
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 0x41d47d
mov dword [0x483a20], 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 0x41e9d4
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 0x41e9da
ret

Function at 0x420f14
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 0x420f65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420f4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420f3c
jmp 0x420f65
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 0x420f4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433844
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 0x433790
call sub.user32.dll_EnumWindows
ret

Function at 0x433968
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 0x4339e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004333b4
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 0x43398d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043300c
cmp dword [ebp - 4], 0
je 0x4339cf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048dc
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 0x4339ec
lea eax, [ebp - 4]
call fcn.0040442c
ret

Function at 0x436bdc
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 [0x483bac], 0
je 0x436d2b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x482c38]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x436d2b
mov eax, dword [0x483bb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x483bac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x436cfa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x483bac]
call fcn.00414798
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436cf2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436cf2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436cf2
mov eax, dword [ebp - 0x14]
call fcn.0043f72c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436cf2
push ebp
call fcn.00436b98
pop ecx
test al, al
jne 0x436cf2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436cae
mov eax, dword [ebp - 0x14]
call fcn.0043e288
dec eax
jle 0x436cf2
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.0040389c
cmp byte [ebp - 1], 0
je 0x436cf2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436cf2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x483bb0]
call fcn.00436360
inc edi
dec ebx
jne 0x436c41
mov eax, dword [0x483bb0]
cmp dword [eax + 8], 0
jle 0x436d12
mov eax, dword [0x483bb0]
call fcn.004363f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x436d2b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436a00
pop ecx
test al, al
jne 0x436d2b
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 0x43a2f4
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 0x43a340
mov eax, esi
call fcn.00450270
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a340
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43a340
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 0x43a484
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43a380
cmp eax, 0x108
ja 0x43a380
mov eax, esi
call fcn.00450270
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a47b
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43a484
jmp 0x43a47b
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43a462
cmp eax, 0x20a
ja 0x43a462
test byte [esi + 0x50], 0x80
jne 0x43a3b2
sub eax, 0x203
je 0x43a3af
sub eax, 3
je 0x43a3af
sub eax, 3
jne 0x43a3b2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43a3c6
dec eax
je 0x43a3db
dec eax
je 0x43a3fb
dec eax
je 0x43a3db
jmp 0x43a402
mov ecx, ebx
mov eax, dword [0x482c38]
mov eax, dword [eax]
mov edx, esi
call fcn.00459934
jmp 0x43a47b
cmp byte [esi + 0x5d], 1
jne 0x43a3f1
mov eax, esi
mov si, 0xffed
call fcn.0040389c
jmp 0x43a484
or word [esi + 0x54], 1
jmp 0x43a47b
and word [esi + 0x54], 0xfffe
jmp 0x43a47b
mov eax, dword [0x483b68]
cmp byte [eax + 0x20], 0
je 0x43a47b
mov eax, dword [0x483b68]
cmp dword [eax + 0x1c], 0
je 0x43a47b
mov eax, dword [ebx]
mov edx, dword [0x483b68]
cmp eax, dword [edx + 0x1c]
jne 0x43a47b
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.004501b4
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.0040389c
jmp 0x43a484
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x43a47b
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00438c14
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