joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e5c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e5d7
add esp, 0xfffffff0
call fcn.00403ce0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f730
mov eax, dword [0x52ac00]
cmp word [eax + 2], 0
jne 0x45e5ff
mov eax, dword [0x52ac00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045fc0c
mov eax, dword [0x52acf4]
cmp word [eax + 2], 0
jne 0x45e619
mov eax, dword [0x52acf4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045fe04
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41492c]
call fcn.0040394c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41492c]
call fcn.0040394c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421ca8]
call fcn.004299c0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45e7a0
mov eax, dword [0x52aaec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429dcc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460384
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x52aaec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d680
test eax, eax
je 0x45e70e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040985c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d6a8
test eax, eax
je 0x45e722
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049d4
mov eax, dword [0x52a960]
cmp byte [eax], 0
jne 0x45e756
mov eax, ebx
call fcn.0045e8c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00460560
mov eax, ebx
call fcn.00460ea0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e796
call fcn.00403d38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45eb3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x52bc34]
cmp dword [eax + 0x30], 0
je 0x45ebe6
cmp dword [ebx + 0x94], 0
jne 0x45ebe0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45eacc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45ebe0
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 0x45eba6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45ebe0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417228
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ebb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f6c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f6f9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040485c
jmp 0x45f706
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46073c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46077d
mov eax, esi
call fcn.004457f8
test al, al
je 0x46077d
mov eax, dword [ebx + 0x84]
call fcn.004454f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46077d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004454f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x467318
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467481
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404804
mov eax, dword [ebp - 0x10]
call fcn.00466ebc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46736a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404cbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046766c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46743f
xor eax, eax
push ebp
push 0x467438
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00467038
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00467490
test al, al
je 0x467416
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040485c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x467416
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c1c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x467410
mov eax, dword [ebp - 0x14]
call fcn.00404c1c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040495c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00467318
dec ebx
cmp ebx, 0xffffffff
jne 0x4673c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46743f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00467038
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404c1c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00467024
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467488
lea eax, [ebp - 0x3c]
call fcn.0040476c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404790
ret
Function at 0x46743f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467481
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404804
mov eax, dword [ebp - 0x10]
call fcn.00466ebc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46736a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404cbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046766c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46743f
xor eax, eax
push ebp
push 0x467438
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00467038
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00467490
test al, al
je 0x467416
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040485c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x467416
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c1c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x467410
mov eax, dword [ebp - 0x14]
call fcn.00404c1c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040495c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00467318
dec ebx
cmp ebx, 0xffffffff
jne 0x4673c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46743f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00467038
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404c1c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00467024
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467488
lea eax, [ebp - 0x3c]
call fcn.0040476c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404790
ret

Function at 0x467490
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403230
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x52aeb4]
cmp byte [edx + 0xc], 0
je 0x4674f4
mov edx, dword [0x52aea8]
cmp dword [edx], 2
jne 0x4674f4
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x4675e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404c1c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x467640
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x52aec0]
mov dl, 1
mov eax, dword [0x466dc8]
call fcn.0040ca34
call fcn.00404148
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00466ed0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46fe20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46fef8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x52bcb4], 0
jne 0x46fedc
lea eax, [ebp - 4]
mov edx, 0x46ff10
call fcn.00404804
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c1c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46fedc
mov eax, ebx
call fcn.00402780
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46fed5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46febf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46ff20
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46febf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x52bcb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fedc
mov eax, dword [ebp - 0xc]
call fcn.004027a0
ret
mov ebx, dword [0x52bcb4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46feff
lea eax, [ebp - 4]
call fcn.0040476c
ret

Function at 0x47d880
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x52bcd8], 0
jne 0x47d8a3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47d7f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x52bcd8], eax
ret

