Function at 0x45d3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cf30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x1c4]
lea edi, [esi + 0x204]
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x40], eax
call fcn.004e1b94
mov ebx, dword [ebp + 8]
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c8]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x44], ecx
push eax
push edx
call fcn.004bdb15
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x45d463
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x134], ecx
jne 0x45d42a
mov eax, dword [edi]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.004bda36
add esp, 8
test eax, eax
je 0x45d459
push ecx
mov dword [esi + 0x1c4], 0xffffffff
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
call fcn.004e1b94
mov ecx, dword [ebp - 0x20]
call fcn.0045dfa0
test eax, eax
mov dword [esi + 0x1c8], eax
jle 0x45d459
dec eax
mov dword [esi + 0x1c8], eax
push ebx
mov ecx, edi
call fcn.004e1f6e
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00417660
mov edi, eax
test edi, edi
mov dword [ebp - 0x24], edi
je 0x45d68e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov edx, dword [edi]
push eax
push edi
call dword [edx + 0x24]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45d68e
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0x561478
push eax
call dword [ecx]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45d68e
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45d68e
mov ecx, ebx
call fcn.0050230b
mov dword [ebp - 0x30], eax
mov eax, dword [0x56b44c]
mov dword [ebp - 0x14], eax
xor edi, edi
push 0x10
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x45d503
mov dword [esi + 0x180], 1
mov eax, dword [esi + 0x180]
mov dword [ebp - 0x3c], eax
cmp eax, edi
mov eax, dword [esi + 0x1c4]
je 0x45d52c
cmp eax, 0xffffffff
jne 0x45d529
mov ecx, dword [esi + 0x1c8]
mov dword [esi + 0x1c4], ecx
jmp 0x45d533
dec eax
jmp 0x45d52d
inc eax
mov dword [esi + 0x1c4], eax
mov dword [esi + 0x180], edi
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp + 0xa]
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebx + 0x138]
mov edi, dword [ebx + 0x134]
mov edx, dword [eax]
shl ecx, 1
shl edi, 2
or ecx, edi
push ecx
mov ecx, dword [ebp - 0x30]
push 1
push ecx
push eax
call dword [edx + 0x64]
cmp word [ebp + 0xa], 0
jne 0x45d5ca
mov eax, dword [esi + 0x1c4]
test eax, eax
jne 0x45d59f
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004e1e27
jmp 0x45d68b
mov dword [esi + 0x1c4], 0xffffffff
mov edx, dword [ebx + 0x1c]
push 0
push 0x8158
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x180], eax
jmp 0x45d57b
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x1c4]
cmp eax, edi
jne 0x45d66e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x18]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [0x5762a0]
push 0xef83
test eax, eax
je 0x45d60b
lea eax, [ebp - 0x14]
push eax
call fcn.0041a380
add esp, 8
jmp 0x45d613
lea ecx, [ebp - 0x14]
call fcn.004e2fed
lea ecx, [ebp - 0x6c]
push 0xa
inc edi
push ecx
push edi
call fcn.004bdd5d
add esp, 0xc
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push edx
call fcn.004e2218
push 0x55ce28
lea ecx, [ebp - 0x14]
call fcn.004e2218
mov ecx, dword [esi + 0x1c8]
lea eax, [ebp - 0x6c]
push 0xa
inc ecx
push eax
push ecx
call fcn.004bdd5d
add esp, 0xc
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push edx
call fcn.004e2218
mov eax, dword [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00459ca0
jmp 0x45d57b
mov eax, dword [ebp - 0x18]
inc edi
push 0
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x2c], edi
call dword [ecx + 0x3c]
jmp 0x45d539
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0
test eax, eax
mov byte [ebp - 4], 4
je 0x45d6a6
mov edx, dword [eax]
push eax
call dword [edx + 8]
test edi, edi
je 0x45d6b0
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45d6c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45d6c8
mov edi, dword [ebp - 0x34]
mov dword [ebp - 4], 0
test edi, edi
jne 0x45d6f7
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x204]
mov dword [esi + 0x1c4], edx
call fcn.004e1f6e
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x1c8], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8