Function at 0x4301c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
cmp dword [ebx + 0x204], 0
push esi
push edi
mov dword [esp + 0x10], ebx
jne 0x43056e
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
and eax, 1
mov dword [esp + 0x14], eax
jne 0x4301fa
mov eax, dword [ebp + 0xc]
push esi
push eax
mov eax, ebx
call fcn.00431f80
mov ecx, dword [0x4ee74c]
cmp dword [ecx + 0x2cc], ebx
jne 0x43056e
mov edi, ebx
call fcn.0042db70
cmp dword [ebx + 0x210], 0
jne 0x43056e
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [esp + 0x10], 0
call edi
mov edx, 0x8000
test dx, ax
je 0x430244
mov dword [esp + 0xc], 1
push 0x12
call edi
push 0x10
call edi
xor edi, edi
cmp dword [esp + 0x14], edi
je 0x43056e
mov eax, 1
add dword [ebx + 0x190], eax
cmp dword [ebx + 0x190], 3
jl 0x43056e
mov dword [ebx + 0x198], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x7d00
jle 0x430285
mov dword [ebp + 0xc], edi
mov eax, edi
cmp esi, 0x7d00
jle 0x430292
mov dword [ebp + 0x10], edi
mov esi, edi
mov ecx, dword [ebx + 0x200]
mov dword [esp + 0x18], ecx
cmp ecx, 0xffffffff
jne 0x4302d9
mov edx, dword [ebx + 0x1c0]
mov edi, dword [edx + 0x100]
test edi, edi
je 0x4302d7
push esi
mov esi, ebx
call fcn.004306c0
mov ecx, dword [ebp + 0xc]
push eax
mov eax, ebx
call fcn.00430690
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
jmp 0x43055e
xor edi, edi
mov dword [ebx + 0x1dc], eax
mov dword [ebx + 0x1e0], esi
cmp ecx, 0xffffffff
je 0x4303db
mov dword [esp + 0x14], esi
mov esi, dword [ebx + 0x1c0]
push edi
lea edi, [esp + 0x18]
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0045feb0
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x10]
sub eax, dword [edi + 0x1d4]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv dword [esi + 0xfc]
call fcn.004a2110
mov ebx, eax
mov eax, dword [ebp + 0x10]
sub eax, dword [edi + 0x1d8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv dword [esi + 0xfc]
call fcn.004a2110
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x43035a
cmp ecx, 1
je 0x43035a
cmp ecx, 2
jne 0x43035c
neg eax
test ecx, ecx
je 0x43036a
cmp ecx, 7
je 0x43036a
cmp ecx, 6
jne 0x43036c
neg ebx
sub eax, dword [edi + 0x1e8]
sub ebx, dword [edi + 0x1e4]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
push esi
mov ebx, ecx
call fcn.00460380
cmp dword [edi + 0x1c4], 0
jne 0x4303a0
mov ecx, dword [edi + 0x1c0]
push 1
push 1
push ecx
call fcn.00464170
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add dword [edi + 0x1e4], edx
add dword [edi + 0x1e8], eax
push edi
mov dword [edi + 0x1c4], 1
call fcn.004309e0
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
call fcn.0042db70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x1d0], edi
je 0x430567
cmp eax, 0x7d00
jle 0x4303f3
mov dword [ebp + 0xc], edi
mov eax, edi
cmp esi, 0x7d00
jle 0x430400
mov dword [ebp + 0x10], edi
mov esi, edi
mov dword [ebx + 0x1dc], eax
mov dword [ebx + 0x1e0], esi
cmp dword [ebx + 0x194], edi
je 0x43051b
sub eax, dword [ebx + 0x1d4]
mov edi, dword [ebx + 0x1c0]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdiv dword [edi + 0xfc]
call fcn.004a2110
sub esi, dword [ebx + 0x1d8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fdiv dword [edi + 0xfc]
call fcn.004a2110
lea esi, [esp + 0x18]
mov edi, eax
call fcn.0042a6e0
mov esi, dword [ebx + 0x1e8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x1c0]
mov eax, dword [ecx + 0x6c]
sub edx, esi
add edx, edi
jns 0x430480
mov edi, esi
sub edi, dword [esp + 0x1c]
jmp 0x430494
mov edx, dword [esp + 0x24]
sub edx, esi
add edx, edi
cmp edx, eax
jb 0x430494
mov edi, esi
sub edi, dword [esp + 0x24]
add edi, eax
mov eax, dword [ebx + 0x1e4]
mov edx, dword [esp + 0x18]
sub edx, eax
add edx, dword [esp + 0xc]
jns 0x4304b0
sub eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
jmp 0x4304cb
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x70]
sub edx, eax
add edx, dword [esp + 0xc]
cmp edx, ecx
jb 0x4304cb
sub ecx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [ebx + 0x1c0]
call fcn.004636e0
test eax, eax
je 0x4304ed
mov eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, eax
add eax, eax
add eax, eax
mov edi, eax
mov ecx, dword [esp + 0xc]
sub ecx, dword [ebx + 0x1e4]
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebx + 0x1c0]
push ecx
push eax
call fcn.00463560
mov edx, dword [esp + 0xc]
mov dword [ebx + 0x1e4], edx
mov dword [ebx + 0x1e8], edi
jmp 0x43055e
cmp dword [esp + 0xc], edi
jne 0x430532
mov eax, dword [ebx + 0x1c0]
call fcn.00460ac0
mov dword [ebx + 0x1fc], edi
mov eax, dword [ebx + 0x1e0]
mov ecx, dword [ebx + 0x1d8]
mov edx, dword [ebx + 0x1d4]
mov esi, dword [ebx + 0x1c0]
push eax
push ecx
mov ecx, dword [ebx + 0x1dc]
push edx
call fcn.00460130
push ebx
call fcn.004309e0
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
mov ecx, ebx
call edx
mov edi, ebx
call fcn.0042db70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc