Function at 0x41c200
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x444a4e
push eax
mov eax, 0x4160
mov dword fs:[0], esp
call fcn.00444000
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebp
push esi
push edi
mov esi, ecx
push 0x11
mov dword [esp + 0x14], 0x120
call ebx
mov di, ax
push 0x10
shr edi, 0xf
and edi, 1
call ebx
mov bp, ax
push 2
shr ebp, 0xf
and ebp, 1
call ebx
shr eax, 0xf
xor ebx, ebx
and eax, 1
cmp edi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
je 0x41c27c
cmp ebp, ebx
je 0x41c2ee
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x50
mov dword [esp + 0x10], eax
jmp 0x41c2c7
cmp ebp, ebx
jne 0x41c2ee
cmp eax, ebx
jne 0x41c2ee
cmp dword [esi + 0x10144], ebx
jne 0x41c2c7
mov eax, dword [esi + 0x10310]
lea ecx, [esi + 0x10310]
call dword [eax + 0x148]
test eax, eax
jg 0x41c2c7
mov edi, dword [esi]
push 0x21
push 0x455854
push ebx
push 0x115
call fcn.0043e790
add esp, 8
mov ecx, esi
push eax
call dword [edi + 0xec]
cmp eax, 2
je 0x41c2ee
cmp dword [esi + 0x102bc], ebx
je 0x41c309
mov edi, dword [esi]
push ebx
push 0x455a78
push ebx
push 0x91
call fcn.0043e790
add esp, 8
mov ecx, esi
push eax
call dword [edi + 0xec]
xor eax, eax
mov ecx, dword [esp + 0x4170]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x416c
ret
mov edx, dword [esi + 0x103e4]
lea ecx, [esi + 0x103e4]
push ebx
push ebx
push 0x1032
call dword [edx + 0x10c]
mov edi, eax
cmp edi, ebx
mov dword [esi + 0x1015c], edi
jle 0x41c2ee
lea eax, [edi + edi*4]
lea ecx, [eax*4 + 4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x4178], ebx
je 0x41c36a
push 0x419660
push 0x41c890
lea ebp, [eax + 4]
push edi
push 0x14
push ebp
mov dword [eax], edi
call fcn.00443f70
jmp 0x41c36c
xor ebp, ebp
cmp ebp, ebx
mov dword [esp + 0x4178], 0xffffffff
mov dword [esi + 0x10158], ebp
je 0x41c2ee
mov eax, dword [esi + 0x10154]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], ebx
jle 0x41c41c
xor ebp, ebp
cmp ebx, dword [esi + 0x1015c]
jge 0x41c414
mov edx, dword [esi + 0x103e4]
lea ecx, [esi + 0x103e4]
push edi
call dword [edx + 0x1c8]
test eax, eax
je 0x41c409
mov eax, dword [esi + 0x5c]
test byte [eax + 0x77c], 1
je 0x41c3e3
mov ecx, dword [esi + 0x10150]
mov edx, dword [ecx + edi*4]
test dword [edx + 0x198], 0x8000000
je 0x41c3e3
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x10150]
mov edx, dword [esi + 0x10158]
mov ecx, ebp
add ebp, 0x14
mov eax, dword [eax + edi*4]
add ecx, edx
inc ebx
mov dword [ecx], eax
mov ecx, dword [eax + 0x1a4]
inc ecx
mov dword [eax + 0x1a4], ecx
mov eax, dword [esi + 0x10154]
inc edi
cmp edi, eax
jl 0x41c39b
test ebx, ebx
mov dword [esp + 0x18], ebx
jne 0x41c452
mov eax, dword [esi + 0x10158]
test eax, eax
je 0x41c443
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x419660
push ecx
push 0x14
push eax
call fcn.00443e7c
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x10158], 0
jmp 0x41c2ee
mov ecx, dword [esi + 0x1014c]
mov dword [esi + 0x101c0], 0x107
test ecx, ecx
je 0x41c472
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x41c472
mov edx, dword [ecx]
call dword [edx + 0x1c]
push 0
mov ecx, esi
call fcn.00442060
push esi
push 0
push 0x47c
call fcn.0040c650
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41c5af
push 0x40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [esi + 0x5c]
xor ebx, ebx
mov ecx, dword [eax + 0x780]
test ecx, ecx
jle 0x41c5a0
lea ebp, [esi + 0x10310]
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
push ebx
mov ecx, ebp
mov dword [esp + 0x1c], 0
call dword [edx + 0x1a0]
mov edi, eax
test edi, edi
je 0x41c590
mov eax, dword [esi + 0x10144]
test eax, eax
jne 0x41c510
mov ecx, dword [esi + 0x101b8]
push ecx
mov ecx, dword [esi + 0x10140]
call fcn.004201a0
mov dword [esi + 0x10144], eax
mov dword [esp + 0x2c], 1
mov ecx, dword [esi + 0x58]
lea edx, [esp + 0x30]
push edx
push 1
call fcn.00411b50
push eax
call fcn.004107d0
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
add esp, 0xc
push edx
push eax
push ecx
mov ecx, dword [esi + 0x10144]
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esi + 0x10140]
call fcn.00420320
test eax, eax
je 0x41c580
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + 0x6c]
test eax, eax
je 0x41c580
test byte [ecx + 0x77c], 2
je 0x41c580
mov eax, dword [esi + 0x10144]
push edi
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [edx + 0xc]
push eax
push ecx
call fcn.00410870
add esp, 0xc
mov ecx, edi
call fcn.00440320
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esi + 0x5c]
inc ebx
cmp ebx, dword [ecx + 0x780]
jl 0x41c4c3
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edx, dword [esi]
push 0x3ec
mov ecx, esi
call dword [edx + 0xd8]
test eax, eax
je 0x41c5ca
or dword [esp + 0x10], 0x100200
mov eax, dword [esi]
push 0x3ed
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
je 0x41c5e8
mov eax, dword [esp + 0x10]
or ah, 0x80
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10144]
test eax, eax
je 0x41c601
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x41c601
or dword [esp + 0x10], 0x200000
mov edx, dword [esi + 0x10310]
lea ecx, [esi + 0x10310]
lea eax, [esi + 0x120]
push 1
push 0x8000
push eax
call dword [edx + 0x1ac]
mov ecx, dword [esi + 0x60]
call fcn.004065b0
cmp dword [esi + 0x1015c], 1
jle 0x41c63d
mov eax, dword [esp + 0x10]
or ah, 8
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
and ebx, 0x200000
mov edi, dword [eax + 0x6d8]
mov edx, dword [eax + 0x6c8]
mov ecx, dword [eax + 0x6b8]
or edi, edx
or edi, ecx
or ebx, 0xc0000
mov eax, edi
mov dword [esp + 0x24], edi
shl ebx, 5
neg eax
sbb eax, eax
xor ebp, ebp
and eax, 0x400000
mov dword [esp + 0x14], ebp
or ebx, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x20], ebp
jle 0x41c788
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x10158]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov ecx, dword [edx + ecx]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x198]
mov edi, eax
and edi, ebx
test edi, 0x1000000
je 0x41c6c5
or edi, 0x800000
mov edx, dword [esp + 0x14]
or edx, edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x41c6e8
test eax, 0x8000000
jne 0x41c6e8
mov ebp, dword [esp + 0x10]
and ebp, 0xfbdfffff
push ecx
call fcn.00410ad0
add esp, 4
test eax, eax
je 0x41c6fd
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x5c]
lea eax, [esp + 0x30]
push 1
push eax
push ecx
push edx
call fcn.0040fa20
mov ecx, dword [esi + 0x60]
add esp, 0x10
lea eax, [esp + 0x30]
push eax
call fcn.004065c0
test edi, 0x400000
jne 0x41c731
mov ecx, 2
jmp 0x41c752
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1b4]
test ecx, ecx
je 0x41c750
mov ecx, dword [eax + 0x1b8]
test ecx, ecx
je 0x41c750
mov ecx, 1
jmp 0x41c752
xor ecx, ecx
mov edx, dword [esi + 0x10158]
mov eax, dword [esp + 0x18]
or ebp, edi
mov dword [eax + edx + 4], ecx
mov ecx, dword [esi + 0x10158]
mov dword [eax + ecx + 8], ebp
add eax, 0x14
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x41c698
mov edi, dword [esp + 0x24]
xor ebp, ebp
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
or ebx, eax
test eax, 0x400000
jne 0x41c79d
xor eax, eax
jmp 0x41c7c5
mov edx, dword [esi + 0x5c]
push edx
call fcn.00410c10
add esp, 4
test eax, eax
je 0x41c7ba
cmp dword [esp + 0x20], ebp
je 0x41c7ba
mov eax, 8
jmp 0x41c7c5
mov eax, edi
and al, 6
neg al
sbb eax, eax
neg eax
inc eax
mov ecx, dword [esi + 0x10144]
push ecx
mov ecx, dword [esi + 0x60]
push eax
lea eax, [esi + 0x120]
push ebx
push eax
call fcn.00406600
mov eax, dword [esi + 0x10144]
cmp eax, ebp
je 0x41c838
cmp dword [eax + 0x1c], ebp
je 0x41c838
push 1
lea edx, [esp + 0x174]
push 0x4000
push edx
push eax
call fcn.00422650
lea eax, [esp + 0x180]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
mov ecx, dword [esi + 0x1015c]
mov edx, dword [esi + 0x10158]
add esp, 0x14
mov dword [esi + 0x10160], eax
mov eax, dword [esi + 0x10144]
push ecx
mov ecx, dword [esi + 0x10140]
push edx
push eax
call fcn.004205e0
mov ecx, esi
call fcn.0041d080
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x101c0], 0x102
push ebp
mov edx, dword [ecx + 0x848]
push edx
push 0x102
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x41c87a
push esi
push ebp
push 0x47b
call fcn.0040c650
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
jmp 0x41c2f0