Function at 0x416f10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x818
push ebp
mov ebp, dword [esp + 0x82c]
push esi
push edi
xor edi, edi
push ebp
mov dword [esp + 0x1c], edi
mov byte [esp + 0x18], 0x42
mov byte [esp + 0x19], 0x4b
mov byte [esp + 0x1a], 0x47
mov byte [esp + 0x1b], 0x4f
call fcn.00414740
mov eax, dword [0x439fc8]
add esp, 4
mov ecx, dword [eax*4 + 0x439fcc]
mov edx, dword [eax*4 + 0x431580]
shl ecx, 7
cmp byte [ecx + edx + 0xe], 1
jne 0x416f6d
push ebp
call fcn.00414a40
add esp, 4
test eax, eax
jne 0x416f7a
push ebp
call fcn.004147e0
add esp, 4
test eax, eax
je 0x416fcd
and ebp, 0xff
lea ecx, [esp + 0xe]
push 2
push ecx
lea eax, [ebp*8]
push ebp
sub eax, ebp
lea esi, [ebp + eax*4]
shl esi, 2
mov word [esi + 0x44cd4c], di
call dword [0x44d484]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x44cd08], eax
je 0x416fbe
mov dx, word [esp + 0xe]
mov word [esi + 0x44cd4c], dx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x818
ret
test byte [0x44c0e4], 1
je 0x417049
push ebp
call fcn.00414aa0
mov dword [esp + 0x1c], eax
mov eax, ebp
and eax, 0xff
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
lea esi, [eax + ecx*4]
shl esi, 2
test byte [esi + 0x44cd53], 1
jne 0x417049
lea edx, [esp + 0xe]
push 2
push edx
push eax
mov word [esi + 0x44cd4c], di
call dword [0x44d484]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x44cd08], eax
je 0x417030
mov ax, word [esp + 0xe]
mov word [esi + 0x44cd4c], ax
pop edi
pop esi
mov dword [0x43a1b0], 3
mov eax, 1
pop ebp
add esp, 0x818
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push str.Comparing_...
push 0x44d540
call ebx
add esp, 8
push 0x44d540
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x834]
push eax
push 0x44d540
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x82c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x44d51c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x44ccb4], eax
mov eax, dword [0x42e59c]
mov esi, dword [0x439eb0]
mov dword [0x44d478], edi
mov edi, dword [0x439eb4]
mov ecx, eax
sub ecx, edi
inc ecx
cmp edi, eax
mov dword [0x44d520], ecx
ja 0x417300
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4170e9
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esp + 0x82c]
je 0x4172cd
lea edx, [esp + 0x1a]
and ebp, 0xff
push 2
push edx
push ebp
call dword [0x44d8e0]
lea ecx, [ebp*8]
add esp, 0xc
sub ecx, ebp
cmp eax, 1
lea ecx, [ebp + ecx*4]
mov dword [esp + 0x20], ecx
mov dword [ecx*4 + 0x44cd08], eax
jne 0x4172f9
push edi
push str._07lX
push 0x44d540
call ebx
add esp, 0xc
push 0x44d540
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x830]
push eax
push 0x44d540
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esp + 0x82c]
push eax
call fcn.00421660
mov ecx, dword [0x42e59c]
add esp, 4
sub ecx, edi
lea eax, [ecx + 1]
cmp eax, 0x400
jb 0x417180
mov dword [esp + 0x14], 0x400
jmp 0x417188
test eax, eax
mov dword [esp + 0x14], eax
je 0x4171b3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x28]
lea eax, [edx + edx]
push eax
push ecx
push ebp
call dword [0x44d484]
mov edx, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 1
mov dword [edx*4 + 0x44cd08], eax
jne 0x4172f9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
add eax, eax
test eax, eax
jle 0x4172a5
mov ebp, dword [0x44ccb4]
mov ecx, dword [esp + 0x24]
mov al, byte [esi + ebp]
lea edx, [esp + ecx + 0x28]
mov dword [esp + 0x20], edx
mov cl, byte [edx]
cmp al, cl
jne 0x4171f7
mov bl, byte [esi + ebp + 1]
cmp bl, byte [edx + 1]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
je 0x417288
mov edx, dword [0x42e550]
mov dword [esp + 0x1c], 1
test edx, edx
jne 0x41722d
and eax, 0xff
xor edx, edx
mov dl, byte [esi + ebp + 1]
push eax
mov eax, esi
push edx
mov edx, dword [esp + 0x28]
and ecx, 0xff
shr eax, 1
push eax
push ecx
xor ecx, ecx
mov cl, byte [edx + 1]
jmp 0x41724b
xor edx, edx
and eax, 0xff
mov dl, byte [esi + ebp + 1]
push edx
mov edx, dword [esp + 0x24]
push eax
xor eax, eax
mov al, byte [edx + 1]
push esi
push eax
and ecx, 0xff
push ecx
push edi
push str._07lX_:__02X__02X____08lX_:__02X__02X_
push 0x44d540
call ebx
mov ebp, dword [esp + 0x84c]
add esp, 0x20
push 0x44d540
push 0
push 0x180
push 0x4a4
push ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [0x44ccb4]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add ecx, 2
add esi, 2
add eax, eax
inc edi
cmp ecx, eax
mov dword [esp + 0x24], ecx
jl 0x4171cf
mov ecx, dword [esp + 0x14]
mov edx, dword [0x44d478]
mov eax, dword [0x42e59c]
mov ebp, dword [esp + 0x838]
add edx, ecx
cmp edi, eax
mov dword [0x44d478], edx
jbe 0x4170c9
jmp 0x417300
mov eax, ebp
lea edx, [esp + 0x18]
push 2
and eax, 0xff
push edx
push eax
mov dword [0x43a1b0], 5
mov dword [esp + 0x28], 1
call dword [0x44d8e0]
add esp, 0xc
jmp 0x417300
mov ebp, dword [esp + 0x838]
mov esi, ebp
lea ecx, [esp + 0x12]
and esi, 0xff
push 2
push ecx
push esi
call dword [0x44d484]
lea edx, [esi*8]
sub edx, esi
dec edi
push edi
push str._07lX
lea ecx, [esi + edx*4]
push 0x44d540
mov dword [ecx*4 + 0x44cd08], eax
call ebx
add esp, 0x18
push 0x44d540
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x830]
push eax
push 0x44d540
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [0x44d51c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x1c]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x818
ret