Function at 0xc348671
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.0c3595fd
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0xc376a30
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 0xc348777
mov ebx, dword [ebp - 8]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc3486ef
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348702
push 1
call fcn.0c359609
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.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc34872e
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348741
push 1
call fcn.0c359609
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 0xc34876a
push 6
call fcn.0c359609
add esp, 4
mov ebx, dword [ebp - 0x18]
mov word [ebx], ax
pop ebx
pop ecx
jmp 0xc3486c1
add esp, 8
mov ebx, dword [0xc3773d2]
call fcn.0c348150
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 0xc348fdc
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc3487bc
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc3487cf
push 1
call fcn.0c359609
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 0xc348fd4
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348805
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348818
push 1
call fcn.0c359609
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.0c35b7d0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.0c35a570
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0xc348888
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc34889b
push 1
call fcn.0c359609
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 0xc34899d
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc3488d6
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc3488e9
push 1
call fcn.0c359609
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 0xc34894d
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348922
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348935
push 1
call fcn.0c359609
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 0xc348998
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc34896d
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348980
push 1
call fcn.0c359609
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 0xc348fd4
jmp 0xc348a8a
cmp dword [ebp - 0xc], 0
jge 0xc348a8a
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc3489c7
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc3489da
push 1
call fcn.0c359609
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 0xc348a39
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348a13
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348a26
push 1
call fcn.0c359609
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 [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348a59
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348a6c
push 1
call fcn.0c359609
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 0xc348a8a
jmp 0xc348fd4
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348aaa
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348abd
push 1
call fcn.0c359609
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 0xc348b29
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348af6
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348b09
push 1
call fcn.0c359609
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 0xc348b29
mov eax, 1
jmp 0xc348b2b
xor eax, eax
test eax, eax
je 0xc348fd4
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348b53
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348b66
push 1
call fcn.0c359609
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 [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348b99
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348bac
push 1
call fcn.0c359609
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.0c341d9f
mov eax, 0x11
cmp eax, ecx
jl 0xc348bd7
push 1
call fcn.0c359609
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 0xc348bff
mov eax, 1
jmp 0xc348c04
mov eax, 0
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 8]
call fcn.0c341d9f
mov eax, 0x10
cmp eax, ecx
jl 0xc348c25
push 1
call fcn.0c359609
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 0xc348c4d
mov eax, 2
jmp 0xc348c52
mov eax, 0
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 8]
call fcn.0c341d9f
mov eax, 0xf
cmp eax, ecx
jl 0xc348c73
push 1
call fcn.0c359609
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 0xc348c9b
mov eax, 4
jmp 0xc348ca0
mov eax, 0
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 8]
call fcn.0c341d9f
mov eax, 0x5a
cmp eax, ecx
jl 0xc348cc1
push 1
call fcn.0c359609
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 0xc348ce9
mov eax, 8
jmp 0xc348cee
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 0xc348d31
fchs
fcomp qword [0xc376494]
fnstsw ax
test ah, 0x41
je 0xc348fd4
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348d62
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348d75
push 1
call fcn.0c359609
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 0xc348e5d
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348dae
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348dc1
push 1
call fcn.0c359609
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.0c35b7d0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x9d4
call fcn.0c35a570
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0xc348e31
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348e44
push 1
call fcn.0c359609
add esp, 4
shl eax, 1
add ebx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp word [ebx], 0
jl 0xc348e5d
jmp 0xc348fd4
mov ebx, dword [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348e7d
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348e90
push 1
call fcn.0c359609
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 [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348ec5
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348ed8
push 1
call fcn.0c359609
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 [0xc3773d2]
call fcn.0c341d9f
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0xc348f0a
push 4
call fcn.0c359609
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0xc348f1d
push 1
call fcn.0c359609
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 0xc348f6f
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 0xc348f6a
push 6
call fcn.0c359609
add esp, 4
jmp 0xc348fd4
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 0xc348faf
push 6
call fcn.0c359609
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 0xc348fd4
push 6
call fcn.0c359609
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0xc34878e
add esp, 0xc
mov ebx, dword [ebp - 8]
push ebx
call fcn.0c3595f7
add esp, 4
mov esp, ebp
pop ebp
ret