Function at 0x18009c7b4
Capabilities:
Access peb ldr_data
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x138
movaps xmmword [rax - 0x58], xmm6
lea r8, [0x180044ec8]
movaps xmmword [rax - 0x68], xmm7
mov r15, rcx
movaps xmmword [rax - 0x78], xmm8
xor edx, edx
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
mov rax, qword [0x1802c6060]
mov rax, qword [rax + 0x40c8]
mov rcx, qword [rax]
call fcn.1800aad0c
mov rcx, r15
mov qword [rsp + 0x70], rax
mov r13, rax
call fcn.1800996e0
mov rcx, r15
call fcn.180099714
movsd xmm0, qword [r15 + 0x140]
mov rcx, r15
movsd qword [rbp + 0x90], xmm0
call fcn.18009a860
movss xmm10, dword [0x1800464c4]
lea rbx, [0x180044d58]
mov rdx, rbx
movss dword [rsp + 0x20], xmm10
xor r9d, r9d
lea rcx, [rbp + 0x88]
xor r8d, r8d
movaps xmm13, xmm0
call fcn.1800ae1bc
xor r9d, r9d
movss dword [rsp + 0x20], xmm10
xor r8d, r8d
lea rcx, [rbp + 0x88]
mov rdx, rbx
movss xmm9, dword [rax + 4]
cvtps2pd xmm9, xmm9
mulsd xmm9, qword [0x180046308]
call fcn.1800ae1bc
movss xmm11, dword [rbp + 0x90]
lea rdx, [rbp + 0x88]
movss xmm12, dword [rbp + 0x94]
lea rcx, [rsp + 0x50]
movaps xmm6, xmm11
movaps xmm1, xmm11
addss xmm12, dword [rax + 4]
addss xmm6, xmm13
xor r8d, r8d
cvtpd2ps xmm14, xmm9
addss xmm12, dword [r15 + 0xf8]
movaps xmm0, xmm6
movaps xmm8, xmm14
unpcklps xmm1, xmm12
addss xmm8, xmm12
movsd qword [rbp + 0x98], xmm1
movsd qword [rsp + 0x50], xmm1
unpcklps xmm0, xmm8
movsd qword [rbp + 0x88], xmm0
call fcn.1800b3000
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
xorps xmm1, xmm1
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rbx
mov r12b, al
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
call fcn.180052b60
lea rdx, [rsp + 0x50]
call fcn.180099b60
mov edx, dword [0x1802c570c]
mov r14d, eax
mov rcx, qword gs:[0x58]
mov edi, 0x28
mov esi, 4
mov rbx, qword [rcx + rdx*8]
mov ecx, dword [rbx + rsi]
cmp dword [0x1802ec8f0], ecx
jg 0x18009d296
mov eax, dword [rbx + rsi]
cmp dword [0x1802ec14c], eax
jg 0x18009d2ec
mov eax, dword [rbx + rsi]
cmp dword [0x1802ec048], eax
jg 0x18009d342
mov rcx, qword [0x1802ec120]
xor r8d, r8d
mov rbx, rcx
mov rax, qword [rcx + 8]
jmp 0x18009c9dd
cmp dword [rax + 0x1c], r14d
jae 0x18009c9d7
mov rax, qword [rax + 0x10]
jmp 0x18009c9dd
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x18009c9cb
cmp byte [rbx + 0x19], r8b
jne 0x18009c9ef
cmp r14d, dword [rbx + 0x1c]
jae 0x18009c9f2
mov rbx, rcx
cmp rbx, rcx
jne 0x18009ca57
mov byte [rbp + 0x8c], r8b
lea rdx, [rsp + 0x50]
lea r8, [rbp + 0x88]
mov dword [rbp + 0x88], r14d
lea rcx, [0x1802ec120]
call fcn.1800a505c
mov rcx, qword [0x1802ec120]
xor r8d, r8d
mov rbx, rcx
mov rax, qword [rcx + 8]
jmp 0x18009ca42
cmp dword [rax + 0x1c], r14d
jae 0x18009ca3c
mov rax, qword [rax + 0x10]
jmp 0x18009ca42
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x18009ca30
cmp byte [rbx + 0x19], r8b
jne 0x18009ca54
cmp r14d, dword [rbx + 0x1c]
jae 0x18009ca57
mov rbx, rcx
mov rcx, qword [0x1802ebb00]
mov rsi, rcx
mov rax, qword [rcx + 8]
jmp 0x18009ca79
cmp dword [rax + 0x1c], r14d
jae 0x18009ca73
mov rax, qword [rax + 0x10]
jmp 0x18009ca79
mov rsi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x18009ca67
cmp byte [rsi + 0x19], r8b
jne 0x18009ca8b
cmp r14d, dword [rsi + 0x1c]
jae 0x18009ca8e
mov rsi, rcx
cmp rsi, rcx
jne 0x18009caf3
mov dword [rbp + 0x8c], r8d
lea rdx, [rsp + 0x50]
lea r8, [rbp + 0x88]
mov dword [rbp + 0x88], r14d
lea rcx, [0x1802ebb00]
call fcn.1800a505c
mov rcx, qword [0x1802ebb00]
xor r8d, r8d
mov rsi, rcx
mov rax, qword [rcx + 8]
jmp 0x18009cade
cmp dword [rax + 0x1c], r14d
jae 0x18009cad8
mov rax, qword [rax + 0x10]
jmp 0x18009cade
mov rsi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x18009cacc
cmp byte [rsi + 0x19], r8b
jne 0x18009caf0
cmp r14d, dword [rsi + 0x1c]
jae 0x18009caf3
mov rsi, rcx
mov rcx, qword [0x1802ec350]
mov rdi, rcx
mov rax, qword [rcx + 8]
jmp 0x18009cb15
cmp dword [rax + 0x1c], r14d
jae 0x18009cb0f
mov rax, qword [rax + 0x10]
jmp 0x18009cb15
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x18009cb03
cmp byte [rdi + 0x19], r8b
jne 0x18009cb27
cmp r14d, dword [rdi + 0x1c]
jae 0x18009cb2a
mov rdi, rcx
cmp rdi, rcx
jne 0x18009cb8f
mov dword [rbp + 0x8c], r8d
lea rdx, [rsp + 0x50]
lea r8, [rbp + 0x88]
mov dword [rbp + 0x88], r14d
lea rcx, [0x1802ec350]
call fcn.1800a505c
mov rcx, qword [0x1802ec350]
xor r8d, r8d
mov rdi, rcx
mov rax, qword [rcx + 8]
jmp 0x18009cb7a
cmp dword [rax + 0x1c], r14d
jae 0x18009cb74
mov rax, qword [rax + 0x10]
jmp 0x18009cb7a
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x18009cb68
cmp byte [rdi + 0x19], r8b
jne 0x18009cb8c
cmp r14d, dword [rdi + 0x1c]
jae 0x18009cb8f
mov rdi, rcx
mov rax, qword [0x1802c6060]
test r12b, r12b
je 0x18009cbb3
cmp byte [rax + 0x3738], r8b
je 0x18009cbc9
cmp byte [r15 + 0x17d], r8b
je 0x18009cbc9
mov byte [rbx + 0x20], 1
jmp 0x18009cbc9
cmp byte [rax + 0x3738], r8b
je 0x18009cbc9
cmp byte [r15 + 0x17d], r8b
je 0x18009cbc9
mov byte [rbx + 0x20], r8b
inc dword [rsi + 0x20]
mov eax, 0x51eb851f
imul dword [rsi + 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x32
cmp dword [rsi + 0x20], eax
jne 0x18009cbf3
cmp dword [rdi + 0x20], r8d
mov eax, r8d
sete al
mov dword [rdi + 0x20], eax
mov rcx, r15
call fcn.1800a9480
mov qword [rsp + 0x40], r8
lea rcx, [0x180044d58]
xorps xmm7, xmm7
lea r9, [rbp + 0x90]
movss dword [rsp + 0x38], xmm7
xorps xmm2, xmm2
mov qword [rsp + 0x30], r8
xor edx, edx
mov qword [rsp + 0x28], rcx
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.1800bde54
xor esi, esi
cmp byte [rbx + 0x20], sil
je 0x18009cc44
movups xmm0, xmmword [r15 + 0xd0]
jmp 0x18009cc5b
test r12b, r12b
je 0x18009cc53
movups xmm0, xmmword [r15 + 0xc0]
jmp 0x18009cc5b
movups xmm0, xmmword [r15 + 0xb0]
lea rcx, [rsp + 0x50]
movss dword [rbp + 0x90], xmm6
movss dword [rbp + 0x94], xmm8
movdqu xmmword [rsp + 0x50], xmm0
call fcn.1800a9480
mov r9d, eax
mov dword [rsp + 0x28], esi
lea rdx, [rbp + 0x98]
movss dword [rsp + 0x20], xmm7
lea r8, [rbp + 0x90]
mov rcx, r13
call fcn.1800bdb58
lea rcx, [r15 + 0x90]
call fcn.1800a9480
movss dword [rbp + 0x90], xmm6
lea r8, [rbp + 0x90]
movss xmm6, dword [0x180046294]
lea rdx, [rbp + 0x98]
movss dword [rsp + 0x30], xmm6
mov r9d, eax
mov dword [rsp + 0x28], esi
mov rcx, r13
movss dword [rsp + 0x20], xmm7
movss dword [rbp + 0x94], xmm8
call fcn.1800bda58
cmp qword [0x1802936d0], 0xf
lea r14, [0x1802936b8]
mov rdx, r14
movss dword [rsp + 0x20], xmm10
cmova rdx, qword [0x1802936b8]
lea rcx, [rbp + 0x90]
xor r9d, r9d
xor r8d, r8d
call fcn.1800ae1bc
movaps xmm2, xmm12
addss xmm2, dword [0x180046368]
movss xmm1, dword [rax]
addss xmm1, dword [0x180046378]
movss dword [rbp + 0x8c], xmm2
addss xmm1, xmm11
movss dword [rbp + 0x88], xmm1
cmp byte [rbx + 0x20], sil
je 0x18009cdec
mov eax, dword [rdi + 0x20]
addss xmm1, xmm6
neg eax
mov dword [rsp + 0x50], 0x3f800000
mov dword [rsp + 0x54], 0x3f800000
sbb ecx, ecx
mov dword [rsp + 0x58], 0x3f800000
movzx ecx, cl
movss dword [rbp + 0x90], xmm1
xorps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x50]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1800461a0]
movss dword [rsp + 0x5c], xmm0
movaps xmm0, xmm9
subsd xmm0, qword [0x180046338]
cvtsd2ss xmm1, xmm0
addss xmm1, xmm2
movss dword [rbp + 0x94], xmm1
call fcn.1800a9480
movss dword [rsp + 0x30], xmm6
lea rdx, [rbp + 0x88]
mov r9d, eax
mov dword [rsp + 0x28], esi
lea r8, [rbp + 0x90]
movss dword [rsp + 0x20], xmm7
mov rcx, r13
call fcn.1800bda58
lea r12, [0x18003ef10]
mov r15d, esi
lea rdi, [0x180025aa0]
mov qword [rbp + 0x90], r12
sub rdi, r12
mov qword [rbp + 0x88], rdi
lea eax, [r15 - 0x30]
cmp eax, 0x2a
jbe 0x18009ce24
cmp r15d, 0xbe
jne 0x18009cf3b
cmp qword [0x1802936d0], 0xf
lea rcx, [rbp + 0x98]
mov rdx, r14
movss dword [rsp + 0x20], xmm10
cmova rdx, qword [0x1802936b8]
xor r9d, r9d
xor r8d, r8d
call fcn.1800ae1bc
movaps xmm0, xmm13
mov ecx, socket
subss xmm0, dword [0x180046388]
comiss xmm0, dword [rax]
seta r13b
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x18009ce83
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18009ce86
mov sil, 1
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r10d, 1
test r10b, al
je 0x18009cf0b
mov rdi, qword [0x1802936c8]
test rdi, rdi
je 0x18009cf04
xor esi, esi
cmp byte [rbx + 0x20], sil
je 0x18009cf3b
lea r9, [rdi - 1]
cmp rdi, r9
jb 0x18009d290
mov rax, rdi
mov edx, r10d
sub rax, r9
mov rcx, r14
cmp rax, r10
cmovb rdx, rax
cmp qword [0x1802936d0], 0xf
cmova rcx, qword [0x1802936b8]
sub rdi, rdx
add rcx, r9
mov r8, rdi
sub r8, r9
add rdx, rcx
add r8, r10
call sub.VCRUNTIME140.dll_memmove
mov qword [0x1802936c8], rdi
jmp 0x18009cf3b
mov rdi, qword [rbp + 0x88]
mov ecx, 0xbd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18009cf6b
cmp byte [rbx + 0x20], 0
je 0x18009cf39
test r13b, r13b
je 0x18009cf39
mov rcx, r14
test sil, sil
je 0x18009cf62
lea rdx, [0x180044878]
call fcn.1800a34bc
xor esi, esi
add r12, 8
inc r15d
mov qword [rbp + 0x90], r12
cmp r15d, 0xff
jge 0x18009d119
mov rdi, qword [rbp + 0x88]
jmp 0x18009ce0e
lea rdx, [0x180043ee4]
jmp 0x18009cf34
mov ecx, 0xbe
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18009cf90
xor esi, esi
cmp byte [rbx + 0x20], sil
je 0x18009cf3b
test r13b, r13b
je 0x18009cf3b
lea rdx, [0x180043ee0]
jmp 0x18009cfb3
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18009cfc0
xor esi, esi
cmp byte [rbx + 0x20], sil
je 0x18009cf3b
test r13b, r13b
je 0x18009cf3b
lea rdx, [0x180043fb8]
mov rcx, r14
call fcn.1800a34bc
jmp 0x18009cf3b
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18009cf39
mov rdx, qword [r12]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x70], rax
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], al
jne 0x18009cfeb
lea rcx, [rsp + 0x78]
call fcn.180052b60
test sil, sil
je 0x18009d0b6
lea eax, [r15 - 0x30]
cmp eax, 9
ja 0x18009d063
mov r9, qword [rdi + r12 - 0x180]
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [r9 + rsi], 0
jne 0x18009d01c
cmp rsi, qword [rbp - 0x70]
ja 0x18009d054
cmp qword [rbp - 0x70], 0xf
lea rdi, [rsp + 0x78]
mov r8, rsi
mov qword [rbp - 0x78], rsi
cmova rdi, qword [rsp + 0x78]
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x18009d0b6
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.1800a56c0
jmp 0x18009d0b6
cmp qword [rbp - 0x70], 0xf
lea rcx, [rsp + 0x78]
mov rdx, qword [rsp + 0x78]
lea r12, [rsp + 0x78]
mov rdi, qword [rbp - 0x78]
lea rsi, [rsp + 0x78]
cmova rcx, rdx
cmova r12, rdx
add rdi, rcx
cmp qword [rbp - 0x70], 0xf
cmova rsi, rdx
cmp rsi, rdi
je 0x18009d0af
sub r12, rsi
mov cl, byte [rsi]
call fcn.180098f74
mov byte [rsi + r12], al
inc rsi
cmp rsi, rdi
jne 0x18009d09c
mov r12, qword [rbp + 0x90]
xor esi, esi
cmp byte [rbx + 0x20], sil
je 0x18009d0d0
test r13b, r13b
je 0x18009d0d0
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1800527a8
mov r8, qword [rbp - 0x70]
cmp r8, 0xf
jbe 0x18009cf3b
mov rcx, qword [rsp + 0x78]
lea rdx, [r8 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d108
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009d112
call fcn.1800c8a0c
jmp 0x18009cf3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [0x1802936d0], 0xf
mov rdi, r14
mov rsi, qword [rbp + 0x80]
cmova rdi, qword [0x1802936b8]
mov rcx, rsi
call fcn.1800a9480
cmp qword [0x1802936d0], 0xf
lea rcx, [rbp + 0x90]
mulsd xmm9, qword [0x1800462e0]
mov ebx, eax
cmova r14, qword [0x1802936b8]
xor r9d, r9d
addss xmm11, dword [0x18004636c]
mov rdx, r14
movss dword [rsp + 0x20], xmm10
xor r8d, r8d
subsd xmm9, qword [0x1800462f8]
movss dword [rbp + 0x80], xmm11
call fcn.1800ae1bc
and qword [rsp + 0x40], 0
lea r9, [rbp + 0x80]
mov rcx, qword [rsp + 0x70]
xorps xmm1, xmm1
movss dword [rsp + 0x38], xmm7
movaps xmm2, xmm7
movss xmm0, dword [rax + 4]
xor edx, edx
mulss xmm0, dword [0x18004623c]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
cvtps2pd xmm0, xmm0
subsd xmm9, xmm0
cvtsd2ss xmm1, xmm9
addss xmm1, xmm12
movss dword [rbp + 0x84], xmm1
call fcn.1800bde54
xor r9d, r9d
movss dword [rsp + 0x20], xmm10
xor r8d, r8d
lea rdx, [0x180044d58]
lea rcx, [rbp + 0x80]
call fcn.1800ae1bc
movss xmm3, dword [rsi + 0xf8]
lea r11, [rsp + 0x138]
movss xmm2, dword [rsi + 0x140]
movaps xmm0, xmm3
movaps xmm6, xmmword [r11 - 0x18]
addss xmm0, xmm14
movss xmm1, dword [rax + 4]
addss xmm1, dword [rsi + 0x144]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
addss xmm0, xmm1
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movss dword [rsi + 0x140], xmm2
addss xmm3, xmm0
movss dword [rsi + 0x144], xmm3
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180052b14
int3
lea rcx, [0x1802ec8f0]
call fcn.1800c8ab4
cmp dword [0x1802ec8f0], 0xffffffff
jne 0x18009c99a
mov rcx, rdi
call fcn.1800c89d0
lea rcx, [0x1801353e4]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1802ec120], rax
call fcn.1800c8e84
lea rcx, [0x1802ec8f0]
call fcn.1800c8a48
jmp 0x18009c99a
lea rcx, [0x1802ec14c]
call fcn.1800c8ab4
cmp dword [0x1802ec14c], 0xffffffff
jne 0x18009c9a9
mov rcx, rdi
call fcn.1800c89d0
lea rcx, [0x180135388]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1802ebb00], rax
call fcn.1800c8e84
lea rcx, [0x1802ec14c]
call fcn.1800c8a48
jmp 0x18009c9a9
lea rcx, [0x1802ec048]
call fcn.1800c8ab4
cmp dword [0x1802ec048], 0xffffffff
jne 0x18009c9b8
mov rcx, rdi
call fcn.1800c89d0
lea rcx, [0x18013532c]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1802ec350], rax
call fcn.1800c8e84
lea rcx, [0x1802ec048]
call fcn.1800c8a48
jmp 0x18009c9b8