Function at 0x14006e8f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x1400e2178]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax + 0x20], r13
mov qword [rax - 0x20], r14
mov ebp, dword [rsi + 0x3078]
sub ebp, 1
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
js 0x14006e98f
movsxd rdi, ebp
shl rdi, 5
nop dword [rax]
mov rdx, qword [rsi + 0x3080]
cmp dword [rdx + rdi + 4], 7
jne 0x14006e986
movsxd r8, dword [rsi + 0x3078]
mov rcx, rdx
sub rdx, rdx
add rdx, rdi
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rsi + 0x3078]
sub rdi, 0x20
sub ebp, 1
jns 0x14006e940
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x3078], edi
jle 0x14006e9d3
mov esi, edi
nop dword [rax]
mov rax, qword [rbx + 0x3080]
cmp dword [rax + rsi + 4], edi
jne 0x14006e9be
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x3078]
jl 0x14006e9a0
mov rsi, qword [0x1400e2178]
cmp byte [rsi + 0xcc], dil
je 0x14006e9e9
test byte [rsi + 0xc], 2
jne 0x14006e9e9
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3031], dil
jne 0x14006ea54
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006ea4d
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.14006b3e0
mov rsi, rax
test rax, rax
je 0x14006ea46
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.14007c8d0
mov rcx, qword [0x1400e2178]
test rcx, rcx
je 0x14006ea3d
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1400e2178]
mov byte [rbp + 0x3031], 1
movss xmm0, dword [rbp + 0x3034]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x70], r15
jbe 0x14006eaf5
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3034], xmm0
jb 0x14006eaf5
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x14006eae8
lea rcx, [rsp + 0xa0]
mov dword [rsi + 0x3034], edi
mov qword [rsp + 0xa0], rdi
call fcn.14007cc10
lea rdx, [0x1400d8390]
mov rcx, r14
mov r15, rax
call fcn.14006b2b0
mov rsi, rax
test rax, rax
je 0x14006eadf
mov r8, qword [rsp + 0xa0]
mov r9, rax
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [0x1400e2178]
jmp 0x14006eaef
mov byte [rbp + 0x39c], 1
mov dword [rbp + 0x3034], edi
inc dword [rbx + 0x1b90]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b9c], 1
mov dword [rbx + 0x2ff8], edi
mov dword [rbx + 0x1c00], edi
addsd xmm0, qword [rbx + 0x1b88]
movsd qword [rbx + 0x1b88], xmm0
mov ecx, dword [rbx + 0x3014]
test ecx, ecx
jns 0x14006eb53
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3010]
test eax, eax
cmovg edx, eax
call fcn.14007e2c0
mov rsi, qword [0x1400e2178]
movss xmm9, dword [0x1400d8d70]
movss xmm10, dword [0x1400d8ccc]
mov dword [rbx + 0x3010], edi
movsxd rax, dword [rbx + 0x32cc]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x30ec]
addss xmm0, dword [rbx + 0x32d4]
movss dword [rbx + 0x32d4], xmm0
movss dword [rbx + rax*4 + 0x30ec], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x32cc]
movss xmm2, dword [rbx + 0x32d4]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
mov eax, dword [rbx + 0x32d0]
inc eax
mov dword [rbx + 0x32cc], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x32d0], ecx
jbe 0x14006ebfc
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14006ec00
movaps xmm1, xmm9
movss dword [rbx + 0x3a0], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1dc0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rsi + 0x1db8], edi
jle 0x14006ece8
mov rdx, rdi
nop dword [rax + rax]
mov rax, qword [rsi + 0x1dc0]
movaps xmm3, xmm6
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm2, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0x98], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa0], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x90], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm6
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x1db8]
jl 0x14006ec40
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x14006ed0d
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.140076800
mov eax, dword [rbx + 0x1db8]
movaps xmm8, xmm9
movss xmm4, dword [0x1400d8d98]
movaps xmm7, xmm9
movaps xmm5, xmm4
test eax, eax
jle 0x14006ed89
mov rcx, qword [rbx + 0x1dc0]
mov edx, eax
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm8, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x14006ed67
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x14006ed6f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x14006ed77
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x14006ed7f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x14006ed40
movss dword [rbx + 0x19a4], xmm8
movss dword [rbx + 0x19a8], xmm7
movss dword [rbx + 0x19ac], xmm4
movss dword [rbx + 0x19b0], xmm5
mov eax, dword [rbx + 0x161c]
movss xmm1, dword [rbx + 0x1620]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x199c], eax
movss xmm0, dword [rbx + 0x19a0]
ucomiss xmm0, xmm1
jp 0x14006edd7
je 0x14006ee91
movss xmm7, dword [0x1400d8cfc]
lea r14, [rbx + 0x1b3c]
movss dword [rbx + 0x19a0], xmm1
mov ebp, edi
mov r15d, 0x200
nop word [rax + rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x14006ee59
movss xmm1, dword [rbx + 0x19a0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm10
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x14006ee50
mov eax, 4
jmp 0x14006ee5b
cmp eax, r15d
cmovg eax, r15d
jmp 0x14006ee5b
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x14006ee00
movss xmm0, dword [0x1400d8c74]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19a0]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b38], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19b4], edi
cmp byte [rbx + 0x1618], dil
je 0x14006eeb8
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], dil
je 0x14006eedd
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14006eedd
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161a], dil
je 0x14006eeef
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x14006eefe
or edx, 8
mov dword [rbx + 0x19b4], edx
mov edx, edi
cmp dword [rbx + 0x1db8], edi
jle 0x14006ef39
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1dc0]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + rax - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1db8]
jl 0x14006ef10
cmp byte [rbx + 0x1f4c], dil
je 0x14006ef6d
mov eax, dword [rbx + 0x1f6c]
cmp eax, dword [rbx + 0x1c5c]
jne 0x14006ef6d
cmp dword [rsi + 0x1c5c], eax
jne 0x14006ef5e
mov dword [rsi + 0x1c60], eax
cmp dword [rsi + 0x1c98], eax
jne 0x14006ef6d
mov byte [rsi + 0x1c9c], 1
cmp dword [rbx + 0x1c4c], edi
jne 0x14006ef7d
mov dword [rbx + 0x1c54], edi
jmp 0x14006ef8f
mov eax, dword [rbx + 0x1c48]
test eax, eax
je 0x14006ef95
cmp dword [rbx + 0x1c5c], eax
jne 0x14006ef95
mov dword [rbx + 0x1c58], edi
mov eax, dword [rbx + 0x1c48]
test eax, eax
je 0x14006efcf
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c54]
movss dword [rbx + 0x1c54], xmm0
cmp dword [rbx + 0x1c5c], eax
je 0x14006efcf
addss xmm1, dword [rbx + 0x1c58]
movss dword [rbx + 0x1c58], xmm1
mov dword [rbx + 0x1c4c], eax
mov r13d, 0xffffffff
movzx eax, byte [rbx + 0x1c51]
mov byte [rbx + 0x1c52], al
mov eax, dword [rbx + 0x1c5c]
mov dword [rbx + 0x1c48], edi
mov word [rbx + 0x1c50], di
mov byte [rbx + 0x1c53], dil
cmp dword [rbx + 0x1c60], eax
je 0x14006f068
cmp dword [rbx + 0x1c98], eax
jne 0x14006f068
test eax, eax
je 0x14006f068
mov ecx, dword [rsi + 0x1c5c]
test ecx, ecx
setne al
mov byte [rsi + 0x1c68], al
test ecx, ecx
je 0x14006f03f
mov dword [rsi + 0x1c64], edi
mov word [rsi + 0x1c6b], di
mov dword [rsi + 0x1c94], r13d
mov dword [rsi + 0x1c5c], edi
mov word [rsi + 0x1c69], di
mov qword [rsi + 0x1c88], rdi
mov word [rsi + 0x1c6d], di
mov qword [rsi + 0x1c70], rdi
mov qword [rsi + 0x1c78], rdi
mov ecx, dword [rbx + 0x1c5c]
test ecx, ecx
je 0x14006f087
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1c64]
movss dword [rbx + 0x1c64], xmm0
mov rax, qword [rbx + 0x1c88]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1cac]
mov qword [rbx + 0x1ca0], rax
movzx eax, byte [rbx + 0x1c6c]
mov byte [rbx + 0x1c9d], al
mov eax, dword [rbx + 0x2fb8]
movss dword [rbx + 0x1cac], xmm0
mov dword [rbx + 0x1c98], ecx
mov dword [rbx + 0x1c60], edi
mov byte [rbx + 0x1c6d], dil
mov byte [rbx + 0x1c9c], dil
mov byte [rbx + 0x1c68], dil
test eax, eax
je 0x14006f0ec
cmp ecx, eax
je 0x14006f0ec
mov dword [rbx + 0x2fb8], edi
test ecx, ecx
jne 0x14006f0fe
mov qword [rbx + 0x1c70], rdi
mov qword [rbx + 0x1c78], rdi
mov eax, dword [rbx + 0x1fbc]
mov r8d, 0x800
mov dword [rbx + 0x1fc0], eax
mov eax, edi
mov qword [rbx + 0x1fb8], 0x7f7fffff
mov word [rbx + 0x1f4d], di
mov dword [rbx + 0x1fc8], edi
cmp byte [rsi + 0x140], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x141], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x142], dil
cmove edx, ecx
lea rcx, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1400d8d7c]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x14006f1b2
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x14006f1ab
movaps xmm0, xmm6
jmp 0x14006f1b5
addss xmm0, dword [rbx + 0x18]
jmp 0x14006f1b5
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x14006f1d4
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14006f1cd
movaps xmm0, xmm6
jmp 0x14006f1d7
addss xmm0, dword [rbx + 0x18]
jmp 0x14006f1d7
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x14006f1f7
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14006f1f0
movaps xmm0, xmm6
jmp 0x14006f1fa
addss xmm0, dword [rbx + 0x18]
jmp 0x14006f1fa
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x14006f21b
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14006f214
movaps xmm0, xmm6
jmp 0x14006f21e
addss xmm0, dword [rbx + 0x18]
jmp 0x14006f21e
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x14006f196
call fcn.140079990
call fcn.14006dd60
call fcn.14006e580
call fcn.14006d7e0
mov r8, qword [0x1400e2178]
mov eax, dword [r8 + 0x1d98]
sub eax, 1
js 0x14006f290
mov r8, qword [r8 + 0x1da0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14006f286
test dword [rax + 0xc], 0x8000000
jne 0x14006f2a6
sub r8, 0x30
sub rdx, 1
jns 0x14006f275
cmp qword [rbx + 0x1ef8], rdi
je 0x14006f2c2
movss xmm0, dword [rbx + 0x1f14]
comiss xmm0, xmm6
jbe 0x14006f2c2
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400d8d0c]
addss xmm1, dword [rbx + 0x1f44]
minss xmm1, xmm10
jmp 0x14006f2df
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400d8d18]
movss xmm1, dword [rbx + 0x1f44]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f44], xmm1
mov dword [rbx + 0x1f48], edi
mov qword [rbx + 0x32dc], 0xffffffffffffffff
mov dword [rbx + 0x32d8], r13d
mov dword [rbx + 0x3020], 0x3f800000
mov dword [rbx + 0x3024], 0x3f800000
call fcn.14006e0e0
mov r11, qword [0x1400e2178]
movaps xmm10, xmmword [rsp + 0x20]
mov r8, qword [r11 + 0x1dc8]
test r8, r8
je 0x14006f362
cmp byte [r8 + 0x8e], dil
je 0x14006f362
test dword [r8 + 0xc], 0x40000
jne 0x14006f362
cmp byte [r11 + 0x140], dil
jne 0x14006f362
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x14006f362
call fcn.1400715b0
test al, al
je 0x14006f362
mov al, 1
jmp 0x14006f364
xor al, al
mov byte [r11 + 0x1f40], al
cmp dword [r11 + 0x1c5c], edi
jne 0x14006f3c5
test al, al
je 0x14006f3c5
mov qword [r11 + 0x1f28], r8
mov dword [r11 + 0x1f38], 0x7fffffff
cmp dword [r11 + 0x1dd0], edi
je 0x14006f3b2
mov edx, dword [r11 + 0x1e18]
cmp edx, 0x7fffffff
je 0x14006f3b2
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x14006f3be
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f3c], ecx
mov r8, qword [r11 + 0x1f28]
mov qword [r11 + 0x1f20], rdi
mov dword [r11 + 0x1f34], 0x7fffffff
mov dword [r11 + 0x1f30], 0x7fffffff
test r8, r8
je 0x14006f462
mov eax, dword [r11 + 0x1f38]
mov qword [r11 + 0x1f20], r8
cmp eax, 0x7fffffff
je 0x14006f41d
mov ecx, dword [r8 + 0x1bc]
cmp ecx, r13d
je 0x14006f41d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f30], edx
mov eax, dword [r11 + 0x1f3c]
cmp eax, 0x7fffffff
je 0x14006f445
mov ecx, dword [r8 + 0x1c0]
cmp ecx, r13d
je 0x14006f445
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f34], edx
mov qword [r11 + 0x1f28], rdi
mov dword [r11 + 0x1f3c], 0x7fffffff
mov dword [r11 + 0x1f38], 0x7fffffff
mov dword [r11 + 0x1e18], 0x7fffffff
cmp byte [rbx + 0x1b9f], dil
jne 0x14006f496
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x14006f496
movsd xmm9, qword [rbx + 0x1b88]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bb0], edi
je 0x14006f606
mov r14, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x1bb8]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0x8e]
mov byte [rsi + 0x8f], al
mov word [rsi + 0x9a], di
mov byte [rsi + 0x8e], dil
mov byte [rsi + 0x90], dil
test al, al
jne 0x14006f5f4
cmp byte [rsi + 0x3d8], dil
jne 0x14006f5f4
comiss xmm9, dword [rsi + 0x27c]
jbe 0x14006f5f4
mov rcx, qword [rsi + 0x2b0]
mov byte [rsi + 0x3d8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3d0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3d4], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x14006f552
mov rax, qword [0x1400e2178]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x14006f545
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x2b0]
call fcn.140085d80
mov rcx, qword [rsi + 0x198]
test rcx, rcx
je 0x14006f590
mov rax, qword [0x1400e2178]
mov qword [rsi + 0x190], rdi
test rax, rax
je 0x14006f583
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x198], rdi
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x14006f5c2
mov rax, qword [0x1400e2178]
mov qword [rsi + 0x1d0], rdi
test rax, rax
je 0x14006f5b5
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d8], rdi
mov rcx, qword [rsi + 0x1e8]
test rcx, rcx
je 0x14006f5f4
mov rax, qword [0x1400e2178]
mov qword [rsi + 0x1e0], rdi
test rax, rax
je 0x14006f5e7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bb0]
jne 0x14006f4b0
mov r14d, edi
cmp dword [rbx + 0x2038], edi
jle 0x14006f727
mov qword [rsp + 0xb0], r12
mov r15, rdi
mov r12, rdi
movabs r8, 0x864b8a7de6d1d609
nop dword [rax]
mov rax, qword [rbx + 0x2040]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x14006f704
comiss xmm9, xmm0
jbe 0x14006f704
mov rsi, qword [rbx + 0x2008]
mov rbp, qword [0x1400e2178]
add rsi, r12
mov qword [rsi + 0x1b0], rdi
mov byte [rsi + 0x1dc], 1
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x14006f6a4
mov qword [rsi + 0x198], rdi
test rbp, rbp
je 0x14006f68d
dec dword [rbp + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movabs r8, 0x864b8a7de6d1d609
mov qword [rsi + 0x1a0], rdi
mov edx, edi
mov byte [rsi + 0x1e6], 1
cmp dword [rsi + 0x74], edi
jle 0x14006f6d5
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r13w
cmp edx, dword [rsi + 0x74]
jl 0x14006f6c0
sub rsi, qword [rbp + 0x2008]
mov rax, r8
imul rsi
add rdx, rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2040]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x1e8
cmp r14d, dword [rbx + 0x2038]
jl 0x14006f630
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0xb8]
cmp dword [rbx + 0x2028], edi
jle 0x14006f7bb
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x2030]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x14006f7a8
comiss xmm9, xmm0
jbe 0x14006f7a8
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.140088df0
mov rcx, qword [rsi + rbp + 0x40]
test rcx, rcx
je 0x14006f7a0
mov rax, qword [0x1400e2178]
mov qword [rsi + rbp + 0x38], rdi
test rax, rax
je 0x14006f795
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + rbp + 0x40], rdi
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x90
cmp r14d, dword [rbx + 0x2028]
jl 0x14006f750
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x1b9f], dil
je 0x14006f833
mov rsi, qword [0x1400e2178]
mov rcx, qword [rsi + 0x1d80]
test rcx, rcx
je 0x14006f7fc
mov qword [rsi + 0x1d78], rdi
test rsi, rsi
je 0x14006f7ef
dec dword [rsi + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d80], rdi
mov rcx, qword [rsi + 0x1d90]
test rcx, rcx
je 0x14006f82e
mov rax, qword [0x1400e2178]
mov qword [rsi + 0x1d88], rdi
test rax, rax
je 0x14006f821
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d90], rdi
call fcn.1400906a0
mov rax, qword [rbx + 0x1dc8]
mov byte [rbx + 0x1b9f], dil
test rax, rax
je 0x14006f8a5
cmp byte [rax + 0x8f], dil
jne 0x14006f8a5
mov rcx, qword [0x1400e2178]
mov eax, dword [rcx + 0x1bc0]
sub eax, 1
js 0x14006f89e
movsxd rdx, eax
mov rax, qword [rcx + 0x1bc8]
lea r8, [rax + rdx*8]
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x14006f894
cmp byte [rcx + 0x8f], dil
je 0x14006f894
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14006f9e5
sub r8, 8
sub rdx, 1
jns 0x14006f870
xor ecx, ecx
call fcn.140076510
mov ecx, dword [rbx + 0x1be4]
test ecx, ecx
jns 0x14006f8cb
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1be0]
test eax, eax
cmovg edx, eax
call fcn.140067d40
mov dword [rbx + 0x1be0], edi
mov ecx, dword [rbx + 0x1dac]
test ecx, ecx
jns 0x14006f8f7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1da8]
test eax, eax
cmovg edx, eax
call fcn.14007e220
lea rsi, [rbx + 0x1d78]
mov dword [rbx + 0x1da8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14006f923
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.14007e2c0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x14006f937
mov edx, 8
mov rcx, rsi
call fcn.14007e2c0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1d88]
inc dword [rsi]
call fcn.14007daa0
mov r9, qword [0x1400e2178]
mov rsi, qword [rbx + 0x1dc8]
mov r10d, dword [r9 + 0x1d98]
test r10d, r10d
je 0x14006fa2f
mov r11d, edi
test rsi, rsi
je 0x14006fa19
test r10d, r10d
jle 0x14006fa19
mov r14, qword [r9 + 0x1da0]
mov rbp, rdi
add r14, 8
mov rax, qword [r14]
test rax, rax
je 0x14006fa05
test dword [rax + 0xc], 0x1000000
jne 0x14006fa05
mov edx, r11d
cmp r11d, r10d
jge 0x14006fa2f
mov rcx, qword [r9 + 0x1da0]
add rcx, 8
add rcx, rbp
nop dword [rax]
mov r8, qword [rcx]
test r8, r8
je 0x14006f9d8
mov rax, qword [rsi + 0x388]
cmp qword [r8 + 0x388], rax
je 0x14006fa05
inc edx
add rcx, 0x30
cmp edx, r10d
jl 0x14006f9c0
jmp 0x14006fa1e
mov rax, qword [rcx + 0x3a0]
test rax, rax
je 0x14006f9fa
cmp byte [rax + 0x8f], dil
jne 0x14006f9fd
mov rax, rcx
mov rcx, rax
jmp 0x14006f8a0
inc r11d
add rbp, 0x30
add r14, 0x30
cmp r11d, r10d
jl 0x14006f992
cmp r11d, r10d
jge 0x14006fa2f
xor edx, edx
mov ecx, r11d
call fcn.140078230
mov r9, qword [0x1400e2178]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
mov dword [r9 + 0x30d8], edi
cmp byte [r9 + 0x30d4], dil
je 0x14006fb06
mov esi, dword [r9 + 0x1c4c]
mov dword [r9 + 0x1f48], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x14006fa7a
call fcn.1400715b0
test al, al
je 0x14006fa7a
mov byte [r9 + 0x30d4], dil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm6
jp 0x14006fa9c
jne 0x14006fa9c
test esi, esi
je 0x14006fa9c
mov dword [r9 + 0x30d8], esi
mov byte [r9 + 0x30d4], dil
or dword [r9 + 0x1cb0], 0x40
xor edx, edx
mov dword [r9 + 0x1d10], 0x3f19999a
call fcn.140077e40
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.1400915e0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400915e0
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1400e2178]
add rax, 0x1624
add rcx, rax
call fcn.1400916e0
call fcn.1400763f0
mov r9, qword [0x1400e2178]
mov byte [rbx + 0x1b9d], 1
lea rcx, str.DebugDefault
or dword [r9 + 0x1cb0], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1cd0], 0x43c80000
mov dword [r9 + 0x1cd4], 0x43c80000
mov dword [r9 + 0x1cb8], 4
call fcn.1400740c0
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x3078], edi
jle 0x14006fb8d
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x3080]
cmp dword [rax + rsi + 4], 1
jne 0x14006fb7f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3078]
jl 0x14006fb60
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret