Function at 0x1800078a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x180058c88]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov edi, dword [rsi + 0x30d8]
sub edi, 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 0x180007946
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop
mov rax, qword [rsi + 0x30e0]
cmp dword [rax + rbp + 4], 7
jne 0x180007939
movsxd r8, dword [rsi + 0x30d8]
mov rcx, rax
mov rdx, r14
sub rdx, rax
add rdx, rax
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 + 0x30d8]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x1800078f0
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x30d8], edi
jle 0x180007993
mov esi, edi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x30e0]
cmp dword [rsi + rax + 4], edi
jne 0x18000797e
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + 0x10]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x30d8]
jl 0x180007960
mov rsi, qword [0x180058c88]
cmp byte [rsi + 0xcc], dil
je 0x1800079a9
test byte [rsi + 0xc], 2
jne 0x1800079a9
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3091], dil
jne 0x180007a14
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180007a0d
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.180003d90
mov rsi, rax
test rax, rax
je 0x180007a06
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180015b50
mov rcx, qword [0x180058c88]
test rcx, rcx
je 0x1800079fd
dec dword [rcx + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x180058c88]
mov byte [rbp + 0x3091], 1
movss xmm0, dword [rbp + 0x3094]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180007ab0
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3094], xmm0
jb 0x180007ab0
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x180007aa3
lea rcx, [rsp + 0xa0]
mov dword [rsi + 0x3094], edi
mov qword [rsp + 0xa0], rdi
call fcn.180015eb0
lea rdx, [0x180049a98]
mov rcx, r14
mov r15, rax
call fcn.180003c60
mov rsi, rax
test rax, rax
je 0x180007a9a
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 [0x180058c88]
jmp 0x180007aaa
mov byte [rbp + 0x398], 1
mov dword [rbp + 0x3094], edi
inc dword [rbx + 0x1b90]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b9c], 1
mov word [rbx + 0x3056], di
mov dword [rbx + 0x1c00], edi
addsd xmm0, qword [rbx + 0x1b88]
movsd qword [rbx + 0x1b88], xmm0
mov ecx, dword [rbx + 0x3074]
test ecx, ecx
jns 0x180007b0f
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3070]
test eax, eax
cmovg edx, eax
call fcn.180017900
mov rsi, qword [0x180058c88]
movss xmm9, dword [0x18004ef88]
movss xmm10, dword [0x18004ee88]
mov dword [rbx + 0x3070], edi
movsxd rax, dword [rbx + 0x3350]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x3170]
addss xmm0, dword [rbx + 0x3358]
movss dword [rbx + 0x3358], xmm0
movss dword [rbx + rax*4 + 0x3170], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3350]
movss xmm2, dword [rbx + 0x3358]
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 + 0x3354]
inc eax
mov dword [rbx + 0x3350], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3354], ecx
jbe 0x180007bb8
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x180007bbc
movaps xmm1, xmm9
movss dword [rbx + 0x39c], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1e00]
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 + 0x1df8], edi
jle 0x180007ca8
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi + 0x1e00]
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 + 0x1df8]
jl 0x180007c00
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x180007ccd
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.18000f3a0
mov eax, dword [rbx + 0x1df8]
movaps xmm8, xmm9
movss xmm4, dword [0x18004efc8]
movaps xmm7, xmm9
movaps xmm5, xmm4
test eax, eax
jle 0x180007d49
mov rcx, qword [rbx + 0x1e00]
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 0x180007d27
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x180007d2f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x180007d37
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x180007d3f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x180007d00
movss dword [rbx + 0x19a4], xmm8
mov r14d, 0x200
movss dword [rbx + 0x19a8], xmm7
movss dword [rbx + 0x19ac], xmm4
movss dword [rbx + 0x19b0], xmm5
mov eax, dword [rbx + 0x1620]
movss xmm1, dword [rbx + 0x1624]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x199c], eax
movss xmm0, dword [rbx + 0x19a0]
ucomiss xmm0, xmm1
jp 0x180007d9d
je 0x180007e51
movss xmm7, dword [0x18004eee0]
lea r15, [rbx + 0x1b3c]
movss dword [rbx + 0x19a0], xmm1
mov ebp, edi
nop word [rax + rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x180007e19
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 0x180007e10
mov eax, 4
jmp 0x180007e1b
cmp eax, r14d
cmovg eax, r14d
jmp 0x180007e1b
mov eax, edi
mov byte [r15], al
inc ebp
inc r15
cmp ebp, 0x40
jl 0x180007dc0
movss xmm0, dword [0x18004ee20]
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 + 0x161c], dil
je 0x180007e78
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x161d], dil
je 0x180007e9d
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x180007e9d
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161e], dil
je 0x180007eaf
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x180007ebe
or edx, 8
mov dword [rbx + 0x19b4], edx
mov edx, edi
cmp dword [rbx + 0x1df8], edi
jle 0x180007ef9
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1e00]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1df8]
jl 0x180007ed0
cmp byte [rbx + 0x1f7c], dil
je 0x180007f2d
mov eax, dword [rbx + 0x1f9c]
cmp eax, dword [rbx + 0x1c5c]
jne 0x180007f2d
cmp dword [rsi + 0x1c5c], eax
jne 0x180007f1e
mov dword [rsi + 0x1c60], eax
cmp dword [rsi + 0x1c98], eax
jne 0x180007f2d
mov byte [rsi + 0x1c9c], 1
cmp dword [rbx + 0x1c4c], edi
jne 0x180007f3d
mov dword [rbx + 0x1c54], edi
jmp 0x180007f4f
mov eax, dword [rbx + 0x1c48]
test eax, eax
je 0x180007f55
cmp dword [rbx + 0x1c5c], eax
jne 0x180007f55
mov dword [rbx + 0x1c58], edi
mov eax, dword [rbx + 0x1c48]
test eax, eax
je 0x180007f8f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c54]
movss dword [rbx + 0x1c54], xmm0
cmp dword [rbx + 0x1c5c], eax
je 0x180007f8f
addss xmm1, dword [rbx + 0x1c58]
movss dword [rbx + 0x1c58], xmm1
mov dword [rbx + 0x1c4c], eax
mov r15d, 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 0x180008028
cmp dword [rbx + 0x1c98], eax
jne 0x180008028
test eax, eax
je 0x180008028
mov ecx, dword [rsi + 0x1c5c]
test ecx, ecx
setne al
mov byte [rsi + 0x1c68], al
test ecx, ecx
je 0x180007fff
mov dword [rsi + 0x1c64], edi
mov word [rsi + 0x1c6b], di
mov dword [rsi + 0x1c94], r15d
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 0x180008047
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 + 0x2fe8]
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 0x1800080ac
cmp ecx, eax
je 0x1800080ac
mov dword [rbx + 0x2fe8], edi
test ecx, ecx
jne 0x1800080be
mov qword [rbx + 0x1c70], rdi
mov qword [rbx + 0x1c78], rdi
mov eax, dword [rbx + 0x1fec]
mov dword [rbx + 0x1ff0], eax
mov qword [rbx + 0x1fe8], 0x7f7fffff
mov word [rbx + 0x1f7d], di
mov dword [rbx + 0x1ff8], edi
cmp byte [rbx + 0x1548], dil
je 0x1800082ce
lea rcx, [rbx + 0x144]
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x4a4]
nop word [rax + rax]
mov dword [rax + 0x800], 0xbf800000
mov dword [rax], 0xbf800000
lea rax, [rax + 4]
sub r14, 1
jne 0x180008110
mov dword [rbx + 0x140], edi
mov qword [rbx + 0x3c0], rdi
mov dword [rbx + 0x14f4], 0xbf800000
mov dword [rbx + 0x14a4], 0xbf800000
mov dword [rbx + 0x14f8], 0xbf800000
mov dword [rbx + 0x14a8], 0xbf800000
mov dword [rbx + 0x14fc], 0xbf800000
mov dword [rbx + 0x14ac], 0xbf800000
mov dword [rbx + 0x1500], 0xbf800000
mov dword [rbx + 0x14b0], 0xbf800000
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 byte [rbx + 0x1548], dil
cmp byte [rsi + 0x140], dil
mov eax, edi
mov r8d, 0x800
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 + 0xca4]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4a4]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x18004efac]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a8]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x18000835e
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x180008357
movaps xmm0, xmm6
jmp 0x180008361
addss xmm0, dword [rbx + 0x18]
jmp 0x180008361
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x180008380
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x180008379
movaps xmm0, xmm6
jmp 0x180008383
addss xmm0, dword [rbx + 0x18]
jmp 0x180008383
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x1800083a3
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18000839c
movaps xmm0, xmm6
jmp 0x1800083a6
addss xmm0, dword [rbx + 0x18]
jmp 0x1800083a6
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x1800083c7
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x1800083c0
movaps xmm0, xmm6
jmp 0x1800083ca
addss xmm0, dword [rbx + 0x18]
jmp 0x1800083ca
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x180008342
call fcn.180012b70
call fcn.180006c10
call fcn.180007470
call fcn.180006720
mov r8, qword [0x180058c88]
mov eax, dword [r8 + 0x1dd8]
sub eax, 1
js 0x18000843c
mov r8, qword [r8 + 0x1de0]
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 0x180008432
test dword [rax + 0xc], 0x8000000
jne 0x180008452
sub r8, 0x30
sub rdx, 1
jns 0x180008421
cmp qword [rbx + 0x1f30], rdi
je 0x18000846e
movss xmm0, dword [rbx + 0x1f4c]
comiss xmm0, xmm6
jbe 0x18000846e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18004ef00]
addss xmm1, dword [rbx + 0x1f74]
minss xmm1, xmm10
jmp 0x18000848b
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18004ef10]
movss xmm1, dword [rbx + 0x1f74]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f74], xmm1
mov dword [rbx + 0x1f78], edi
mov qword [rbx + 0x3360], 0xffffffffffffffff
mov dword [rbx + 0x335c], r15d
mov dword [rbx + 0x3080], 0x3f800000
mov dword [rbx + 0x3084], 0x3f800000
call fcn.180006fd0
mov r11, qword [0x180058c88]
xor r8b, r8b
movaps xmm10, xmmword [rsp + 0x20]
mov rax, qword [r11 + 0x1e08]
mov byte [r11 + 0x1f70], dil
test rax, rax
je 0x180008531
cmp byte [rax + 0x8e], dil
je 0x180008531
test dword [rax + 0xc], 0x40000
jne 0x180008531
cmp byte [r11 + 0x140], dil
jne 0x180008531
cmp byte [r11 + 0x142], dil
jne 0x180008531
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x180008531
call fcn.180009f80
test al, al
je 0x180008531
test byte [r11 + 0x1c78], 1
jne 0x180008531
mov byte [r11 + 0x1f70], 1
mov r8b, 1
cmp dword [r11 + 0x1c5c], edi
jne 0x180008588
test r8b, r8b
je 0x180008588
mov rax, qword [r11 + 0x1e08]
mov qword [r11 + 0x1f60], rax
cmp dword [r11 + 0x1e10], edi
je 0x180008575
mov edx, dword [r11 + 0x1e4c]
cmp edx, 0x7fffffff
je 0x180008575
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x180008581
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f6c], ecx
mov rax, qword [r11 + 0x1f60]
mov qword [r11 + 0x1f58], rdi
mov dword [r11 + 0x1f68], 0x7fffffff
test rax, rax
je 0x1800085e8
mov edx, dword [r11 + 0x1f6c]
mov qword [r11 + 0x1f58], rax
cmp edx, 0x7fffffff
je 0x1800085d6
mov ecx, dword [rax + 0x18c]
cmp ecx, r15d
je 0x1800085d6
inc ecx
lea eax, [rcx + rdx]
cdq
idiv ecx
mov dword [r11 + 0x1f68], edx
mov qword [r11 + 0x1f60], rdi
mov dword [r11 + 0x1f6c], 0x7fffffff
mov dword [r11 + 0x1e4c], 0x7fffffff
cmp byte [rbx + 0x1b9f], dil
jne 0x18000861c
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x18000861c
movsd xmm9, qword [rbx + 0x1b88]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bb0], edi
je 0x180008786
mov r14, rdi
nop dword [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 0x180008774
cmp byte [rsi + 0x398], dil
jne 0x180008774
comiss xmm9, dword [rsi + 0x234]
jbe 0x180008774
mov rcx, qword [rsi + 0x268]
mov byte [rsi + 0x398], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x390], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x394], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x1800086d2
mov rax, qword [0x180058c88]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x1800086c5
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 + 0x268]
call fcn.18001f470
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x180008710
mov rax, qword [0x180058c88]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x180008703
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x168], rdi
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x180008742
mov rax, qword [0x180058c88]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x180008735
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x180008774
mov rax, qword [0x180058c88]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x180008767
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b0], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bb0]
jne 0x180008630
mov r14d, edi
cmp dword [rbx + 0x2068], edi
jle 0x1800088e3
mov qword [rsp + 0xb0], r12
mov r15, rdi
mov qword [rsp + 0xb8], r13
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop word [rax + rax]
mov rax, qword [rbx + 0x2070]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x1800088b2
comiss xmm9, xmm0
jbe 0x1800088b2
mov rsi, qword [rbx + 0x2038]
mov rbp, qword [0x180058c88]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x180008823
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x180008816
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 0x18000885c
mov rax, qword [0x180058c88]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000884f
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 0x180008886
mov rcx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], 0xffff
cmp edx, dword [rsi + 0x74]
jl 0x180008870
sub rsi, qword [rbp + 0x2038]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2070]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x2068]
jl 0x1800087c0
mov r13, qword [rsp + 0xb8]
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xb0]
mov r14d, edi
cmp dword [rbx + 0x2058], edi
jle 0x18000893c
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x2060]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x18000892c
comiss xmm9, xmm0
jbe 0x18000892c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.1800227e0
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2058]
jl 0x180008900
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x1b9f], dil
je 0x1800089b4
mov rsi, qword [0x180058c88]
mov rcx, qword [rsi + 0x1dc0]
test rcx, rcx
je 0x18000897d
mov qword [rsi + 0x1db8], rdi
test rsi, rsi
je 0x180008970
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1dc0], rdi
mov rcx, qword [rsi + 0x1dd0]
test rcx, rcx
je 0x1800089af
mov rax, qword [0x180058c88]
mov qword [rsi + 0x1dc8], rdi
test rax, rax
je 0x1800089a2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1dd0], rdi
call fcn.18002a160
mov rax, qword [rbx + 0x1e08]
mov byte [rbx + 0x1b9f], dil
test rax, rax
je 0x180008a25
cmp byte [rax + 0x8f], dil
jne 0x180008a25
mov rcx, qword [0x180058c88]
mov eax, dword [rcx + 0x1bc0]
sub eax, 1
js 0x180008a1e
movsxd rdx, eax
mov rax, qword [rcx + 0x1bc8]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x180008a14
cmp byte [rcx + 0x8f], dil
je 0x180008a14
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x180008c75
sub r8, 8
sub rdx, 1
jns 0x1800089f0
xor ecx, ecx
call fcn.18000f080
mov ecx, dword [rbx + 0x1be4]
test ecx, ecx
jns 0x180008a4b
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.180017990
mov dword [rbx + 0x1be0], edi
mov ecx, dword [rbx + 0x1dec]
test ecx, ecx
jns 0x180008a77
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1de8]
test eax, eax
cmovg edx, eax
call fcn.180017860
lea rsi, [rbx + 0x1db8]
mov dword [rbx + 0x1de8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x180008aa3
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.180017900
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x180008ab7
mov edx, 8
mov rcx, rsi
call fcn.180017900
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1dc8]
inc dword [rsi]
call fcn.180017050
mov r8, qword [0x180058c88]
mov dword [r8 + 0x3138], edi
cmp byte [r8 + 0x3134], dil
je 0x180008ba2
mov esi, dword [r8 + 0x1c4c]
mov dword [r8 + 0x1f78], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x180008b16
call fcn.180009f80
test al, al
je 0x180008b16
mov byte [r8 + 0x3134], dil
movss xmm0, dword [r8 + 0x440]
ucomiss xmm0, xmm6
jp 0x180008b38
jne 0x180008b38
test esi, esi
je 0x180008b38
mov dword [r8 + 0x3138], esi
mov byte [r8 + 0x3134], dil
or dword [r8 + 0x1d08], 0x40
xor edx, edx
mov dword [r8 + 0x1d68], 0x3f19999a
call fcn.180010a10
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.18002b210
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18002b210
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x180058c88]
add rax, 0x1628
add rcx, rax
call fcn.18002b310
call fcn.18000ee30
mov r8, qword [0x180058c88]
movaps xmm6, xmmword [rsp + 0x60]
mov rsi, r8
mov dword [r8 + 0x1c44], edi
mov eax, dword [r8 + 0x3150]
inc eax
cmp dword [r8 + 0x1b90], eax
jne 0x180008cc3
mov ebp, dword [r8 + 0x1c5c]
test ebp, ebp
jne 0x180008bd9
mov ebp, dword [r8 + 0x1c4c]
cmp dword [r8 + 0x3158], ebp
je 0x180008c24
mov dword [r8 + 0x3158], ebp
mov dword [r8 + 0x3154], r15d
mov ecx, dword [r8 + 0x3164]
test ecx, ecx
jns 0x180008c1e
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r8 + 0x3160]
test eax, eax
cmovg edx, eax
call fcn.180017a20
mov r8, qword [0x180058c88]
mov dword [rsi + 0x3160], edi
test ebp, ebp
je 0x180008cc3
movsxd rax, dword [rsi + 0x3154]
test eax, eax
js 0x180008c66
mov ecx, eax
cmp eax, dword [rsi + 0x3160]
jge 0x180008c99
mov r9, qword [rsi + 0x3168]
mov rdx, rax
shl rdx, 6
cmp byte [rdx + r9 + 5], dil
jne 0x180008c5e
cmp byte [rdx + r9 + 4], 2
jle 0x180008c99
inc eax
mov dword [rsi + 0x3154], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x180008c95
mov dword [rsi + 0x1c44], ebp
jmp 0x180008cc3
mov rax, qword [rcx + 0x360]
test rax, rax
je 0x180008c8a
cmp byte [rax + 0x8f], dil
jne 0x180008c8d
mov rax, rcx
mov rcx, rax
jmp 0x180008a20
test eax, eax
js 0x180008cc3
cmp ecx, dword [rsi + 0x3160]
jge 0x180008cc3
mov rax, qword [rsi + 0x3168]
movsxd rdx, ecx
shl rdx, 6
mov ecx, dword [rdx + rax]
mov dword [rsi + 0x1c44], ecx
mov rax, qword [rsi + 0x3168]
inc byte [rdx + rax + 4]
mov byte [rbx + 0x1b9d], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1d08], 2
xor edx, edx
mov dword [r8 + 0x1d28], 0x43c80000
mov dword [r8 + 0x1d2c], 0x43c80000
mov dword [r8 + 0x1d10], 4
xor r8d, r8d
call fcn.18000ca30
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
cmp dword [rbx + 0x30d8], edi
jle 0x180008d4e
mov rsi, rdi
mov rax, qword [rbx + 0x30e0]
cmp dword [rax + rsi + 4], 1
jne 0x180008d40
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 + 0x30d8]
jl 0x180008d21
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret