Function at 0x18000cc90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0x88
mov rsi, qword [0x1801997b0]
mov qword [rax + 0x18], rbp
mov rbx, rsi
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
mov edi, dword [rsi + 0x30d8]
lea r13, [rsi + 0x30e0]
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 0x18000cd46
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop dword [rax]
mov rdx, qword [r13]
cmp dword [rdx + rbp + 4], 7
jne 0x18000cd37
mov rcx, qword [rsi + 0x30e0]
movsxd r8, dword [rsi + 0x30d8]
sub rdx, rcx
add rdx, r14
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 0x18000ccf0
jmp 0x18000cd4e
mov qword [rsp + 0xb8], r13
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x30d8], edi
jle 0x18000cd90
mov esi, edi
nop dword [rax]
mov rax, qword [r13]
cmp dword [rax + rsi + 4], edi
jne 0x18000cd7b
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 + 0x30d8]
jl 0x18000cd60
mov rsi, qword [0x1801997b0]
cmp byte [rsi + 0xcc], dil
je 0x18000cda6
test byte [rsi + 0xc], 2
jne 0x18000cda6
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3091], dil
jne 0x18000ce11
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000ce0a
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.180009380
mov rsi, rax
test rax, rax
je 0x18000ce03
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.18001ac40
mov rcx, qword [0x1801997b0]
test rcx, rcx
je 0x18000cdfa
dec dword [rcx + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1801997b0]
mov byte [rbp + 0x3091], 1
movss xmm0, dword [rbp + 0x3094]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x70], r15
jbe 0x18000ceb2
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3094], xmm0
jb 0x18000ceb2
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x18000cea5
lea rcx, [rsp + 0xb0]
mov dword [rsi + 0x3094], edi
mov qword [rsp + 0xb0], rdi
call fcn.18001afa0
lea rdx, [0x18007fb98]
mov rcx, r14
mov r15, rax
call fcn.180009250
mov rsi, rax
test rax, rax
je 0x18000ce9c
mov r8, qword [rsp + 0xb0]
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 [0x1801997b0]
jmp 0x18000ceac
mov byte [rbp + 0x398], 1
mov dword [rbp + 0x3094], edi
inc dword [rbx + 0x1b88]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b94], 1
mov dword [rbx + 0x3054], edi
mov dword [rbx + 0x1bf8], edi
addsd xmm0, qword [rbx + 0x1b80]
movsd qword [rbx + 0x1b80], xmm0
mov ecx, dword [rbx + 0x3074]
test ecx, ecx
jns 0x18000cf10
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.18001c7b0
mov rsi, qword [0x1801997b0]
movss xmm10, dword [0x180080c90]
movss xmm9, dword [0x180080ac0]
mov dword [rbx + 0x3070], edi
movsxd rax, dword [rbx + 0x332c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x314c]
addss xmm0, dword [rbx + 0x3334]
movss dword [rbx + 0x3334], xmm0
movss dword [rbx + rax*4 + 0x314c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x332c]
movss xmm2, dword [rbx + 0x3334]
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 + 0x3330]
inc eax
mov dword [rbx + 0x332c], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3330], ecx
jbe 0x18000cfb9
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000cfbd
movaps xmm1, xmm10
movss dword [rbx + 0x39c], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1de8]
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 + 0x1de0], edi
jle 0x18000d0a8
mov rdx, rdi
nop word [rax + rax]
mov rax, qword [rsi + 0x1de8]
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 + 0x1de0]
jl 0x18000d000
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x18000d0cd
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1800142b0
mov eax, dword [rbx + 0x1de0]
movaps xmm8, xmm10
movss xmm4, dword [0x180080cec]
movaps xmm7, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x18000d149
mov rcx, qword [rbx + 0x1de8]
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 0x18000d127
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x18000d12f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x18000d137
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18000d13f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000d100
movss dword [rbx + 0x199c], xmm8
movss dword [rbx + 0x19a0], xmm7
movss dword [rbx + 0x19a4], xmm4
movss dword [rbx + 0x19a8], xmm5
mov eax, dword [rbx + 0x1618]
movss xmm1, dword [rbx + 0x161c]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x1994], eax
movss xmm0, dword [rbx + 0x1998]
ucomiss xmm0, xmm1
jp 0x18000d197
je 0x18000d251
movss xmm7, dword [0x180080b18]
lea r14, [rbx + 0x1b34]
movss dword [rbx + 0x1998], xmm1
mov ebp, edi
mov r15d, 0x200
nop word [rax + rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18000d219
movss xmm1, dword [rbx + 0x1998]
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 0x18000d210
mov eax, 4
jmp 0x18000d21b
cmp eax, r15d
cmovg eax, r15d
jmp 0x18000d21b
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18000d1c0
movss xmm0, dword [0x1800809d0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1998]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b30], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19ac], edi
cmp byte [rbx + 0x1614], dil
je 0x18000d278
mov dword [rbx + 0x19ac], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1615], dil
je 0x18000d29d
mov rax, qword [rbx + 0x1970]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000d29d
or edx, 2
mov dword [rbx + 0x19ac], edx
cmp byte [rbx + 0x1616], dil
je 0x18000d2af
or edx, 4
mov dword [rbx + 0x19ac], edx
test byte [rbx + 0xc], 8
je 0x18000d2be
or edx, 8
mov dword [rbx + 0x19ac], edx
mov edx, edi
cmp dword [rbx + 0x1de0], edi
jle 0x18000d2f9
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1de8]
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 + 0x1de0]
jl 0x18000d2d0
cmp byte [rbx + 0x1f74], dil
je 0x18000d32d
mov eax, dword [rbx + 0x1f94]
cmp eax, dword [rbx + 0x1c50]
jne 0x18000d32d
cmp dword [rsi + 0x1c50], eax
jne 0x18000d31e
mov dword [rsi + 0x1c54], eax
cmp dword [rsi + 0x1c90], eax
jne 0x18000d32d
mov byte [rsi + 0x1c94], 1
lea rax, [rbx + 0x1c3c]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c40], edi
jne 0x18000d346
mov dword [rbx + 0x1c48], edi
jmp 0x18000d357
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x18000d362
cmp dword [rbx + 0x1c50], ecx
jne 0x18000d362
mov dword [rbx + 0x1c4c], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x18000d399
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c48]
movss dword [rbx + 0x1c48], xmm0
cmp dword [rbx + 0x1c50], edx
je 0x18000d399
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c4c]
movss dword [rbx + 0x1c4c], xmm0
movzx eax, byte [rbx + 0x1c45]
movaps xmm2, xmm1
mov byte [rbx + 0x1c46], al
mov ebp, 0xffffffff
mov eax, dword [rbx + 0x1c50]
mov dword [rbx + 0x1c40], edx
mov dword [r8], edi
mov word [rbx + 0x1c44], di
mov byte [rbx + 0x1c47], dil
cmp dword [rbx + 0x1c54], eax
je 0x18000d435
cmp dword [rbx + 0x1c90], eax
jne 0x18000d435
test eax, eax
je 0x18000d435
mov ecx, dword [rsi + 0x1c50]
test ecx, ecx
setne al
mov byte [rsi + 0x1c5c], al
test ecx, ecx
je 0x18000d407
mov dword [rsi + 0x1c58], edi
mov word [rsi + 0x1c5f], di
mov dword [rsi + 0x1c8c], ebp
mov dword [rsi + 0x1c50], edi
mov word [rsi + 0x1c5d], di
mov qword [rsi + 0x1c80], rdi
mov word [rsi + 0x1c61], di
mov qword [rsi + 0x1c64], rdi
mov qword [rsi + 0x1c70], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c50]
test ecx, ecx
je 0x18000d452
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c58]
movss dword [rbx + 0x1c58], xmm0
mov rax, qword [rbx + 0x1c80]
addss xmm2, dword [rbx + 0x1ca4]
mov qword [rbx + 0x1c98], rax
movzx eax, byte [rbx + 0x1c60]
mov byte [rbx + 0x1c95], al
mov eax, dword [rbx + 0x2fe0]
movss dword [rbx + 0x1ca4], xmm2
mov dword [rbx + 0x1c90], ecx
mov dword [rbx + 0x1c54], edi
mov byte [rbx + 0x1c61], dil
mov byte [rbx + 0x1c94], dil
mov byte [rbx + 0x1c5c], dil
test eax, eax
je 0x18000d4b2
cmp ecx, eax
je 0x18000d4b2
mov dword [rbx + 0x2fe0], edi
test ecx, ecx
jne 0x18000d4c4
mov qword [rbx + 0x1c64], rdi
mov qword [rbx + 0x1c70], rdi
mov eax, dword [rbx + 0x1fe4]
mov r8d, 0x800
mov dword [rbx + 0x1fe8], eax
mov eax, edi
mov qword [rbx + 0x1fe0], 0x7f7fffff
mov word [rbx + 0x1f75], di
mov dword [rbx + 0x1ff0], 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 + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x180080cb8]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x18000d57c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18000d575
movaps xmm0, xmm6
jmp 0x18000d57f
addss xmm0, dword [rbx + 0x18]
jmp 0x18000d57f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x18000d59e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18000d597
movaps xmm0, xmm6
jmp 0x18000d5a1
addss xmm0, dword [rbx + 0x18]
jmp 0x18000d5a1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x18000d5c1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18000d5ba
movaps xmm0, xmm6
jmp 0x18000d5c4
addss xmm0, dword [rbx + 0x18]
jmp 0x18000d5c4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18000d5e5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18000d5de
movaps xmm0, xmm6
jmp 0x18000d5e8
addss xmm0, dword [rbx + 0x18]
jmp 0x18000d5e8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18000d560
call fcn.180017780
call fcn.18000c0e0
call fcn.18000c940
call fcn.18000bbf0
mov r8, qword [0x1801997b0]
mov eax, dword [r8 + 0x1dc0]
sub eax, 1
js 0x18000d65b
mov r8, qword [r8 + 0x1dc8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x18000d651
test dword [rax + 0xc], 0x8000000
jne 0x18000d671
sub r8, 0x30
sub rdx, 1
jns 0x18000d640
cmp qword [rbx + 0x1f20], rdi
je 0x18000d68d
movss xmm0, dword [rbx + 0x1f3c]
comiss xmm0, xmm6
jbe 0x18000d68d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x180080b48]
addss xmm1, dword [rbx + 0x1f6c]
minss xmm1, xmm9
jmp 0x18000d6aa
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x180080b68]
movss xmm1, dword [rbx + 0x1f6c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f6c], xmm1
mov dword [rbx + 0x1f70], edi
mov qword [rbx + 0x333c], 0xffffffffffffffff
mov dword [rbx + 0x3338], ebp
mov dword [rbx + 0x3080], 0x3f800000
mov dword [rbx + 0x3084], 0x3f800000
call fcn.18000c4a0
mov r11, qword [0x1801997b0]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1df0]
test r8, r8
je 0x18000d72c
cmp byte [r8 + 0x8e], dil
je 0x18000d72c
test dword [r8 + 0xc], 0x40000
jne 0x18000d72c
cmp byte [r11 + 0x140], dil
jne 0x18000d72c
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x18000d72c
call fcn.18000f0a0
test al, al
je 0x18000d72c
mov al, 1
jmp 0x18000d72e
xor al, al
mov byte [r11 + 0x1f68], al
cmp dword [r11 + 0x1c50], edi
jne 0x18000d78f
test al, al
je 0x18000d78f
mov qword [r11 + 0x1f50], r8
mov dword [r11 + 0x1f60], 0x7fffffff
cmp dword [r11 + 0x1df8], edi
je 0x18000d77c
mov edx, dword [r11 + 0x1e40]
cmp edx, 0x7fffffff
je 0x18000d77c
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x18000d788
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f64], ecx
mov r8, qword [r11 + 0x1f50]
mov qword [r11 + 0x1f48], rdi
mov dword [r11 + 0x1f5c], 0x7fffffff
mov dword [r11 + 0x1f58], 0x7fffffff
test r8, r8
je 0x18000d82a
mov eax, dword [r11 + 0x1f60]
mov qword [r11 + 0x1f48], r8
cmp eax, 0x7fffffff
je 0x18000d7e6
mov ecx, dword [r8 + 0x18c]
cmp ecx, ebp
je 0x18000d7e6
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f58], edx
mov eax, dword [r11 + 0x1f64]
cmp eax, 0x7fffffff
je 0x18000d80d
mov ecx, dword [r8 + 0x190]
cmp ecx, ebp
je 0x18000d80d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f5c], edx
mov qword [r11 + 0x1f50], rdi
mov dword [r11 + 0x1f64], 0x7fffffff
mov dword [r11 + 0x1f60], 0x7fffffff
mov dword [r11 + 0x1e40], 0x7fffffff
cmp byte [rbx + 0x1b97], dil
jne 0x18000d85e
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x18000d85e
movsd xmm10, qword [rbx + 0x1b80]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1ba8], edi
je 0x18000d9c6
mov r14, rdi
nop
mov rax, qword [rbx + 0x1bb0]
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 0x18000d9b4
cmp byte [rsi + 0x3a8], dil
jne 0x18000d9b4
comiss xmm10, dword [rsi + 0x24c]
jbe 0x18000d9b4
mov rcx, qword [rsi + 0x280]
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 0x18000d912
mov rax, qword [0x1801997b0]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000d905
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 + 0x280]
call fcn.180024360
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x18000d950
mov rax, qword [0x1801997b0]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x18000d943
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 + 0x1a8]
test rcx, rcx
je 0x18000d982
mov rax, qword [0x1801997b0]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18000d975
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 0x18000d9b4
mov rax, qword [0x1801997b0]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18000d9a7
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 + 0x1ba8]
jne 0x18000d870
mov r14d, edi
cmp dword [rbx + 0x2060], edi
jle 0x18000db0d
mov qword [rsp + 0x80], r12
mov r15, rdi
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop dword [rax]
mov rax, qword [rbx + 0x2068]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x18000dae2
comiss xmm10, xmm0
jbe 0x18000dae2
mov rsi, qword [rbx + 0x2030]
mov rbp, qword [0x1801997b0]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18000da53
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18000da46
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 0x18000da8c
mov rax, qword [0x1801997b0]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000da7f
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 0x18000dab6
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 0x18000daa0
sub rsi, qword [rbp + 0x2030]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2068]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x2060]
jl 0x18000d9f0
mov r12, qword [rsp + 0x80]
mov r13, qword [rsp + 0xb8]
mov r14d, edi
mov r15, qword [rsp + 0x70]
cmp dword [rbx + 0x2050], edi
jle 0x18000db5c
mov rsi, rdi
mov rbp, qword [rbx + 0x2058]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x18000db4c
comiss xmm10, xmm0
jbe 0x18000db4c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180027880
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2050]
jl 0x18000db20
movaps xmm10, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc0]
cmp byte [rbx + 0x1b97], dil
je 0x18000dbe1
mov rsi, qword [0x1801997b0]
mov rcx, qword [rsi + 0x1da8]
test rcx, rcx
je 0x18000dbaa
mov qword [rsi + 0x1da0], rdi
test rsi, rsi
je 0x18000db9d
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1da8], rdi
mov rcx, qword [rsi + 0x1db8]
test rcx, rcx
je 0x18000dbdc
mov rax, qword [0x1801997b0]
mov qword [rsi + 0x1db0], rdi
test rax, rax
je 0x18000dbcf
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1db8], rdi
call fcn.18002fce0
mov rax, qword [rbx + 0x1df0]
mov byte [rbx + 0x1b97], dil
test rax, rax
je 0x18000dc55
cmp byte [rax + 0x8f], dil
jne 0x18000dc55
mov rcx, qword [0x1801997b0]
mov eax, dword [rcx + 0x1bb8]
sub eax, 1
js 0x18000dc4e
movsxd rdx, eax
mov rax, qword [rcx + 0x1bc0]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18000dc44
cmp byte [rcx + 0x8f], dil
je 0x18000dc44
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000de57
sub r8, 8
sub rdx, 1
jns 0x18000dc20
xor ecx, ecx
call fcn.180014050
mov ecx, dword [rbx + 0x1bdc]
test ecx, ecx
jns 0x18000dc7b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1bd8]
test eax, eax
cmovg edx, eax
call fcn.18001c840
mov dword [rbx + 0x1bd8], edi
mov ecx, dword [rbx + 0x1dd4]
test ecx, ecx
jns 0x18000dca7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1dd0]
test eax, eax
cmovg edx, eax
call fcn.18001c710
lea rsi, [rbx + 0x1da0]
mov dword [rbx + 0x1dd0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000dcd3
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.18001c7b0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000dce7
mov edx, 8
mov rcx, rsi
call fcn.18001c7b0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1db0]
inc dword [rsi]
call fcn.18001bf20
mov r8, qword [0x1801997b0]
mov dword [r8 + 0x3138], edi
cmp byte [r8 + 0x3134], dil
je 0x18000ddca
mov esi, dword [r8 + 0x1c40]
mov dword [r8 + 0x1f70], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18000dd46
call fcn.18000f0a0
test al, al
je 0x18000dd46
mov byte [r8 + 0x3134], dil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x18000dd68
jne 0x18000dd68
test esi, esi
je 0x18000dd68
mov dword [r8 + 0x3138], esi
mov byte [r8 + 0x3134], dil
or dword [r8 + 0x1cf0], 0x40
xor edx, edx
mov dword [r8 + 0x1d50], 0x3f19999a
call fcn.180015a00
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.180030d60
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180030d60
mov eax, 0x1630
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x1620
cmove ecx, eax
add rcx, qword [0x1801997b0]
call fcn.180030e60
call fcn.180013ee0
mov r8, qword [0x1801997b0]
mov byte [rbx + 0x1b95], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1cf0], 2
xor edx, edx
mov dword [r8 + 0x1d10], 0x43c80000
mov dword [r8 + 0x1d14], 0x43c80000
mov dword [r8 + 0x1cf8], 4
xor r8d, r8d
call fcn.180011b90
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x30d8], edi
jle 0x18000de4a
mov rsi, rdi
nop dword [rax + rax]
mov rax, qword [r13]
cmp dword [rsi + rax + 4], 1
jne 0x18000de3c
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x30d8]
jl 0x18000de20
add rsp, 0x88
pop r13
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18000de6c
cmp byte [rax + 0x8f], dil
jne 0x18000de6f
mov rax, rcx
mov rcx, rax
jmp 0x18000dc50