Function at 0x10039810
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a94c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10039a37
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x28], 0x51ed
mov dword [ebp - 0x34], 0x10008b24
cmp dword [ebp - 0x28], 0x5447
jle 0x1003991a
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AttachThreadInput]
and dword [ebp - 0x24], 0
jmp 0x1003988d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xb7a
jge 0x1003991a
and dword [ebp - 0x18], 0
jmp 0x100398a7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1f5f
jge 0x10039915
and dword [ebp - 0x1c], 0
jmp 0x100398bd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3fc5
jge 0x10039913
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xa0]
call fcn.1000aac3
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.100166fe
push eax
call fcn.10052853
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.1001669e
jmp 0x100398b6
jmp 0x100398a0
jmp 0x10039886
lea eax, [ebp + 0xc]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x4fda
jge 0x10039936
push dword [ebp - 0x34]
call fcn.10052853
pop ecx
jmp 0x10039952
or dword [ebp - 4], 0xffffffff
jmp 0x1003995c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x100399e2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
push 0
mov eax, dword [ebp - 0x38]
push dword [eax]
push dword [ebp - 0x40]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
push dword [eax]
push 0x6bc0
push 0x37f2
push 0x7dca
call fcn.10043602
add esp, 0x24
jmp 0x10039a35
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x10039a04
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 1
jg 0x10039a35
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10039a33
push 0x4f3d
push 0x3804
push 0
push 1
push 0x672b
call fcn.10038200
add esp, 0x14
jmp 0x100399f9
jmp 0x10039a58
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x70]
push 0x2d57
push dword [ebp - 0x78]
push 0
call fcn.1004992a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret