joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x4b0477]
shl eax, 2
mov dword [0x4b047b], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0049baf0
pop edx
call fcn.0049ba54
call fcn.0049bb30
push 0
call fcn.0049cf70
pop ecx
push 0x4b0420
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4b047f], eax
push 0
jmp fcn.004a60b0

Function at 0x40392c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push esi
push edi
mov eax, 0x4b23f8
call fcn.0049c35c
mov esi, 0x4b0534
lea edi, [ebp - 0x13c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], 0x104
mov eax, dword [ebp + 8]
add eax, 0x75c
call fcn.00403af4
push eax
push dword [ebp - 0x30]
lea edx, [ebp - 0x13c]
push edx
push 0
push str.FontName
push 0x4b0c73
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4039c8
mov word [ebp - 0x1c], 8
lea edx, [ebp - 0x13c]
lea eax, [ebp - 4]
call fcn.004ae304
inc dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2ec]
mov eax, dword [ecx + 0x58]
call fcn.004379d8
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004ae418
jmp 0x403a01
mov word [ebp - 0x1c], 0x14
mov edx, str.Arial
lea eax, [ebp - 8]
call fcn.004ae304
inc dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2ec]
mov eax, dword [ecx + 0x58]
call fcn.004379d8
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004ae418
mov eax, dword [ebp + 8]
add eax, 0x75c
call fcn.00403af4
push eax
push dword [ebp - 0x30]
lea edx, [ebp - 0x13c]
push edx
push 0
push str.CharacterSet
push 0x4b0c8b
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x403a55
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00403b14
pop ecx
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2ec]
mov eax, dword [ecx + 0x58]
call fcn.00437b44
jmp 0x403a68
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2ec]
mov eax, dword [ecx + 0x58]
xor edx, edx
call fcn.00437b44
mov eax, dword [ebp + 8]
add eax, 0x75c
call fcn.00403af4
push eax
push dword [ebp - 0x30]
lea edx, [ebp - 0x13c]
push edx
push 0
push str.FontSize
push str.FontData
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x403acd
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00403b14
pop ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 6
jge 0x403ab7
mov dword [ebp - 0x38], 6
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2ec]
mov eax, dword [edx + 0x58]
mov edx, dword [ebp - 0x38]
call fcn.00437a68
jmp 0x403ae3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2ec]
mov eax, dword [eax + 0x58]
mov edx, 0xb
call fcn.00437a68
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403bcc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push esi
push edi
mov eax, 0x4b245c
call fcn.0049c35c
mov dword [ebp - 0x30], 1
mov edx, dword [0x4b073c]
mov dword [ebp - 0x3c], edx
mov edx, dword [0x4b0740]
mov dword [ebp - 0x38], edx
mov dx, word [0x4b0744]
mov word [ebp - 0x34], dx
mov esi, 0x4b0746
lea edi, [ebp - 0x14c]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], 0x104
mov dword [ebp - 0x48], str._NOITEM_
mov eax, dword [ebp + 0x10]
call fcn.00403d44
test al, al
jne 0x403c62
mov word [ebp - 0x1c], 8
mov edx, 0x4b0cca
lea eax, [ebp - 4]
call fcn.004ae304
inc dword [ebp - 0x10]
lea edx, [ebp - 4]
mov eax, dword [ebp + 0x10]
call fcn.004ae45c
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004ae418
push 0xa
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x30]
call fcn.004a3318
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x75c
call fcn.00403af4
push eax
push dword [ebp - 0x40]
lea edx, [ebp - 0x14c]
push edx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
dec eax
cmp eax, dword [ebp - 0x44]
jne 0x403ccc
push 0x10
push 0x4b0ce6
push str.TextEdit.dat_file_error.
mov eax, dword [ebp + 8]
call fcn.004610f4
push eax
call sub.USER32.DLL_MessageBoxA
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x403d3d
push dword [ebp - 0x48]
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0049bf78
add esp, 8
test eax, eax
jne 0x403ced
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
jmp 0x403d3d
mov word [ebp - 0x1c], 0x14
lea edx, [ebp - 0x14c]
lea eax, [ebp - 8]
call fcn.004ae304
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 0x10]
call fcn.004ae45c
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004ae418
push 0x104
push 0
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0049be44
add esp, 0xc
inc dword [ebp - 0x30]
jmp 0x403c25
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40cabc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40cae6
test byte [ebp - 8], 0x10
jne 0x40cae6
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x421740
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00499414
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x421799
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x100
call fcn.00499644
mov esp, ebp
pop ebp
ret
Function at 0x43693c
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 0x436942
ret

