Function at 0x14005af6c
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm13
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x48], r12d
lea edi, [r12 + 0x40]
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
xorps xmm10, xmm10
and dword [rbp + 0x130], r12d
mov qword [rbp + 0x138], r12
mov qword [rbp + 0x140], r12
lea ecx, [rdi - 0x28]
call fcn.14005ea30
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x148], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x150], xmm0
mov qword [rbp + 0x160], 7
mov qword [rbp + 0x168], 8
movss xmm0, dword [0x1400ae12c]
movss dword [rbp + 0x130], xmm0
mov r8, rax
lea edx, [rdi - 0x30]
lea rcx, [rbp + 0x148]
call fcn.14005cac4
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
mov qword [rbp + 0xc8], r12
mov eax, 0x7fffffff
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], eax
mov rcx, qword [0x1400b9510]
add rcx, 0x2373a08
call fcn.14005cbf8
lea rcx, [rax + 0x1520]
call fcn.14005cc44
movsxd rbx, eax
mov rdx, qword [0x1400b9510]
add rdx, 0x252f680
mov qword [rsp + 0x20], r12
mov r9d, edi
lea r8, [rbp + 0x10]
mov rcx, qword [0x1400b9538]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x180], xmm1
movups xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x1a0], xmm1
mov rcx, qword [0x1400b8358]
cmp byte [0x1400b925c], r12b
je 0x14005b104
lea edx, [rdi - 0x2f]
jmp 0x14005b106
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
lea rcx, [0x1400b9450]
call fcn.14005c6c8
lea rcx, [0x1400b9490]
call fcn.14005c6c8
movss xmm0, dword [rbp + 0x28]
movss dword [0x1400b93b4], xmm0
test ebx, ebx
jle 0x14005c244
mov rax, qword [0x1400b94d8]
cmp qword [0x1400b94d0], rax
cmovne rax, qword [0x1400b94d0]
mov qword [0x1400b94d8], rax
mov esi, 1
mov edi, esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x10], rbx
mov r13d, dword [rsp + 0x44]
cmp rbx, rsi
jb 0x14005c18d
movss xmm13, dword [0x1400ae1e0]
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x78], eax
mov ecx, dword [rsp + 0x44]
mov dword [rbp - 0x70], ecx
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x74], eax
mov rcx, qword [0x1400b9510]
add rcx, 0x2373a08
call fcn.14005cbf8
movsxd rbx, edi
mov rcx, rbx
sar rcx, 9
and ecx, 0x3f
add rax, 0x10
lea rcx, [rax + rcx*8]
call fcn.14005cbf8
mov rcx, rax
test rax, rax
jne 0x14005b1d2
mov qword [rbp + 0x80], r12
jmp 0x14005c077
and ebx, 0x1ff
imul rax, rbx, 0x78
add rcx, rax
call fcn.14005cbf8
mov qword [rbp + 0x80], rax
test rax, rax
je 0x14005c077
lea r8, [rbp + 0x80]
lea rdx, [rbp]
lea rcx, [rbp + 0x130]
call fcn.14005cd28
cmp byte [rbp + 8], r12b
je 0x14005c077
mov r14, qword [rbp + 0x80]
lea rcx, [r14 + 0x10]
call fcn.14005cbf8
or r15d, esi
test rax, rax
jne 0x14005b25d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
xor r8d, r8d
lea rdx, [0x140063be3]
lea rcx, [rbp + 0xd0]
call fcn.1400116fc
jmp 0x14005b276
lea rcx, [rax + 0x20]
call fcn.14005cbf8
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.14005a684
nop
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
setae bl
mov byte [rsp + 0x40], bl
mov rdi, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rdi
cmovae rcx, rdi
mov r12, qword [rbp + 0xe0]
cmp r12, 0x19
jne 0x14005b4eb
mov r8, r12
lea rdx, str.citadel_player_controller
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005b4eb
mov eax, dword [0x1400b93a8]
add eax, esi
mov dword [0x1400b93a8], eax
add dword [0x1400b93ac], esi
test eax, eax
jle 0x14005b4eb
mov rcx, qword [0x1400b9510]
add rcx, 0x251e448
call fcn.14005cbf8
xor r12d, r12d
movzx esi, r12b
cmp r14, rax
lea eax, [r12 + 1]
cmove esi, eax
mov dword [rsp + 0x44], esi
mov rdx, r14
lea rcx, [rbp + 0x1b0]
call fcn.14005a714
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
lea ebx, [r12 + 0xf]
mov qword [rbp + 0xa8], rbx
mov byte [rbp + 0x90], r12b
or r15d, 2
mov dword [rsp + 0x48], r15d
mov edi, r12d
lea esi, [rbx - 0xe]
lea rdx, [r14 + 0x640]
add rdx, rdi
mov qword [rsp + 0x20], r12
mov r9, rsi
lea r8, [rbp + 0x88]
mov rcx, qword [0x1400b9538]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov cl, byte [rbp + 0x88]
test cl, cl
je 0x14005b3ce
mov rdx, qword [rbp + 0xa0]
cmp rdx, rbx
jae 0x14005b3b2
lea rax, [rdx + 1]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x90]
cmp rbx, 0x10
cmovae rax, qword [rbp + 0x90]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], r12b
jmp 0x14005b3c1
mov r9b, cl
lea rcx, [rbp + 0x90]
call fcn.140015238
mov cl, byte [rbp + 0x88]
mov rbx, qword [rbp + 0xa8]
add rdi, rsi
test cl, cl
je 0x14005b3e2
cmp rdi, 0x100
jb 0x14005b34e
mov eax, dword [0x1400b93ac]
mov dword [rsp + 0x50], eax
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.14000a5a8
mov esi, dword [rsp + 0x44]
mov byte [rsp + 0x78], sil
mov rdx, qword [rbp + 0xc0]
cmp rdx, qword [rbp + 0xc8]
mov r12, qword [rbp + 0xe0]
je 0x14005b44c
mov eax, dword [rsp + 0x50]
mov dword [rdx], eax
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdx + 0x18], xmm1
lea eax, [rcx + 0xf]
mov byte [rsp + 0x58], cl
mov byte [rdx + 0x28], sil
add qword [rbp + 0xc0], 0x30
jmp 0x14005b462
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0xb8]
call fcn.14005d998
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14005b49b
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b496
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c163
call fcn.14005ed94
and r15d, 0xfffffffd
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14005b4e0
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b4db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c16a
call fcn.14005ed94
mov bl, byte [rsp + 0x40]
mov rdi, qword [rbp + 0x80]
lea rcx, [rbp + 0xd0]
xor esi, esi
test bl, bl
cmovne rcx, rdi
cmp r12, 6
jne 0x14005bbb3
mov r8, r12
lea rdx, str.player
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005bbb3
xor eax, eax
mov byte [rsp + 0x41], al
mov rdi, qword [rbp + 0xb8]
mov qword [rbp - 0x60], rdi
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x50], rax
cmp rdi, rax
je 0x14005bbaa
lea rax, [r14 + 0x43c]
mov rcx, rax
call fcn.14005ccdc
movzx eax, al
cmp dword [rdi], eax
jne 0x14005bb8d
lea rax, [rdi + 8]
mov qword [rbp - 8], rax
xor ecx, ecx
cmp byte [rax + 0x20], cl
je 0x14005b5c8
lea rcx, [r14 + 0x3ef]
call fcn.14005ccdc
movzx eax, al
mov qword [0x1400b93b8], rax
mov eax, 1
mov sil, al
mov byte [rsp + 0x41], al
mov rdx, r14
lea rcx, [rbp + 0x50]
call fcn.14005a714
movsd xmm0, qword [rax]
movsd qword [0x1400b9440], xmm0
mov eax, dword [rax + 8]
mov dword [0x1400b9448], eax
movss xmm1, dword [rbp + 0x44]
movss xmm0, dword [rbp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss dword [0x1400b93b0], xmm0
jmp 0x14005bb8d
mov rdx, r14
lea rcx, [rbp + 0xf0]
call fcn.14005a714
lea rcx, [r14 + 0x408]
call fcn.14005cc90
movaps xmm7, xmm0
lea rcx, [r14 + 0x40c]
call fcn.14005cc90
movaps xmm8, xmm0
lea rcx, [r14 + 0x410]
call fcn.14005cc90
movaps xmm9, xmm0
lea rcx, [r14 + 0x350]
call fcn.14005cc44
mov ebx, eax
lea rcx, [r14 + 0x3ef]
call fcn.14005ccdc
movzx ecx, al
cmp ebx, 0x100
jne 0x14005bb8d
xor eax, eax
test sil, sil
jne 0x14005bb8d
movzx eax, al
cmp qword [0x1400b93b8], rcx
mov ecx, 1
cmove eax, ecx
mov dword [rsp + 0x48], eax
lea rcx, [r14 + 0x34c]
call fcn.14005cc44
mov dword [rsp + 0x44], eax
lea rcx, [r14 + 0x348]
call fcn.14005cc44
lea rdx, [rbp + 0xf0]
call fcn.14005a75c
movaps xmm6, xmm0
lea rcx, [r14 + 0x328]
call fcn.14005cbf8
mov rdi, rax
movd xmm1, dword [0x1400b9410]
cvtdq2ps xmm1, xmm1
movd xmm3, dword [0x1400b9414]
cvtdq2ps xmm3, xmm3
movss dword [rsp + 0x20], xmm1
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x40]
call fcn.1400582b0
movaps xmm1, xmm6
divss xmm1, dword [0x1400b93b4]
movss xmm2, dword [0x1400ae254]
divss xmm2, xmm1
movss xmm0, dword [rbp - 0x3c]
addss xmm0, xmm2
movss dword [rbp - 0x3c], xmm0
lea rcx, [rdi + 0x210]
call fcn.14005cbf8
mov rcx, rax
call fcn.14005cbf8
mov rbx, rax
lea rcx, [rdi + 0x1f0]
call fcn.14005cbf8
mov rsi, rax
lea rcx, [rbx + 0x178]
call fcn.14005cc44
mov edi, eax
lea rcx, [rbx + 0x168]
call fcn.14005cbf8
movss dword [rbp - 0x20], xmm7
movss dword [rbp - 0x1c], xmm8
movss dword [rbp - 0x18], xmm9
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x170]
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.14005a7e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea ebx, [rdi + 4]
mov r8d, ebx
lea rdx, str.head
lea rcx, [rsp + 0x50]
call fcn.1400116fc
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x60]
call fcn.14005cf30
mov rcx, qword [rax]
movss xmm7, dword [rcx + 0x34]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rdi
mov r8d, ebx
lea rdx, str.head
lea rcx, [rbp + 0x90]
call fcn.1400116fc
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x70]
call fcn.14005cf30
mov rcx, qword [rax]
movss xmm8, dword [rcx + 0x30]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14005b81c
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b817
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c171
call fcn.14005ed94
mov qword [rbp + 0xa0], rdi
mov esi, 0xf
mov qword [rbp + 0xa8], rsi
mov byte [rbp + 0x90], dil
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14005b873
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b86e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c178
call fcn.14005ed94
movaps xmm1, xmm6
divss xmm1, dword [0x1400b93b4]
movss xmm0, dword [0x1400ae264]
divss xmm0, xmm1
subss xmm7, xmm0
mov rdx, qword [rbp - 8]
lea rcx, [rsp + 0x50]
call fcn.14000a5a8
movss dword [rsp + 0x30], xmm6
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x28], ecx
mov ebx, dword [rsp + 0x48]
mov byte [rsp + 0x20], bl
mov r9, rax
movaps xmm0, xmm8
unpcklps xmm0, xmm7
movq r8, xmm0
mov rdx, qword [rbp - 0x40]
call fcn.140059878
movsd xmm0, qword [rbp + 0xf0]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [rbp + 0xf8]
mov dword [rsp + 0x58], eax
movss dword [rsp + 0x5c], xmm6
mov byte [rsp + 0x60], bl
movsd xmm0, qword [0x1400b9440]
movsd qword [rsp + 0x64], xmm0
mov eax, dword [0x1400b9448]
mov dword [rsp + 0x6c], eax
movss xmm0, dword [0x1400b93b0]
movss dword [rsp + 0x70], xmm0
mov rdx, qword [0x1400b94d8]
cmp rdx, qword [0x1400b94e0]
je 0x14005b944
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov eax, dword [rsp + 0x70]
mov dword [rdx + 0x20], eax
add qword [0x1400b94d8], 0x24
jmp 0x14005b94e
lea r8, [rsp + 0x50]
call fcn.14005dbc0
test bl, bl
jne 0x14005bb84
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rdi
mov rcx, rsi
mov qword [rbp + 0xa8], rcx
mov byte [rbp + 0x90], dil
mov edx, dword [0x1400b9248]
test edx, edx
jne 0x14005b9a3
mov qword [rbp + 0xa0], 4
mov dword [rbp + 0x90], 0x64616568
mov byte [rbp + 0x94], dil
jmp 0x14005ba71
mov eax, 1
cmp edx, eax
jne 0x14005b9e4
mov qword [rbp + 0xa0], 7
mov eax, dword [str.spine_1]
mov dword [rbp + 0x90], eax
movzx eax, word [0x1400adf1c]
mov word [rbp + 0x94], ax
mov al, byte [0x1400adf1e]
mov byte [rbp + 0x96], al
mov byte [rbp + 0x97], dil
mov esi, 6
cmp edx, 2
jne 0x14005ba1f
lea rbx, [rbp + 0x90]
mov qword [rbp + 0xa0], rsi
mov r8d, esi
lea rdx, str.pelvis
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], dil
mov edx, dword [0x1400b9248]
mov rcx, qword [rbp + 0xa8]
cmp edx, 3
jne 0x14005ba71
cmp rcx, rsi
jb 0x14005ba5b
lea rbx, [rbp + 0x90]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0x90]
mov qword [rbp + 0xa0], rsi
mov r8, rsi
lea rdx, str.neck_0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], dil
jmp 0x14005ba71
lea r9, str.neck_0
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.1400157c0
lea rdx, [rbp + 0x90]
lea rdi, [0x1400b9490]
mov rcx, rdi
call fcn.14005c508
mov rcx, rax
mov eax, dword [0x1400b9414]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm1, dword [rcx]
subss xmm1, xmm0
cvttss2si ebx, xmm1
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.14005c508
mov rcx, rax
mov eax, dword [0x1400b9410]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm1, dword [rcx + 4]
subss xmm1, xmm0
cvttss2si eax, xmm1
imul eax, eax
imul ebx, ebx
add eax, ebx
cmp eax, dword [rbp - 0x80]
jge 0x14005bb43
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1400b80b4]
mulss xmm0, xmm0
comiss xmm0, xmm1
jb 0x14005bb43
divss xmm6, dword [0x1400ae1ec]
movss xmm0, dword [0x1400b8168]
comiss xmm0, xmm6
jbe 0x14005bb43
mov dword [rbp - 0x80], eax
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.14005c508
cvttss2si eax, dword [rax]
mov dword [rbp - 0x78], eax
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.14005c508
cvttss2si ecx, dword [rax + 4]
mov dword [rbp - 0x70], ecx
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14005bb84
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bb7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c17f
call fcn.14005ed94
mov rdi, qword [rbp - 0x60]
mov sil, byte [rsp + 0x41]
add rdi, 0x30
mov qword [rbp - 0x60], rdi
cmp rdi, qword [rbp - 0x50]
lea rax, [r14 + 0x43c]
jne 0x14005b547
mov bl, byte [rsp + 0x40]
xor esi, esi
mov rdi, qword [rbp + 0x80]
cmp byte [0x1400b925e], sil
jne 0x14005bbc9
cmp byte [0x1400b9253], sil
je 0x14005bd7c
lea rcx, [rbp + 0xd0]
test bl, bl
cmovne rcx, rdi
cmp r12, 7
jne 0x14005bd7c
mov r8, r12
lea rdx, str.item_xp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005bd7c
mov rdx, r14
lea rcx, [rbp + 0x100]
call fcn.14005a714
lea rdx, [rbp + 0x100]
call fcn.14005a75c
movaps xmm7, xmm0
lea rcx, [r14 + 0x30]
call fcn.14005cc44
mov esi, eax
lea rcx, [r14 + 0x30]
call fcn.14005ccdc
movzx ebx, al
lea rcx, [r14 + 0x4a0]
call fcn.14005ccdc
movzx eax, al
movaps xmm6, xmm7
divss xmm6, dword [0x1400ae1ec]
comiss xmm13, xmm6
jbe 0x14005bd7a
lea ecx, [r12 - 6]
cmp esi, ecx
jne 0x14005bd7a
cmp ebx, ecx
jne 0x14005bd7a
cmp eax, ecx
jne 0x14005bd7a
movd xmm0, dword [0x1400b9410]
cvtdq2ps xmm0, xmm0
movd xmm3, dword [0x1400b9414]
cvtdq2ps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x68]
call fcn.1400582b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea r8d, [r12 + 5]
lea rdx, str.orb123asdqwe
lea rcx, [rsp + 0x50]
call fcn.1400116fc
movss dword [rsp + 0x30], xmm7
xor eax, eax
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x50]
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movq r8, xmm0
mov rdx, qword [rbp - 0x68]
call fcn.140059878
mov eax, dword [0x1400b9414]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [rbp - 0x68]
subss xmm0, xmm1
cvttss2si ecx, xmm0
mov eax, dword [0x1400b9410]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [rbp - 0x64]
subss xmm0, xmm1
cvttss2si eax, xmm0
imul eax, eax
imul ecx, ecx
add eax, ecx
cmp eax, dword [rbp - 0x7c]
jge 0x14005bd7a
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1400b80b4]
mulss xmm0, xmm0
comiss xmm0, xmm1
jb 0x14005bd7a
movss xmm0, dword [0x1400b8168]
xor esi, esi
comiss xmm0, xmm6
jbe 0x14005bd7c
mov dword [rbp - 0x7c], eax
cvttss2si r13d, dword [rbp - 0x68]
cvttss2si eax, dword [rbp - 0x64]
mov dword [rbp - 0x74], eax
jmp 0x14005bd7c
xor esi, esi
cmp qword [0x1400b93b8], rsi
je 0x14005c02d
cmp byte [0x1400b9252], sil
je 0x14005c02d
lea rcx, [rbp + 0xd0]
mov al, byte [rsp + 0x40]
test al, al
cmovne rcx, rdi
cmp r12, 0xb
jne 0x14005bee0
mov r8, r12
lea rdx, str.npc_trooper
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005bedc
mov rdx, r14
lea rcx, [rbp + 0x110]
call fcn.14005a714
lea rcx, [r14 + 0x3ef]
call fcn.14005ccdc
movzx eax, al
mov qword [rbp - 0x50], rax
lea rcx, [r14 + 0x34c]
call fcn.14005cc44
mov esi, eax
lea ecx, [r12 - 0xa]
cmp eax, ecx
jle 0x14005beda
xor eax, eax
movzx ebx, al
mov rax, qword [rbp - 0x50]
cmp qword [0x1400b93b8], rax
cmove ebx, ecx
lea rdx, [rbp + 0x110]
call fcn.14005a75c
movaps xmm6, xmm0
movd xmm1, dword [0x1400b9410]
cvtdq2ps xmm1, xmm1
movd xmm3, dword [0x1400b9414]
cvtdq2ps xmm3, xmm3
movss dword [rsp + 0x20], xmm1
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x38]
call fcn.1400582b0
movaps xmm1, xmm6
divss xmm1, dword [0x1400b93b4]
movss xmm2, dword [0x1400ae270]
divss xmm2, xmm1
movss xmm3, dword [rbp - 0x34]
subss xmm3, xmm2
movss dword [rbp - 0x34], xmm3
xor eax, eax
cmp byte [0x1400b9259], al
je 0x14005beda
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea r8d, [r12 + 4]
lea rdx, str.Creepasdqw42134
lea rcx, [rsp + 0x50]
call fcn.1400116fc
movss dword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x50]
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movq r8, xmm0
mov rdx, qword [rbp - 0x38]
call fcn.140059878
xor esi, esi
mov al, byte [rsp + 0x40]
cmp byte [0x1400b924c], sil
je 0x14005c02d
lea rcx, [rbp + 0xd0]
test al, al
cmovne rcx, rdi
cmp r12, 0x13
jne 0x14005c02d
mov r8, r12
lea rdx, str.npc_trooper_neutral
call sub.VCRUNTIME140.dll_memcmp
xor r12d, r12d
test eax, eax
jne 0x14005c030
mov rdx, r14
lea rcx, [rbp + 0x120]
call fcn.14005a714
lea rcx, [r14 + 0x3ef]
call fcn.14005ccdc
movzx r12d, al
lea rcx, [r14 + 0x34c]
call fcn.14005cc44
mov esi, eax
mov ecx, 1
cmp eax, ecx
jle 0x14005c02d
xor eax, eax
movzx ebx, al
cmp qword [0x1400b93b8], r12
cmove ebx, ecx
lea rdx, [rbp + 0x120]
call fcn.14005a75c
movaps xmm6, xmm0
movd xmm1, dword [0x1400b9410]
cvtdq2ps xmm1, xmm1
movd xmm3, dword [0x1400b9414]
cvtdq2ps xmm3, xmm3
movss dword [rsp + 0x20], xmm1
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x30]
call fcn.1400582b0
movaps xmm1, xmm6
divss xmm1, dword [0x1400b93b4]
movss xmm2, dword [0x1400ae270]
divss xmm2, xmm1
movss xmm3, dword [rbp - 0x2c]
subss xmm3, xmm2
movss dword [rbp - 0x2c], xmm3
xor r12d, r12d
cmp byte [0x1400b9259], r12b
je 0x14005c030
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r8d, [r12 + 0x10]
lea rdx, str.Creepasdqw421341
lea rcx, [rsp + 0x50]
call fcn.1400116fc
movss dword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x50]
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movq r8, xmm0
mov rdx, qword [rbp - 0x30]
call fcn.140059878
jmp 0x14005c030
xor r12d, r12d
cmp byte [rsp + 0x40], r12b
je 0x14005c06e
mov rdx, qword [rbp + 0xe8]
inc rdx
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005c066
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c186
mov rcx, rdi
call fcn.14005ed94
mov esi, 1
mov rdi, qword [rbp - 0x58]
add rdi, rsi
mov qword [rbp - 0x58], rdi
cmp rdi, qword [rbp - 0x10]
jbe 0x14005b191
mov edi, dword [rbp - 0x78]
mov esi, dword [rbp - 0x74]
mov r14d, dword [rbp - 0x70]
mov dword [0x1400b93ac], r12d
mov dword [0x1400b93a8], r12d
lea rcx, [rbp + 0xb0]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [0x1400b925d], r12b
je 0x14005c19f
mov r8d, edi
sub r8d, dword [rbp + 0xb0]
mov ecx, dword [0x1400b9414]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp r8d, eax
jge 0x14005c1a5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
neg eax
cmp r8d, eax
jle 0x14005c1a5
movzx ecx, word [0x1400b81c0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14005c19f
sub edi, dword [rbp + 0xb0]
sub r14d, dword [rbp + 0xb4]
cmp byte [0x1400b924f], r12b
je 0x14005c142
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400b8118]
cvttss2si edi, xmm0
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400b8118]
cvttss2si r14d, xmm0
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, r14d
mov edx, edi
lea ebx, [r9 + 1]
mov ecx, ebx
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, dword [0x1400b9414]
jmp 0x14005c1aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x44]
jmp 0x14005c092
mov ecx, dword [0x1400b9414]
mov ebx, 1
cmp byte [0x1400b9253], r12b
je 0x14005c244
mov r8d, r13d
sub r8d, dword [rbp + 0xb0]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp r8d, eax
jge 0x14005c244
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
neg eax
cmp r8d, eax
jle 0x14005c244
movzx ecx, word [0x1400b81c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14005c244
sub r13d, dword [rbp + 0xb0]
sub esi, dword [rbp + 0xb4]
cmp byte [0x1400b924f], r12b
je 0x14005c22d
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400b8118]
cvttss2si r13d, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400b8118]
cvttss2si esi, xmm0
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, esi
mov edx, r13d
mov ecx, ebx
call qword [sym.imp.USER32.dll_mouse_event]
nop
lea rcx, [rbp + 0xb8]
call fcn.14005c3b4
nop
lea rcx, [rbp + 0x130]
call fcn.14005c2b4
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14005ea10
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm13, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret