Function at 0x1006a120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eeaa6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10122fc0]
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 0x1006a1a8
movd xmm0, dword [0x10124188]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
call fcn.10047790
movss xmm1, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x350]
divss xmm0, dword [0x100fb354]
mulss xmm0, dword [0x100fbc60]
comiss xmm1, xmm0
jb 0x1006a1a8
mov ecx, dword [0x101241c8]
cmp byte [ecx + 2], 0
sete al
xor esi, esi
mov byte [ecx + 2], al
mov dword [0x10124188], esi
jmp 0x1006a1ae
mov esi, dword [0x10124188]
call fcn.10047790
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x350]
divss xmm0, dword [0x100fb354]
mulss xmm0, dword [0x100fbc60]
comiss xmm0, xmm1
jbe 0x1006a1dd
inc dword [0x10124188]
mov ecx, dword [0x10124184]
test ecx, ecx
je 0x1006a1fc
call fcn.1003f1a0
mov ecx, dword [0x10124184]
call fcn.1003f110
jmp 0x1006a9ed
mov ecx, dword [0x10123f20]
lea eax, [ebp - 0x3c]
push eax
call fcn.1001d060
mov esi, eax
mov dword [ebp - 4], 0
cmp esi, 0x10120234
je 0x1006a24e
mov ecx, 0x10120234
call fcn.1000b330
movups xmm0, xmmword [esi]
movups xmmword [0x10120234], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x10120244], 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.1000b330
push 0x298
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x1006a293
push 0x298
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10069f20
jmp 0x1006a295
xor eax, eax
mov dword [ebp - 4], 0xffffffff
sub esp, 8
mov ecx, esp
mov dword [0x10124184], eax
sub esp, 8
mov dword [esp + 4], 0x43700000
mov dword [esp], 0x43910000
call fcn.10096000
mov ecx, dword [0x10124184]
call fcn.1003eed0
call fcn.10047790
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x100f8568]
subss xmm0, dword [0x10100344]
movss dword [ebp - 0x10], xmm0
call fcn.10047790
movss xmm1, dword [ebp - 0x10]
sub esp, 8
mov ecx, esp
sub esp, 8
movss xmm0, dword [eax + 8]
mulss xmm0, dword [0x100f8568]
movss dword [esp + 4], xmm1
subss xmm0, dword [0x100fb004]
movss dword [esp], xmm0
call fcn.10096000
mov ecx, dword [0x10124184]
call fcn.1003eeb0
push 0x2a0
call fcn.1009cfdb
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1006a3de
push 0x2a0
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [0x10124184]
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.1000d020
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.10069f20
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.1000b490
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.1003eef0
mov dword [edi + 0x29c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.1000b330
jmp 0x1006a3e0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x10124184]
push edi
call fcn.1003df80
push 0x2c4
call fcn.1009cfdb
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x1006a4d9
push 0x2c4
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov esi, dword [0x10124184]
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.1000d020
mov byte [ebp - 4], 7
mov ecx, edi
call fcn.10069f20
mov byte [ebp - 4], 8
lea ecx, [edi + 0x2b0]
mov dword [edi], vtable.c_child.0
call fcn.10096020
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1000b490
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.1003eef0
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.1000b330
jmp 0x1006a4db
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.10096000
mov ecx, edi
call fcn.1003eed0
sub esp, 8
mov ecx, esp
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.10096000
mov ecx, edi
call fcn.1003eeb0
push 0x40
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xa
test esi, esi
je 0x1006a5dc
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 0x1010e307
call fcn.1000d020
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.10017ba0
mov dword [esi + 0x3c], 0x10120234
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.1000b330
jmp 0x1006a5de
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push esi
call fcn.1003df40
push 0x3c
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xd
test esi, esi
je 0x1006a656
push 0x3c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
push 0
push 0x10069c90
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.1000d020
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov ecx, esi
call fcn.10069dc0
jmp 0x1006a658
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
push 0x3c
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xf
test esi, esi
je 0x1006a6d0
push 0x3c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
push 0
push 0x10069cf0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 3
movups xmmword [ecx], xmm0
push 0x101002f0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.1000d020
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.10069dc0
jmp 0x1006a6d2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
push 0x3c
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x11
test esi, esi
je 0x1006a74a
push 0x3c
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
push 0
push 0
push 0x10069d70
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.1000d020
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
mov ecx, esi
call fcn.10069dc0
jmp 0x1006a74c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
push 0x38
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x13
test esi, esi
je 0x1006a7ca
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 0x10069d80
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.1000d020
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x13
mov ecx, esi
call fcn.10069e70
jmp 0x1006a7cc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
push 0x38
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x15
test esi, esi
je 0x1006a84a
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 0x10069d90
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.1000d020
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x15
mov ecx, esi
call fcn.10069e70
jmp 0x1006a84c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
push 0x38
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x17
test esi, esi
je 0x1006a8ca
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 0x10069da0
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.1000d020
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.10069e70
jmp 0x1006a8cc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
push 0x38
call fcn.1009cfdb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0x19
test esi, esi
je 0x1006a94a
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 0x10069db0
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.1000d020
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.10069e70
jmp 0x1006a94c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.1003df40
mov ecx, edi
call fcn.10037f00
mov ecx, dword [0x10124184]
push edi
call fcn.1003df40
mov ecx, dword [0x10124184]
push 0
call fcn.1003ee80
push ecx
mov ecx, dword [0x10124184]
mov dword [esp], 0x42c80000
call fcn.1003ef50
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.10047790
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [0x100faf84]
movss dword [ebp - 0x10], xmm0
call fcn.10047790
movss xmm0, dword [eax + 8]
lea eax, [ebp - 0x24]
subss xmm0, dword [0x100faf84]
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.10051090
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [eax + 1], 1
call fcn.10047790
movss xmm0, dword [eax + 0xdc]
movss dword [0x101241cc], xmm0
call fcn.10047790
movss xmm0, dword [eax + 0xe0]
mov eax, dword [0x101241c8]
movss dword [0x101241d0], xmm0
cmp byte [eax + 2], 0
je 0x1006aae4
call fcn.100473c0
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0xb4000000
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 [0x100f8580]
movups xmmword [ebp - 0x34], xmm0
call fcn.10045930
add esp, 4
mov esi, eax
call fcn.10047790
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x10], xmm0
call fcn.10047790
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.10056b90
mov ecx, dword [0x10124184]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x10124184]
mov eax, dword [eax + 0x288]
test eax, eax
je 0x1006aada
cmp dword [eax + 8], 0xb
jne 0x1006aada
push 1
call fcn.10051020
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