Function at 0x403b80
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4602ec
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x48268c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48268c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
call fcn.0041fa16
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403be6
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x140], edi
call fcn.0041fa16
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403c17
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0x14c]
lea ecx, [ebx + ebx*2]
add ecx, ecx
push ecx
mov byte [esp + 0x144], 1
call fcn.0044813a
add esp, 4
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x403c9e
lea eax, [ebp - 0x10]
mov byte [esp + 0x140], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403c70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x403e7c
cmp ebx, edi
mov dword [esp + 0x1c], edi
jle 0x403e2d
mov edi, dword [esp + 0x18]
lea ebx, [eax + 2]
add edi, 4
push 0x100
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.004489f0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
add esp, 0xc
push 0x100
lea edx, [esp + 0x38]
push edx
push 0x465904
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00401c50
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403cf0
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402120
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x403e0f
push 0x46591c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402210
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 2
call fcn.00402250
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x140], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x24]
cmp dword [ebp - 0xc], 0
je 0x403e0f
mov eax, dword [esi - 0xc]
sub eax, dword [ebp - 0xc]
lea ecx, [esp + 0x28]
sub eax, 1
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402020
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.00402250
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x140], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403dc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x403e0f
mov cx, word [edi - 4]
mov word [ebx + 2], cx
mov ecx, dword [esp + 0x20]
push ebp
call fcn.00401920
lea ecx, [esp + 0x14]
mov byte [ebx - 2], al
call fcn.004021b0
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jl 0x403ea6
mov dl, byte [esi]
mov byte [esp + 0x30], dl
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov word [ebx], ax
mov eax, dword [esp + 0x1c]
add eax, 1
add edi, 0xc
add ebx, 6
cmp eax, dword [esp + 0x14c]
mov dword [esp + 0x1c], eax
jl 0x403cb4
lea eax, [ebp - 0x10]
mov byte [esp + 0x140], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x140], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004489d9
add esp, 0x130
ret 8
push 0x80070057
call fcn.00401090
int3