Function at 0x10001530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov eax, 4
mov dword [esi + 0x6c], eax
call fcn.10001f30
mov eax, esp
mov ecx, 0x14
mov dword [esi + 0x68], eax
mov eax, ecx
call fcn.10001f30
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 0x18
mov dword [esi + 0x64], eax
mov eax, ecx
call fcn.10001f30
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x60], eax
mov eax, ecx
call fcn.10001f30
mov eax, esp
mov dword [esi + 0x74], 0
mov dword [esi + 0x5c], eax
jmp 0x10001695
jmp 0x1000173a
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], 0x7e0
mov dword [eax + 4], 0xff4b15
mov dword [eax], 0xb032e
mov eax, dword [sym.imp.GDI32.dll_GetRandomRgn]
call eax
xor ecx, ecx
mov edx, 0x18
mov edi, dword [esi + 0x60]
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], edx
call fcn.10001f60
add esp, 0xc
sub esp, 4
mov eax, esp
mov ecx, dword [esi + 0x60]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call eax
jmp 0x10001795
jmp 0x10001634
mov eax, dword [esi + 0x68]
cmp dword [eax], 0x23a
setne cl
mov byte [esi + 0x4f], cl
mov al, byte [esi + 0x4f]
test al, 1
jne 0x100016eb
jmp 0x1000164c
mov eax, dword [esi + 0x5c]
cmp dword [eax], 0xa
jne 0x100017af
jmp 0x100017c3
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
add ecx, 1
mov dword [esi + 0x48], ecx
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x48]
mov dword [eax], ecx
jmp 0x10001604
mov eax, dword [esi + 0x74]
mov ecx, 0xcc29786d
mov dword [esi + 0x44], eax
mul ecx
shr edx, 8
imul eax, edx, 0x141
mov ecx, dword [esi + 0x44]
sub ecx, eax
mov eax, ecx
sub eax, 0x12
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], eax
je 0x10001795
jmp 0x1000167a
mov eax, dword [esi + 0x40]
sub eax, 0x41
mov dword [esi + 0x38], eax
je 0x1000159b
jmp 0x100017a1
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
cmp dword [esi + 0x74], 0xda
setne al
mov byte [esi + 0x37], al
mov al, byte [esi + 0x37]
test al, 1
jne 0x100016ab
jmp 0x1000168e
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x1eeba4
mov dword [eax], 0x695583
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
mov dword [esi + 0x30], eax
sub esp, 4
mov eax, esp
mov dword [eax], 0xf
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
call eax
mov ecx, dword [esi + 0x68]
mov dword [ecx], 0
mov word [esi + 0x2e], ax
jmp 0x10001604
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov eax, 0xaf286bcb
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x24], eax
mov eax, ecx
mov edx, dword [esi + 0x24]
mul edx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
imul eax, ecx, 0x13
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, ecx
sub eax, 2
mov dword [esi + 0x20], ecx
mov dword [esi + 0x1c], eax
je 0x10001596
jmp 0x10001729
mov eax, dword [esi + 0x20]
sub eax, 8
mov dword [esi + 0x18], eax
jne 0x10001602
jmp 0x1000173a
mov eax, dword [esi + 0x64]
mov dword [esi + 0x14], eax
xor eax, eax
mov ecx, 0x14
sub esp, 0xc
mov edx, dword [esi + 0x14]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
call fcn.10001f60
add esp, 0xc
mov eax, dword [esi + 0x64]
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0xc48
mov dword [ecx], 0x210ab0
mov eax, dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
call eax
mov dword [esi + 8], eax
jmp 0x10001602
mov eax, dword [sym.imp.ole32.dll_CoImpersonateClient]
call eax
mov dword [esi + 4], eax
jmp 0x100017c5
mov eax, dword [esi + 0x5c]
mov dword [eax], 0
jmp 0x10001620
jmp 0x100017b1
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x10001620
jmp 0x100017c5
jmp 0x100017c7
mov eax, dword [esi + 0x74]
add eax, 1
mov dword [esi + 0x74], eax
jmp 0x10001695