joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012640
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10047410]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x44], 0x600066
mov dword [ebp - 0x40], 0x6c0076
mov dword [ebp - 0x3c], 0x6a0066
mov dword [ebp - 0x38], 0x6b007c
mov dword [ebp - 0x34], 0x760070
mov dword [ebp - 0x30], 0x6a006c
mov dword [ebp - 0x2c], 0x600075
mov dword [ebp - 0x28], 0x770066
mov dword [ebp - 0x24], 0x7c007c
mov dword [ebp - 0x20], 0x66007d
mov dword [ebp - 0x1c], 0x76006d
mov dword [ebp - 0x18], 0x7e0066
mov dword [ebp - 0x14], 0x6d007c
mov dword [ebp - 0x10], 0x750066
mov dword [ebp - 0xc], 0x700078
mov dword [ebp - 8], 0x66007d
mov cl, byte [ebp + eax - 0x44]
mov edx, eax
xor cl, 0x39
shr edx, 1
add eax, 2
mov byte [edx + esi], cl
cmp eax, 0x40
jb 0x100126c2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f521
mov esp, ebp
pop ebp
ret
Function at 0x10014490
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030c68
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10047410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x44], eax
call fcn.100209ac
push eax
call fcn.10021a23
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100141c0
add esp, 0xc
mov dword [ebp - 4], esi
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x100144e8
lea eax, [ebp - 0x3c]
push eax
push str._s.dat
lea edx, [ebp - 0x20]
push 0x10
push edx
call fcn.1001f974
push 0x1003e808
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], esi
call fcn.1001fdef
add esp, 0x1c
cmp dword [ebp - 0x40], esi
je 0x100145bc
push 6
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x40]
push eax
push 0xf600
push 1
push 0x10048188
call fcn.10021ca7
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1001fea3
add esp, 0x14
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10014587
push 0x10040704
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x44]
push 0x10058cbc
push ecx
push ebx
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x1001457e
mov byte [0x10058c75], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1001458e
mov byte [0x10058c75], 1
lea edx, [ebp - 0x20]
push edx
call fcn.100214fa
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0x10
jb 0x100145b3
mov eax, dword [ebp - 0x3c]
push eax
call fcn.1001f865
add esp, 4
mov dword [ebp - 0x2c], 0
jmp 0x100145d8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0x10
jb 0x100145d5
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.1001f865
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0xf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001f521
mov esp, ebp
pop ebp
ret
Function at 0x10018410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10047410]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
mov dword [0x10058e48], 0
mov dword [0x10058e4c], 0
mov dword [0x10058e50], 0
mov dword [0x10058e54], 0x10018400
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10018535
push edi
lea edi, [ebp - 0x108]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10018470
mov cx, word [0x1003e774]
lea eax, [ebp - 0x108]
mov word [edi], cx
dec eax
pop edi
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10018490
mov edx, dword [str.wintrust.dll]
mov ecx, dword [0x10040ce8]
mov dword [eax], edx
mov edx, dword [0x10040cec]
mov dword [eax + 4], ecx
mov cl, byte [0x10040cf0]
mov dword [eax + 8], edx
lea edx, [ebp - 0x108]
push edx
mov byte [eax + 0xc], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10058e48], eax
test eax, eax
je 0x10018535
push esi
push str.WinVerifyTrust
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [0x10058e54]
mov dword [0x10058e4c], eax
mov dword [ebp - 0x10c], eax
call fcn.10005e60
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.10006310
push 0
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.10006390
call fcn.10005fe0
test eax, eax
pop esi
mov eax, 0x10058e48
jne 0x1001853a
mov dword [0x10058e50], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f521
mov esp, ebp
pop ebp
ret
mov eax, 0x10058e48
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f521
mov esp, ebp
pop ebp
ret
Function at 0x1001ace0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x1001aceb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.1001ad00
Function at 0x1001b210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x1001b223
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x1001b29d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.10029240
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x1001b271
sub eax, edi
jmp 0x1001b273
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x1001b262
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x1001b290
sub eax, edi
jmp 0x1001b292
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x1001b281
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x1001b352
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x1001b2c3
mov ebx, ecx
test ebx, ebx
je 0x1001b316
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x1001b2e5
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.1001aa70
jmp 0x1001b2fe
cmp eax, 2
jne 0x1001b304
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x1001b2f7
xor eax, eax
jmp 0x1001b301
mov edx, ebx
call fcn.1001ad00
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.10029240
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x1001b33e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x1001b352
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x1001b220
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f521
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047410]
jne 0x1001f52b
repz ret
jmp fcn.10023d2d

Function at 0x1002a3e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
invalid
invalid
dec edi

