joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029ec
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
mov ebx, eax
push esi
mov esi, edx
sub esp, 0x210
or bl, bl
je 0x402a29
xor eax, eax
mov al, bl
sub eax, 0xffffffbf
dec eax
mov byte [esp], al
lea eax, [esp + 0x109]
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
or bl, bl
je 0x402a49
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov ecx, 0x105
lea edx, [esp + 4]
mov eax, esi
call fcn.00404ab0
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402bdc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov ebx, edx
push edi
mov edi, eax
push esi
add esp, 0xfffffef8
mov eax, ebx
call fcn.00404848
test edi, edi
jne 0x402c12
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.00404938
jmp 0x402c30
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov edx, ebx
mov eax, esi
call fcn.00402af0
or edi, edi
mov esi, eax
je 0x402c30
cmp dword [ebx], 0
je 0x402c30
dec edi
jmp 0x402c19
add esp, 0x108
pop esi
pop edi
pop ebx
ret

Function at 0x403288
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x53f008], 0x8088405
inc edx
mov dword [ebx + 0x53f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404628
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54304c], 0
je 0x404689
cmp word [0x543220], 0xd7b2
jne 0x404651
cmp dword [0x543228], 0
jbe 0x404651
mov eax, 0x54321c
call dword [0x543238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x53f058
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 0x4046b0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x53f020], 0
jne 0x4046a5
push 0
push 0x53f078
push 0x53f058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4047fc
Capabilities:
Create thread

Disassembly:
push esi
mov esi, esp
push ebx
mov ebx, edx
push ebp
mov ebp, eax
push edi
mov edi, ecx
mov eax, 8
call fcn.004027d8
mov dword [eax], edi
mov edx, dword [esi + 0x10]
mov dword [eax + 4], edx
mov byte [0x54304d], 1
mov edx, dword [esi + 8]
push edx
mov edx, dword [esi + 0xc]
push edx
push eax
mov eax, 0x4047c4
push eax
push ebx
push ebp
call sub.kernel32.dll_CreateThread
pop edi
pop ebp
pop ebx
pop esi
ret 0xc
Function at 0x406580
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11d]
push 0x105
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406603
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
je 0x406603
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4067cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40668c
xor eax, eax
push ebp
push 0x406685
push dword fs:[eax]
mov edx, 0x105
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
call fcn.004063c8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x11d]
push 0
push 0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40666a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4067ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
je 0x40666a
mov byte [ebp - 0x12], 0
xor eax, eax
mov byte [ebp - 0xe], 0
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40668c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
lea eax, [ebp - 0xd]
push 5
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor ebx, ebx
cmp byte [ebp - 0x11d], 0
je 0x4067a6
cmp byte [ebp - 0xd], 0
jne 0x4066d3
cmp byte [ebp - 0x12], 0
je 0x4067a6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
lea edx, [ebp - 0x11d]
mov esi, eax
add esi, edx
jmp 0x4066ec
dec esi
cmp byte [esi], 0x2e
je 0x4066fb
lea edx, [ebp - 0x11d]
cmp esi, edx
jne 0x4066eb
lea eax, [ebp - 0x11d]
cmp esi, eax
je 0x4067a6
inc esi
cmp byte [ebp - 0x12], 0
je 0x406738
mov edx, esi
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push esi
call sub.kernel32.dll_lstrcpynA
push 2
lea eax, [ebp - 0x11d]
push 0
push eax
call sub.kernel32.dll_LoadLibraryExA
mov ebx, eax
or ebx, ebx
jne 0x4067a6
cmp byte [ebp - 0xd], 0
je 0x4067a6
mov ebx, 0x105
mov edx, esi
lea eax, [ebp - 0x11d]
sub edx, eax
lea eax, [ebp - 0xd]
sub ebx, edx
push ebx
push eax
push esi
call sub.kernel32.dll_lstrcpynA
lea eax, [ebp - 0x11d]
push 2
push 0
push eax
call sub.kernel32.dll_LoadLibraryExA
mov ebx, eax
or ebx, ebx
jne 0x4067a6
mov edx, esi
lea ebx, [ebp - 0x11d]
sub edx, ebx
mov eax, 0x105
sub eax, edx
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0xd]
push eax
push esi
call sub.kernel32.dll_lstrcpynA
push 2
lea eax, [ebp - 0x11d]
push 0
push eax
call sub.kernel32.dll_LoadLibraryExA
mov ebx, eax
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40998c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404cf8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4099a5
test al, 0x10
jne 0x4099a9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409b3c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404cf8
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x409b50
Capabilities:
Set file attributes

Disassembly:
push edi
push esi
xor esi, esi
push ebx
mov edi, eax
mov ebx, edx
push ebx
mov eax, edi
call fcn.00404cf8
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409b72
call sub.kernel32.dll_GetLastError_1
mov esi, eax
mov eax, esi
pop ebx
pop esi
pop edi
ret

