Function at 0x100368be
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10036948
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1003692a
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x108f8256
jmp 0x10036943
push 0
push 0
push 0x21f4
push 0x1692
push 0xd99
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x10036f26
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x10036f14
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x2c], 0
jmp 0x100369b5
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x100369cb
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x100], 0x5711
jmp 0x100369ae
mov dword [ebp - 0x24], 0
jmp 0x100369db
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x10036a85
push 4
lea ecx, [ebp - 0x80]
call fcn.10011c5f
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
jmp 0x10036a03
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10036a1c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x80]
call fcn.10011cc6
mov dword [eax], 0xcce1e2c0
jmp 0x100369fc
push 1
lea ecx, [ebp - 0x80]
call fcn.10011cc6
mov dword [eax], 3
jmp 0x10036a46
push 1
lea ecx, [ebp - 0x80]
call fcn.10011cc6
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x80]
call fcn.10011cc6
cmp dword [eax], 0
jl 0x10036a74
mov esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x80]
call fcn.10011cc6
mov eax, dword [eax]
mov ecx, dword [ebp + esi*4 - 0x100]
mov dword [ebp + eax*4 - 0x100], ecx
jmp 0x10036a2e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10011cc1
jmp 0x100369d4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
add ecx, dword [eax]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x30], eax
and dword [ebp - 0x3c], 0
jmp 0x10036ab8
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x3c], eax
jae 0x10036df4
push 4
lea ecx, [ebp - 0xf0]
call fcn.10011c5f
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x64], 8
mov dword [ebp - 0x68], 0xfffffffd
mov dword [ebp - 0xe0], 0x4a90611b
mov dword [ebp - 0xdc], 0x4a90611b
mov dword [ebp - 0xd8], 0x4a90611b
mov dword [ebp - 0xd4], 0x4a90611b
push 0
push 0x617a
push 1
lea eax, [ebp - 0xe4]
push eax
push 0x3e36
push 0x7cf3
push 0x4051
push 1
push 0x426d
lea eax, [ebp - 0xf0]
push eax
push 0x4b63
call fcn.1004321e
add esp, 0x2c
mov dword [ebp - 0xb4], 0x2285
cmp dword [ebp - 0xb4], 0xaa5
jge 0x10036bbb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x1000b354
call fcn.10050d0b
add esp, 0xc
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jg 0x10036ba1
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
push eax
push 0x1000b324
call fcn.10050f3f
pop ecx
pop ecx
jmp 0x10036bbb
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.1003673b
pop ecx
pop ecx
push eax
push 0x1000b324
call fcn.10050f3f
pop ecx
pop ecx
mov dword [ebp - 0x14], 3
jmp 0x10036bcb
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10036c06
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x10036c04
push 0
push 0x6780
push 0x1079
push 0x1259
push 1
push 0xaeb
push 1
push 0x3c39
call fcn.10034df8
add esp, 0x20
jmp 0x10036bc4
cmp dword [ebp - 0x64], 0xfffc
jl 0x10036c18
mov dword [ebp - 0x48], 1
jmp 0x10036c1c
and dword [ebp - 0x48], 0
mov dword [ebp - 0x68], 0x2f80c341
cmp dword [ebp - 0x68], 0xfffffffd
je 0x10036c32
mov dword [ebp - 0x54], 1
jmp 0x10036c36
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x48]
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0xe0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10011cc1
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
sar eax, 0xc
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], 0x1943
cmp dword [ebp - 0xa8], 0x98e
jge 0x10036cf4
lea eax, [ebp - 0x28]
push eax
push 0x1000b1cc
call fcn.10050d0b
pop ecx
pop ecx
cmp dword [ebp - 0x28], 0xa
jl 0x10036caa
mov dword [ebp - 0x4c], 1
jmp 0x10036cae
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x28], 0xa
jl 0x10036cdc
mov eax, dword [ebp - 0x28]
cdq
push 0xa
pop ecx
idiv ecx
push 9
pop eax
sub eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x28], eax
jmp 0x10036cb4
mov eax, dword [ebp - 0x18]
add eax, 9
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x1000b210
call fcn.10050f3f
pop ecx
pop ecx
push 4
lea ecx, [ebp - 0x74]
call fcn.10011c5f
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], 0
jmp 0x10036d15
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10036d2b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x10c], 0
jmp 0x10036d0e
push 0x3e7f
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x215a
push 1
call fcn.10034867
add esp, 0x18
push 3
lea ecx, [ebp - 0x74]
call fcn.10011cc6
and dword [eax], 0
jmp 0x10036d70
push 3
lea ecx, [ebp - 0x74]
call fcn.10011cc6
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x74]
call fcn.10011cc6
cmp dword [eax], 3
jge 0x10036d98
push 3
lea ecx, [ebp - 0x74]
call fcn.10011cc6
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0x10c], 1
jmp 0x10036d58
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10011cc1
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
je 0x10036dce
jmp 0x10036def
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x90]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jmp 0x10036aa9
push 1
lea ecx, [ebp - 0xc4]
call fcn.10011c5f
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], 0
jmp 0x10036e18
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10036e2e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x114], 0xcff0ea75
jmp 0x10036e11
push 1
push 0x7342
push 0x48ac
push 0xaad
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x1b53
lea eax, [ebp - 0xc4]
push eax
call fcn.10034aec
add esp, 0x20
push 0
lea ecx, [ebp - 0xc4]
call fcn.10011cc6
and dword [eax], 0
jmp 0x10036e86
push 0
lea ecx, [ebp - 0xc4]
call fcn.10011cc6
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xc4]
call fcn.10011cc6
cmp dword [eax], 1
jg 0x10036ec6
mov dword [ebp - 0x98], 1
lea eax, [ebp - 0x98]
push eax
push 1
push 1
push 0x622d
push 0x12db
push 0x58c0
call fcn.10034c68
add esp, 0x18
jmp 0x10036e6b
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10036eda
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.10011cc1
push 1
push 0x4fa2
push 0x405
push 0x4eef
push 0x17e0
push 0x4fac
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.1003622a
add esp, 0x20
jmp 0x10036f26
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10036f26
call dword [sym.imp.USER32.dll_EndMenu]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret