Function at 0x40c700
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 4], 0
push 8
call fcn.0041f819
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x440b1e
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.0041f819
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.0041f819
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.0041f819
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.0041f819
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.0041f819
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [0x45da4f]
call fcn.0040350d
mov dword [ebp - 4], eax
mov eax, dword [0x45da4f]
push eax
push eax
mov ebx, eax
call fcn.00401b45
pop eax
sub ebx, eax
shl ecx, 3
add ecx, ebx
push ecx
call fcn.0041f819
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.0041f81f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x45da53
push dword [0x45da4b]
push dword [0x45da47]
call fcn.0040d127
fild qword [0x45da3f]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x44170c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x441714]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
fild qword [ebp - 0x7c]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
fadd qword [0x44171c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
call fcn.00401b65
push edx
push eax
call fcn.0040c61b
mov dword [ebp - 0xc], eax
fild qword [0x45da3f]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x441724]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x44172c]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00401b65
push edx
push eax
call fcn.0040e4c0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041f81f
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 0x40cefe
mov ebx, dword [ebp - 8]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40c9ed
push 0x1ff
push 0x401048a
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ca0a
push 0x1ff
push 0x401048a
push 1
call fcn.0041f825
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 [0x441734]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fadd qword [0x44173c]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.00401b65
push edx
push eax
call fcn.0040e590
mov dword [ebp - 0x18], eax
fld dword [ebp - 0x18]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
ftst
fnstsw ax
test ah, 1
je 0x40caa0
fchs
fcomp qword [0x4414de]
fnstsw ax
test ah, 0x41
je 0x40cab6
jmp 0x40cef6
mov ebx, dword [ebp - 8]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40cadd
push 0x2a4
push 0x401048a
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cafa
push 0x2a4
push 0x401048a
push 1
call fcn.0041f825
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 [0x441744]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401b65
push edx
push eax
call fcn.0040e681
mov byte [ebp - 0x1c], al
cmp byte [ebp - 0x1c], 0xff
je 0x40cb49
jmp 0x40cef6
mov ebx, dword [ebp - 8]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40cb70
push 0x38a
push 0x401048a
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cb8d
push 0x38a
push 0x401048a
push 1
call fcn.0041f825
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 [0x44170c]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fadd qword [0x441714]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
fild qword [ebp - 0x80]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fadd qword [0x44171c]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.00401b65
push edx
push eax
call fcn.0040c61b
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], eax
jne 0x40cc65
cmp dword [0x45da03], 0
jne 0x40cc65
mov eax, 1
jmp 0x40cc6a
mov eax, 0
test eax, eax
je 0x40cc77
jmp 0x40cef6
mov ebx, dword [ebp - 8]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40cc9e
push 0x488
push 0x401048a
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ccbb
push 0x488
push 0x401048a
push 1
call fcn.0041f825
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 [0x441724]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fild qword [ebp - 0x68]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fadd qword [0x44172c]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.00401b65
push edx
push eax
call fcn.0040e4c0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0041f81f
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [0x45d9ef], 0
je 0x40cef6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040e75c
test eax, eax
je 0x40cef6
cmp dword [ebp - 0x2c], 0
jne 0x40cef6
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 [0x45da2b]
mov dword [ebp - 0x50], ebx
mov ebx, dword [0x45da2b]
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.0040ee48
mov dword [ebp - 0x30], eax
fld dword [ebp - 0x30]
fcomp dword [0x45d9ff]
fnstsw ax
test ah, 1
je 0x40cef6
fld dword [ebp - 0x34]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
ftst
fnstsw ax
test ah, 1
je 0x40ce03
fchs
fcomp qword [0x4414de]
fnstsw ax
test ah, 0x41
je 0x40ce7f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 8]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40ce41
push 0x677
push 0x401048a
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ce5e
push 0x677
push 0x401048a
push 1
call fcn.0041f825
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 0x40cef6
fld dword [ebp - 0x30]
fcomp dword [ebp - 0x34]
fnstsw ax
test ah, 1
je 0x40cef6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 8]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x40cebd
push 0x6f5
push 0x401048a
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ceda
push 0x6f5
push 0x401048a
push 1
call fcn.0041f825
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 0x40c9b8
add esp, 0xc
cmp dword [0x45d9ef], 0
je 0x40d0c7
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x48], esp
push dword [0x45d9f7]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x40cf4a
push 0x81c
push 0x401048a
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40cf74
cmp dword [ebp - 0x3c], 0
jne 0x40cf67
cmp dword [ebp - 0x38], 0
je 0x40cf74
mov eax, 1
jmp 0x40cf79
mov eax, 0
test eax, eax
je 0x40d0b2
fild qword [ebp - 0x3c]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x441724]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.00401b65
push edx
push eax
call fcn.0040c4f5
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
fild qword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x44172c]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00401b65
push edx
push eax
call fcn.0040e4c0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x40]
push ebx
call fcn.0041f81f
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 [0x44174c]
mov ebx, dword [ebp - 0x48]
fstp dword [ebx]
cmp dword [0x45d9fb], 0
je 0x40d058
mov ebx, dword [ebp - 0x40]
add ebx, 8
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x48]
fld dword [ebx]
fadd qword [0x441754]
mov ebx, dword [ebp - 0x48]
fstp dword [ebx]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040eedb
test eax, eax
je 0x40d0ad
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.00401b65
push eax
mov ebx, dword [ebp - 0x48]
fld dword [ebx]
call fcn.00401b65
push eax
push 0x45da07
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
jmp 0x40d0c7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ebx, dword [ebp - 8]
push ebx
call fcn.0041f81f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041f81f
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0041f81f
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.0041f81f
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
call fcn.0041f81f
add esp, 4
mov ebx, dword [ebp - 0x44]
push ebx
call fcn.0041f81f
add esp, 4
mov esp, ebp
pop ebp
ret