Function at 0x1002c201
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10047410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10027b40
and dword [ebp - 0x14], 0
cmp dword [0x10058608], 0
mov dword [ebp - 0x18], eax
jne 0x1002c2b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1002c35c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1002c35c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10058608], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1005860c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10058610], eax
call edi
push eax
call esi
mov dword [0x10058618], eax
test eax, eax
je 0x1002c2b4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10058614], eax
mov eax, dword [0x10058614]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1002c30d
cmp dword [0x10058618], ecx
je 0x1002c30d
push eax
call esi
push dword [0x10058618]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1002c30d
test ebx, ebx
je 0x1002c30d
call edi
test eax, eax
je 0x1002c304
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1002c304
test byte [ebp - 8], 1
jne 0x1002c30d
or dword [ebp + 0x10], 0x200000
jmp 0x1002c340
mov eax, dword [0x1005860c]
cmp eax, dword [ebp - 0x18]
je 0x1002c340
push eax
call esi
test eax, eax
je 0x1002c340
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002c340
mov eax, dword [0x10058610]
cmp eax, dword [ebp - 0x18]
je 0x1002c340
push eax
call esi
test eax, eax
je 0x1002c340
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10058608]
call esi
test eax, eax
je 0x1002c35c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1002c35e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f521
leave
ret
Function at 0x1002f563
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 0xe0434352
je 0x1002f595
cmp eax, 0xe0434f4d
je 0x1002f595
cmp eax, 0xe06d7363
jne 0x1002f5ae
call fcn.10027cf0
and dword [eax + 0x90], 0
jmp fcn.1002b60d
call fcn.10027cf0
cmp dword [eax + 0x90], 0
jle 0x1002f5ae
call fcn.10027cf0
dec dword [eax + 0x90]
xor eax, eax
pop ebp
ret
Function at 0x40358c
Capabilities:
Query or enumerate registry value

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

Function at 0x4042ec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x456048], 0
je 0x40434d
cmp word [0x45621c], 0xd7b2
jne 0x404315
cmp dword [0x456224], 0
jbe 0x404315
mov eax, 0x456218
call dword [0x456234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x454054
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 0x404374
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45401c], 0
jne 0x404369
push 0
push 0x454074
push 0x454054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a820
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 0x40a859
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404558
jmp 0x40a862
mov eax, ebx
mov edx, esi
call fcn.004044bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bc34
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 0x40bc98
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.004046d0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040865c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc9f
lea eax, [ebp - 0xc]
call fcn.00404468
ret

Function at 0x41d83c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x456a20
cmp dword [edi], 0
jne 0x41d8b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x456a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4544f8
mov ecx, 2
call fcn.004028d4
mov edx, 0x41d814
lea eax, [esi + 5]
call fcn.0041d834
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d834
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 0x41d88d
mov dword [0x456a1c], 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 0x41eaac
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 0x41eab2
ret
Function at 0x420eb4
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 0x420f05
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420eec
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420edc
jmp 0x420f05
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 0x420eed
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c750
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 0x42c69c
call sub.user32.dll_EnumWindows
ret

Function at 0x42c874
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 0x42c8f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c2c0
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 0x42c899
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bf18
cmp dword [ebp - 4], 0
je 0x42c8db
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404918
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 0x42c8f8
lea eax, [ebp - 4]
call fcn.00404468
ret

Function at 0x42f854
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 [0x456ba8], 0
je 0x42f9a3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454f20]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f9a3
mov eax, dword [0x456bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x456ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f972
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x456ba8]
call fcn.00414eb8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f96a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f96a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f96a
mov eax, dword [ebp - 0x14]
call fcn.0043834c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f96a
push ebp
call fcn.0042f810
pop ecx
test al, al
jne 0x42f96a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f926
mov eax, dword [ebp - 0x14]
call fcn.00436ee0
dec eax
jle 0x42f96a
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.00403910
cmp byte [ebp - 1], 0
je 0x42f96a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f96a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x456bac]
call fcn.0042efd8
inc edi
dec ebx
jne 0x42f8b9
mov eax, dword [0x456bac]
cmp dword [eax + 8], 0
jle 0x42f98a
mov eax, dword [0x456bac]
call fcn.0042f068
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f9a3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f678
pop ecx
test al, al
jne 0x42f9a3
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 0x432f6c
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 0x432fb8
mov eax, esi
call fcn.004487a4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432fb8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x432fb8
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 0x4330fc
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432ff8
cmp eax, 0x108
ja 0x432ff8
mov eax, esi
call fcn.004487a4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4330f3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4330fc
jmp 0x4330f3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4330da
cmp eax, 0x20a
ja 0x4330da
test byte [esi + 0x50], 0x80
jne 0x43302a
sub eax, 0x203
je 0x433027
sub eax, 3
je 0x433027
sub eax, 3
jne 0x43302a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43303e
dec eax
je 0x433053
dec eax
je 0x433073
dec eax
je 0x433053
jmp 0x43307a
mov ecx, ebx
mov eax, dword [0x454f20]
mov eax, dword [eax]
mov edx, esi
call fcn.00451e68
jmp 0x4330f3
cmp byte [esi + 0x5d], 1
jne 0x433069
mov eax, esi
mov si, 0xffed
call fcn.00403910
jmp 0x4330fc
or word [esi + 0x54], 1
jmp 0x4330f3
and word [esi + 0x54], 0xfffe
jmp 0x4330f3
mov eax, dword [0x456b64]
cmp byte [eax + 0x20], 0
je 0x4330f3
mov eax, dword [0x456b64]
cmp dword [eax + 0x1c], 0
je 0x4330f3
mov eax, dword [ebx]
mov edx, dword [0x456b64]
cmp eax, dword [edx + 0x1c]
jne 0x4330f3
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.004486e8
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.00403910
jmp 0x4330fc
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4330f3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043188c
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
Function at 0x43657c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x436598
cmp dword [esi + 4], 0
je 0x4365c5
test byte [ebx + 0x55], 1
jne 0x4365b7
mov eax, ebx
call fcn.004351d4
test eax, eax
jne 0x4365b7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4366d5
mov edx, esi
mov eax, ebx
call fcn.0043609c
jmp 0x4366d5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4366ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043834c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00432ea0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043657c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043834c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4366d5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret