Function at 0x409183
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.004373a2
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4abe88
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 0x4092bb
mov ebx, dword [ebp - 8]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40920b
push 0x23
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409228
push 0x23
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40925e
push 0x4d
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40927b
push 0x4d
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x4092ae
push 0x6d
push 0x408c99f
push 6
call fcn.004373ba
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov word [ebx], ax
pop ebx
pop ecx
jmp 0x4091d3
add esp, 8
mov ebx, dword [0x50d0d9]
call fcn.00408ba1
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 0x409ce5
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40930a
push 0xe2
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409327
push 0xe2
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409cdd
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409367
push 0x141
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409384
push 0x141
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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.00438510
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.00438530
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4093fe
push 0x16d
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40941b
push 0x16d
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409559
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409460
push 0x1e7
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40947d
push 0x1e7
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x4094f5
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4094c0
push 0x21b
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4094dd
push 0x21b
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409554
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40951f
push 0x24f
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40953c
push 0x24f
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409cdd
jmp 0x409682
cmp dword [ebp - 0xc], 0
jge 0x409682
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40958d
push 0x303
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4095aa
push 0x303
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x40961d
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4095ed
push 0x337
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40960a
push 0x337
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409647
push 0x37e
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409664
push 0x37e
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409682
jmp 0x409cdd
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4096ac
push 0x518
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4096c9
push 0x518
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409749
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40970c
push 0x54b
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409729
push 0x54b
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409749
mov eax, 1
jmp 0x40974e
mov eax, 0
test eax, eax
je 0x409cdd
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409780
push 0x580
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40979d
push 0x580
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4097da
push 0x5c5
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4097f7
push 0x5c5
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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.00407ba8
mov eax, 0x11
cmp eax, ecx
jl 0x40982c
push 0x612
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409854
mov eax, 1
jmp 0x409859
mov eax, 0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 8]
call fcn.00407ba8
mov eax, 0x10
cmp eax, ecx
jl 0x409884
push 0x660
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x4098ac
mov eax, 2
jmp 0x4098b1
mov eax, 0
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 8]
call fcn.00407ba8
mov eax, 0xf
cmp eax, ecx
jl 0x4098dc
push 0x6ae
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409904
mov eax, 4
jmp 0x409909
mov eax, 0
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 8]
call fcn.00407ba8
mov eax, 0x5a
cmp eax, ecx
jl 0x409934
push 0x6fc
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x40995c
mov eax, 8
jmp 0x409961
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 0x4099a4
fchs
fcomp qword [0x4abe80]
fnstsw ax
test ah, 0x41
je 0x409cdd
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4099df
push 0x74d
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4099fc
push 0x74d
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409b0c
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409a3f
push 0x7ac
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409a5c
push 0x7ac
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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.00438510
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.00438530
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x409ad6
push 0x7ea
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409af3
push 0x7ea
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp word [ebx], 0
jl 0x409b0c
jmp 0x409cdd
mov ebx, dword [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409b36
push 0x83f
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409b53
push 0x83f
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409b92
push 0x870
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409baf
push 0x870
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 [0x50d0d9]
call fcn.00407ba8
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x409beb
push 0x8a0
push 0x408c99f
push 4
call fcn.004373ba
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x409c08
push 0x8a0
push 0x408c99f
push 1
call fcn.004373ba
add esp, 0xc
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 0x409c64
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 0x409c5f
push 0x8cb
push 0x408c99f
push 6
call fcn.004373ba
add esp, 0xc
jmp 0x409cdd
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 0x409cae
push 0x91a
push 0x408c99f
push 6
call fcn.004373ba
add esp, 0xc
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 0x409cdd
push 0x91a
push 0x408c99f
push 6
call fcn.004373ba
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x4092d2
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
call fcn.004373ae
add esp, 4
mov esp, ebp
pop ebp
ret