Function at 0x40c844
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x100]
push esi
mov esi, dword [ebp + 8]
push pe_nt_image_headers32
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c87d
lea edx, [ebp - 0x100]
mov ecx, eax
dec ecx
mov eax, esi
call fcn.00404938
jmp 0x40c886
mov edx, ebx
mov eax, esi
call fcn.0040489c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c890
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
mov edi, eax
push ecx
mov esi, edx
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c8b1
mov al, byte [esp]
jmp 0x40c8b3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cf38
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cdb0
mov eax, dword [0x542658]
cmp byte [eax], 0
je 0x40cfa5
mov eax, dword [0x542270]
call fcn.004030ac
call fcn.00402940
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a0d0
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 0x40cfec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cfdb
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5421e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x543718]
call fcn.0040638c
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
sub esp, 0xfffffbbc
ret
Function at 0x40de2c
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
add esp, 0xfffffff4
xor edx, edx
push ebp
mov dword [ebx - 0xc], edx
push ebx
xor edx, edx
push 0x40de90
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebx - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea edx, [ebx - 7]
mov ecx, 7
lea ebp, [ebx - 0xc]
call fcn.00404ab0
mov eax, dword [ebx - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409754
mov ebp, eax
pop edx
pop ecx
pop ecx
xor eax, eax
mov dword fs:[eax], edx
push 0x40de97
lea eax, [ebx - 0xc]
call fcn.00404848
ret

Function at 0x42487c
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
mov eax, ebx
setge dl
call fcn.00424700
dec esi
jne 0x42489e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4259c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, 0x543a28
cmp dword [esi], 0
jne 0x425a44
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
mov eax, dword [0x543a24]
mov dword [edi], eax
lea edx, [edi + 4]
mov eax, 0x53f5ec
mov ecx, 2
call fcn.00402ab0
mov edx, 0x4259a0
lea eax, [edi + 5]
call fcn.004259c0
mov dword [edi + 6], eax
lea ebx, [edi + 0xa]
mov eax, ebx
lea edx, [edi + 4]
mov byte [ebx], 0xe8
call fcn.004259c0
mov dword [ebx + 1], eax
mov edx, dword [esi]
mov dword [ebx + 5], edx
mov dword [esi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, edi
cmp eax, 0xffc
jl 0x425a19
mov dword [0x543a24], edi
mov eax, dword [esi]
mov edi, dword [esi]
mov edx, dword [edi + 5]
mov dword [esi], edx
mov ebx, dword [ebp + 8]
mov dword [edi + 5], ebx
mov edx, dword [ebp + 0xc]
mov dword [edi + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x426f90
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 0x426f96
ret
Function at 0x43ac28
Capabilities:
Read clipboard data

Disassembly:
push ebx
mov ebx, esp
add esp, 0xfffffff8
push ebp
mov dword [ebx - 4], eax
mov ebp, edx
mov eax, dword [ebx - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebx - 8], eax
xor eax, eax
push ebx
push 0x43ac9a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx - 8], 0
je 0x43ac6e
mov eax, dword [ebx - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov edx, ebp
call fcn.00404a38
jmp 0x43ac75
mov eax, ebp
call fcn.00404848
pop edx
xor eax, eax
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aca1
cmp dword [ebx - 8], 0
je 0x43ac91
mov eax, dword [ebx - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebx - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43acd0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43ad72
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43ad45
mov edx, ebx
mov eax, dword [0x426a54]
call fcn.0042af00
test al, al
je 0x43ad35
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
push 9
mov ebp, eax
call sub.user32.dll_GetClipboardData
mov edx, ebx
mov ecx, ebp
push eax
mov eax, edi
call fcn.0042ae10
call fcn.00404270
jmp 0x43ad79
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43ad00
mov ecx, dword [0x5421c8]
mov dl, 1
mov eax, dword [0x4084f4]
call fcn.0040d0ac
call fcn.004041c4
pop edx
xor eax, eax
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ad79
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ad80
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push ebp
xor eax, eax
push 0x43add8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
mov dx, 2
push esi
mov eax, edi
mov ecx, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43addf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x43ade8
Capabilities:
Read clipboard data

Disassembly:
push esi
mov esi, esp
push ecx
push ebp
push ebx
mov dword [esi - 4], eax
mov ebx, edx
mov eax, dword [esi - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push esi
push 0x43ae3d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebp, eax
push 9
call sub.user32.dll_GetClipboardData
mov dx, 3
mov ecx, ebp
push eax
mov eax, ebx
mov ebp, dword [eax]
call dword [ebp + 0x5c]
pop eax
pop edx
pop ecx
xor edx, edx
mov dword fs:[edx], eax
push 0x43ae44
mov eax, dword [esi - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43aeb4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ebx, edx
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43af29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043aa80
lea eax, [ebp - 0x10]
lea ecx, [ebp - 8]
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0xa]
push eax
mov eax, ebx
call fcn.0042aed4
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43af13
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43af30
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43af38
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43afad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043aa80
mov eax, ebx
xor edx, edx
lea ebx, [ebp - 0x10]
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], edx
push ebx
lea edx, [ebp - 0xa]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43af97
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
pop ecx
pop ecx
mov dword fs:[edx], eax
push 0x43afb4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43b008
Capabilities:
Read clipboard data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
push ebp
mov ebp, edx
mov dword [ebx - 4], eax
mov eax, dword [ebx - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebx
push 0x43b04c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bp
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebx - 8], eax
pop edx
xor eax, eax
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b053
mov eax, dword [ebx - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43be30
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 0x43bd7c
call sub.user32.dll_EnumWindows
ret
Function at 0x43bf54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push esi
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43bfd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0043b9a0
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x3e8
jbe 0x43bf79
mov eax, ebx
lea ecx, [ebp - 4]
xor edx, edx
call fcn.0043b5f8
cmp dword [ebp - 4], 0
je 0x43bfbb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404cf8
push eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
pop edx
pop ecx
pop ecx
xor eax, eax
mov dword fs:[eax], edx
push 0x43bfd8
lea eax, [ebp - 4]
call fcn.00404848
ret

Function at 0x43f360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
add esp, 0xffffffd8
push ebp
push esi
mov esi, eax
push edi
mov dword [ebx - 0x10], edx
lea edi, [ebx - 9]
xor eax, eax
movsd dword es:[edi], dword [esi]
mov dword [ebx - 0x18], eax
movsd dword es:[edi], dword [esi]
cmp dword [0x543be4], 0
je 0x43f4af
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x542594]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43f4af
mov eax, dword [0x543be8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x543be4]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x43f47e
inc edi
xor ebp, ebp
mov edx, ebp
mov eax, dword [0x543be4]
call fcn.0041bf98
mov dword [ebx - 0x14], eax
mov esi, dword [ebx - 0x14]
cmp esi, dword [ebx - 0x10]
je 0x43f476
mov esi, dword [ebx - 0x14]
cmp byte [esi + 0x1a6], 0
je 0x43f476
mov eax, dword [ebx - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
or al, al
je 0x43f476
mov eax, dword [ebx - 0x14]
call fcn.00447ed4
push eax
call sub.user32.dll_IsWindowVisible
or eax, eax
je 0x43f476
push ebx
call fcn.0043f31c
pop ecx
test al, al
jne 0x43f476
mov esi, dword [ebx - 0x10]
mov esi, dword [esi + 0xa0]
cmp esi, dword [ebx - 0x14]
jne 0x43f432
mov eax, dword [ebx - 0x14]
call fcn.00446a68
dec eax
jle 0x43f476
lea ecx, [ebx - 0x28]
mov byte [ebx - 1], 1
lea eax, [ebx - 1]
lea edx, [ebx - 9]
mov si, 0xffbd
push edx
push eax
mov edx, dword [ebx - 0x14]
mov edx, dword [ebx - 0x10]
call fcn.00403bf4
cmp byte [ebx - 1], 0
je 0x43f476
lea eax, [ebx - 0x28]
push dword [ebx - 5]
push dword [ebx - 9]
push eax
call sub.user32.dll_PtInRect
or eax, eax
je 0x43f476
mov edx, dword [ebx - 0x14]
mov eax, dword [0x543be8]
call fcn.0043eae4
inc ebp
dec edi
jne 0x43f3c5
mov eax, dword [0x543be8]
cmp dword [eax + 8], 0
jle 0x43f496
mov eax, dword [0x543be8]
call fcn.0043eb74
mov dword [ebx - 0x18], eax
cmp dword [ebx - 0x18], 0
je 0x43f4af
push ebx
mov eax, dword [ebx - 0x18]
call fcn.0043f184
pop ecx
or al, al
jne 0x43f4af
xor edi, edi
mov dword [ebx - 0x18], edi
pop edi
mov eax, dword [ebx - 0x18]
pop esi
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x442ac4
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
mov edi, esp
sub esp, 0x114
push ebx
push esi
push ebp
mov esi, edx
mov ebx, eax
test byte [ebx + 0x1c], 0x10
je 0x442b10
mov eax, ebx
call fcn.004593c8
mov dword [edi - 0x14], eax
cmp dword [edi - 0x14], 0
je 0x442b10
mov ebp, dword [edi - 0x14]
cmp dword [ebp + 0x250], 0
je 0x442b10
mov ecx, esi
mov eax, dword [edi - 0x14]
mov eax, dword [eax + 0x250]
mov edx, ebx
mov ebp, dword [eax]
call dword [ebp + 0x24]
or al, al
jne 0x442c4f
mov eax, dword [esi]
cmp eax, 0x100
jb 0x442b50
cmp eax, 0x108
ja 0x442b50
mov eax, ebx
call fcn.004593c8
mov dword [edi - 0x14], eax
cmp dword [edi - 0x14], 0
je 0x442c46
mov ecx, esi
mov edx, ebx
mov eax, dword [edi - 0x14]
mov ebp, dword [eax]
call dword [ebp + 0xec]
or al, al
jne 0x442c4f
jmp 0x442c46
mov eax, dword [esi]
cmp eax, 0x200
jb 0x442c2f
cmp eax, 0x20a
ja 0x442c2f
test byte [ebx + 0x50], 0x80
jne 0x442b82
sub eax, 0x203
je 0x442b7f
sub eax, 3
je 0x442b7f
sub eax, 3
jne 0x442b82
add dword [esi], 0xfffffffe
mov eax, dword [esi]
sub eax, 0x200
je 0x442b96
dec eax
je 0x442bab
dec eax
je 0x442bc8
dec eax
je 0x442bab
jmp 0x442bcf
mov ecx, esi
mov eax, dword [0x542594]
mov eax, dword [eax]
mov edx, ebx
call fcn.00462d74
jmp 0x442c46
cmp byte [ebx + 0x5d], 1
jne 0x442bc1
mov eax, ebx
mov si, 0xffed
call fcn.00403bf4
jmp 0x442c4f
or word [ebx + 0x54], 1
jmp 0x442c46
and word [ebx + 0x54], 0xfffe
jmp 0x442c46
mov eax, dword [0x543ba0]
cmp byte [eax + 0x20], 0
je 0x442c46
mov eax, dword [0x543ba0]
cmp dword [eax + 0x1c], 0
je 0x442c46
mov ebp, dword [esi]
mov edx, dword [0x543ba0]
cmp ebp, dword [edx + 0x1c]
jne 0x442c46
lea eax, [edi - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [edi - 0x10], eax
lea eax, [edi - 0x114]
call fcn.0045930c
mov byte [edi - 0xc], al
mov ax, word [esi + 4]
mov word [edi - 0xa], ax
mov edx, dword [esi + 8]
mov dword [edi - 8], edx
lea esi, [edi - 0x10]
mov eax, ebx
mov si, 0xffc9
call fcn.00403bf4
jmp 0x442c4f
cmp eax, 0xb00b
jne 0x442c46
mov ebp, dword [esi + 8]
push ebp
mov ecx, dword [esi + 4]
mov edx, eax
mov eax, ebx
call fcn.00441398
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop ebp
pop esi
pop ebx
mov esp, edi
pop edi
ret
Function at 0x446104
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, esp
sub esp, 0x6c
push ebp
push edi
push esi
mov ebp, eax
mov edi, edx
cmp byte [ebp + 0x1f8], 0
je 0x446120
cmp dword [edi + 4], 0
je 0x44614d
test byte [ebp + 0x55], 1
jne 0x44613f
mov eax, ebp
call fcn.00444d5c
or eax, eax
jne 0x44613f
mov edx, edi
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44625d
mov eax, ebp
mov edx, edi
call fcn.00445c24
jmp 0x44625d
push 0
call sub.user32.dll_GetDC
lea edx, [ebx - 0x5c]
mov esi, eax
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebx - 0x6c]
mov eax, dword [ebx - 0x50]
push eax
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx - 0x64]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebx - 8], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebx - 4], eax
mov esi, dword [ebx - 8]
push esi
mov eax, dword [ebx - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebx - 0xc], eax
push ebx
xor eax, eax
push 0x446256
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx - 0x4c]
push eax
mov eax, ebp
call fcn.00447ed4
push eax
call sub.user32.dll_BeginPaint
mov esi, eax
mov eax, dword [ebx - 4]
push eax
mov eax, ebp
mov edx, 0x14
mov ecx, dword [ebx - 4]
call fcn.004429f8
mov edx, edi
mov eax, dword [ebx - 4]
mov dword [edi + 4], eax
mov eax, ebp
call fcn.00446104
xor edx, edx
mov eax, ebp
mov dword [edi + 4], edx
push 0xcc0020
push 0
push 0
mov edx, dword [ebx - 4]
push edx
mov ecx, dword [eax]
lea edx, [ebx - 0x5c]
call dword [ecx + 0x44]
lea edx, [ebx - 0x6c]
mov eax, ebp
mov ecx, dword [ebx - 0x50]
push ecx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx - 0x64]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
lea eax, [ebx - 0x4c]
push eax
mov eax, ebp
call fcn.00447ed4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44625d
mov eax, dword [ebx - 0xc]
push eax
mov eax, dword [ebx - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebx - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebx - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop esi
pop edi
pop ebp
mov esp, ebx
pop ebx
ret