Function at 0x630480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x54], ecx
push 0x16e
push 0x7c9b48
mov eax, dword [ebp - 0x54]
push eax
call fcn.0052b988
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x20], 0
jne 0x6304b9
push 0x16f
push 0x7c9b80
call fcn.0052630c
test eax, eax
je 0x6304b9
int3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.005223c4
test eax, eax
je 0x6304d3
mov eax, 1
jmp 0x630726
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x54]
call fcn.0052bfff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x80]
and ecx, 0x20
jne 0x63050b
cmp dword [ebp - 0xc], 0x201
je 0x63050b
cmp dword [ebp - 0xc], 0x202
jne 0x6306b5
cmp dword [ebp - 0xc], 0x200
jb 0x63051d
cmp dword [ebp - 0xc], 0x209
jbe 0x630537
cmp dword [ebp - 0xc], 0xa0
jb 0x6306b5
cmp dword [ebp - 0xc], 0xa9
ja 0x6306b5
call fcn.00525a4c
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00525fe7
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.0052b2da
push 0x30
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.00523260
add esp, 0xc
mov dword [ebp - 0x50], 0x28
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x6305a3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0052b08c
add esp, 4
cmp dword [ebp - 0xc], 0x201
jne 0x6305c0
mov edx, dword [ebp - 0x4c]
and edx, 0x80000000
je 0x6305c0
mov dword [ebp - 0x58], 1
jmp 0x6305c7
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x201
je 0x6305ee
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x6305ee
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x6305fa
cmp dword [ebp - 0x10], 0
je 0x630630
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x63060f
cmp dword [ebp - 0x10], 0
je 0x63062e
push 0xffffffffffffffff
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.0052caf4
jmp 0x6306ac
cmp dword [ebp - 0xc], 0x202
jne 0x63065f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x16c]
call eax
push 0xc8
push 0xe001
mov ecx, dword [ebp - 0x54]
call fcn.0052481d
jmp 0x6306ac
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x7c]
and edx, 8
jne 0x630679
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jge 0x63068f
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax + 0x16c]
call edx
jmp 0x6306ac
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x4c]
je 0x6306ac
push 0x12c
push 0xe000
mov ecx, dword [ebp - 0x54]
call fcn.0052481d
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 0x54]
call fcn.00526cd5
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6306d3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x68], 0
je 0x6306d3
xor eax, eax
jmp 0x630726
cmp dword [ebp - 8], 0
je 0x630705
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
call eax
test eax, eax
je 0x6306f8
mov eax, 1
jmp 0x630726
mov ecx, dword [ebp - 8]
call fcn.0052411a
mov dword [ebp - 8], eax
jmp 0x6306d3
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x630724
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00522360
jmp 0x630726
xor eax, eax
mov esp, ebp
pop ebp
ret 4