Function at 0x180028820
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x1800fc718]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax + 0x20], r13
mov qword [rax - 0x20], r14
mov edi, dword [rsi + 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 0x1800288d3
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsi + 0x4748]
cmp dword [rdx + rbp + 4], 7
jne 0x1800288c6
movsxd r8, dword [rsi + 0x4740]
mov rcx, rdx
sub rdx, rdx
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 + 0x4740]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x180028880
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x4740], edi
jle 0x180028914
mov esi, edi
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rsi + 4], edi
jne 0x1800288ff
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 + 0x4740]
jl 0x1800288e1
mov rsi, qword [0x1800fc718]
cmp byte [rsi + 0x74], dil
je 0x180028924
test byte [rsi + 0xc], 2
jne 0x180028924
mov byte [rsi + 0x74], dil
mov rbp, rsi
cmp byte [rsi + 0x46f9], dil
jne 0x18002898f
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180028988
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.180022660
mov rsi, rax
test rax, rax
je 0x180028981
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180039510
mov rcx, qword [0x1800fc718]
test rcx, rcx
je 0x180028978
dec dword [rcx + 0x158]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1800fc718]
mov byte [rbp + 0x46f9], 1
movss xmm0, dword [rbp + 0x46fc]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x180028a2e
subss xmm0, dword [rbp + 0x18]
comiss xmm10, xmm0
movss dword [rbp + 0x46fc], xmm0
jb 0x180028a2e
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x180028a21
lea rcx, [rsp + 0xa0]
mov dword [rsi + 0x46fc], edi
mov qword [rsp + 0xa0], rdi
call fcn.180039870
lea rdx, [0x1800d3198]
mov rcx, r14
mov r15, rax
call fcn.180022530
mov rsi, rax
test rax, rax
je 0x180028a18
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 [0x1800fc718]
jmp 0x180028a28
mov byte [rbp + 0x140], 1
mov dword [rbp + 0x46fc], edi
inc dword [rbx + 0x31b0]
movss xmm0, dword [rbx + 0x18]
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
mov ecx, dword [rbx + 0x46cc]
test ecx, ecx
jns 0x180028a8d
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x46c8]
test eax, eax
cmovg edx, eax
call fcn.180042710
mov rsi, qword [0x1800fc718]
movss xmm8, dword [0x1800e75d4]
movss xmm9, dword [0x1800e73a8]
mov dword [rbx + 0x46c8], edi
movsxd rax, dword [rbx + 0x49b8]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
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 0x180028b37
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x180028b3b
movaps xmm1, xmm8
movss dword [rbx + 0x144], xmm1
mov r8d, edi
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 0x180028c2a
mov rdx, rdi
nop dword [rax]
nop word [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 0x180028b80
mov rax, qword [rbx + 0x50]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x180028c46
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180030dd0
mov eax, dword [rbx + 0x3428]
movaps xmm7, xmm8
movss xmm4, dword [0x1800e7658]
movaps xmm6, xmm8
movaps xmm5, xmm4
test eax, eax
jle 0x180028cc7
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 0x180028ca5
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x180028cad
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x180028cb5
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x180028cbd
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x180028c80
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 0x180028d19
je 0x180028dc3
movss xmm6, dword [0x1800e7448]
lea r14, [rbx + 0x315c]
movss dword [rbx + 0x2fc0], xmm1
mov ebp, edi
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x180028d8b
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 0x180028d82
mov eax, 4
jmp 0x180028d8d
cmp eax, r15d
cmovg eax, r15d
jmp 0x180028d8d
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x180028d32
movss xmm0, dword [0x1800e720c]
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 0x180028dea
mov dword [rbx + 0x2fd4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x2c3d], dil
je 0x180028e0f
mov rax, qword [rbx + 0x2f98]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x180028e0f
or edx, 2
mov dword [rbx + 0x2fd4], edx
cmp byte [rbx + 0x2c3e], dil
je 0x180028e21
or edx, 4
mov dword [rbx + 0x2fd4], edx
test byte [rbx + 0xc], 8
je 0x180028e30
or edx, 8
mov dword [rbx + 0x2fd4], edx
mov edx, edi
cmp dword [rbx + 0x3428], edi
jle 0x180028e69
mov r8, rdi
nop dword [rax]
mov rax, qword [rbx + 0x3430]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + rax - 8]
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
cmp edx, dword [rbx + 0x3428]
jl 0x180028e40
cmp byte [rbx + 0x35cc], dil
je 0x180028e9d
mov eax, dword [rbx + 0x35ec]
cmp eax, dword [rbx + 0x327c]
jne 0x180028e9d
cmp dword [rsi + 0x327c], eax
jne 0x180028e8e
mov dword [rsi + 0x3280], eax
cmp dword [rsi + 0x32c0], eax
jne 0x180028e9d
mov byte [rsi + 0x32c4], 1
cmp dword [rbx + 0x326c], edi
jne 0x180028ead
mov dword [rbx + 0x3274], edi
jmp 0x180028ebf
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x180028ec5
cmp dword [rbx + 0x327c], eax
jne 0x180028ec5
mov dword [rbx + 0x3278], edi
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x180028eff
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3274]
movss dword [rbx + 0x3274], xmm0
cmp dword [rbx + 0x327c], eax
je 0x180028eff
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 0x180028f9b
cmp dword [rbx + 0x32c0], eax
jne 0x180028f9b
test eax, eax
je 0x180028f9b
mov ecx, dword [rsi + 0x327c]
test ecx, ecx
setne al
mov byte [rsi + 0x3288], al
test ecx, ecx
je 0x180028f6f
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 0x180028fba
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 0x18002901f
cmp ecx, eax
je 0x18002901f
mov dword [rbx + 0x4640], edi
test ecx, ecx
jne 0x180029034
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 0x180029241
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 0x180029082
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.180027690
call fcn.180035c20
call fcn.180027c10
call fcn.1800283f0
call fcn.180027180
mov r8, qword [0x1800fc718]
mov eax, dword [r8 + 0x3400]
sub eax, 1
js 0x1800292a1
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 0x180029297
test dword [rax + 0xc], 0x8000000
jne 0x1800292b8
sub r8, 0x30
sub rdx, 1
jns 0x180029286
cmp qword [rbx + 0x35a0], rdi
je 0x1800292d4
movss xmm0, dword [rbx + 0x35bc]
comiss xmm0, xmm10
jbe 0x1800292d4
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800e747c]
addss xmm1, dword [rbx + 0x35c4]
minss xmm1, xmm9
jmp 0x1800292f2
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800e7498]
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.180027f50
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x31bf], dil
jne 0x180029359
movss xmm0, dword [rbx + 0x78]
comiss xmm10, xmm0
ja 0x180029359
movsd xmm8, qword [rbx + 0x31a8]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebp, edi
cmp dword [rbx + 0x31d0], edi
je 0x1800294c6
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 0x1800294b4
cmp byte [rsi + 0x3a8], dil
jne 0x1800294b4
comiss xmm8, dword [rsi + 0x23c]
jbe 0x1800294b4
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 0x180029412
mov rax, qword [0x1800fc718]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x180029405
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.180076d40
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x180029450
mov rax, qword [0x1800fc718]
mov qword [rsi + 0x168], rdi
test rax, rax
je 0x180029443
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 0x180029482
mov rax, qword [0x1800fc718]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x180029475
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 0x1800294b4
mov rax, qword [0x1800fc718]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x1800294a7
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 0x180029370
mov r14d, edi
cmp dword [rbx + 0x36d0], edi
jle 0x18002960b
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 0x1800295e8
comiss xmm8, xmm0
jbe 0x1800295e8
mov rsi, qword [rbx + 0x36b0]
mov rbp, qword [0x1800fc718]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x180029547
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18002953a
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 0x180029580
mov rax, qword [0x1800fc718]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x180029573
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 0x1800295b5
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 0x1800295a0
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 0x1800294e3
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
cmp dword [rbx + 0x3698], edi
jle 0x18002965d
mov rsi, rdi
nop
mov rbp, qword [rbx + 0x36a0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x18002964d
comiss xmm8, xmm0
jbe 0x18002964d
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.18007aef0
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x3698]
jl 0x180029620
movaps xmm8, xmmword [rsp + 0x40]
cmp byte [rbx + 0x31bf], dil
je 0x1800296d5
mov rsi, qword [0x1800fc718]
mov rcx, qword [rsi + 0x33e8]
test rcx, rcx
je 0x18002969e
mov qword [rsi + 0x33e0], rdi
test rsi, rsi
je 0x180029691
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 0x1800296d0
mov rax, qword [0x1800fc718]
mov qword [rsi + 0x33f0], rdi
test rax, rax
je 0x1800296c3
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.18008af90
mov rax, qword [rbx + 0x3438]
mov byte [rbx + 0x31bf], dil
test rax, rax
je 0x180029746
cmp byte [rax + 0x8f], dil
jne 0x180029746
mov rcx, qword [0x1800fc718]
mov eax, dword [rcx + 0x31e0]
sub eax, 1
js 0x18002973f
movsxd rdx, eax
mov rax, qword [rcx + 0x31e8]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x180029735
cmp byte [rcx + 0x8f], dil
je 0x180029735
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x180029995
sub r8, 8
sub rdx, 1
jns 0x180029711
xor ecx, ecx
call fcn.180030ab0
mov ecx, dword [rbx + 0x3204]
test ecx, ecx
jns 0x18002976c
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.1800427a0
mov dword [rbx + 0x3200], edi
mov ecx, dword [rbx + 0x3414]
test ecx, ecx
jns 0x180029798
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.180042670
lea rsi, [rbx + 0x33e0]
mov dword [rbx + 0x3410], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x1800297c4
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.180042710
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x1800297d8
mov edx, 8
mov rcx, rsi
call fcn.180042710
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.180041c30
mov r10, qword [0x1800fc718]
mov dword [r10 + 0x47a0], edi
cmp byte [r10 + 0x479c], dil
je 0x1800298c1
mov esi, dword [r10 + 0x326c]
mov ecx, 0x20e
mov dword [r10 + 0x35c8], 7
call fcn.180031c60
test al, al
je 0x180029834
mov byte [r10 + 0x479c], dil
movss xmm0, dword [r10 + 0x2a88]
ucomiss xmm0, xmm10
jp 0x180029857
jne 0x180029857
test esi, esi
je 0x180029857
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.180033350
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.18008dd60
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18008dd60
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1800fc718]
add rax, 0x2c48
add rcx, rax
call fcn.18008de60
call fcn.180030930
mov r10, qword [0x1800fc718]
movaps xmm10, xmmword [rsp + 0x20]
mov rsi, r10
mov dword [r10 + 0x3264], edi
mov eax, dword [r10 + 0x47b8]
inc eax
cmp dword [r10 + 0x31b0], eax
jne 0x1800299e3
mov ebp, dword [r10 + 0x326c]
test ebp, ebp
jne 0x1800298f9
mov ebp, dword [r10 + 0x327c]
cmp dword [r10 + 0x47c0], ebp
je 0x180029944
mov dword [r10 + 0x47c0], ebp
mov dword [r10 + 0x47bc], r13d
mov ecx, dword [r10 + 0x47cc]
test ecx, ecx
jns 0x18002993e
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r10 + 0x47c8]
test eax, eax
cmovg edx, eax
call fcn.180042830
mov r10, qword [0x1800fc718]
mov dword [rsi + 0x47c8], edi
test ebp, ebp
je 0x1800299e3
movsxd rax, dword [rsi + 0x47bc]
test eax, eax
js 0x180029986
mov ecx, eax
cmp eax, dword [rsi + 0x47c8]
jge 0x1800299b9
mov r8, qword [rsi + 0x47d0]
mov rdx, rax
shl rdx, 6
cmp byte [rdx + r8 + 5], dil
jne 0x18002997e
cmp byte [rdx + r8 + 4], 2
jle 0x1800299b9
inc eax
mov dword [rsi + 0x47bc], eax
mov ecx, eax
cmp eax, r13d
jne 0x1800299b5
mov dword [rsi + 0x3264], ebp
jmp 0x1800299e3
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x1800299aa
cmp byte [rax + 0x8f], dil
jne 0x1800299ad
mov rax, rcx
mov rcx, rax
jmp 0x180029741
test eax, eax
js 0x1800299e3
cmp ecx, dword [rsi + 0x47c8]
jge 0x1800299e3
mov rax, qword [rsi + 0x47d0]
movsxd rdx, ecx
shl rdx, 6
mov ecx, dword [rdx + rax]
mov dword [rsi + 0x3264], ecx
mov rax, qword [rsi + 0x47d0]
inc byte [rax + rdx + 4]
mov byte [rbx + 0x31bd], 1
lea rcx, str.DebugDefault
or dword [r10 + 0x3330], 2
xor r8d, r8d
xor edx, edx
mov dword [r10 + 0x3350], 0x43c80000
mov dword [r10 + 0x3354], 0x43c80000
mov dword [r10 + 0x3338], 4
call fcn.18002e610
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xa8]
cmp dword [rbx + 0x4740], edi
jle 0x180029a7d
mov rsi, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rsi + 4], 1
jne 0x180029a6f
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 + 0x4740]
jl 0x180029a50
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret