joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402778
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp esi, dword [ebp + 0x10]
mov ebx, eax
jae 0x4028a9
mov eax, dword [ebx]
sub eax, 2
je 0x40280d
dec eax
je 0x402834
dec eax
je 0x4027d2
push 0x104
lea edx, [ebp - 0x108]
push edx
call sub.KERNEL32.DLL_GetSystemDirectoryA
push 0x45087e
lea ecx, [ebp - 0x108]
push ecx
call fcn.004423c4
add esp, 8
jmp 0x402859
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
push 0x450880
lea edx, [ebp - 0x108]
push edx
call fcn.004423c4
add esp, 8
push 0x45088b
lea ecx, [ebp - 0x108]
push ecx
call fcn.004423c4
add esp, 8
jmp 0x402859
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x45088d
lea edx, [ebp - 0x108]
push edx
call fcn.004423c4
add esp, 8
jmp 0x402859
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x450893
lea eax, [ebp - 0x108]
push eax
call fcn.004423c4
add esp, 8
mov edx, dword [ebx + 4]
push edx
lea ecx, [ebp - 0x108]
push ecx
call fcn.004423c4
add esp, 8
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x108]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionSetupSetupXCatalogs_
push edi
call fcn.004023e8
add esp, 0x10
test eax, eax
jne 0x40289c
lea ecx, [ebp - 0x108]
push ecx
push edi
call fcn.004029d4
add esp, 8
inc esi
add ebx, 8
cmp esi, dword [ebp + 0x10]
jb 0x402797
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4028b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp esi, dword [ebp + 0x10]
mov ebx, eax
jae 0x4029c9
mov eax, dword [ebx]
sub eax, 2
je 0x402949
dec eax
je 0x402970
dec eax
je 0x40290e
push 0x104
lea edx, [ebp - 0x108]
push edx
call sub.KERNEL32.DLL_GetSystemDirectoryA
push 0x4508e0
lea ecx, [ebp - 0x108]
push ecx
call fcn.004423c4
add esp, 8
jmp 0x402995
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
push str.32DRIVERS
lea edx, [ebp - 0x108]
push edx
call fcn.004423c4
add esp, 8
push 0x4508ed
lea ecx, [ebp - 0x108]
push ecx
call fcn.004423c4
add esp, 8
jmp 0x402995
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x4508ef
lea edx, [ebp - 0x108]
push edx
call fcn.004423c4
add esp, 8
jmp 0x402995
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push str.INFOTHER_
lea eax, [ebp - 0x108]
push eax
call fcn.004423c4
add esp, 8
mov edx, dword [ebx + 4]
push edx
lea ecx, [ebp - 0x108]
push ecx
call fcn.004423c4
add esp, 8
lea eax, [ebp - 0x108]
push eax
mov edx, dword [ebp + 0x14]
push edx
push edi
call fcn.00402198
add esp, 0xc
inc esi
add ebx, 8
cmp esi, dword [ebp + 0x10]
jb 0x4028d3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402a14
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff8a8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 1
push 0x104
lea eax, [ebp - 0x250]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x450912
lea edx, [ebp - 0x250]
push edx
call fcn.004423c4
add esp, 8
push str.INF_
lea ecx, [ebp - 0x250]
push ecx
call fcn.004423c4
add esp, 8
lea eax, [ebp - 0x250]
push eax
call fcn.00442454
pop ecx
mov esi, eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
lea esi, [ebp - 0x358]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x250]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push str.OEM
push eax
call fcn.004423c4
add esp, 8
push str..INF
lea edx, [ebp - 0x250]
push edx
call fcn.004423c4
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
lea eax, [ebp - 0x250]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 4], eax
lea edx, [ebp + esi - 0x358]
mov dword [ebp - 8], edx
jmp 0x402bd9
test byte [ebp - 0x148], 0x10
jne 0x402bc7
mov ecx, dword [ebp - 8]
mov byte [ecx], 0
lea eax, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x358]
push edx
call fcn.004423c4
add esp, 8
push 0x450923
lea ecx, [ebp - 0x358]
push ecx
call fcn.0044422c
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x402bc7
xor esi, esi
jmp 0x402b50
push edi
lea eax, [ebp - 0x758]
push eax
call fcn.0044254d
add esp, 8
test eax, eax
je 0x402b50
mov esi, 1
jmp 0x402b68
lea eax, [ebp - 0x758]
push eax
push 0x450925
push ebx
call fcn.00444260
add esp, 0xc
inc eax
jne 0x402b35
push ebx
call fcn.00443ed8
pop ecx
test esi, esi
je 0x402bc7
lea edx, [ebp - 0x358]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004029d4
add esp, 8
lea eax, [ebp - 0x358]
push eax
call fcn.00442454
pop ecx
sub eax, 3
mov dl, 0x50
movsx ecx, byte [ebp + eax - 0x358]
test byte [ecx*2 + str.________________________________H], 1
jne 0x402bad
add edx, 0x20
mov byte [ebp + eax - 0x358], dl
lea eax, [ebp - 0x358]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004029d4
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindNextFileA
mov ebx, eax
cmp dword [ebp - 4], 0xffffffff
je 0x402be7
test ebx, ebx
jne 0x402aea
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402c40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push esi
push str.STS:__s
lea eax, [ebp - 0x20c]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push esi
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402d81
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
jne 0x402d81
cmp dword [ebp - 8], 0
jne 0x402cc5
push esi
push edi
call fcn.00402bf0
add esp, 8
xor eax, eax
jmp 0x402d81
xor ebx, ebx
cmp ebx, dword [ebp - 8]
jae 0x402d76
mov dword [ebp - 0xc], 0x100
mov byte [ebp - 0x10c], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10c]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x402d76
push esi
push edi
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x20c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x20c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x450930
push eax
call fcn.004423c4
add esp, 8
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004423c4
add esp, 8
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00402c40
add esp, 8
push esi
push edi
call fcn.00402bf0
add esp, 8
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x402cd0
mov edx, dword [ebp - 4]
push edx
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40932c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0043fff0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x40938d
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x40938d
cmp byte [ebp - 0x102], 0
je 0x40938d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0044021c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40da2c
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 0x40da32
ret

