Function at 0x436730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
xor ebx, ebx
push 0x10
mov bx, ax
call edi
and ebx, eax
not ebx
movzx edi, bx
shr edi, 0xf
call fcn.00438610
mov dword [esi], eax
call fcn.00438610
mov dword [esi + 4], eax
call fcn.00438610
mov dword [esi + 8], eax
call fcn.00438610
mov dword [esi + 0xc], eax
call fcn.00438610
mov dword [esi + 0x10], eax
call fcn.00438610
xor ebx, ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.004365a0
mov dword [0x4a8cec], eax
call fcn.00436630
cmp edi, ebx
mov ecx, dword [esi]
mov byte [ecx + 0x2c], 8
mov edx, dword [esi]
mov dword [edx + 0x24], 0x10
mov ecx, dword [esi]
mov dword [ecx + 0x44], 0x5dc
mov edx, dword [esi]
mov ecx, 0xffffff80
mov dword [edx], ecx
mov edx, dword [esi]
mov dword [edx + 4], ecx
mov edx, dword [esi]
mov dword [edx + 8], ecx
mov ecx, dword [esi]
mov dword [ecx + 0xc], 0xaa
mov edx, dword [esi]
mov ecx, 0x8c
mov dword [edx + 0x10], ecx
mov edx, dword [esi]
mov dword [edx + 0x14], ecx
mov edx, dword [esi]
mov dword [edx + 0x18], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], 0x5a
mov edx, dword [esi]
mov dword [edx + 0x20], ebx
mov ecx, dword [esi]
mov dword [ecx + 0x28], 0x459c4000
mov ecx, dword [0x4a8cec]
mov dword [0x4a8cb8], eax
jne 0x436807
mov ecx, eax
mov edx, dword [esi]
mov dword [edx + 0x30], ecx
mov eax, dword [esi]
mov dword [eax + 0x38], 0x41000000
mov ecx, dword [esi]
mov byte [ecx + 0x2e], 0x10
mov edx, dword [esi + 4]
mov byte [edx + 0x2c], 8
mov eax, dword [esi + 4]
mov edx, 8
mov dword [eax + 0x24], edx
mov eax, dword [esi + 4]
mov ecx, 0x96
mov dword [eax + 0x44], ecx
mov eax, dword [esi + 4]
mov dword [eax], ebx
mov eax, dword [esi + 4]
mov dword [eax + 4], ebx
mov eax, dword [esi + 4]
mov dword [eax + 8], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0x10], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0x14], ebx
mov eax, dword [esi + 4]
mov dword [eax + 0x18], 0x1c2
mov eax, dword [esi + 4]
mov dword [eax + 0x1c], pe_nt_image_headers32
mov eax, dword [esi + 4]
mov dword [eax + 0x20], ecx
mov eax, dword [esi + 8]
mov byte [eax + 0x2c], dl
mov eax, dword [esi + 8]
mov dword [eax + 0x24], edx
mov edx, dword [esi + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [esi + 8]
mov dword [eax], 0x20
mov ecx, dword [esi + 8]
mov dword [ecx + 4], 0x20
mov edx, dword [esi + 8]
mov dword [edx + 8], 0x40
mov eax, dword [esi + 8]
mov dword [eax + 0xc], 0x78
mov edx, dword [esi + 8]
mov ecx, 0x3c
mov dword [edx + 0x10], ecx
mov eax, dword [esi + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [esi + 8]
mov dword [ecx + 0x18], 0xc8
mov edx, dword [esi + 8]
mov ecx, 0x50
mov dword [edx + 0x1c], ecx
mov eax, dword [esi + 8]
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x2c], 8
mov edx, dword [esi + 0xc]
mov ecx, 1
mov dword [edx + 0x24], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x44], ecx
mov edx, dword [esi + 0xc]
mov dword [edx], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 4], ebx
mov edx, dword [esi + 0xc]
mov dword [edx + 8], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 0xc], ebx
mov edx, dword [esi + 0xc]
mov dword [edx + 0x10], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x14], ebx
mov edx, dword [esi + 0xc]
mov dword [edx + 0x18], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x1c], ebx
cmp edi, ebx
mov edx, dword [esi + 0xc]
mov eax, dword [0x4a8cb8]
mov dword [edx + 0x20], ebx
jne 0x436935
mov eax, dword [0x4a8cec]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x38], 0x3fb33333
mov edx, dword [esi + 0xc]
mov byte [edx + 0x2e], 0x10
mov eax, dword [esi + 0x10]
mov byte [eax + 0x2c], 8
mov edx, dword [esi + 0x10]
mov dword [edx + 0x24], ecx
mov eax, dword [esi + 0x10]
mov dword [eax + 0x44], ecx
mov ecx, dword [esi + 0x10]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x10]
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], ebx
mov edx, dword [esi + 0x10]
mov dword [edx + 0x10], ebx
mov eax, dword [esi + 0x10]
mov dword [eax + 0x14], ebx
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x18], ebx
mov edx, dword [esi + 0x10]
mov dword [edx + 0x1c], ebx
mov eax, dword [esi + 0x10]
push ebx
mov dword [eax + 0x20], ebx
call fcn.004362c0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x30], eax
mov edx, dword [esi + 0x10]
mov dword [0x4a8d14], eax
mov edi, 0x3f800000
mov dword [edx + 0x38], edi
mov eax, dword [esi + 0x10]
mov byte [eax + 0x2e], 0x10
mov ecx, dword [esi + 0x14]
mov byte [ecx + 0x2c], 8
mov edx, dword [esi + 0x14]
mov eax, 1
mov dword [edx + 0x24], eax
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x44], eax
mov edx, dword [esi + 0x14]
mov dword [edx], ebx
mov ecx, dword [esi + 0x14]
mov dword [ecx + 4], ebx
mov edx, dword [esi + 0x14]
mov dword [edx + 8], ebx
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0xc], ebx
mov edx, dword [esi + 0x14]
mov dword [edx + 0x10], ebx
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x14], ebx
mov edx, dword [esi + 0x14]
mov dword [edx + 0x18], ebx
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x1c], ebx
mov edx, dword [esi + 0x14]
push eax
mov dword [edx + 0x20], ebx
call fcn.004362c0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x30], eax
mov edx, dword [esi + 0x14]
mov dword [edx + 0x38], edi
mov ecx, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
mov dword [0x4a8cdc], eax
mov byte [ecx + 0x2e], 0x10
je 0x436a31
mov edx, dword [eax]
mov dword [0x4a8ccc], edx
mov eax, dword [esi]
push eax
call fcn.00438cf0
mov ecx, dword [esi + 4]
push ecx
call fcn.00438cf0
mov edx, dword [esi + 8]
push edx
call fcn.00438cf0
mov eax, dword [esi + 0xc]
push eax
call fcn.00438cf0
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00438cf0
mov edx, dword [esi + 0x14]
push edx
call fcn.00438cf0
push esi
push 0xff
xor eax, eax
push 2
mov ecx, 0xc0
mov edi, ebp
push ebp
rep stosd dword es:[edi], eax
call fcn.004389d0
push 0xff
push ebx
mov byte [ebp + 2], bl
mov byte [ebp + 1], bl
mov byte [ebp], bl
mov byte [ebp + 5], 0xff
mov byte [ebp + 4], 0xff
mov byte [ebp + 3], 0xff
mov eax, dword [esi]
push ebp
push eax
call fcn.00438d40
mov ecx, dword [esi + 4]
push 0xff
push ebx
push ebp
push ecx
call fcn.00438d40
mov edx, dword [esi + 8]
add esp, 0x48
push 0xff
push ebx
push ebp
push edx
call fcn.00438d40
mov eax, dword [esi + 0xc]
push 0xff
push ebx
push ebp
push eax
call fcn.00438d40
mov ecx, dword [esi + 0x10]
push 0xff
push ebx
push ebp
push ecx
call fcn.00438d40
mov edx, dword [esi + 0x14]
push 0xff
push ebx
push ebp
push edx
call fcn.00438d40
add esp, 0x40
pop edi
pop ebp
pop ebx
ret