joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4389c7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040a166
push dword [0x4504a8]
mov esi, eax
lea eax, [ebp - 0x64]
push str._.70s_Command_Line_Error
push eax
call fcn.00444a88
add esp, 0x14
push 0x10
lea eax, [ebp - 0x64]
push eax
push esi
push dword [0x46fcbc]
call dword [0x4503e4]
push esi
call fcn.00409f9a
pop ecx
push 1
call fcn.004475e8
int3

Function at 0x43ba46
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
xor ebx, ebx
xor eax, eax
cmp dword [0x46a048], ebx
push esi
mov dword [0x46bac4], ebx
je 0x43ba90
mov ecx, 0x46a048
mov edx, dword [ecx - 8]
cmp edx, dword [0x46d884]
je 0x43ba7d
add ecx, 0xc
inc eax
cmp dword [ecx], ebx
jne 0x43ba68
jmp 0x43ba90
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x46a048]
cmp eax, ebx
mov dword [0x46bac4], eax
jne 0x43bac1
push dword [0x4504a8]
push str._s_Internal_Error
call fcn.0040a30f
pop ecx
pop ecx
push 0x30
mov esi, eax
push esi
push str.Unsupported_protocol_number_found
push ebx
call dword [0x4503e4]
push esi
call fcn.00409f9a
pop ecx
push 1
call fcn.0043b05e
push edi
push dword [0x46d89c]
lea ecx, [ebp - 4]
push dword [0x46d898]
mov esi, 0x46d680
push ecx
push dword [0x46d880]
push esi
push esi
push 0x46b79c
push ebx
call dword [eax]
push dword [0x46d65c]
mov dword [ebp - 8], eax
push dword [0x46b79c]
mov eax, dword [0x46bac4]
call dword [eax + 0x34]
add esp, 0x28
cmp dword [ebp - 8], ebx
je 0x43bb57
push dword [0x4504a8]
push str._s_Error
call fcn.0040a30f
pop ecx
pop ecx
push dword [ebp - 8]
mov edi, eax
push esi
call fcn.00409fc7
pop ecx
push eax
lea eax, [ebp - 0x408]
push str.Unable_to_open_connection_to_n_.800s_n_s
push eax
call fcn.00444a88
add esp, 0x10
push 0x10
push edi
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [0x4503e4]
push edi
call fcn.00409f9a
pop ecx
push ebx
call fcn.004475e8
cmp byte [0x46eec8], bl
mov dword [0x46c5fc], ebx
mov dword [0x46c63c], ebx
je 0x43bb72
mov edi, 0x46eec8
jmp 0x43bb95
push dword [0x4504a8]
lea eax, [ebp - 0x408]
push dword [ebp - 4]
push str._s____s
push eax
call fcn.00444a88
add esp, 0x10
lea edi, [ebp - 0x408]
push dword [ebp - 4]
call fcn.00409f9a
push edi
push ebx
call fcn.00439f54
push edi
push ebx
call fcn.00439fac
push dword [0x46b79c]
mov eax, dword [0x46bac4]
push dword [eax + 0x14]
push dword [0x46d664]
call fcn.0042b9f6
push ebx
push dword [0x46b79c]
push dword [0x46bac4]
push dword [0x46d664]
push esi
call fcn.004071d8
add esp, 0x34
mov dword [0x46bad8], eax
xor esi, esi
pop edi
push ebx
push 0x40
push dword [esi + 0x46b794]
call dword [0x450378]
add esi, 4
cmp esi, 8
jb 0x43bbe8
pop esi
mov dword [0x46b784], ebx
mov dword [0x46c630], ebx
pop ebx
leave
ret
Function at 0x4425da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 0x14]
call fcn.004446c0
mov edi, eax
inc edi
push 1
push edi
call fcn.00409eda
add esp, 0xc
push 1
push dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x20], ebx
call fcn.004446c0
push dword [ebp + 0x10]
mov esi, eax
call fcn.004446c0
pop ecx
lea eax, [esi + eax + 5]
pop ecx
lea eax, [eax + eax*2]
push eax
call fcn.00409eda
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.00442598
add esp, 0x14
lea eax, [ebp - 8]
push eax
push str.SoftwareSimonTathamPuTTYSshHostKeys
push 0x80000001
call dword [0x45000c]
test eax, eax
je 0x442657
xor eax, eax
inc eax
jmp 0x4427e3
mov esi, dword [0x450010]
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call esi
test eax, eax
mov dword [ebp - 0x10], eax
je 0x442796
cmp eax, 0xea
je 0x442796
push 0x45a694
push dword [ebp + 0x10]
call fcn.00444a00
test eax, eax
pop ecx
pop ecx
jne 0x442796
push 0x458ec4
push dword [ebp - 4]
call fcn.00446f90
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0xa]
push 1
push eax
call fcn.00409eda
add esp, 0x10
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call esi
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x442796
cmp dword [ebp - 0x14], 1
jne 0x442796
mov edi, dword [ebp - 0x1c]
mov esi, ebx
mov dword [ebp - 0x18], 2
mov byte [esi], 0x30
inc esi
push 0x456228
mov byte [esi], 0x78
push edi
inc esi
call fcn.00446f90
pop ecx
pop ecx
mov ecx, eax
push 4
cdq
pop ebx
idiv ebx
lea edx, [ecx - 1]
mov dword [ebp - 0x1c], eax
jmp 0x44272b
cmp ecx, 1
jle 0x442736
dec ecx
dec edx
mov eax, edx
xor eax, 3
cmp byte [eax + edi], 0x30
je 0x442724
xor ebx, ebx
test ecx, ecx
jle 0x442750
lea edx, [ecx + esi - 1]
mov eax, ebx
xor eax, 3
mov al, byte [eax + edi]
inc ebx
mov byte [edx], al
dec edx
cmp ebx, ecx
jl 0x442740
mov eax, dword [ebp - 0x1c]
lea edi, [edi + eax*4]
add esi, ecx
cmp byte [edi], 0
je 0x442762
inc edi
mov byte [esi], 0x2c
inc esi
dec dword [ebp - 0x18]
mov byte [esi], 0
jne 0x4426ff
push dword [ebp + 0x14]
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00444a00
test eax, eax
pop ecx
pop ecx
jne 0x442796
push ebx
call fcn.004446c0
pop ecx
inc eax
push eax
push ebx
push 1
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [0x450008]
push dword [ebp - 8]
call dword [section..rdata]
push dword [ebp + 0x14]
push ebx
call fcn.00444a00
push ebx
mov esi, eax
call fcn.00409f9a
push dword [ebp - 4]
call fcn.00409f9a
add esp, 0x10
cmp dword [ebp - 0x10], 0xea
je 0x4427e0
cmp dword [ebp - 0x10], 0
jne 0x44264f
cmp dword [ebp - 0x14], 1
jne 0x44264f
test esi, esi
jne 0x4427e0
xor eax, eax
jmp 0x4427e3
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44777f
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4674b8
call fcn.00449674
mov edi, 0x94
mov eax, edi
call fcn.00444fc0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x450288]
mov ecx, dword [esi + 0x10]
mov dword [0x46d264], ecx
mov eax, dword [esi + 4]
mov dword [0x46d270], eax
mov edx, dword [esi + 8]
mov dword [0x46d274], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x46d268], esi
cmp ecx, 2
je 0x4477df
or esi, 0x8000
mov dword [0x46d268], esi
shl eax, 8
add eax, edx
mov dword [0x46d26c], eax
xor esi, esi
push esi
mov edi, dword [0x450280]
call edi
cmp word [eax], 0x5a4d
jne 0x44781a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44781a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x447832
cmp eax, 0x20b
je 0x44781f
mov dword [ebp - 0x1c], esi
jmp 0x447846
cmp dword [ecx + 0x84], 0xe
jbe 0x44781a
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x447840
cmp dword [ecx + 0x74], 0xe
jbe 0x44781a
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00449fbf
pop ecx
test eax, eax
jne 0x447872
cmp dword [0x46d2b0], 1
jne 0x44785f
call fcn.0044bb74
push 0x1c
call fcn.0044b9fd
push 0xff
call fcn.0044748d
pop ecx
pop ecx
call fcn.0044be9b
mov dword [ebp - 4], esi
call fcn.0044996b
test eax, eax
jge 0x44788b
push 0x1b
call fcn.0044775a
pop ecx
call dword [0x450178]
mov dword [0x470040], eax
call fcn.0044c56b
mov dword [0x46d2a8], eax
call fcn.0044c4c9
test eax, eax
jge 0x4478b1
push 8
call fcn.0044775a
pop ecx
call fcn.0044c296
test eax, eax
jge 0x4478c2
push 9
call fcn.0044775a
pop ecx
push 1
call fcn.004474bd
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4478d8
push eax
call fcn.0044775a
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x45017c]
call fcn.0044c239
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4478f9
movzx eax, word [ebp - 0x40]
jmp 0x4478fc
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0043e54f
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x44791a
push edi
call fcn.004475e8
call fcn.0044760a
jmp 0x44794c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004496af
ret
Function at 0x44e0aa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x44e0d8
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x44e0df
cmp ebx, dword [eax + 4]
jae 0x44e0df
xor eax, eax
jmp 0x44e2cf
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x44e0f0
xor eax, eax
inc eax
jmp 0x44e2ce
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x44e106
cmp ecx, edx
jae 0x44e24b
cmp dword [eax + 4], 0
je 0x44e10f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x44e0f7
cmp dword [ebp + 8], 0
je 0x44e131
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x44e24b
cmp eax, esi
jae 0x44e24b
mov eax, dword [0x46d550]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x44e156
cmp dword [esi*4 + 0x46d558], edi
je 0x44e24f
inc esi
cmp esi, eax
jl 0x44e144
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x450158]
test eax, eax
je 0x44e2cb
cmp dword [ebp - 8], 0x1000000
jne 0x44e2cb
test byte [ebp - 0xc], 0xcc
je 0x44e1d4
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x44e2cb
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44e2cb
cmp word [eax + 0x18], 0x10b
jne 0x44e2cb
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x44e2cb
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x44e1d4
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x44e1d4
test byte [ecx + 0x27], 0x80
jne 0x44e24b
push 1
push 0x46d598
call dword [0x450114]
test eax, eax
jne 0x44e0e8
mov ecx, dword [0x46d550]
test ecx, ecx
mov edx, ecx
jle 0x44e208
lea eax, [ecx*4 + 0x46d554]
cmp dword [eax], edi
je 0x44e208
dec edx
sub eax, 4
test edx, edx
jg 0x44e1fc
test edx, edx
jne 0x44e239
push 0xf
pop ebx
cmp ecx, ebx
jg 0x44e215
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x44e22d
lea eax, [edx*4 + 0x46d558]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x44e21b
cmp ecx, 0x10
jge 0x44e239
inc ecx
mov dword [0x46d550], ecx
push 0
push 0x46d598
call dword [0x450114]
jmp 0x44e0e8
xor eax, eax
jmp 0x44e2ce
test esi, esi
jle 0x44e0e8
mov ebx, dword [0x450114]
push 1
push 0x46d598
call ebx
test eax, eax
jne 0x44e0e8
cmp dword [esi*4 + 0x46d558], edi
je 0x44e2a5
mov eax, dword [0x46d550]
lea esi, [eax - 1]
test esi, esi
jl 0x44e293
cmp dword [esi*4 + 0x46d558], edi
je 0x44e28f
dec esi
jns 0x44e283
test esi, esi
jge 0x44e2a3
cmp eax, 0x10
jge 0x44e29e
inc eax
mov dword [0x46d550], eax
lea esi, [eax - 1]
jmp 0x44e2a5
je 0x44e2bd
xor ecx, ecx
test esi, esi
jl 0x44e2bd
lea eax, [ecx*4 + 0x46d558]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x44e2ab
push 0
push 0x46d598
call ebx
jmp 0x44e0e8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405e04
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 0x405e6a
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.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40ae28
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 0x40ae61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40ae6a
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b52c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b394
mov eax, dword [0x452060]
cmp byte [eax], 0
je 0x40b5a8
mov eax, dword [0x451e88]
call fcn.00402d10
call fcn.00402bb4
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.00408618
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 0x40b5f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5de
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00405270
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 0x40be4c
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 0x40bf22
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404278
lea eax, [ebp - 8]
call fcn.004046f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf0c
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf05
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.004046a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40beef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40beef
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 0x40bf0c
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf29
lea eax, [ebp - 8]
call fcn.004041e0
ret

