Function at 0x18000c520
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rbx, qword [0x18004dcd0]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], r13
mov qword [rax - 0x20], r14
mov edi, dword [rbx + 0x4740]
sub edi, 1
mov qword [rax - 0x28], r15
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 0x18000c5c3
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
mov rdx, qword [rbx + 0x4748]
cmp dword [rdx + rsi + 4], 7
jne 0x18000c5b6
movsxd r8, dword [rbx + 0x4740]
mov rcx, rdx
sub rdx, rdx
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 + 0x4740]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x18000c570
xor edi, edi
mov esi, edi
cmp dword [rbx + 0x4740], edi
jle 0x18000c5fd
mov ebp, edi
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rbp + 4], edi
jne 0x18000c5ef
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 + 0x4740]
jl 0x18000c5d1
mov rsi, qword [0x18004dcd0]
cmp byte [rsi + 0x74], dil
je 0x18000c614
test byte [rsi + 0xc], 2
jne 0x18000c614
mov byte [rsi + 0x74], dil
cmp byte [rsi + 0x46f9], dil
jne 0x18000c675
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000c66e
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.180007cf0
mov rbp, rax
test rax, rax
je 0x18000c66e
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.18001b590
mov rcx, qword [0x18004dcd0]
test rcx, rcx
je 0x18000c665
dec dword [rcx + 0x158]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsi + 0x46f9], 1
movss xmm0, dword [rsi + 0x46fc]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x18000c714
subss xmm0, dword [rsi + 0x18]
comiss xmm10, xmm0
movss dword [rsi + 0x46fc], xmm0
jb 0x18000c714
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x18000c707
mov rax, qword [0x18004dcd0]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
mov dword [rax + 0x46fc], edi
call fcn.18001b8f0
lea rdx, [0x180044e5c]
mov rcx, rbp
mov r14, rax
call fcn.180007bc0
mov rbp, rax
test rax, rax
je 0x18000c70e
mov r8, qword [rsp + 0xa0]
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 0x18000c70e
mov byte [rsi + 0x140], 1
mov dword [rsi + 0x46fc], edi
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x46c8]
inc dword [rbx + 0x31b0]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x31bc], 1
mov word [rbx + 0x46ae], di
mov dword [rbx + 0x3220], edi
addsd xmm0, qword [rbx + 0x31a8]
movsd qword [rbx + 0x31a8], xmm0
call fcn.18001d260
movsxd rax, dword [rbx + 0x49b8]
movss xmm1, dword [rbx + 0x18]
movss xmm8, dword [0x180045828]
movaps xmm0, xmm1
movss xmm9, dword [0x180045764]
subss xmm0, dword [rbx + rax*4 + 0x47d8]
addss xmm0, dword [rbx + 0x49c0]
movss dword [rbx + 0x49c0], xmm0
movss dword [rbx + rax*4 + 0x47d8], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x49b8]
movss xmm2, dword [rbx + 0x49c0]
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 + 0x49bc]
inc eax
mov dword [rbx + 0x49b8], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rbx + 0x49bc], ecx
jbe 0x18000c7f8
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000c7fc
movaps xmm1, xmm8
mov rsi, qword [0x18004dcd0]
mov r8d, edi
movss dword [rbx + 0x144], xmm1
mov rax, qword [rsi + 0x3430]
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 + 0x3428], edi
jle 0x18000c8ea
mov rdx, rdi
nop dword [rax + rax]
mov rax, qword [rsi + 0x3430]
movaps xmm3, xmm10
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa8]
movsd xmm2, qword [rcx + 0xb0]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0xa0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xb0], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa8], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x98], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x3428]
jl 0x18000c840
mov rax, qword [rbx + 0x50]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x18000c906
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180014d50
mov eax, dword [rbx + 0x3428]
movaps xmm7, xmm8
movss xmm4, dword [0x18004584c]
movaps xmm6, xmm8
movaps xmm5, xmm4
test eax, eax
jle 0x18000c987
mov rcx, qword [rbx + 0x3430]
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm7, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x18000c965
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x18000c96d
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x18000c975
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18000c97d
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000c940
movss dword [rbx + 0x2fc4], xmm7
mov r15d, 0x200
movss dword [rbx + 0x2fc8], xmm6
movss dword [rbx + 0x2fcc], xmm4
movss dword [rbx + 0x2fd0], xmm5
mov eax, dword [rbx + 0x2c40]
movss xmm1, dword [rbx + 0x2c44]
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x2fbc], eax
movss xmm0, dword [rbx + 0x2fc0]
ucomiss xmm0, xmm1
jp 0x18000c9d9
je 0x18000ca83
movss xmm6, dword [0x1800457a0]
lea r14, [rbx + 0x315c]
movss dword [rbx + 0x2fc0], xmm1
mov ebp, edi
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18000ca4b
movss xmm1, dword [rbx + 0x2fc0]
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, xmm6
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 0x18000ca42
mov eax, 4
jmp 0x18000ca4d
cmp eax, r15d
cmovg eax, r15d
jmp 0x18000ca4d
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18000c9f2
movss xmm0, dword [0x180045708]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x2fc0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3158], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x60]
mov dword [rbx + 0x2fd4], edi
cmp byte [rbx + 0x2c3c], dil
je 0x18000caaa
mov dword [rbx + 0x2fd4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x2c3d], dil
je 0x18000cacf
mov rax, qword [rbx + 0x2f98]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000cacf
or edx, 2
mov dword [rbx + 0x2fd4], edx
cmp byte [rbx + 0x2c3e], dil
je 0x18000cae1
or edx, 4
mov dword [rbx + 0x2fd4], edx
test byte [rbx + 0xc], 8
je 0x18000caf0
or edx, 8
mov dword [rbx + 0x2fd4], edx
mov edx, edi
cmp dword [rbx + 0x3428], edi
jle 0x18000cb29
mov r8, rdi
nop dword [rax]
mov rax, qword [rbx + 0x3430]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
cmp edx, dword [rbx + 0x3428]
jl 0x18000cb00
cmp byte [rbx + 0x35cc], dil
je 0x18000cb5d
mov eax, dword [rbx + 0x35ec]
cmp eax, dword [rbx + 0x327c]
jne 0x18000cb5d
cmp dword [rsi + 0x327c], eax
jne 0x18000cb4e
mov dword [rsi + 0x3280], eax
cmp dword [rsi + 0x32c0], eax
jne 0x18000cb5d
mov byte [rsi + 0x32c4], 1
cmp dword [rbx + 0x326c], edi
jne 0x18000cb6d
mov dword [rbx + 0x3274], edi
jmp 0x18000cb7f
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000cb85
cmp dword [rbx + 0x327c], eax
jne 0x18000cb85
mov dword [rbx + 0x3278], edi
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000cbbf
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3274]
movss dword [rbx + 0x3274], xmm0
cmp dword [rbx + 0x327c], eax
je 0x18000cbbf
addss xmm1, dword [rbx + 0x3278]
movss dword [rbx + 0x3278], xmm1
mov dword [rbx + 0x326c], eax
mov r13d, 0xffffffff
movzx eax, byte [rbx + 0x3271]
mov byte [rbx + 0x3272], al
mov eax, dword [rbx + 0x327c]
mov dword [rbx + 0x3268], edi
mov word [rbx + 0x3270], di
mov byte [rbx + 0x3273], dil
cmp dword [rbx + 0x3280], eax
je 0x18000cc5b
cmp dword [rbx + 0x32c0], eax
jne 0x18000cc5b
test eax, eax
je 0x18000cc5b
mov ecx, dword [rsi + 0x327c]
test ecx, ecx
setne al
mov byte [rsi + 0x3288], al
test ecx, ecx
je 0x18000cc2f
mov dword [rsi + 0x3284], edi
mov word [rsi + 0x328b], di
mov dword [rsi + 0x32bc], r13d
xorps xmm0, xmm0
mov dword [rsi + 0x327c], edi
mov word [rsi + 0x3289], di
mov qword [rsi + 0x32b0], rdi
mov word [rsi + 0x328d], di
mov qword [rsi + 0x3290], rdi
movups xmmword [rsi + 0x3298], xmm0
mov ecx, dword [rbx + 0x327c]
test ecx, ecx
je 0x18000cc7a
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x3284]
movss dword [rbx + 0x3284], xmm0
mov rax, qword [rbx + 0x32b0]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x32d4]
mov qword [rbx + 0x32c8], rax
movzx eax, byte [rbx + 0x328c]
mov byte [rbx + 0x32c5], al
mov eax, dword [rbx + 0x4640]
movss dword [rbx + 0x32d4], xmm0
mov dword [rbx + 0x32c0], ecx
mov dword [rbx + 0x3280], edi
mov byte [rbx + 0x328d], dil
mov byte [rbx + 0x32c4], dil
mov byte [rbx + 0x3288], dil
test eax, eax
je 0x18000ccdf
cmp ecx, eax
je 0x18000ccdf
mov dword [rbx + 0x4640], edi
test ecx, ecx
jne 0x18000ccf4
xorps xmm0, xmm0
mov qword [rbx + 0x3290], rdi
movups xmmword [rbx + 0x3298], xmm0
mov eax, dword [rbx + 0x363c]
mov dword [rbx + 0x3640], eax
mov qword [rbx + 0x3638], 0x7f7fffff
mov word [rbx + 0x35cd], di
mov dword [rbx + 0x3648], edi
cmp byte [rbx + 0x2b68], dil
je 0x18000cf01
lea rcx, [rbx + 0xb08]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0xd14]
mov ecx, 0x269
mov byte [rax - 4], dil
mov dword [rax], 0xbf800000
mov dword [rax + 4], 0xbf800000
lea rax, [rax + 0xc]
sub rcx, 1
jne 0x18000cd42
mov dword [rbx + 0xe8], edi
mov qword [rbx + 0xd08], rdi
mov dword [rbx + 0x2b14], 0xbf800000
mov dword [rbx + 0x2ac4], 0xbf800000
mov dword [rbx + 0x2b18], 0xbf800000
mov dword [rbx + 0x2ac8], 0xbf800000
mov dword [rbx + 0x2b1c], 0xbf800000
mov dword [rbx + 0x2acc], 0xbf800000
mov dword [rbx + 0x2b20], 0xbf800000
mov dword [rbx + 0x2ad0], 0xbf800000
mov dword [rbx + 0x2b24], 0xbf800000
mov dword [rbx + 0x2ad4], 0xbf800000
mov dword [rbx + 0x2b28], 0xbf800000
mov dword [rbx + 0x2ad8], 0xbf800000
mov dword [rbx + 0x2b2c], 0xbf800000
mov dword [rbx + 0x2adc], 0xbf800000
mov dword [rbx + 0x2b30], 0xbf800000
mov dword [rbx + 0x2ae0], 0xbf800000
mov dword [rbx + 0x2b34], 0xbf800000
mov dword [rbx + 0x2ae4], 0xbf800000
mov dword [rbx + 0x2b38], 0xbf800000
mov dword [rbx + 0x2ae8], 0xbf800000
mov dword [rbx + 0x2b3c], 0xbf800000
mov dword [rbx + 0x2aec], 0xbf800000
mov dword [rbx + 0x2b40], 0xbf800000
mov dword [rbx + 0x2af0], 0xbf800000
mov dword [rbx + 0x2b44], 0xbf800000
mov dword [rbx + 0x2af4], 0xbf800000
mov dword [rbx + 0x2b48], 0xbf800000
mov dword [rbx + 0x2af8], 0xbf800000
mov dword [rbx + 0x2b4c], 0xbf800000
mov dword [rbx + 0x2afc], 0xbf800000
mov dword [rbx + 0x2b50], 0xbf800000
mov dword [rbx + 0x2b00], 0xbf800000
mov dword [rbx + 0x2b54], 0xbf800000
mov dword [rbx + 0x2b04], 0xbf800000
mov dword [rbx + 0x2b58], 0xbf800000
mov dword [rbx + 0x2b08], 0xbf800000
mov dword [rbx + 0x2b5c], 0xbf800000
mov dword [rbx + 0x2b0c], 0xbf800000
mov dword [rbx + 0x2b60], 0xbf800000
mov dword [rbx + 0x2b10], 0xbf800000
mov byte [rbx + 0x2b68], dil
call fcn.18000b3a0
call fcn.1800185a0
call fcn.18000b920
call fcn.18000c0f0
call fcn.18000ae90
mov r8, qword [0x18004dcd0]
mov eax, dword [r8 + 0x3400]
sub eax, 1
js 0x18000cf61
mov r8, qword [r8 + 0x3408]
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 0x18000cf57
test dword [rax + 0xc], 0x8000000
jne 0x18000cf78
sub r8, 0x30
sub rdx, 1
jns 0x18000cf46
cmp qword [rbx + 0x35a0], rdi
je 0x18000cf94
movss xmm0, dword [rbx + 0x35bc]
comiss xmm0, xmm10
jbe 0x18000cf94
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800457bc]
addss xmm1, dword [rbx + 0x35c4]
minss xmm1, xmm9
jmp 0x18000cfb2
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800457cc]
movss xmm1, dword [rbx + 0x35c4]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rbx + 0x35c4], xmm1
movups xmm0, xmmword [rbx + 0x46d8]
mov dword [rbx + 0x35c8], edi
mov qword [rbx + 0x49c8], 0xffffffffffffffff
movups xmmword [rbx + 0x46e8], xmm0
mov dword [rbx + 0x49c4], r13d
mov byte [rbx + 0x46d8], dil
call fcn.18000bc50
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x31bf], dil
jne 0x18000d019
movss xmm0, dword [rbx + 0x78]
comiss xmm10, xmm0
ja 0x18000d019
movsd xmm8, qword [rbx + 0x31a8]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebp, edi
cmp dword [rbx + 0x31d0], edi
je 0x18000d186
mov r14, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x31d8]
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 0x18000d174
cmp byte [rsi + 0x3a8], dil
jne 0x18000d174
comiss xmm8, dword [rsi + 0x23c]
jbe 0x18000d174
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 0x18000d0d2
mov rax, qword [0x18004dcd0]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000d0c5
dec dword [rax + 0x158]
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.180025ad0
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x18000d110
mov rax, qword [0x18004dcd0]
mov qword [rsi + 0x168], rdi
test rax, rax
je 0x18000d103
dec dword [rax + 0x158]
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 0x18000d142
mov rax, qword [0x18004dcd0]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18000d135
dec dword [rax + 0x158]
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 0x18000d174
mov rax, qword [0x18004dcd0]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18000d167
dec dword [rax + 0x158]
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 + 0x31d0]
jne 0x18000d030
mov r14d, edi
cmp dword [rbx + 0x36d0], edi
jle 0x18000d2cb
mov qword [rsp + 0xb0], r12
mov r15, rdi
mov r12, rdi
mov rax, qword [rbx + 0x36d8]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x18000d2a8
comiss xmm8, xmm0
jbe 0x18000d2a8
mov rsi, qword [rbx + 0x36b0]
mov rbp, qword [0x18004dcd0]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18000d207
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18000d1fa
dec dword [rbp + 0x158]
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 0x18000d240
mov rax, qword [0x18004dcd0]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000d233
dec dword [rax + 0x158]
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 0x18000d275
mov rcx, rdi
nop dword [rax]
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 0x18000d260
sub rsi, qword [rbp + 0x36b0]
movabs rax, 0xfc0fc0fc0fc0fc1
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x36d8]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x36d0]
jl 0x18000d1a3
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0xb8]
cmp dword [rbx + 0x3698], edi
jle 0x18000d32d
mov rsi, rdi
nop word [rax + rax]
mov rbp, qword [rbx + 0x36a0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x18000d31d
comiss xmm8, xmm0
jbe 0x18000d31d
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180028c60
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x3698]
jl 0x18000d2f0
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
cmp byte [rbx + 0x31bf], dil
je 0x18000d3b2
mov rsi, qword [0x18004dcd0]
mov rcx, qword [rsi + 0x33e8]
test rcx, rcx
je 0x18000d37b
mov qword [rsi + 0x33e0], rdi
test rsi, rsi
je 0x18000d36e
dec dword [rsi + 0x158]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x33e8], rdi
mov rcx, qword [rsi + 0x33f8]
test rcx, rcx
je 0x18000d3ad
mov rax, qword [0x18004dcd0]
mov qword [rsi + 0x33f0], rdi
test rax, rax
je 0x18000d3a0
dec dword [rax + 0x158]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x33f8], rdi
call fcn.180031890
mov rax, qword [rbx + 0x3438]
mov byte [rbx + 0x31bf], dil
test rax, rax
je 0x18000d425
cmp byte [rax + 0x8f], dil
jne 0x18000d425
mov rcx, qword [0x18004dcd0]
mov eax, dword [rcx + 0x31e0]
sub eax, 1
js 0x18000d41e
movsxd rdx, eax
mov rax, qword [rcx + 0x31e8]
lea r8, [rax + rdx*8]
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x18000d414
cmp byte [rcx + 0x8f], dil
je 0x18000d414
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000d638
sub r8, 8
sub rdx, 1
jns 0x18000d3f0
xor ecx, ecx
call fcn.180014a30
mov ecx, dword [rbx + 0x3204]
test ecx, ecx
jns 0x18000d44b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3200]
test eax, eax
cmovg edx, eax
call fcn.18001d7d0
mov dword [rbx + 0x3200], edi
mov ecx, dword [rbx + 0x3414]
test ecx, ecx
jns 0x18000d477
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3410]
test eax, eax
cmovg edx, eax
call fcn.18001d6a0
lea rsi, [rbx + 0x33e0]
mov dword [rbx + 0x3410], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000d4a3
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.18001d740
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000d4b7
mov edx, 8
mov rcx, rsi
call fcn.18001d740
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x33f0]
inc dword [rsi]
call fcn.18001cba0
mov r10, qword [0x18004dcd0]
mov dword [r10 + 0x47a0], edi
cmp byte [r10 + 0x479c], dil
je 0x18000d599
mov esi, dword [r10 + 0x326c]
mov ecx, 0x20e
mov dword [r10 + 0x35c8], 7
call fcn.180015590
test al, al
je 0x18000d513
mov byte [r10 + 0x479c], dil
movss xmm0, dword [r10 + 0x2a88]
ucomiss xmm0, xmm10
jp 0x18000d536
jne 0x18000d536
test esi, esi
je 0x18000d536
mov dword [r10 + 0x47a0], esi
mov byte [r10 + 0x479c], dil
or dword [r10 + 0x3330], 0x40
xor ecx, ecx
mov dword [r10 + 0x3390], 0x3f19999a
call fcn.180016680
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.1800327a0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1800327a0
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x18004dcd0]
add rax, 0x2c48
add rcx, rax
call fcn.1800328a0
call fcn.1800148b0
call fcn.18001c350
mov rax, qword [0x18004dcd0]
lea rcx, str.DebugDefault
mov byte [rbx + 0x31bd], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x3330], 2
mov dword [rax + 0x3350], 0x43c80000
mov dword [rax + 0x3354], 0x43c80000
mov dword [rax + 0x3338], 4
call fcn.180012680
movaps xmm10, xmmword [rsp + 0x20]
cmp dword [rbx + 0x4740], edi
jle 0x18000d62d
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x4748]
cmp dword [rsi + rax + 4], 1
jne 0x18000d61f
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 + 0x4740]
jl 0x18000d600
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18000d64d
cmp byte [rax + 0x8f], dil
jne 0x18000d650
mov rax, rcx
mov rcx, rax
jmp 0x18000d420