joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a3774
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.005a44a0
test byte [ebp + 0xd], 0xc0
jne 0x5a3798
mov eax, dword [0x5f7728]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x5a37a5
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x5a37d2
je 0x5a37e4
sub ecx, 0x100
je 0x5a37f6
sub ecx, 0x100
je 0x5a37ff
sub ecx, 0x100
je 0x5a37ed
jmp 0x5a3808
sub ecx, 0x600
je 0x5a37ff
sub ecx, 0x100
je 0x5a37e4
jmp 0x5a3808
mov dword [ebp - 8], 1
jmp 0x5a380f
mov dword [ebp - 8], 2
jmp 0x5a380f
mov dword [ebp - 8], 4
jmp 0x5a380f
mov dword [ebp - 8], 5
jmp 0x5a380f
mov dword [ebp - 8], 3
test byte [ebp + 0xd], 1
je 0x5a3836
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x5f71a0]
test al, 0x80
je 0x5a382f
mov ebx, 0x80
jmp 0x5a3848
mov ebx, 1
jmp 0x5a3848
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x5a3848
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x5a385a
je 0x5a3863
dec eax
je 0x5a386c
jmp 0x5a3875
mov dword [ebp - 4], connect
jmp 0x5a3884
mov dword [ebp - 4], 0x40000000
jmp 0x5a3884
mov dword [ebp - 4], 0xc0000000
jmp 0x5a3884
push 1
call fcn.005a48b8
pop ecx
mov ebx, eax
jmp 0x5a3984
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x5a38a0
sub eax, 0x10
je 0x5a38a4
sub eax, 0x10
je 0x5a38ab
sub eax, 0x10
je 0x5a38b2
jmp 0x5a38b2
xor edi, edi
jmp 0x5a38b7
mov edi, 1
jmp 0x5a38b7
mov edi, 2
jmp 0x5a38b7
mov edi, 3
test byte [ebp + 0xc], 4
je 0x5a38cf
cmp dword [ebp - 4], 0x80000000
jne 0x5a38cd
mov edi, 1
jmp 0x5a38cf
xor edi, edi
mov dword [ebp - 0x14], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
and edx, 0x80
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp - 0xc], ecx
push 0
push ebx
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebp - 0x14]
push eax
push edi
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x5a393d
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x5a3932
test byte [ebp + 0xd], 1
je 0x5a392d
mov ebx, 0x50
jmp 0x5a3932
mov ebx, 2
push ebx
call fcn.005a48b8
pop ecx
mov ebx, eax
jmp 0x5a3984
mov edi, esi
push edi
call fcn.005a36d8
pop ecx
test eax, eax
je 0x5a3951
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x5a395d
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.005a45e0
add esp, 8
mov ebx, eax
inc eax
jne 0x5a3984
push 4
call fcn.005a48b8
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.005a44d4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a7f2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5f8453
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a22a4
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a2354
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005a2354
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5f8455
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a22a4
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a2354
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.005a9414
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5a803d
push esi
call fcn.005a2354
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.005a2354
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005a13a0
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x5a8014
xor eax, eax
jmp 0x5a80c4
push esi
call fcn.005a2354
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.005a2354
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.005a21d3
add esp, 0xc
jmp 0x5a807d
mov edi, dword [ebx + 0x24]
push edi
call fcn.005a2354
pop ecx
push eax
push esi
call fcn.005a2354
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005a2354
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.005a13c0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x5a807d
xor eax, eax
jmp 0x5a80c4
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005a22a4
add esp, 8
push 0x5f8457
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005a22a4
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.005a22a4
add esp, 8
push 0x5f8459
mov edx, dword [ebx + 0x24]
push edx
call fcn.005a22a4
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5abcb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x5abce5
jmp 0x5abd1c
call fcn.005abc68
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.005a2354
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.005a2354
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5abda0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x5f8b18], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5abe7a
cmp dword [0x5f8b14], 0
jne 0x5abe7a
cmp dword [0x5f8d14], 0
je 0x5abe34
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005ab770
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5abe1a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005ab770
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5abe1a
lea ebx, [ebp - 0x84]
jmp 0x5abe1b
inc ebx
call fcn.005abd58
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x5abeb5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x5f8b1c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.005a2354
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x5f8b1f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x5abeb5
cmp dword [0x5f8b14], 0
je 0x5abe94
cmp dword [0x5f8b14], 0xffffffff
je 0x5abeb5
push esi
call dword [0x5f8b14]
pop ecx
mov eax, dword [0x5f8b18]
test eax, eax
je 0x5abeb5
cmp dword [0x5f8b18], 0xffffffff
je 0x5abeb5
cmp byte [eax], 0
je 0x5abeb5
push esi
push eax
call fcn.005abcb8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ad418
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x5ad43e
test esi, esi
je 0x5ad43e
call fcn.005abd24
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x5ad4b0
call fcn.005ad11c
mov ebx, eax
test eax, eax
jne 0x5ad459
call fcn.005abd24
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x5ad4b0
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x58], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x5ad374
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x5ad4a4
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x5ad49d
push 0x59
call fcn.005a48b8
pop ecx
jmp 0x5ad4b0
call fcn.005a4924
jmp 0x5ad4b0
mov dword [ebx + 8], eax
test edi, edi
je 0x5ad4b0
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x402b08
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.004042ec
test esi, esi
jne 0x402b3e
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.004043dc
jmp 0x402b5c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a1c
mov edi, eax
test esi, esi
je 0x402b5c
cmp dword [ebx], 0
je 0x402b5c
dec esi
jmp 0x402b45
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032a8
Capabilities:
Query or enumerate registry value

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