Function at 0x40c3fc
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 0x40c460
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.00404450
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408194
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c467
lea eax, [ebp - 0xc]
call fcn.004041e0
ret

Function at 0x41a608
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a684
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a5e0
lea eax, [esi + 5]
call fcn.0041a600
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a600
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 0x41a659
mov dword [0x453880], 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 0x41b898
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 0x41b89e
ret
Function at 0x42a4b8
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 0x42a404
call sub.user32.dll_EnumWindows
ret

Function at 0x42a5d8
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 0x42a655
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a038
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 0x42a5fd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429c38
cmp dword [ebp - 4], 0
je 0x42a63f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a0
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 0x42a65c
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x42d620
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 [0x453b54], 0
je 0x42d76f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452004]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d76f
mov eax, dword [0x453b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d73e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.00413bd8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d736
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d736
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d736
mov eax, dword [ebp - 0x14]
call fcn.004362ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d736
push ebp
call fcn.0042d5dc
pop ecx
test al, al
jne 0x42d736
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d6f2
mov eax, dword [ebp - 0x14]
call fcn.00434ddc
dec eax
jle 0x42d736
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.00403674
cmp byte [ebp - 1], 0
je 0x42d736
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d736
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042cda8
inc edi
dec ebx
jne 0x42d685
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42d756
mov eax, dword [0x453b58]
call fcn.0042ce38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d76f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d444
pop ecx
test al, al
jne 0x42d76f
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 0x430d44
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 0x430d90
mov eax, esi
call fcn.00446588
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430d90
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430d90
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 0x430ecf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430dd0
cmp eax, 0x108
ja 0x430dd0
mov eax, esi
call fcn.00446588
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430ec6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x430ecf
jmp 0x430ec6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x430eaf
cmp eax, 0x20a
ja 0x430eaf
test byte [esi + 0x50], 0x80
jne 0x430e02
sub eax, 0x203
je 0x430dff
sub eax, 3
je 0x430dff
sub eax, 3
jne 0x430e02
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430e16
dec eax
je 0x430e2b
dec eax
je 0x430e48
dec eax
je 0x430e2b
jmp 0x430e4f
mov ecx, ebx
mov eax, dword [0x452004]
mov eax, dword [eax]
mov edx, esi
call fcn.0044fe50
jmp 0x430ec6
cmp byte [esi + 0x5d], 1
jne 0x430e41
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x430ecf
or word [esi + 0x54], 1
jmp 0x430ec6
and word [esi + 0x54], 0xfffe
jmp 0x430ec6
mov eax, dword [0x453b10]
cmp byte [eax + 0x20], 0
je 0x430ec6
mov eax, dword [0x453b10]
cmp dword [eax + 0x1c], 0
je 0x430ec6
mov eax, dword [ebx]
mov edx, dword [0x453b10]
cmp eax, dword [edx + 0x1c]
jne 0x430ec6
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.004464cc
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.00403674
jmp 0x430ecf
cmp eax, 0xb00b
jne 0x430ec6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f670
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