Function at 0x18000bea0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0x88
mov rbx, qword [0x180096c68]
mov qword [rax + 0x18], rbp
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
mov edi, dword [rbx + 0x3118]
lea r13, [rbx + 0x3120]
sub edi, 1
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x20], xmm10
mov qword [rsp + 0xb8], r13
js 0x18000bf56
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop word [rax + rax]
mov rdx, qword [r13]
cmp dword [rdx + rsi + 4], 7
jne 0x18000bf47
mov rcx, qword [rbx + 0x3120]
movsxd r8, dword [rbx + 0x3118]
sub rdx, rcx
add rdx, rbp
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 [rbx + 0x3118]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x18000bf00
jmp 0x18000bf5e
mov qword [rsp + 0xb8], r13
xor edi, edi
mov esi, edi
cmp dword [rbx + 0x3118], edi
jle 0x18000bf99
mov ebp, edi
nop dword [rax]
mov rax, qword [r13]
cmp dword [rax + rbp + 4], edi
jne 0x18000bf8b
movsxd rdx, esi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rbp + 0x10]
inc esi
add rbp, 0x20
cmp esi, dword [rbx + 0x3118]
jl 0x18000bf70
mov rsi, qword [0x180096c68]
cmp byte [rsi + 0xcc], dil
je 0x18000bfb6
test byte [rsi + 0xc], 2
jne 0x18000bfb6
mov byte [rsi + 0xcc], dil
cmp byte [rsi + 0x30d1], dil
jne 0x18000c017
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000c010
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.180008a40
mov rbp, rax
test rax, rax
je 0x18000c010
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.180019e70
mov rcx, qword [0x180096c68]
test rcx, rcx
je 0x18000c007
dec dword [rcx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsi + 0x30d1], 1
movss xmm0, dword [rsi + 0x30d4]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18000c0b3
subss xmm0, dword [rsi + 0x18]
comiss xmm6, xmm0
movss dword [rsi + 0x30d4], xmm0
jb 0x18000c0b3
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x18000c0a6
mov rax, qword [0x180096c68]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x30d4], edi
call fcn.18001a1d0
lea rdx, [0x18005d288]
mov rcx, rbp
mov r14, rax
call fcn.180008910
mov rbp, rax
test rax, rax
je 0x18000c0ad
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18000c0ad
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x30d4], edi
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x30b0]
inc dword [rbx + 0x1ba0]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1bac], 1
mov word [rbx + 0x3096], di
mov dword [rbx + 0x1c10], edi
addsd xmm0, qword [rbx + 0x1b98]
movsd qword [rbx + 0x1b98], xmm0
call fcn.18001b9f0
movsxd rax, dword [rbx + 0x3390]
movss xmm1, dword [rbx + 0x18]
movss xmm10, dword [0x1800624e4]
movaps xmm0, xmm1
movss xmm9, dword [0x1800623e4]
subss xmm0, dword [rbx + rax*4 + 0x31b0]
addss xmm0, dword [rbx + 0x3398]
movss dword [rbx + 0x3398], xmm0
movss dword [rbx + rax*4 + 0x31b0], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3390]
movss xmm2, dword [rbx + 0x3398]
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 + 0x3394]
inc eax
mov dword [rbx + 0x3390], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3394], ecx
jbe 0x18000c196
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000c19a
movaps xmm1, xmm10
mov rbp, qword [0x180096c68]
mov r8d, edi
movss dword [rbx + 0x39c], xmm1
mov rax, qword [rbp + 0x1e18]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rbp + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rbp + 0x1e10], edi
jle 0x18000c288
mov rdx, rdi
nop dword [rax]
mov rax, qword [rbp + 0x1e18]
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 [rbp + 0x1e10]
jl 0x18000c1e0
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x18000c2ad
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1800140d0
mov eax, dword [rbx + 0x1e10]
movaps xmm8, xmm10
movss xmm4, dword [0x18006250c]
movaps xmm7, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x18000c329
mov rcx, qword [rbx + 0x1e18]
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 0x18000c307
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x18000c30f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x18000c317
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18000c31f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000c2e0
mov qword [rsp + 0x70], r15
mov r14d, 0x200
movss dword [rbx + 0x19b4], xmm8
movss dword [rbx + 0x19b8], xmm7
movss dword [rbx + 0x19bc], xmm4
movss dword [rbx + 0x19c0], xmm5
mov eax, dword [rbx + 0x1630]
movss xmm1, dword [rbx + 0x1634]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x19ac], eax
movss xmm0, dword [rbx + 0x19b0]
ucomiss xmm0, xmm1
jp 0x18000c382
je 0x18000c431
movss xmm7, dword [0x180062430]
lea r15, [rbx + 0x1b4c]
movss dword [rbx + 0x19b0], xmm1
mov esi, edi
nop dword [rax + rax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x18000c3f9
movss xmm1, dword [rbx + 0x19b0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
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 0x18000c3f0
mov eax, 4
jmp 0x18000c3fb
cmp eax, r14d
cmovg eax, r14d
jmp 0x18000c3fb
mov eax, edi
mov byte [r15], al
inc esi
inc r15
cmp esi, 0x40
jl 0x18000c3a0
movss xmm0, dword [0x18006238c]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19b0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b48], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19c4], edi
cmp byte [rbx + 0x162c], dil
je 0x18000c458
mov dword [rbx + 0x19c4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x162d], dil
je 0x18000c47d
mov rax, qword [rbx + 0x1988]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000c47d
or edx, 2
mov dword [rbx + 0x19c4], edx
cmp byte [rbx + 0x162e], dil
je 0x18000c48f
or edx, 4
mov dword [rbx + 0x19c4], edx
test byte [rbx + 0xc], 8
je 0x18000c49e
or edx, 8
mov dword [rbx + 0x19c4], edx
mov edx, edi
cmp dword [rbx + 0x1e10], edi
jle 0x18000c4d9
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1e18]
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 + 0x1e10]
jl 0x18000c4b0
cmp byte [rbx + 0x1fb4], dil
je 0x18000c50d
mov eax, dword [rbx + 0x1fd4]
cmp eax, dword [rbx + 0x1c6c]
jne 0x18000c50d
cmp dword [rbp + 0x1c6c], eax
jne 0x18000c4fe
mov dword [rbp + 0x1c70], eax
cmp dword [rbp + 0x1ca8], eax
jne 0x18000c50d
mov byte [rbp + 0x1cac], 1
lea rax, [rbx + 0x1c58]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c5c], edi
jne 0x18000c526
mov dword [rbx + 0x1c64], edi
jmp 0x18000c537
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x18000c542
cmp dword [rbx + 0x1c6c], ecx
jne 0x18000c542
mov dword [rbx + 0x1c68], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x18000c579
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c64]
movss dword [rbx + 0x1c64], xmm0
cmp dword [rbx + 0x1c6c], edx
je 0x18000c579
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c68]
movss dword [rbx + 0x1c68], xmm0
movzx eax, byte [rbx + 0x1c61]
movaps xmm2, xmm1
mov byte [rbx + 0x1c62], al
mov esi, 0xffffffff
mov eax, dword [rbx + 0x1c6c]
mov dword [rbx + 0x1c5c], edx
mov dword [r8], edi
mov word [rbx + 0x1c60], di
mov byte [rbx + 0x1c63], dil
cmp dword [rbx + 0x1c70], eax
je 0x18000c615
cmp dword [rbx + 0x1ca8], eax
jne 0x18000c615
test eax, eax
je 0x18000c615
mov ecx, dword [rbp + 0x1c6c]
test ecx, ecx
setne al
mov byte [rbp + 0x1c78], al
test ecx, ecx
je 0x18000c5e7
mov dword [rbp + 0x1c74], edi
mov word [rbp + 0x1c7b], di
mov dword [rbp + 0x1ca4], esi
mov dword [rbp + 0x1c6c], edi
mov word [rbp + 0x1c79], di
mov qword [rbp + 0x1c98], rdi
mov word [rbp + 0x1c7d], di
mov qword [rbp + 0x1c80], rdi
mov qword [rbp + 0x1c88], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c6c]
test ecx, ecx
je 0x18000c632
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c74]
movss dword [rbx + 0x1c74], xmm0
mov rax, qword [rbx + 0x1c98]
addss xmm2, dword [rbx + 0x1cbc]
mov qword [rbx + 0x1cb0], rax
movzx eax, byte [rbx + 0x1c7c]
mov byte [rbx + 0x1cad], al
mov eax, dword [rbx + 0x3028]
movss dword [rbx + 0x1cbc], xmm2
mov dword [rbx + 0x1ca8], ecx
mov dword [rbx + 0x1c70], edi
mov byte [rbx + 0x1c7d], dil
mov byte [rbx + 0x1cac], dil
mov byte [rbx + 0x1c78], dil
test eax, eax
je 0x18000c692
cmp ecx, eax
je 0x18000c692
mov dword [rbx + 0x3028], edi
test ecx, ecx
jne 0x18000c6a4
mov qword [rbx + 0x1c80], rdi
mov qword [rbx + 0x1c88], rdi
mov eax, dword [rbx + 0x2024]
mov dword [rbx + 0x2028], eax
mov qword [rbx + 0x2020], 0x7f7fffff
mov word [rbx + 0x1fb5], di
mov dword [rbx + 0x2030], edi
cmp byte [rbx + 0x1558], dil
je 0x18000c8ae
lea rcx, [rbx + 0x144]
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x4b4]
nop dword [rax]
mov dword [rax + 0x800], 0xbf800000
mov dword [rax], 0xbf800000
lea rax, [rax + 4]
sub r14, 1
jne 0x18000c6f0
mov dword [rbx + 0x140], edi
mov qword [rbx + 0x3c0], rdi
mov dword [rbx + 0x1504], 0xbf800000
mov dword [rbx + 0x14b4], 0xbf800000
mov dword [rbx + 0x1508], 0xbf800000
mov dword [rbx + 0x14b8], 0xbf800000
mov dword [rbx + 0x150c], 0xbf800000
mov dword [rbx + 0x14bc], 0xbf800000
mov dword [rbx + 0x1510], 0xbf800000
mov dword [rbx + 0x14c0], 0xbf800000
mov dword [rbx + 0x1514], 0xbf800000
mov dword [rbx + 0x14c4], 0xbf800000
mov dword [rbx + 0x1518], 0xbf800000
mov dword [rbx + 0x14c8], 0xbf800000
mov dword [rbx + 0x151c], 0xbf800000
mov dword [rbx + 0x14cc], 0xbf800000
mov dword [rbx + 0x1520], 0xbf800000
mov dword [rbx + 0x14d0], 0xbf800000
mov dword [rbx + 0x1524], 0xbf800000
mov dword [rbx + 0x14d4], 0xbf800000
mov dword [rbx + 0x1528], 0xbf800000
mov dword [rbx + 0x14d8], 0xbf800000
mov dword [rbx + 0x152c], 0xbf800000
mov dword [rbx + 0x14dc], 0xbf800000
mov dword [rbx + 0x1530], 0xbf800000
mov dword [rbx + 0x14e0], 0xbf800000
mov dword [rbx + 0x1534], 0xbf800000
mov dword [rbx + 0x14e4], 0xbf800000
mov dword [rbx + 0x1538], 0xbf800000
mov dword [rbx + 0x14e8], 0xbf800000
mov dword [rbx + 0x153c], 0xbf800000
mov dword [rbx + 0x14ec], 0xbf800000
mov dword [rbx + 0x1540], 0xbf800000
mov dword [rbx + 0x14f0], 0xbf800000
mov dword [rbx + 0x1544], 0xbf800000
mov dword [rbx + 0x14f4], 0xbf800000
mov dword [rbx + 0x1548], 0xbf800000
mov dword [rbx + 0x14f8], 0xbf800000
mov dword [rbx + 0x154c], 0xbf800000
mov dword [rbx + 0x14fc], 0xbf800000
mov dword [rbx + 0x1550], 0xbf800000
mov dword [rbx + 0x1500], 0xbf800000
mov byte [rbx + 0x1558], dil
cmp byte [rbp + 0x140], dil
mov eax, edi
mov r8d, 0x800
setne al
mov ecx, eax
or ecx, 2
cmp byte [rbp + 0x141], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rbp + 0x142], dil
cmove edx, ecx
lea rcx, [rbx + 0xcb4]
mov eax, edx
or eax, 8
cmp byte [rbp + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4b4]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1800624f0]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4b8]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x18000c93e
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18000c937
movaps xmm0, xmm6
jmp 0x18000c941
addss xmm0, dword [rbx + 0x18]
jmp 0x18000c941
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x18000c960
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18000c959
movaps xmm0, xmm6
jmp 0x18000c963
addss xmm0, dword [rbx + 0x18]
jmp 0x18000c963
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x18000c983
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18000c97c
movaps xmm0, xmm6
jmp 0x18000c986
addss xmm0, dword [rbx + 0x18]
jmp 0x18000c986
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18000c9a7
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18000c9a0
movaps xmm0, xmm6
jmp 0x18000c9aa
addss xmm0, dword [rbx + 0x18]
jmp 0x18000c9aa
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18000c922
call fcn.180016ef0
call fcn.18000b230
call fcn.18000ba70
call fcn.18000ad20
mov r8, qword [0x180096c68]
mov eax, dword [r8 + 0x1de8]
sub eax, 1
js 0x18000ca1c
mov r8, qword [r8 + 0x1df0]
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 0x18000ca12
test dword [rax + 0xc], 0x8000000
jne 0x18000ca32
sub r8, 0x30
sub rdx, 1
jns 0x18000ca01
cmp qword [rbx + 0x1f88], rdi
je 0x18000ca4e
movss xmm0, dword [rbx + 0x1fa4]
comiss xmm0, xmm6
jbe 0x18000ca4e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x180062450]
addss xmm1, dword [rbx + 0x1fac]
minss xmm1, xmm9
jmp 0x18000ca6b
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18006245c]
movss xmm1, dword [rbx + 0x1fac]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1fac], xmm1
mov dword [rbx + 0x1fb0], edi
mov qword [rbx + 0x33a0], 0xffffffffffffffff
mov dword [rbx + 0x339c], esi
mov dword [rbx + 0x30c0], 0x3f800000
mov dword [rbx + 0x30c4], 0x3f800000
call fcn.18000b5d0
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x1baf], dil
jne 0x18000cad2
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x18000cad2
movsd xmm10, qword [rbx + 0x1b98]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bc0], edi
je 0x18000cc39
mov r14, rdi
mov rax, qword [rbx + 0x1bc8]
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 0x18000cc27
cmp byte [rsi + 0x3a8], dil
jne 0x18000cc27
comiss xmm10, dword [rsi + 0x23c]
jbe 0x18000cc27
mov rcx, qword [rsi + 0x270]
mov byte [rsi + 0x3a8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3a0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3a4], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x18000cb85
mov rax, qword [0x180096c68]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000cb78
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x270]
call fcn.180024220
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x18000cbc3
mov rax, qword [0x180096c68]
mov qword [rsi + 0x168], rdi
test rax, rax
je 0x18000cbb6
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x170], rdi
mov rcx, qword [rsi + 0x1a8]
test rcx, rcx
je 0x18000cbf5
mov rax, qword [0x180096c68]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18000cbe8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a8], rdi
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x18000cc27
mov rax, qword [0x180096c68]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18000cc1a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bc0]
jne 0x18000cae3
mov r14d, edi
cmp dword [rbx + 0x20b8], edi
jle 0x18000cd7d
mov qword [rsp + 0x80], r12
mov r15, rdi
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
mov rax, qword [rbx + 0x20c0]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x18000cd52
comiss xmm10, xmm0
jbe 0x18000cd52
mov rsi, qword [rbx + 0x2098]
mov rbp, qword [0x180096c68]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18000ccc3
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18000ccb6
dec dword [rbp + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1c8], rdi
mov byte [rsi + 0x1fc], 1
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x18000ccfc
mov rax, qword [0x180096c68]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000ccef
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov edx, edi
mov byte [rsi + 0x206], 1
cmp dword [rsi + 0x74], edi
jle 0x18000cd26
mov rcx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rax + rcx - 0x18], 0xffff
cmp edx, dword [rsi + 0x74]
jl 0x18000cd10
sub rsi, qword [rbp + 0x2098]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x20c0]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x20b8]
jl 0x18000cc60
mov r12, qword [rsp + 0x80]
mov r13, qword [rsp + 0xb8]
mov r14d, edi
mov r15, qword [rsp + 0x70]
cmp dword [rbx + 0x2080], edi
jle 0x18000cdcc
mov rsi, rdi
mov rbp, qword [rbx + 0x2088]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x18000cdbc
comiss xmm10, xmm0
jbe 0x18000cdbc
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180027380
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2080]
jl 0x18000cd90
movaps xmm10, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc0]
cmp byte [rbx + 0x1baf], dil
je 0x18000ce51
mov rsi, qword [0x180096c68]
mov rcx, qword [rsi + 0x1dd0]
test rcx, rcx
je 0x18000ce1a
mov qword [rsi + 0x1dc8], rdi
test rsi, rsi
je 0x18000ce0d
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1dd0], rdi
mov rcx, qword [rsi + 0x1de0]
test rcx, rcx
je 0x18000ce4c
mov rax, qword [0x180096c68]
mov qword [rsi + 0x1dd8], rdi
test rax, rax
je 0x18000ce3f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1de0], rdi
call fcn.18002f100
mov rax, qword [rbx + 0x1e20]
mov byte [rbx + 0x1baf], dil
test rax, rax
je 0x18000cec5
cmp byte [rax + 0x8f], dil
jne 0x18000cec5
mov rcx, qword [0x180096c68]
mov eax, dword [rcx + 0x1bd0]
sub eax, 1
js 0x18000cebe
movsxd rdx, eax
mov rax, qword [rcx + 0x1bd8]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18000ceb4
cmp byte [rcx + 0x8f], dil
je 0x18000ceb4
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000d0c9
sub r8, 8
sub rdx, 1
jns 0x18000ce90
xor ecx, ecx
call fcn.180013dc0
mov ecx, dword [rbx + 0x1bf4]
test ecx, ecx
jns 0x18000ceeb
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1bf0]
test eax, eax
cmovg edx, eax
call fcn.18001bf40
mov dword [rbx + 0x1bf0], edi
mov ecx, dword [rbx + 0x1dfc]
test ecx, ecx
jns 0x18000cf17
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1df8]
test eax, eax
cmovg edx, eax
call fcn.18001be10
lea rsi, [rbx + 0x1dc8]
mov dword [rbx + 0x1df8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000cf43
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.18001beb0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000cf57
mov edx, 8
mov rcx, rsi
call fcn.18001beb0
movsxd rcx, dword [rsi]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1dd8]
inc dword [rsi]
call fcn.18001b410
mov r8, qword [0x180096c68]
mov dword [r8 + 0x3178], edi
cmp byte [r8 + 0x3174], dil
je 0x18000d039
mov esi, dword [r8 + 0x1c5c]
mov dword [r8 + 0x1fb0], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18000cfb4
call fcn.18000f1c0
test al, al
je 0x18000cfb4
mov byte [r8 + 0x3174], dil
movss xmm0, dword [r8 + 0x450]
ucomiss xmm0, xmm6
jp 0x18000cfd6
jne 0x18000cfd6
test esi, esi
je 0x18000cfd6
mov dword [r8 + 0x3178], esi
mov byte [r8 + 0x3174], dil
or dword [r8 + 0x1d18], 0x40
xor ecx, ecx
mov dword [r8 + 0x1d78], 0x3f19999a
call fcn.180014fa0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.18002ffd0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18002ffd0
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x180096c68]
add rax, 0x1638
add rcx, rax
call fcn.1800300d0
call fcn.180013b60
call fcn.18001abb0
mov rax, qword [0x180096c68]
lea rcx, str.DebugDefault
mov byte [rbx + 0x1bad], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1d18], 2
mov dword [rax + 0x1d38], 0x43c80000
mov dword [rax + 0x1d3c], 0x43c80000
mov dword [rax + 0x1d20], 4
call fcn.180011900
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x3118], edi
jle 0x18000d0bc
mov rsi, rdi
mov rax, qword [r13]
cmp dword [rax + rsi + 4], 1
jne 0x18000d0ae
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 + 0x3118]
jl 0x18000d092
add rsp, 0x88
pop r13
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18000d0de
cmp byte [rax + 0x8f], dil
jne 0x18000d0e1
mov rax, rcx
mov rcx, rax
jmp 0x18000cec0