Function at 0x401692
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 4], 0
push 0x208
call fcn.004155b4
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x425258
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xff
jg 0x401798
mov ebx, dword [ebp - 8]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401710
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401723
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov word [ebx], 0xfb
mov ebx, dword [ebp - 8]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40174f
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401762
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40178b
push 6
call fcn.004155c0
add esp, 4
mov ebx, dword [ebp - 0x18]
mov word [ebx], ax
pop ebx
pop ecx
jmp 0x4016e2
add esp, 8
mov ebx, dword [0x42f932]
call fcn.00401127
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x402000
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4017dd
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4017f0
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x401ff8
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401826
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401839
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x5c
call fcn.004158d0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.004158f0
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4018a9
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4018bc
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov ax, word [ebx]
cwde
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4019be
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4018f7
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40190a
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 1
jne 0x40196e
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401943
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401956
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 2
jmp 0x4019b9
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40198e
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4019a1
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 0
jmp 0x401ff8
jmp 0x401aab
cmp dword [ebp - 0xc], 0
jge 0x401aab
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4019e8
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4019fb
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
jne 0x401a5a
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401a34
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401a47
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 1
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401a7a
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401a8d
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jge 0x401aab
jmp 0x401ff8
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401acb
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401ade
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
jbe 0x401b4a
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401b17
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401b2a
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp byte [ebx], 0x58
je 0x401b4a
mov eax, 1
jmp 0x401b4f
mov eax, 0
test eax, eax
je 0x401ff8
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401b77
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401b8a
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov byte [ebx], 0x58
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401bbd
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401bd0
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
call fcn.00401140
mov eax, 0x11
cmp eax, ecx
jl 0x401bfb
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x401c23
mov eax, 1
jmp 0x401c28
mov eax, 0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 8]
call fcn.00401140
mov eax, 0x10
cmp eax, ecx
jl 0x401c49
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x401c71
mov eax, 2
jmp 0x401c76
mov eax, 0
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 8]
call fcn.00401140
mov eax, 0xf
cmp eax, ecx
jl 0x401c97
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x401cbf
mov eax, 4
jmp 0x401cc4
mov eax, 0
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 8]
call fcn.00401140
mov eax, 0x5a
cmp eax, ecx
jl 0x401ce5
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
cmp word [ebx], 0
mov eax, 0
setl al
test eax, eax
je 0x401d0d
mov eax, 8
jmp 0x401d12
mov eax, 0
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x58]
fadd qword [ebp - 0x58]
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x60]
fadd qword [ebp - 0x60]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x68]
fadd qword [ebp - 0x68]
fstp qword [ebp - 0x70]
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [ebp - 0x70]
ftst
fnstsw ax
test ah, 1
je 0x401d55
fchs
fcomp qword [0x425250]
fnstsw ax
test ah, 0x41
je 0x401ff8
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401d86
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401d99
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x401e81
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401dd2
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401de5
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
fild dword [ebx]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x5c
call fcn.004158d0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.004158f0
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401e55
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401e68
push 1
call fcn.004155c0
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp word [ebx], 0
jl 0x401e81
jmp 0x401ff8
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401ea1
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401eb4
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401ee9
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401efc
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov ebx, dword [0x42f932]
call fcn.00401140
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x401f2e
push 4
call fcn.004155c0
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401f41
push 1
call fcn.004155c0
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
je 0x401f93
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x401f8e
push 6
call fcn.004155c0
add esp, 4
jmp 0x401ff8
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x401fd3
push 6
call fcn.004155c0
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x401ff8
push 6
call fcn.004155c0
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4017af
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
call fcn.004155ba
add esp, 4
mov esp, ebp
pop ebp
ret