Function at 0x4040ec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bd04c], 0
je 0x40414d
cmp word [0x4bd220], 0xd7b2
jne 0x404115
cmp dword [0x4bd228], 0
jbe 0x404115
mov eax, 0x4bd21c
call dword [0x4bd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b906c
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 0x404174
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b9030], 0
jne 0x404169
push 0
push 0x4b9064
push 0x4b906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4042a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4bd04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404268
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4066c4
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 0x40672a
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.0040455c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406714
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406731
lea eax, [ebp - 0x10]
call fcn.004042ec
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004047ac
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40933d
test al, 0x10
jne 0x409341
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c3a8
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 0x40c3e1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043dc
jmp 0x40c3ea
mov eax, ebx
mov edx, esi
call fcn.00404340
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ca9c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c914
mov eax, dword [0x4bbe3c]
cmp byte [eax], 0
je 0x40cb18
mov eax, dword [0x4bb9f0]
call fcn.00402c24
call fcn.00402948
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.00409560
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 0x40cb60
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cb4e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4bb944]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bd668]
call fcn.00405bbc
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 0x40d420
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 0x40d4f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404384
lea eax, [ebp - 8]
call fcn.004047fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004047ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d4e0
mov eax, ebx
call fcn.004027e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d4d9
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.004047ac
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d4c3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d508
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d4c3
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 0x40d4e0
mov eax, dword [ebp - 0x10]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d4fd
lea eax, [ebp - 8]
call fcn.004042ec
ret

Function at 0x40da74
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 0x40dad8
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.0040455c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f84
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dadf
lea eax, [ebp - 0xc]
call fcn.004042ec
ret

Function at 0x423d80
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423bd8
dec esi
jne 0x423da2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424ee4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4bd88c
cmp dword [edi], 0
jne 0x424f60
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4bd888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b964c
mov ecx, 2
call fcn.004029dc
mov edx, 0x424ebc
lea eax, [esi + 5]
call fcn.00424edc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424edc
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 0x424f35
mov dword [0x4bd888], 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 0x4264f4
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 0x4264fa
ret

Function at 0x4289c8
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 0x428a19
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428a00
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4289f0
jmp 0x428a19
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 0x428a01
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438f58
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 0x438ea4
call sub.user32.dll_EnumWindows
ret

Function at 0x439078
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 0x4390f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00438ad8
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 0x43909d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004386d8
cmp dword [ebp - 4], 0
je 0x4390df
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047ac
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 0x4390fc
lea eax, [ebp - 4]
call fcn.004042ec
ret

Function at 0x43c0c0
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 [0x4bdb64], 0
je 0x43c20f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4bbd6c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43c20f
mov eax, dword [0x4bdb68]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bdb64]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43c1de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4bdb64]
call fcn.0041d2c8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43c1d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43c1d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43c1d6
mov eax, dword [ebp - 0x14]
call fcn.00444d58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43c1d6
push ebp
call fcn.0043c07c
pop ecx
test al, al
jne 0x43c1d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43c192
mov eax, dword [ebp - 0x14]
call fcn.00443888
dec eax
jle 0x43c1d6
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.00403634
cmp byte [ebp - 1], 0
je 0x43c1d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43c1d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bdb68]
call fcn.0043b848
inc edi
dec ebx
jne 0x43c125
mov eax, dword [0x4bdb68]
cmp dword [eax + 8], 0
jle 0x43c1f6
mov eax, dword [0x4bdb68]
call fcn.0043b8d8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43c20f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043bee4
pop ecx
test al, al
jne 0x43c20f
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 0x43f7f0
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 0x43f83c
mov eax, esi
call fcn.00454fa0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f83c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43f83c
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 0x43f97b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43f87c
cmp eax, 0x108
ja 0x43f87c
mov eax, esi
call fcn.00454fa0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f972
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43f97b
jmp 0x43f972
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43f95b
cmp eax, 0x20a
ja 0x43f95b
test byte [esi + 0x50], 0x80
jne 0x43f8ae
sub eax, 0x203
je 0x43f8ab
sub eax, 3
je 0x43f8ab
sub eax, 3
jne 0x43f8ae
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43f8c2
dec eax
je 0x43f8d7
dec eax
je 0x43f8f4
dec eax
je 0x43f8d7
jmp 0x43f8fb
mov ecx, ebx
mov eax, dword [0x4bbd6c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045e764
jmp 0x43f972
cmp byte [esi + 0x5d], 1
jne 0x43f8ed
mov eax, esi
mov si, 0xffed
call fcn.00403634
jmp 0x43f97b
or word [esi + 0x54], 1
jmp 0x43f972
and word [esi + 0x54], 0xfffe
jmp 0x43f972
mov eax, dword [0x4bdb20]
cmp byte [eax + 0x20], 0
je 0x43f972
mov eax, dword [0x4bdb20]
cmp dword [eax + 0x1c], 0
je 0x43f972
mov eax, dword [ebx]
mov edx, dword [0x4bdb20]
cmp eax, dword [edx + 0x1c]
jne 0x43f972
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.00454ee4
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.00403634
jmp 0x43f97b
cmp eax, 0xb00b
jne 0x43f972
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043e110
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