Function at 0x1006bf60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc226
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0x24
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1006bfe8
movd xmm0, dword [0x1014d438]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
call fcn.10049750
movss xmm1, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x350]
divss xmm0, dword [0x1010b910]
mulss xmm0, dword [0x1010c240]
comiss xmm1, xmm0
jb 0x1006bfe8
mov ecx, dword [0x1014d478]
cmp byte [ecx + 2], 0
sete al
xor esi, esi
mov byte [ecx + 2], al
mov dword [0x1014d438], esi
jmp 0x1006bfee
mov esi, dword [0x1014d438]
call fcn.10049750
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x350]
divss xmm0, dword [0x1010b910]
mulss xmm0, dword [0x1010c240]
comiss xmm0, xmm1
jbe 0x1006c01d
inc dword [0x1014d438]
mov ecx, dword [0x1014d41c]
test ecx, ecx
je 0x1006c03c
call fcn.10041160
mov ecx, dword [0x1014d41c]
call fcn.100410d0
jmp 0x1006c82d
mov ecx, dword [0x1014d190]
lea eax, [ebp - 0x3c]
push eax
call fcn.1001c380
mov esi, eax
mov dword [ebp - 4], 0
cmp esi, 0x1014d420
je 0x1006c08e
mov ecx, 0x1014d420
call fcn.1000b6f0
movups xmm0, xmmword [esi]
movups xmmword [0x1014d420], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x1014d430], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1000b6f0
push 0x298
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x1006c0d3
push 0x298
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.1006bbe0
jmp 0x1006c0d5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
sub esp, 8
mov ecx, esp
mov dword [0x1014d41c], eax
sub esp, 8
mov dword [esp + 4], 0x43700000
mov dword [esp], 0x43910000
call fcn.100a2e30
mov ecx, dword [0x1014d41c]
call fcn.10040e90
call fcn.10049750
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10108af4]
subss xmm0, dword [0x10110ba4]
movss dword [ebp - 0x10], xmm0
call fcn.10049750
movss xmm1, dword [ebp - 0x10]
sub esp, 8
mov ecx, esp
sub esp, 8
movss xmm0, dword [eax + 8]
mulss xmm0, dword [0x10108af4]
movss dword [esp + 4], xmm1
subss xmm0, dword [0x1010b5c4]
movss dword [esp], xmm0
call fcn.100a2e30
mov ecx, dword [0x1014d41c]
call fcn.10040e70
push 0x2a0
call fcn.100a9e1b
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1006c21e
push 0x2a0
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [0x1014d41c]
lea ecx, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
push 4
push str.Home
call fcn.1000d480
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.1006bbe0
mov byte [ebp - 4], 4
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], esp
mov ecx, esp
mov dword [edi], vtable.c_tab.0
mov dword [edi + 0xc], esi
push eax
mov dword [edi + 0x298], 0
call fcn.1000b850
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.10040eb0
mov dword [edi + 0x29c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.1000b6f0
jmp 0x1006c220
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1014d41c]
push edi
call fcn.1003ff40
push 0x2c4
call fcn.100a9e1b
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x1006c319
push 0x2c4
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [0x1014d41c]
lea ecx, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
push 5
push str.Login
call fcn.1000d480
mov byte [ebp - 4], 7
mov ecx, edi
call fcn.1006bbe0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x2b0]
mov dword [edi], vtable.c_child.0
call fcn.100a2e50
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1000b850
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.10040eb0
mov dword [edi + 0xc], esi
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov byte [edi + 0x2c0], 1
mov dword [edi + 0x298], 0
mov dword [edi + 0x2a0], 0
mov dword [edi + 0x29c], 0
mov byte [edi + 0x2ac], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.1000b6f0
jmp 0x1006c31b
xor edi, edi
mov dword [ebp - 4], 0xffffffff
sub esp, 8
mov ecx, esp
sub esp, 8
mov dword [esp + 4], 0x43200000
mov dword [esp], 0x43820000
call fcn.100a2e30
mov ecx, edi
call fcn.10040e90
sub esp, 8
mov ecx, esp
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.100a2e30
mov ecx, edi
call fcn.10040e70
push 0x40
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xa
test esi, esi
je 0x1006c41c
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x3c]
movups xmmword [ebp - 0x3c], xmm0
push 0
push 0x1011f74f
call fcn.1000d480
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x10]
mov dword [esi], vtable.c_input_text.0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
push eax
call fcn.100169f0
mov dword [esi + 0x3c], 0x1014d420
mov byte [esi + 0x38], 0
mov word [esi + 0x30], 0
mov dword [esi + 8], 0xb
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c]
call fcn.1000b6f0
jmp 0x1006c41e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push esi
call fcn.1003ff00
push 0x3c
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xd
test esi, esi
je 0x1006c496
push 0x3c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
push 0
push 0x1006b9c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 5
movups xmmword [ecx], xmm0
push str.Login
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.1006ba80
jmp 0x1006c498
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
push 0x3c
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xf
test esi, esi
je 0x1006c510
push 0x3c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
push 0
push 0x1006ba20
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 3
movups xmmword [ecx], xmm0
push 0x10110b50
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.1006ba80
jmp 0x1006c512
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
push 0x3c
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x11
test esi, esi
je 0x1006c58a
push 0x3c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
push 0
push 0x1006ba30
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 6
movups xmmword [ecx], xmm0
push str.Unload
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
mov ecx, esi
call fcn.1006ba80
jmp 0x1006c58c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
push 0x38
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x13
test esi, esi
je 0x1006c60a
push 0x38
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0xffffffff
xorps xmm0, xmm0
push dword [ebp - 0x10]
push 0x1006ba40
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x15
movups xmmword [ecx], xmm0
push str._connected_to_server
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x13
mov ecx, esi
call fcn.1006bb30
jmp 0x1006c60c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
push 0x38
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x15
test esi, esi
je 0x1006c68a
push 0x38
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0xff14ff00
xorps xmm0, xmm0
push dword [ebp - 0x10]
push 0x1006ba50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xb
movups xmmword [ecx], xmm0
push str._logged_in
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.1006bb30
jmp 0x1006c68c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
push 0x38
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x17
test esi, esi
je 0x1006c70a
push 0x38
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0xff14ff00
xorps xmm0, xmm0
push dword [ebp - 0x10]
push 0x1006ba60
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x11
movups xmmword [ecx], xmm0
push str._login_validated
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.1006bb30
jmp 0x1006c70c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
push 0x38
call fcn.100a9e1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x19
test esi, esi
je 0x1006c78a
push 0x38
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0xff0000ff
xorps xmm0, xmm0
push dword [ebp - 0x10]
push 0x1006ba70
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xe
movups xmmword [ecx], xmm0
push str._login_failed
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d480
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.1006bb30
jmp 0x1006c78c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003ff00
mov ecx, edi
call fcn.10039f70
mov ecx, dword [0x1014d41c]
push edi
call fcn.1003ff00
mov ecx, dword [0x1014d41c]
push 0
call fcn.10040e40
push ecx
mov ecx, dword [0x1014d41c]
mov dword [esp], 0x42c80000
call fcn.10040f10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.10049750
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [0x1010b544]
movss dword [ebp - 0x10], xmm0
call fcn.10049750
movss xmm0, dword [eax + 8]
lea eax, [ebp - 0x24]
subss xmm0, dword [0x1010b544]
push eax
lea eax, [ebp - 0x1c]
push 0
push eax
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x18], xmm0
call fcn.100531c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [eax + 1], 1
call fcn.10049750
movss xmm0, dword [eax + 0xdc]
movss dword [0x1014d47c], xmm0
call fcn.10049750
movss xmm0, dword [eax + 0xe0]
mov eax, dword [0x1014d478]
movss dword [0x1014d480], xmm0
cmp byte [eax + 2], 0
je 0x1006c924
call fcn.10049380
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
movd xmm1, dword [ebp - 0x10]
mov edi, eax
punpcklbw xmm1, xmm0
lea eax, [ebp - 0x34]
punpcklwd xmm1, xmm0
cvtdq2ps xmm0, xmm1
push eax
mulps xmm0, xmmword [0x10108b00]
movups xmmword [ebp - 0x34], xmm0
call fcn.100478f0
add esp, 4
mov esi, eax
call fcn.10049750
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x10], xmm0
call fcn.10049750
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
movss xmm0, dword [eax + 8]
lea eax, [ebp - 0x24]
push esi
push eax
movss dword [ebp - 0x24], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 0x10]
push eax
movss dword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10058c70
mov ecx, dword [0x1014d41c]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x1014d41c]
mov eax, dword [eax + 0x288]
test eax, eax
je 0x1006c91a
cmp dword [eax + 8], 0xb
jne 0x1006c91a
push 1
call fcn.10053150
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret