Function at 0x40c0c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 4], 0
push 8
call fcn.0041fc4b
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x434292
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 0xc
call fcn.0041fc4b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.0041fc4b
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 8
call fcn.0041fc4b
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0xc
call fcn.0041fc4b
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 8
call fcn.0041fc4b
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [0x45ac5d]
call fcn.00402610
mov dword [ebp - 4], eax
mov eax, dword [0x45ac5d]
push eax
push eax
mov ebx, eax
call fcn.00401281
pop eax
sub ebx, eax
shl ecx, 3
add ecx, ebx
push ecx
call fcn.0041fc4b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0041fc51
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x45ac61
push dword [0x45ac59]
push dword [0x45ac55]
call fcn.0040cae1
fild qword [0x45ac4d]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x447071]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x447079]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
fild qword [ebp - 0x7c]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
fadd qword [0x447081]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
call fcn.004012a1
push edx
push eax
call fcn.0040bfdf
mov dword [ebp - 0xc], eax
fild qword [0x45ac4d]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x447089]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x447091]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004012a1
push edx
push eax
call fcn.0040de7a
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041fc51
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40c8c2
mov ebx, dword [ebp - 8]
call fcn.00401281
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c3b1
push 0x1ff
push 0x401048a
push 4
call fcn.0041fc57
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c3ce
push 0x1ff
push 0x401048a
push 1
call fcn.0041fc57
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fild qword [ebx]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x447099]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fadd qword [0x4470a1]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.004012a1
push edx
push eax
call fcn.0040df4a
mov dword [ebp - 0x18], eax
fld dword [ebp - 0x18]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
ftst
fnstsw ax
test ah, 1
je 0x40c464
fchs
fcomp qword [0x434c1c]
fnstsw ax
test ah, 0x41
je 0x40c47a
jmp 0x40c8ba
mov ebx, dword [ebp - 8]
call fcn.00401281
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c4a1
push 0x2a4
push 0x401048a
push 4
call fcn.0041fc57
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c4be
push 0x2a4
push 0x401048a
push 1
call fcn.0041fc57
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fild qword [ebx]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x4470a9]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.004012a1
push edx
push eax
call fcn.0040e03b
mov byte [ebp - 0x1c], al
cmp byte [ebp - 0x1c], 0xff
je 0x40c50d
jmp 0x40c8ba
mov ebx, dword [ebp - 8]
call fcn.00401281
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c534
push 0x38a
push 0x401048a
push 4
call fcn.0041fc57
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c551
push 0x38a
push 0x401048a
push 1
call fcn.0041fc57
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fild qword [ebx]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x447071]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fadd qword [0x447079]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
fild qword [ebp - 0x80]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fadd qword [0x447081]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004012a1
push edx
push eax
call fcn.0040bfdf
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], eax
jne 0x40c629
cmp dword [0x45ac0d], 0
jne 0x40c629
mov eax, 1
jmp 0x40c62e
mov eax, 0
test eax, eax
je 0x40c63b
jmp 0x40c8ba
mov ebx, dword [ebp - 8]
call fcn.00401281
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c662
push 0x488
push 0x401048a
push 4
call fcn.0041fc57
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c67f
push 0x488
push 0x401048a
push 1
call fcn.0041fc57
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fild qword [ebx]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x447089]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fadd qword [0x447091]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.004012a1
push edx
push eax
call fcn.0040de7a
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0041fc51
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [0x45abf9], 0
je 0x40c8ba
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040e116
test eax, eax
je 0x40c8ba
cmp dword [ebp - 0x2c], 0
jne 0x40c8ba
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x28]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [0x45ac39]
mov dword [ebp - 0x50], ebx
mov ebx, dword [0x45ac39]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov ebx, dword [ebp - 0x50]
push dword [ebx]
mov ebx, dword [ebp - 0x4c]
push dword [ebx]
mov ebx, dword [ebp - 0x48]
push dword [ebx]
call fcn.0040e802
mov dword [ebp - 0x30], eax
fld dword [ebp - 0x30]
fcomp dword [0x45ac09]
fnstsw ax
test ah, 1
je 0x40c8ba
fld dword [ebp - 0x34]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
ftst
fnstsw ax
test ah, 1
je 0x40c7c7
fchs
fcomp qword [0x434c1c]
fnstsw ax
test ah, 0x41
je 0x40c843
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 8]
call fcn.00401281
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c805
push 0x677
push 0x401048a
push 4
call fcn.0041fc57
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c822
push 0x677
push 0x401048a
push 1
call fcn.0041fc57
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
jmp 0x40c8ba
fld dword [ebp - 0x30]
fcomp dword [ebp - 0x34]
fnstsw ax
test ah, 1
je 0x40c8ba
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 8]
call fcn.00401281
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c881
push 0x6f5
push 0x401048a
push 4
call fcn.0041fc57
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c89e
push 0x6f5
push 0x401048a
push 1
call fcn.0041fc57
add esp, 0xc
shl eax, 3
add ebx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
pop eax
pop ebx
pop ecx
jmp 0x40c37c
add esp, 0xc
cmp dword [0x45abf9], 0
je 0x40ca81
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x48], esp
push dword [0x45ac01]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40c90e
push 0x81c
push 0x401048a
push 6
call fcn.0041fc57
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40c938
cmp dword [ebp - 0x3c], 0
jne 0x40c92b
cmp dword [ebp - 0x38], 0
je 0x40c938
mov eax, 1
jmp 0x40c93d
mov eax, 0
test eax, eax
je 0x40ca6c
fild qword [ebp - 0x3c]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x447089]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.004012a1
push edx
push eax
call fcn.0040beb9
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x447091]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.004012a1
push edx
push eax
call fcn.0040de7a
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x40]
push ebx
call fcn.0041fc51
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x40]
add ebx, 8
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fld dword [ebx]
fadd qword [0x4470b1]
mov ebx, dword [ebp - 0x48]
fstp dword [ebx]
cmp dword [0x45ac05], 0
je 0x40ca1c
mov ebx, dword [ebp - 0x40]
add ebx, 8
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fld dword [ebx]
fadd qword [0x4470b9]
mov ebx, dword [ebp - 0x48]
fstp dword [ebx]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e895
test eax, eax
je 0x40ca67
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x44]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
fld dword [ebx]
call fcn.004012a1
push eax
mov ebx, dword [ebp - 0x48]
fld dword [ebx]
call fcn.004012a1
push eax
call fcn.0040f177
jmp 0x40ca81
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ebx, dword [ebp - 8]
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
call fcn.0041fc51
add esp, 4
mov ebx, dword [ebp - 0x44]
push ebx
call fcn.0041fc51
add esp, 4
mov esp, ebp
pop ebp
ret