Function at 0x4397ac
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 0x4397fd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4397e4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4397d4
jmp 0x4397fd
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 0x4397e5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x4bf3d4], 0
jne 0x44332d
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [ebp - 8], eax
mov eax, dword [0x4bf3d0]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4b8818
mov ecx, 2
call fcn.00498444
mov edx, 0x44323c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0044325c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0044325c
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x4bf3d4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4bf3d4], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4432e7
mov eax, dword [ebp - 8]
mov dword [0x4bf3d0], eax
mov eax, dword [0x4bf3d4]
mov dword [ebp - 4], eax
mov eax, dword [0x4bf3d4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x4bf3d4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x443488
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x4434e0]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x4434a2
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x4434ac
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x4434b6
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x4434c0
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x4434ca
or byte [ebp - 3], 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4434da
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x4434e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x443528]
mov byte [ebp - 5], al
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x443505
or byte [ebp - 5], 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x443515
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x44351f
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x44b2c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x44b2d6
add esp, 0xfffffff0
call fcn.00498ca4
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048d670
mov eax, dword [ebp - 4]
call fcn.0044b7d8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov dl, 1
mov eax, dword [0x483cb4]
call fcn.00498934
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov dl, 1
mov eax, dword [0x483cb4]
call fcn.00498934
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov dl, 1
mov eax, dword [0x483cb4]
call fcn.00498934
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov dl, 1
mov eax, dword [0x483cb4]
call fcn.00498934
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x483cb4]
call fcn.00498934
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, 0x4470f0
push eax
push 0
push 0
mov eax, dword [0x4bf05c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x435e54]
call fcn.00437540
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
mov dl, 1
mov eax, dword [0x435e54]
call fcn.00437540
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov dl, 1
mov eax, dword [0x435e54]
call fcn.00437540
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
call fcn.0044bce8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x44bb70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x44bb70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x44bb70
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x44b42a
call fcn.00498cfc
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44b928
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44baf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x44bad1
mov dl, 1
mov eax, dword [0x484168]
call fcn.00498934
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00499414
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x44baba
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.00466928
test al, al
je 0x44baae
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x44bb04
lea eax, [ebp - 0x25c]
call fcn.00493670
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44baae
xor eax, eax
push ebp
push 0x44baa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x44bb3c
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x44ba90
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00499644
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44ba90
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00499644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44baae
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x44b99d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dl, 1
call fcn.004883d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bafa
lea eax, [ebp - 0x268]
call fcn.00499414
ret
Function at 0x44c544
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4bf3c4]
cmp byte [eax + 0x95], 0
jne 0x44c5bb
cmp dword [0x4bf3e0], 0
jne 0x44c579
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44c500
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4bf3e0], eax
cmp dword [0x4bf3dc], 0
jne 0x44c594
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4bf3dc], eax
cmp dword [0x4bf3e4], 0
jne 0x44c5bb
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x44c4a0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4bf3e4], eax
pop ecx
pop ebp
ret

Function at 0x44c684
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0044c61c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x44c6a5
xor eax, eax
call fcn.0044c654
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x44c6bf
mov al, 1
call fcn.0044c654
mov esp, ebp
pop ebp
ret