Function at 0x40fe88
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 0x40fed9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x40fec0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x40feb0
jmp 0x40fed9
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 0x40fec1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4165b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4551c0
cmp dword [edi], 0
jne 0x416634
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4551bc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4514a8
mov ecx, 2
call fcn.0043f1f4
mov edx, 0x416590
lea eax, [esi + 5]
call fcn.004165b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004165b0
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 0x416609
mov dword [0x4551bc], 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 0x416750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4167a0]
test si, 4
je 0x416764
or bl, 1
test si, 8
je 0x41676e
or bl, 4
test si, 1
je 0x416778
or bl, 8
test si, 2
je 0x416782
or bl, 0x10
test si, 0x10
je 0x41678c
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41679b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4167a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4167dc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4167bd
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4167cc
or bl, 4
test esi, 0x20000000
je 0x4167d7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x41ce7c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41d021
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x430b58]
call fcn.0043f630
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0043fff0
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x41cff7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042fad0
test al, al
je 0x41cfea
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x41d030
lea eax, [ebp - 0x254]
call fcn.0043ace8
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41cfea
xor eax, eax
push ebp
push 0x41cfe3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x41d068
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41cfcc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044021c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x41cfcc
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044021c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cfea
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x41ceed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00433d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d028
lea eax, [ebp - 0x260]
call fcn.0043fff0
ret