Function at 0x4836a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48371c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x103]
call fcn.00409a40
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00482e98
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004047c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483723
lea eax, [ebp - 0x108]
call fcn.0040476c
ret
Function at 0x483728
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4837a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x103]
call fcn.00409a40
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00482e98
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004047c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4837a7
lea eax, [ebp - 0x108]
call fcn.0040476c
ret
Function at 0x484c98
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
xor ecx, ecx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c0c
mov eax, dword [ebp - 8]
call fcn.00404c0c
lea eax, [ebp - 0x170]
mov edx, dword [0x407f64]
call fcn.00405194
xor eax, eax
push ebp
push 0x484f28
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 4]
call fcn.0040d4a4
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 4]
call fcn.00404804
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 8]
call fcn.0040d4a4
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 8]
call fcn.00404804
lea eax, [ebp - 0x17c]
mov ecx, 0x484f40
mov edx, dword [ebp - 4]
call fcn.00404a70
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.00409508
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x484ed1
mov eax, dword [ebp - 0x164]
mov edx, 0x484f4c
call fcn.00404b68
je 0x484eb9
mov eax, dword [ebp - 0x164]
mov edx, 0x484f58
call fcn.00404b68
je 0x484eb9
mov eax, dword [ebp - 0x168]
and eax, 0x10
cmp eax, 0x10
jne 0x484e28
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00404a70
mov eax, dword [ebp - 0x180]
call fcn.0040933c
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00404a70
mov eax, dword [ebp - 0x184]
push eax
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00404a70
mov eax, dword [ebp - 0x188]
pop edx
call fcn.00484c98
test al, al
jne 0x484eb9
mov byte [ebp - 0x11], 1
jmp 0x484eb9
lea eax, [ebp - 0x18c]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00404a70
mov eax, dword [ebp - 0x18c]
mov dl, 1
call fcn.00484ad8
push 0
lea eax, [ebp - 0x190]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00404a70
mov eax, dword [ebp - 0x190]
call fcn.00404c1c
push eax
lea eax, [ebp - 0x194]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00404a70
mov eax, dword [ebp - 0x194]
call fcn.00404c1c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x484eb9
mov byte [ebp - 0x11], 1
call sub.kernel32.dll_GetLastError_1
test eax, eax
jns 0x484ea6
call fcn.004038bc
lea edx, [ebp - 0x18]
call fcn.0040c148
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.00404804
lea eax, [ebp - 0x170]
call fcn.00409558
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x484d83
lea eax, [ebp - 0x170]
call fcn.0040957c
cmp byte [ebp - 0x11], 0
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484f2f
lea eax, [ebp - 0x194]
mov edx, 9
call fcn.00404790
lea eax, [ebp - 0x170]
mov edx, dword [0x407f64]
call fcn.00405264
lea eax, [ebp - 0x18]
call fcn.0040476c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404790
ret
Function at 0x488e34
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x488e62
mov eax, ebx
call fcn.004898ec
cmp dword [ebx + 0x3c], 0
je 0x488e5b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x488ed3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x488ec5
cmp dword [ebx + 8], 0
je 0x488e84
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x488e96
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x488ec5
cmp dword [ebx + 8], 0
je 0x488e77
cmp eax, 3
je 0x488ea9
dec eax
jne 0x488e77
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x488e77
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x488e77
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x488ef1
cmp dword [ebx + 0x10], 0xcc
je 0x488ef1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00488efc
pop ebx
ret
Function at 0x49e02c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e28c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49e08f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049daf4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d1c0
cmp al, 1
jne 0x49e08f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049de0c
test al, al
je 0x49e21b
cmp dword [ebp - 8], 0
jge 0x49e0ad
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049daf4
mov eax, dword [ebp - 0x210]
call fcn.00404a24
cmp ebx, eax
jge 0x49e0f7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049daf4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x52ae94]
and eax, 0xff
bt dword [edx], eax
jae 0x49e0f7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49e10b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049e008
cmp ebx, dword [ebp - 8]
je 0x49e20d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49e137
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b78
and eax, 0x7f
movzx eax, word [eax*2 + 0x52a780]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49e1fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b78
and eax, 0x7f
movzx eax, word [eax*2 + 0x52a780]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004454f4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b78
and eax, 0x7f
movzx eax, word [eax*2 + 0x52a780]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004454f4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e201
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49e26e
cmp dword [ebp - 8], 0
jge 0x49e226
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049daf4
mov eax, dword [ebp - 0x218]
call fcn.00404a24
cmp eax, dword [ebp - 8]
jg 0x49e260
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049daf4
mov eax, dword [ebp - 0x21c]
call fcn.00404a24
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049e008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e293
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404790
ret
Function at 0x4b01e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b02a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e88
mov eax, dword [0x52aea8]
cmp dword [eax], 2
jne 0x4b0257
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405130
mov eax, dword [ebx]
call fcn.00404ff4
push eax
mov eax, dword [ebx]
call fcn.00404fe4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ff4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405130
jmp 0x4b0289
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409a40
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b02a9
lea eax, [ebp - 0x3f0]
call fcn.0040476c
ret
Function at 0x4cde54
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004cde40
test eax, eax
jne 0x4cde75
mov eax, esi
call fcn.0040476c
jmp 0x4cdf06
mov eax, ebx
call fcn.004cdf9c
test al, al
je 0x4cdebb
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.0040485c
test edi, edi
je 0x4cdeb2
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4cdf06
mov eax, esi
call fcn.0040476c
jmp 0x4cdf06
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je 0x4cdeff
mov eax, dword [ebp + 0x208]
call fcn.00417f70
test eax, eax
jle 0x4cdeed
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.004725a8
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004047c0
jmp 0x4cdf06
mov eax, esi
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x210]
call fcn.004047c0
jmp 0x4cdf06
mov eax, esi
call fcn.0040476c
pop ebp
pop edi
pop esi
pop ebx
ret