Function at 0x44ccd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4bf3c4]
cmp dword [eax + 0x24], 0
je 0x44cd9f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
jne 0x44cd96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x44cc58
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp dword [eax + 8], 0
je 0x44cd96
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x44cd53
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x44cd96
mov dword [ebp - 0xc], eax
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004859c8
push eax
call sub.USER32.DLL_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x44cd68
mov eax, dword [ebp - 4]
inc dword [eax + 0x84]
mov esp, ebp
pop ebp
ret

Function at 0x44d924
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
je 0x44d969
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004994fc
jmp 0x44d977
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
call fcn.00499468
mov esp, ebp
pop ebp
ret
Function at 0x44ebe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x44ec27
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.004615b8
test al, al
je 0x44ec27
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.004610f4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44ec27
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.004610f4
push eax
call sub.USER32.DLL_ShowWindow
pop ecx
pop ebp
ret

Function at 0x456654
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
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
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne byte [ebp - 0x1d]
cmp dword [0x4bf460], 0
sete al
or al, byte [ebp - 0x1d]
jne 0x4567a3
mov eax, dword [0x4bf464]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bf460]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x456772
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4bf460]
call fcn.004859c8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x456766
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x456766
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x456766
mov eax, dword [ebp - 0x14]
call fcn.004610f4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x456766
push ebp
call fcn.00456608
pop ecx
test al, al
jne 0x456766
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x456722
mov eax, dword [ebp - 0x14]
call fcn.0045f30c
dec eax
jle 0x456766
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00498b40
cmp byte [ebp - 1], 0
je 0x456766
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x456766
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bf464]
call fcn.00455b7c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x4566b4
mov eax, dword [0x4bf464]
cmp dword [eax + 8], 0
jle 0x45678a
mov eax, dword [0x4bf464]
call fcn.00455c28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4567a3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00456444
pop ecx
test al, al
jne 0x4567a3
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 0x45de68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, 0x84
jg 0x45de9c
je 0x45deff
sub eax, 7
je 0x45debd
dec eax
je 0x45deed
sub eax, 0x17
je 0x45dfc1
jmp 0x45e00b
add eax, 0xffffff00
sub eax, 9
jb 0x45dfac
add eax, 0xffffff09
sub eax, 0xb
jb 0x45df65
jmp 0x45e00b
mov eax, dword [ebp - 0x14]
call fcn.00443610
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45e078
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x45e083
jmp 0x45e078
mov eax, dword [ebp - 0x14]
test byte [eax + 0x44], 0x20
jne 0x45e083
jmp 0x45e078
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0045a924
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0xffffffff
jne 0x45e083
push 0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.0048faf8
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.00458c60
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0045dcec
test eax, eax
je 0x45e083
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 1
jmp 0x45e083
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0045dda8
test al, al
je 0x45e078
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x45e083
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004610f4
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x45e083
mov eax, dword [ebp - 0x14]
call fcn.00459cb4
test al, al
jne 0x45e083
jmp 0x45e078
mov eax, dword [ebp - 0x14]
call fcn.004610f4
mov ebx, eax
call sub.USER32.DLL_GetCapture
cmp ebx, eax
jne 0x45e078
cmp dword [0x4b8ad4], 0
je 0x45e078
mov eax, dword [0x4b8ad4]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x45e078
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4b8ad4]
call fcn.0045a7d8
jmp 0x45e078
mov eax, dword [0x4bf428]
cmp byte [eax + 0x20], 0
je 0x45e078
mov eax, dword [0x4bf428]
cmp dword [eax + 0x1c], 0
je 0x45e078
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4bf428]
cmp eax, dword [edx + 0x1c]
jne 0x45e078
lea eax, [ebp - 0x11c]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0044352c
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffb7
call fcn.00498b40
jmp 0x45e083
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0045a924
pop ebx
mov esp, ebp
pop ebp
ret