Function at 0x41d7c4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x455188]
cmp byte [eax + 0x8d], 0
jne 0x41d835
cmp dword [0x4551cc], 0
jne 0x41d7f6
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x41d780
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4551cc], eax
cmp dword [0x4551c8], 0
jne 0x41d811
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4551c8], eax
cmp dword [0x4551d0], 0
jne 0x41d835
push esp
push 0
push 0
push 0x41d724
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4551d0], eax
pop edx
ret
Function at 0x41d92c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41d943
add esp, 0xfffffff0
call fcn.0043f934
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00436bd0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x43081c]
call fcn.0043f630
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x43081c]
call fcn.0043f630
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x40d8e4]
call fcn.00413184
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x41dab4
mov eax, dword [0x45509c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00413528
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x41f3c4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45509c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0043bf20
test eax, eax
je 0x41da33
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043a670
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043bf48
test eax, eax
je 0x41da47
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0044021c
mov eax, dword [0x4550a0]
cmp byte [eax], 0
jne 0x41da78
mov eax, ebx
call fcn.0041dba0
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41daaa
call fcn.0043f98c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ddf8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455188]
cmp dword [eax + 0x24], 0
je 0x41de88
cmp dword [ebx + 0x7c], 0
jne 0x41de85
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x41dd8c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x41de85
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x41de54
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x41de85
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00431dc8
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x41de60
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x41e7d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x41e80d
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004400d4
jmp 0x41e817
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00440088
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x41f6f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x41f72c
mov eax, esi
call fcn.0042b9e0
test al, al
je 0x41f72c
mov eax, dword [ebx + 0x6c]
call fcn.0042b5b8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x41f72c
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0042b5b8
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x42372c
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x455210], 0
sete dl
or al, dl
jne 0x423870
mov eax, dword [0x455214]
mov bx, 0xffff
call fcn.0043f83c
mov eax, dword [0x455210]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42383f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x455210]
call fcn.00431dc8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x423837
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x423837
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x423837
mov eax, dword [ebp - 0x10]
call fcn.0042b5b8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x423837
push ebp
call fcn.004236e8
pop ecx
test al, al
jne 0x423837
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x4237f3
mov eax, dword [ebp - 0x10]
call fcn.00429efc
dec eax
jle 0x423837
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.0043f83c
cmp byte [ebp - 0x15], 0
je 0x423837
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x423837
mov edx, dword [ebp - 0x10]
mov eax, dword [0x455214]
call fcn.00422f98
inc edi
dec esi
jne 0x423786
mov eax, dword [0x455214]
cmp dword [eax + 8], 0
jle 0x423857
mov eax, dword [0x455214]
call fcn.00423028
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x423870
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004235a0
pop ecx
test al, al
jne 0x423870
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429088
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x4290b9
je 0x429113
sub eax, 7
je 0x4290da
dec eax
je 0x429104
sub eax, 0x17
je 0x429194
jmp 0x4291d2
add eax, 0xffffff00
sub eax, 9
jb 0x429180
add eax, 0xffffff09
sub eax, 0xb
jb 0x42916a
jmp 0x4291d2
mov eax, ebx
call fcn.004168cc
mov edi, eax
test edi, edi
je 0x429232
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42923b
jmp 0x429232
test byte [ebx + 0x44], 0x20
jne 0x42923b
jmp 0x429232
mov edx, esi
mov eax, ebx
call fcn.0042697c
cmp dword [esi + 0xc], 0xffffffff
jne 0x42923b
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0043871c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00425424
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00428f38
test eax, eax
je 0x42923b
mov dword [esi + 0xc], 1
jmp 0x42923b
mov edx, esi
mov eax, ebx
call fcn.00428ffc
test al, al
jne 0x42923b
jmp 0x429232
mov eax, ebx
call fcn.00425ff4
test al, al
jne 0x42923b
jmp 0x429232
mov eax, ebx
call fcn.0042b5b8
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x429232
cmp dword [0x451698], 0
je 0x429232
mov eax, dword [0x451698]
cmp ebx, dword [eax + 0x24]
jne 0x429232
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x451698]
call fcn.00426898
jmp 0x429232
mov eax, dword [0x4551d8]
cmp byte [eax + 0x20], 0
je 0x429232
mov eax, dword [0x4551d8]
cmp dword [eax + 0x1c], 0
je 0x429232
mov eax, dword [esi]
mov edx, dword [0x4551d8]
cmp eax, dword [edx + 0x1c]
jne 0x429232
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004167e0
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.0043f83c
jmp 0x42923b
mov edx, esi
mov eax, ebx
call fcn.0042697c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret