joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab9f7
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, 0x104
cmp eax, ecx
ja 0x4abb51
je 0x4abb77
cmp eax, 0xa1
jb 0x4abba3
cmp eax, 0xa2
jbe 0x4abb77
cmp eax, 0xa3
jbe 0x4abba3
cmp eax, 0xa5
jbe 0x4abb77
cmp eax, 0xa6
jbe 0x4abba3
cmp eax, 0xa8
jbe 0x4abb77
cmp eax, 0x100
jne 0x4abba3
cmp dword [esi + 0x80], 0xffffffff
je 0x4abb77
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4abb77
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x4abb1d
dec eax
jne 0x4abb77
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [eax + 1]
add ecx, eax
cmp edi, ecx
jge 0x4abb15
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x4abad6
mov eax, dword [esi + 0x7c]
add eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x4abaae
jmp 0x4abb15
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1e4], 1
call dword [eax + 0x1ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1e8]
mov ecx, eax
call fcn.004180e3
push dword [esi + 0x80]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
and dword [esi + 0x1e4], 0
xor eax, eax
inc eax
jmp 0x4abbab
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
lea edi, [ecx + eax - 1]
cmp edi, eax
jle 0x4abb15
mov eax, edi
cdq
idiv dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, esi
push edx
mov dword [ebp + 8], edx
call dword [eax + 0x254]
test eax, eax
jne 0x4abad6
dec edi
cmp edi, dword [esi + 0x80]
jg 0x4abb2e
jmp 0x4abb15
cmp eax, 0x200
jb 0x4abba3
cmp eax, 0x202
jbe 0x4abb77
cmp eax, 0x203
jbe 0x4abba3
cmp eax, 0x205
jbe 0x4abb77
add eax, 0xfffffdf9
cmp eax, 1
ja 0x4abba3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4abb8d
cmp dword [ecx + 0x20], 0
je 0x4abb8d
push edi
call fcn.00440303
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x4abba3
cmp dword [ecx + 0x20], 0
je 0x4abba3
push edi
call fcn.00440303
push edi
mov ecx, esi
call fcn.004c9bb2
pop edi
pop esi
pop ebp
ret 4
Function at 0x4b0636
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x4b0658
or eax, 0xffffffff
jmp 0x4b065d
mov eax, dword [0x60358c]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x6048a8
call fcn.00421ae9
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4b06fa
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x4b06fa
cmp edi, ebx
je 0x4b06af
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x6050a8
call fcn.00421ae9
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x4b0703
test ebx, ebx
je 0x4b06e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x4b06fa
cmp dword [ebp - 4], 0
je 0x4b06e6
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x4b06fc
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x4b06fa
test edi, edi
je 0x4b06fa
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x4b06fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x4b06fa
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x4b06fc
Function at 0x4b406f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x60c7ac], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x4b409e
or dword [0x60c7ac], 1
mov ecx, 0x60c7a8
call fcn.004085b2
push 0x5a0ab1
call fcn.005556f9
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4b40aa
call fcn.00409f64
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x4b4123
cmp dword [eax + 0x20], 0
je 0x4b4123
test eax, eax
je 0x4b40c1
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x4b4123
mov eax, dword [edi + 4]
dec eax
je 0x4b4102
dec eax
je 0x4b40d8
dec eax
jne 0x4b4123
mov esi, 0x428e
jmp 0x4b4107
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4b4107
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x31c]
test eax, eax
je 0x4b4107
add esi, 3
jmp 0x4b4107
mov esi, 0x3ea0
push esi
mov ecx, 0x60c7a8
call fcn.0040193d
test eax, eax
je 0x4b40a5
mov eax, dword [0x60c7a8]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x4b4125
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4b4bc3
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x4b4c43
cmp dword [ebp + 0xc], ecx
jne 0x4b4c43
cmp dword [ebx + 0x94], ecx
jne 0x4b4c43
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x4b4c39
cmp eax, 0xffffffff
je 0x4b4c39
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.00411da6
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x4b4c43
xor eax, eax
jmp 0x4b4d83
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x4b4c7e
cmp dword [ebp + 0xc], 0
jne 0x4b4c7e
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.00411da6
test eax, eax
jne 0x4b4c32
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x4b4ca4
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x4b4ca4
cmp eax, 0xffffffff
je 0x4b4ca4
cmp dword [ebx + 0x90], ecx
jne 0x4b4ca4
cmp dword [ebx + 0xa8], ecx
je 0x4b4c32
push dword [ebx + 0x6c]
push 0x60473c
call fcn.00421ae9
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4b4cdd
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x4b4d43
push edi
jmp 0x4b4d3e
push dword [ebx + 0x6c]
push 0x603fdc
call fcn.00421ae9
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x4b4d09
cmp eax, edi
je 0x4b4d09
cmp dword [0x60b0b4], edi
jne 0x4b4d09
push 1
push ebx
mov ecx, eax
call fcn.0048bf7f
jmp 0x4b4d36
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x4b4d21
push edi
call fcn.0043f4d3
cmp eax, edi
je 0x4b4d21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x4b4c32
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x4b4d43
push ebx
call fcn.00442609
cmp dword [ebx + 0x6c], edi
je 0x4b4d80
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042dd4e
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4b73f9
Capabilities:
Get graphical window text

