Function at 0x180005980
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push r13
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rbx, qword [0x1800118f8]
mov r13d, 4
mov edx, r13d
lea rcx, [rbx + 0x376b6f0]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x18000671b
cmp dword [rbx + 0x376b6f0], eax
je 0x18000671b
mov rbx, qword [0x1800118f8]
lea edx, [rax + 8]
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xd0], r15
lea rcx, [rbx + 0x34fc88c]
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm9
movaps xmmword [rsp + 0x80], xmm10
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005a4e
mov ecx, dword [rbx + 0x34fc88c]
cmp ecx, 0x31
ja 0x180005a39
movabs rdx, 0x2821000000010
bt rdx, rcx
jae 0x180005a39
lea r12d, [r13 + 0xc]
jmp 0x180005a54
cmp ecx, 0x13
ja 0x180005a4e
mov eax, 0xa5020
mov r12d, 0x1e
bt eax, ecx
jb 0x180005a54
mov r12d, 8
mov rbx, qword [0x1800118f8]
mov edx, 8
lea rcx, [rbx + 0x34fb2e8]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005a7a
mov rax, qword [rbx + 0x34fb2e8]
jmp 0x180005a7c
xor eax, eax
lea rbx, [rax + 0x292]
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005a9a
mov rax, qword [rbx]
jmp 0x180005a9c
xor eax, eax
lea rcx, [rbp - 0x69]
lea r15d, [rax + 1]
call fcn.180001550
movzx eax, byte [0x18000e810]
xor bl, bl
movsd xmm0, qword [0x18000e808]
xor al, 0x3f
movsd qword [rsp + 0x20], xmm0
xor byte [rsp + 0x21], 0x38
xor byte [rsp + 0x22], 0x39
xor byte [rsp + 0x23], 0x3a
xor byte [rsp + 0x24], 0x3b
xor byte [rsp + 0x25], 0x3c
xor byte [rsp + 0x26], 0x3d
xor byte [rsp + 0x27], 0x3e
cmp byte [0x18000e8c9], bl
movsd xmm0, qword [str.tJVIHzTLZ_]
mov byte [rsp + 0x28], al
movzx eax, word [0x18000e8c8]
mov word [rbp - 0x71], ax
mov byte [rsp + 0x20], 0xb4
movsd qword [rbp - 0x79], xmm0
je 0x180005b36
xor byte [rbp - 0x78], 0x38
xor byte [rbp - 0x77], 0x39
xor byte [rbp - 0x76], 0x3a
xor byte [rbp - 0x75], 0x3b
xor byte [rbp - 0x74], 0x3c
xor byte [rbp - 0x73], 0x3d
xor byte [rbp - 0x72], 0x3e
xor byte [rbp - 0x71], 0x3f
xor byte [rbp - 0x70], 0x40
mov byte [rbp - 0x79], 0x43
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x79]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [0x1800119a8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x1800119b0]
xor edi, edi
mov ecx, dword [0x1800119b4]
mov r14, 0xffffffffffffef50
movss xmm8, dword [0x18000e9c8]
movss xmm9, dword [0x18000e9c0]
movsd xmm10, qword [0x18000e9b0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [0x180011954], eax
mov qword [rsp + 0x120], rsi
mov dword [0x180011958], ecx
mov qword [rbp + 0x6f], r14
movaps xmmword [rsp + 0xc0], xmm6
mulsd xmm0, qword [0x18000e9a8]
movaps xmmword [rsp + 0xb0], xmm7
cvttsd2si eax, xmm0
movd xmm0, ecx
lea ecx, [rdi + 1]
mov dword [0x18001195c], eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x18000e9a8]
cvttsd2si eax, xmm0
mov dword [0x180011960], eax
mov eax, 0x20
mov qword [rbp + 0x67], rax
nop dword [rax]
cmp r12d, 8
jne 0x180005c30
xor eax, eax
mov rcx, rdi
cmp r15d, r12d
seta al
sub rcx, rax
xor eax, eax
inc rcx
cmp r15d, r12d
jbe 0x180005c17
cmp rcx, 8
setbe al
jmp 0x180005c1e
cmp rcx, 9
seta al
test eax, eax
je 0x180005c29
mov bl, 1
jmp 0x180005d04
xor bl, bl
jmp 0x180005f44
cmp r12d, 0x10
movzx ebx, bl
cmovae ebx, ecx
cmp r12d, 0x1e
jne 0x180005cfc
mov rsi, qword [0x1800118f8]
lea edx, [r12 - 0x16]
lea rcx, [rsi + 0x34fb2e8]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005c6a
mov rax, qword [rsi + 0x34fb2e8]
jmp 0x180005c6c
xor eax, eax
lea rsi, [r14 + rax]
mov rdx, r13
lea rcx, [rsi + 0x2dc]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005c8c
mov esi, dword [rsi + 0x2dc]
jmp 0x180005c8e
xor esi, esi
mov r14, qword [0x1800118f8]
mov edx, 8
lea rcx, [r14 + 0x34fb2e8]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005cb4
mov rcx, qword [r14 + 0x34fb2e8]
jmp 0x180005cb6
xor ecx, ecx
mov eax, r15d
mov rdx, r13
dec rax
imul r14, rax, 0x10b0
add r14, rcx
lea rcx, [r14 + 0x2dc]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x180005cf4
mov eax, dword [r14 + 0x2dc]
test eax, eax
je 0x180005cf4
cmp eax, 0x65
jae 0x180005e98
cmp esi, 0x64
seta bl
mov r14, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x67]
test bl, bl
je 0x180005f48
mov eax, r15d
cmp rdi, rax
je 0x180005f40
xor r8d, r8d
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.180001840
test al, al
je 0x180005f40
movss xmm0, dword [rbp - 0x71]
lea rdx, [rbp - 0x39]
addss xmm0, xmm8
lea rcx, [rsp + 0x20]
movss dword [rbp - 0x71], xmm0
movsd xmm0, qword [rbp - 0x79]
mov eax, dword [rbp - 0x71]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.180001640
test eax, eax
je 0x180005f40
mov r8d, 6
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.180001840
test al, al
je 0x180005f40
movss xmm0, dword [rbp - 0x71]
lea rdx, [rbp - 0x49]
addss xmm0, xmm9
lea rcx, [rbp - 0x59]
movss dword [rbp - 0x71], xmm0
movsd xmm0, qword [rbp - 0x79]
mov eax, dword [rbp - 0x71]
movsd qword [rbp - 0x59], xmm0
mov dword [rbp - 0x51], eax
call fcn.180001640
test eax, eax
je 0x180005f40
movss xmm0, dword [rbp - 0x35]
movss xmm2, dword [rbp - 0x45]
movss xmm3, dword [rbp - 0x49]
subss xmm0, xmm2
cvttss2si ecx, xmm0
movaps xmm0, xmm3
mov eax, ecx
mov dword [0x180011994], ecx
cdq
sub eax, edx
sar eax, 1
mov dword [0x180011990], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp byte [0x180011081], 0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x180011988], eax
cvttss2si eax, xmm2
mov dword [0x18001198c], eax
je 0x180005f40
mov esi, dword [0x18001194c]
mov eax, dword [0x180011954]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
movd xmm1, esi
mov r8d, eax
sub ecx, esi
mov eax, dword [0x180011958]
cdq
sub eax, edx
sar eax, 1
movd xmm0, ecx
mov ecx, eax
cvtdq2pd xmm0, xmm0
sub ecx, esi
cvtdq2pd xmm1, xmm1
cvttss2si r13, xmm2
divsd xmm1, xmm10
cvttss2si r14, xmm3
addsd xmm0, xmm1
cvtpd2ps xmm7, xmm0
movd xmm0, ecx
mov ecx, r13d
sub ecx, eax
mov eax, r14d
sub eax, r8d
imul ecx, ecx
imul eax, eax
cvtdq2pd xmm0, xmm0
add eax, ecx
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
cvtpd2ps xmm6, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x180005eab
sqrtpd xmm0, xmm1
jmp 0x180005eb3
cmp esi, 0x65
jae 0x180005ea4
mov bl, 1
jmp 0x180005d04
xor bl, bl
jmp 0x180005f40
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov eax, r14d
xorps xmm2, xmm2
cvttsd2si rcx, xmm0
cvtsi2ss xmm2, rax
comiss xmm2, xmm7
jbe 0x180005f3a
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rsi + rsi]
sub eax, edx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm0, xmm7
comiss xmm0, xmm2
jbe 0x180005f3a
mov eax, r13d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
comiss xmm0, xmm6
jbe 0x180005f3a
addss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x180005f3a
mov eax, dword [0x180011964]
mov r13d, 4
mov r14, qword [rbp + 0x6f]
test eax, eax
jne 0x180005f29
mov dword [0x180011964], edi
mov dword [0x180011968], ecx
jmp 0x180005f44
cmp ecx, dword [0x180011968]
cmovb eax, edi
mov dword [0x180011964], eax
jmp 0x180005f44
mov r13d, 4
mov r14, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x67]
add r14, 0x10b0
inc rdi
sub rax, 1
mov qword [rbp + 0x6f], r14
mov qword [rbp + 0x67], rax
mov ecx, 1
jne 0x180005bf0
movsxd rax, dword [0x180011964]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
test eax, eax
je 0x1800066f2
mov rbx, qword [0x1800118f8]
lea edx, [rcx + 7]
mov rdi, rax
lea rcx, [rbx + 0x34fb2e8]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
xor esi, esi
test eax, eax
jne 0x180005fcb
mov rdx, qword [rbx + 0x34fb2e8]
jmp 0x180005fce
mov rdx, rsi
lea rax, [rdi - 1]
imul rbx, rax, 0x10b0
add rbx, rdx
mov edx, 8
lea rcx, [rbx + 0x2b0]
call qword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
jne 0x1800066ec
mov rax, qword [rbx + 0x2b0]
test rax, rax
je 0x1800066ec
cmp byte [rax + 0x29c], 0
jne 0x1800066ec
call fcn.180002800
movsxd rcx, dword [0x180011964]
lea rdx, [rbp - 0x79]
movsxd r8, eax
call fcn.180001840
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x39]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x49]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001640
mov eax, dword [0x18001108c]
movabs rdi, 0x140055120
movss xmm6, dword [rbp - 0x61]
movss xmm7, dword [rbp - 0x65]
movss xmm8, dword [rbp - 0x69]
cmp eax, 1
jne 0x180006080
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800060cd
mov eax, dword [0x18001108c]
cmp eax, 2
jne 0x180006098
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800060cd
mov eax, dword [0x18001108c]
cmp eax, 3
jne 0x18000623d
lea ecx, [rax - 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, esi
mov ecx, 1
test ax, ax
setne bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, esi
setne cl
or ecx, ebx
je 0x18000623d
cmp byte [0x180011081], 0
je 0x180006243
xorps xmm0, xmm0
movss dword [0x180011900], xmm8
movdqa xmmword [0x180011920], xmm0
lea rdx, [0x1800118a0]
movups xmmword [0x1800118a0], xmm0
xor eax, eax
lea rcx, [0x180011900]
movups xmmword [0x1800118b0], xmm0
mov qword [0x180011918], rsi
movups xmmword [0x1800118c0], xmm0
mov qword [0x180011940], rsi
movups xmmword [0x1800118d0], xmm0
mov qword [0x1800118e0], rax
movss xmm0, dword [rbp - 0x79]
xorps xmm1, xmm1
movss dword [0x18001190c], xmm0
movss xmm0, dword [rbp - 0x75]
movdqa xmmword [0x180011930], xmm1
movss xmm1, dword [rbp - 0x71]
movss dword [0x180011914], xmm0
movss dword [0x180011904], xmm6
movss dword [0x180011908], xmm7
movss dword [0x180011910], xmm1
call rdi
test al, al
jne 0x180006243
call fcn.180002800
movsxd rcx, dword [0x180011964]
lea rdx, [rbp - 0x79]
movsxd r8, eax
call fcn.180001840
cvttss2si ecx, dword [rbp - 0x79]
mov eax, dword [0x180011954]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [0x180011958]
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
sub r8d, ecx
cvttss2si ecx, dword [rbp - 0x75]
imul r8d, r8d
sub eax, ecx
imul eax, eax
add r8d, eax
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
ja 0x1800061dd
sqrtpd xmm0, xmm1
jmp 0x1800061e5
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cmp dword [0x180011964], 0
cvttsd2si eax, xmm0
mov dword [0x18001196c], eax
je 0x180006200
cmp eax, dword [0x180011970]
jge 0x180006206
mov dword [0x180011970], eax
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x59]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.1800019e0
lea rcx, [rbp - 0x49]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001b80
jmp 0x180006243
mov dword [0x180011964], esi
cmp byte [0x180011084], 0
lea rdx, [rbp - 0x79]
movsxd rcx, dword [0x180011964]
mov r8, r13
mov ebx, 6
cmovne r8, rbx
call fcn.180001840
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x39]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x49]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001640
mov eax, dword [0x18001108c]
cmp eax, 1
jne 0x1800062a1
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800062f3
mov eax, dword [0x18001108c]
cmp eax, 2
jne 0x1800062b9
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800062f3
mov eax, dword [0x18001108c]
cmp eax, 3
jne 0x1800066ec
lea ecx, [rax - 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, esi
mov ecx, 1
test ax, ax
setne bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, esi
setne cl
or ecx, ebx
je 0x1800066ec
mov ebx, 6
cmp byte [0x180011080], 0
je 0x180006548
xorps xmm0, xmm0
movss dword [0x180011900], xmm8
movdqa xmmword [0x180011920], xmm0
lea rdx, [0x1800118a0]
movups xmmword [0x1800118a0], xmm0
xor eax, eax
lea rcx, [0x180011900]
movups xmmword [0x1800118b0], xmm0
mov qword [0x180011918], rsi
movups xmmword [0x1800118c0], xmm0
mov qword [0x180011940], rsi
movups xmmword [0x1800118d0], xmm0
mov qword [0x1800118e0], rax
movss xmm0, dword [rbp - 0x79]
xorps xmm1, xmm1
movss dword [0x18001190c], xmm0
movss xmm0, dword [rbp - 0x75]
movdqa xmmword [0x180011930], xmm1
movss xmm1, dword [rbp - 0x71]
movss dword [0x180011914], xmm0
movss dword [0x180011904], xmm6
movss dword [0x180011908], xmm7
movss dword [0x180011910], xmm1
call rdi
test al, al
jne 0x1800066f2
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180006470
movsxd rcx, dword [0x180011964]
lea rdx, [rbp - 0x79]
mov r8, rbx
call fcn.180001840
cvttss2si ecx, dword [rbp - 0x79]
mov eax, dword [0x180011954]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [0x180011958]
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
sub r8d, ecx
cvttss2si ecx, dword [rbp - 0x75]
imul r8d, r8d
sub eax, ecx
imul eax, eax
add r8d, eax
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
ja 0x180006412
sqrtpd xmm0, xmm1
jmp 0x18000641a
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cmp dword [0x180011964], 0
cvttsd2si eax, xmm0
mov dword [0x18001196c], eax
je 0x180006435
cmp eax, dword [0x180011970]
jge 0x18000643b
mov dword [0x180011970], eax
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x39]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.1800019e0
lea rcx, [rbp - 0x49]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001b80
cmp byte [0x180011081], 0
je 0x1800066f2
cmp byte [0x180011084], 0
lea rdx, [rbp - 0x79]
movsxd rcx, dword [0x180011964]
cmovne r13, rbx
mov r8, r13
call fcn.180001840
cvttss2si ecx, dword [rbp - 0x79]
mov eax, dword [0x180011954]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [0x180011958]
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
sub r8d, ecx
cvttss2si ecx, dword [rbp - 0x75]
imul r8d, r8d
sub eax, ecx
imul eax, eax
add r8d, eax
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
ja 0x1800064e5
sqrtpd xmm0, xmm1
jmp 0x1800064ed
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cmp dword [0x180011964], 0
cvttsd2si eax, xmm0
mov dword [0x18001196c], eax
je 0x180006508
cmp eax, dword [0x180011970]
jge 0x18000650e
mov dword [0x180011970], eax
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x39]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.1800019e0
lea rcx, [rbp - 0x49]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001b80
jmp 0x1800066f2
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180006617
movsxd rcx, dword [0x180011964]
lea rdx, [rbp - 0x79]
mov r8, rbx
call fcn.180001840
cvttss2si ecx, dword [rbp - 0x79]
mov eax, dword [0x180011954]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [0x180011958]
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
sub r8d, ecx
cvttss2si ecx, dword [rbp - 0x75]
imul r8d, r8d
sub eax, ecx
imul eax, eax
add r8d, eax
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
ja 0x1800065b9
sqrtpd xmm0, xmm1
jmp 0x1800065c1
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cmp dword [0x180011964], 0
cvttsd2si eax, xmm0
mov dword [0x18001196c], eax
je 0x1800065dc
cmp eax, dword [0x180011970]
jge 0x1800065e2
mov dword [0x180011970], eax
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x39]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.1800019e0
lea rcx, [rbp - 0x49]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001b80
cmp byte [0x180011081], 0
je 0x1800066f2
cmp byte [0x180011084], 0
lea rdx, [rbp - 0x79]
movsxd rcx, dword [0x180011964]
cmovne r13, rbx
mov r8, r13
call fcn.180001840
cvttss2si ecx, dword [rbp - 0x79]
mov eax, dword [0x180011954]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [0x180011958]
cdq
sub eax, edx
sar eax, 1
xorps xmm0, xmm0
sub r8d, ecx
cvttss2si ecx, dword [rbp - 0x75]
imul r8d, r8d
sub eax, ecx
imul eax, eax
add r8d, eax
movd xmm1, r8d
cvtdq2pd xmm1, xmm1
ucomisd xmm0, xmm1
ja 0x18000668c
sqrtpd xmm0, xmm1
jmp 0x180006694
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cmp dword [0x180011964], 0
cvttsd2si eax, xmm0
mov dword [0x18001196c], eax
je 0x1800066af
cmp eax, dword [0x180011970]
jge 0x1800066b5
mov dword [0x180011970], eax
movsd xmm0, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x71]
lea rcx, [rbp - 0x39]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.1800019e0
lea rcx, [rbp - 0x49]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
mov dword [rbp - 0x41], eax
call fcn.180001b80
jmp 0x1800066f2
mov dword [0x180011964], esi
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov rsi, qword [rsp + 0x120]
mov rdi, qword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0xa0]
add rsp, 0xf0
pop r13
pop rbx
pop rbp
ret