Function at 0x458710
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x47dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a15f0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040dd98
and al, 3
cmp al, 1
je 0x458a7b
mov ecx, esi
call fcn.0040dd98
test al, 3
je 0x458a7b
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, 1
push ebx
call dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
test ax, ax
jge 0x458798
mov edx, dword [esi + 0x20]
push edi
push edi
push 0x157
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x1c], ebx
jne 0x45879c
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x1d4], edi
jne 0x4587b3
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x20]
mov dword [esp + 0x20], edi
jne 0x4587b7
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.0040dedb
mov ecx, esi
mov ebp, eax
call fcn.0040ddb2
mov ebx, eax
mov eax, dword [esp + 0xa4]
and ebx, 0x1000
cmp eax, edi
jne 0x4587de
xor eax, eax
jmp 0x4587e1
mov eax, dword [eax + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.0045d200
mov edx, dword [esi]
mov eax, dword [edx + 0x15c]
mov ecx, esi
mov dword [esp + 0x9c], edi
call eax
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0045b2c0
mov ecx, dword [esp + 0x68]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x110]
push ecx
push 0xf
mov ecx, esi
mov dword [esi + 0x1dc], 1
call edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov dword [esi + 0x1dc], edi
mov edi, dword [esi + 0x58]
push str.COMBOBOX
call fcn.004034e7
mov eax, dword [edi]
mov edx, dword [eax + 4]
push esi
mov ecx, edi
call edx
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x18], eax
call fcn.0040c907
test ebp, ebp
jne 0x458873
lea edi, [ebp + 4]
jmp 0x45888f
cmp dword [esp + 0x1c], 0
je 0x458881
mov edi, 3
jmp 0x45888f
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
add eax, 1
mov edi, eax
mov ecx, dword [esp + 0x14]
push 0
push 0xfa1
push edi
push 0
call fcn.004346b0
mov ecx, esi
mov ebp, eax
call fcn.00437a10
test ebx, ebx
mov eax, dword [eax + 0x168]
je 0x4588e6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
lea eax, [ecx + eax + 3]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x6c]
push ecx
push edx
jmp 0x458918
mov ecx, dword [esp + 0x2c]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x28]
sub edx, 3
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, esi
call fcn.00437a10
test ebp, ebp
mov esi, dword [eax + 0x150]
jne 0x458998
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
sub eax, esi
add ecx, 0xfffffffd
sub eax, 3
add edx, 3
add ebp, 3
test ebx, ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
je 0x45896f
push 0
push esi
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
call fcn.0040c513
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push 0
lea edx, [esp + 0x70]
push edx
call fcn.00433500
jmp 0x458a1a
cmp ebp, 1
jne 0x458a1a
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0xed9
push edi
push 0
call fcn.00434660
push eax
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
call fcn.0041adab
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test ebx, ebx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
je 0x4589fb
add ecx, esi
mov dword [esp + 0x44], ecx
jmp 0x458a01
sub eax, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
push eax
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
call fcn.00459750
add esp, 0x10
test ebx, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
je 0x458a46
add ecx, esi
mov dword [esp + 0x5c], ecx
jmp 0x458a4c
sub eax, esi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
push edi
push 1
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00433500
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0045d410
jmp 0x458bac
push esi
lea ecx, [esp + 0x38]
call fcn.0045c950
mov edx, dword [esi + 0x20]
push 0
push 0xffffffffffffffff
push 0x154
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ecx
lea eax, [edi + eax*2]
add eax, dword [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push str.EDIT
mov dword [esp + 0x48], eax
call fcn.004034e7
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, esi
mov ebx, eax
call fcn.00437a10
mov edx, dword [esi]
mov edi, dword [esp + 0xa4]
mov ebp, eax
mov eax, dword [edx + 0x154]
push edi
mov ecx, esi
call eax
push 0
push 0xfa1
push 0
push 0
mov ecx, ebx
mov esi, eax
call fcn.004346b0
cmp eax, 1
jne 0x458b50
push 0xffffffffffffffff
push 0xed9
push 0
push 0
mov ecx, ebx
call fcn.00434660
push eax
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0041adab
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
call ebx
test edi, edi
jne 0x458b3a
xor eax, eax
jmp 0x458b3d
mov eax, dword [edi + 4]
push esi
push 1
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00459750
add esp, 0x10
jmp 0x458b89
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x34]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0041adab
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x38]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.0041adab
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
call ebx
test edi, edi
je 0x458b9b
mov edi, dword [edi + 4]
push esi
push 1
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.00459750
add esp, 0x10
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4