Disassembly:
push 0x168
mov eax, 0x59331c
call fcn.00556793
mov esi, ecx
lea ebx, [esi + 0x74]
xor edi, edi
push edi
mov ecx, ebx
call fcn.00465fcd
mov ecx, ebx
call fcn.0042b105
push ebx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x118], edi
call fcn.0041e69f
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00492d36
push eax
lea ecx, [ebp - 0x13c]
call fcn.0041eb05
lea ecx, [esi + 0xd4]
mov dword [ebp - 0x120], eax
mov dword [esi + 0xd0], 1
call fcn.00430945
lea ecx, [esi + 0xf0]
call fcn.00430945
mov eax, dword [esi + 0xc8]
push 5
push dword [eax + 0xe8]
jmp 0x4b75e3
push edi
call fcn.00414470
push eax
push 0x5a9e38
call fcn.00421ae9
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
test eax, eax
je 0x4b75e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1b4]
test eax, eax
je 0x4b75e0
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.0042b0e9
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004018c0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004212b4
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax]
add ecx, 0xfffffff0
mov dword [ebp - 0x128], eax
call fcn.004010d6
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x118], eax
jg 0x4b752e
mov dword [ebp - 0x118], eax
push edi
push dword [ebp - 0x124]
mov ecx, ebx
call fcn.0040f57d
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
call dword [eax + 0x1b8]
test eax, eax
je 0x4b755a
push edi
lea ecx, [esi + 0xf0]
call fcn.00430e22
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x80000
je 0x4b757d
push 0
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x4b7586
and dword [esi + 0xd0], 0
jmp 0x4b75e0
push 0x30
lea eax, [ebp - 0x174]
push 0
push eax
call fcn.00559c50
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push 0
push 0xf060
push dword [ebp - 0x114]
mov dword [ebp - 0x174], 0x30
mov dword [ebp - 0x170], 1
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x4b75d4
test byte [ebp - 0x168], 3
je 0x4b75e0
push edi
lea ecx, [esi + 0xd4]
call fcn.00430e22
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4b747f
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x118]
lea eax, [eax + ecx + 0x1e]
push eax
mov ecx, ebx
call fcn.004b6d4d
push dword [ebp - 0x120]
lea ecx, [ebp - 0x13c]
call fcn.0041eb05
push 1
mov ecx, ebx
call fcn.00465fcd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0041e6f3
call fcn.00556816
ret
Function at 0x4cd62a
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x5947c6
call fcn.0055672a
xor edi, edi
cmp dword [0x603ed8], edi
je 0x4cd6f3
cmp dword [0x604f54], 0xfffffffe
jne 0x4cd6e0
cmp dword [ebp + 8], 0xffffffff
je 0x4cd6f3
test byte [0x60cb78], 1
mov esi, 0x60cb58
jne 0x4cd689
or dword [0x60cb78], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00452d71
push 0x5a0b31
call fcn.005556f9
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00452dce
cmp dword [0x60cb54], edi
je 0x4cd69d
call fcn.00409f64
push edi
push edi
push 0x4cd5d2
call fcn.0055d28b
add esp, 0xc
mov dword [0x60cb54], eax
cmp eax, edi
jbe 0x4cd6cd
cmp eax, 0xffffffff
je 0x4cd6cd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x604f54], eax
jmp 0x4cd6d3
mov dword [0x60cb54], edi
push 0x60cb60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4cd6f3
mov eax, dword [ebp + 8]
mov dword [0x604f54], eax
cmp eax, 0xffffffff
jne 0x4cd6f3
mov dword [0x60cb54], edi
call fcn.00556802
ret
Function at 0x50cd53
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x598486
call fcn.00556793
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.005163b0
push 0x15c
call fcn.00408e20
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x50cd97
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0051cc9d
jmp 0x50cd99
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.00516359
call fcn.00420fc3
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x50cf33
cmp dword [edi + 4], ebx
jle 0x50cf33
lea ecx, [ebp - 0x118]
call fcn.004085b2
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x50cf17
lea ecx, [ebp - 0x11c]
call fcn.004085b2
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x50ce68
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x5bf3c0
push eax
call fcn.00410c61
add esp, 0xc
jmp 0x50ce9a
jge 0x50ce88
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00410c61
add esp, 0x10
jmp 0x50ce9a
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004099f5
push 0x15c
call fcn.00408e20
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x50cebe
mov ecx, eax
call fcn.004df8d4
mov esi, eax
jmp 0x50cec0
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.00419f65
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.00516359
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.004010d6
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010d6
inc ebx
cmp ebx, dword [edi + 4]
jl 0x50ce01
call fcn.00556816
ret
Function at 0x51220e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x512226
mov edi, dword [esi + 0xc]
jmp 0x512266
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x51223f
call fcn.0041db8f
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x512254
call fcn.0041db8f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x512266
call fcn.0041db8f
call fcn.00420fc3
cmp dword [eax + 0x3c], 0
je 0x51227b
push edi
mov ecx, ebx
call fcn.00510e1c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00512134
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x512299
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5122a5
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x51b11e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x28
mov eax, 0x599aec
call fcn.00556793
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov ebx, dword [esi + 0x20]
cmp dword [eax + 4], edi
je 0x51af41
push eax
call fcn.0051a37c
lea edi, [esi + 0x38]
push edi
call fcn.00427821
lea eax, [esi + 0x3c]
push eax
call fcn.00427821
mov ecx, esi
call fcn.00519b90
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.0051ae37
push 0x5d1e8c
push dword [esi + 0x24]
call fcn.004277fb
push 0
push dword [edi]
mov ebx, eax
push ebx
call dword [sym.imp.ole32.dll_OleSave]
mov dword [ebp - 0x2c], eax
test eax, eax
jge 0x51af2e
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
push dword [edi]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x51afde
push 0x15
lea eax, [ebp - 0x28]
push eax
call fcn.0051943b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040bb10
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edi
push edi
push 0x10012
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 4], edi
push eax
call dword [ecx + 0x18]
cmp eax, edi
je 0x51af7d
push eax
call fcn.0040a927
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x30], edi
call dword [eax + 0xc0]
push eax
push 0x5d229c
push dword [esi + 0x38]
call dword [sym.imp.ole32.dll_OleLoad]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc8]
push 0x5d0abc
push dword [ebp - 0x30]
call fcn.004277fb
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0x24], edi
jne 0x51afd3
push 0x8007000e
jmp 0x51af78
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010d6
call fcn.00556816
ret 4
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x20]
cmp dword [eax + 0x78], 0
je 0x51b132
pop ebp
jmp 0x51aeb6
pop ebp
jmp fcn.0051a37c
Function at 0x51b138
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x2c
mov eax, 0x599b19
call fcn.00556793
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi + 0x20]
xor ecx, ecx
mov dword [ebp - 0x30], eax
cmp dword [eax + 4], ecx
je 0x51b044
lea edi, [esi + 0x38]
mov eax, dword [edi]
lea ebx, [esi + 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
mov dword [edi], ecx
mov dword [ebx], ecx
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.00519522
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0051a480
push edi
call fcn.00427821
push ebx
call fcn.00427821
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
jmp 0x51b103
push 0x15
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0051943b
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x80], ebx
jne 0x51b0aa
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040bb10
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push ebx
push ebx
push 0x11012
push dword [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
call dword [ecx + 0x14]
cmp eax, ebx
je 0x51b091
push eax
call fcn.0040a927
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov dword [esi + 0x4c], eax
mov byte [esi + 0x47], 1
call fcn.004010d6
push 0x5d1e8c
push dword [esi + 0x24]
call fcn.004277fb
and dword [ebp - 0x2c], 0
cmp dword [edi + 0x80], 0
mov ebx, eax
je 0x51b0d0
mov eax, dword [ebx]
push ebx
call dword [eax + 0x10]
test eax, eax
jne 0x51b0e3
push dword [edi + 0x80]
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.ole32.dll_OleSave]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 0x2c], 0
jge 0x51b0f4
push dword [ebp - 0x2c]
jmp 0x51b08c
mov eax, dword [ebp - 0x34]
push 2
mov byte [esi + 0x47], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
call fcn.00556816
ret 4
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x20]
cmp dword [eax + 0x78], 0
je 0x51b14c
pop ebp
jmp 0x51afe6
pop ebp
jmp fcn.0051a480
Function at 0x523ece
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x523f18
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x523f18
call fcn.0052356b
test eax, eax
je 0x523f18
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.0040878c
xor eax, eax
inc eax
jmp 0x524130
cmp dword [ebx + 4], 0x100
push edi
jne 0x524127
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x524015
push 0x11
call edi
test ax, ax
jl 0x524015
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x524015
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x523f88
cmp eax, 0x20
jbe 0x524015
cmp eax, 0x24
jbe 0x523f7b
cmp eax, 0x26
je 0x523f7b
cmp eax, 0x28
jne 0x524015
call fcn.0052356b
test eax, eax
je 0x524015
mov ecx, esi
call fcn.004180e3
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.0052356b
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x523fbd
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0040878c
jmp 0x524122
call fcn.00415b97
test eax, eax
je 0x524122
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00415c0a
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x523feb
xor edi, edi
jmp 0x523fee
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.00415b97
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x524122
mov eax, dword [ebx + 8]
sub eax, 9
je 0x5240f1
sub eax, 0x12
je 0x5240c9
sub eax, 0xb
je 0x524037
dec eax
dec eax
jne 0x524127
push 0x12
call edi
test ax, ax
jl 0x524127
push 0x11
call edi
test ax, ax
jl 0x524127
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x524127
call fcn.0052356b
test eax, eax
jne 0x524122
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.005234c9
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00414470
test eax, eax
je 0x524122
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00414470
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x524122
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x5240dd
push 0
call fcn.005234c9
mov ecx, esi
call fcn.00415124
test eax, eax
je 0x524127
mov ecx, esi
call fcn.00415124
jmp 0x52411b
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00414470
test eax, eax
je 0x524127
push dword [esi + 0x20]
call edi
push eax
call fcn.00414470
push 0
push esi
mov ecx, eax
call fcn.0040d5c5
mov ecx, eax
call fcn.004180e3
xor eax, eax
inc eax
jmp 0x52412f
push ebx
mov ecx, esi
call fcn.00411e09
pop edi
pop esi
pop ebx
pop ebp
ret 4