Function at 0x180016b20
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r12
sub rsp, 0x98
mov rsi, qword [0x1803d64e0]
mov qword [rax + 0x18], rbp
mov rbx, rsi
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
mov edi, dword [rsi + 0x3070]
lea r12, [rsi + 0x3078]
sub edi, 1
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x30], xmm10
mov qword [rsp + 0xc8], r12
js 0x180016bd6
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop dword [rax]
mov rdx, qword [r12]
cmp dword [rdx + rbp + 4], 7
jne 0x180016bc7
mov rcx, qword [rsi + 0x3078]
movsxd r8, dword [rsi + 0x3070]
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 + 0x3070]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x180016b80
jmp 0x180016bde
mov qword [rsp + 0xc8], r12
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x3070], edi
jle 0x180016c20
mov esi, edi
nop dword [rax]
mov rax, qword [r12]
cmp dword [rax + rsi + 4], edi
jne 0x180016c0b
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 + 0x3070]
jl 0x180016bf0
mov rsi, qword [0x1803d64e0]
cmp byte [rsi + 0xcc], dil
je 0x180016c36
test byte [rsi + 0xc], 2
jne 0x180016c36
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3029], dil
jne 0x180016ca1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180016c9a
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rdi
call fcn.180012dc0
mov rsi, rax
test rax, rax
je 0x180016c93
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.180025260
mov rcx, qword [0x1803d64e0]
test rcx, rcx
je 0x180016c8a
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1803d64e0]
mov byte [rbp + 0x3029], 1
movss xmm0, dword [rbp + 0x302c]
xorps xmm8, xmm8
comiss xmm0, xmm8
mov qword [rsp + 0x80], r15
jbe 0x180016d48
subss xmm0, dword [rbp + 0x18]
comiss xmm8, xmm0
movss dword [rbp + 0x302c], xmm0
jb 0x180016d48
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x180016d3b
lea rcx, [rsp + 0xc0]
mov dword [rsi + 0x302c], edi
mov qword [rsp + 0xc0], rdi
call fcn.1800255c0
lea rdx, [0x180167300]
mov rcx, r14
mov r15, rax
call fcn.180012c90
mov rsi, rax
test rax, rax
je 0x180016d32
mov r8, qword [rsp + 0xc0]
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 [0x1803d64e0]
jmp 0x180016d42
mov byte [rbp + 0x39c], 1
mov dword [rbp + 0x302c], edi
inc dword [rbx + 0x1b98]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1ba4], 1
mov dword [rbx + 0x2ff0], edi
mov dword [rbx + 0x1c08], edi
addsd xmm0, qword [rbx + 0x1b90]
movsd qword [rbx + 0x1b90], xmm0
mov ecx, dword [rbx + 0x300c]
test ecx, ecx
jns 0x180016da6
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3008]
test eax, eax
cmovg edx, eax
call fcn.180026ee0
mov rsi, qword [0x1803d64e0]
movss xmm10, dword [0x180206380]
movss xmm9, dword [0x180206198]
mov dword [rbx + 0x3008], edi
movsxd rax, dword [rbx + 0x32c4]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x30e4]
addss xmm0, dword [rbx + 0x32c8]
movss dword [rbx + 0x32c8], xmm0
movss dword [rbx + rax*4 + 0x30e4], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x32c4]
movss xmm1, dword [rbx + 0x32c8]
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
comiss xmm1, xmm8
mov dword [rbx + 0x32c4], ecx
jbe 0x180016e35
divss xmm1, dword [0x1802062c4]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x180016e39
movaps xmm0, xmm10
movss dword [rbx + 0x3a0], xmm0
mov r8d, edi
mov rax, qword [rsi + 0x1dc0]
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 + 0x1db8], edi
jle 0x180016f1a
mov rdx, rdi
mov rax, qword [rsi + 0x1dc0]
movaps xmm3, xmm8
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm2, qword [rcx + 0xa0]
movsd xmm5, qword [rcx + 0xa8]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 4]
movaps xmm4, xmm2
movsd qword [rcx + 0x90], xmm2
shufps xmm4, xmm4, 0x55
movaps xmm0, xmm4
mov qword [rcx + 0xa8], rdi
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
subss xmm1, xmm2
mov qword [rcx + 0xa0], rdi
movss xmm2, dword [rcx + 0x10]
movss dword [rcx + 0x18], xmm0
subss xmm2, xmm4
movaps xmm0, xmm5
movsd qword [rcx + 0x98], xmm5
shufps xmm0, xmm0, 0x55
addss xmm1, xmm5
addss xmm2, xmm0
maxss xmm3, xmm1
movaps xmm1, xmm8
maxss xmm1, xmm2
movss dword [rcx + 0x1c], xmm3
movss dword [rcx + 0x20], xmm1
cmp r8d, dword [rsi + 0x1db8]
jl 0x180016e71
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x180016f3f
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.18001e620
mov eax, dword [rbx + 0x1db8]
movaps xmm0, xmm10
movss xmm5, dword [0x1802063dc]
movaps xmm7, xmm10
movaps xmm6, xmm5
test eax, eax
jle 0x180016fb7
mov rcx, qword [rbx + 0x1dc0]
mov edx, eax
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm0, xmm4
movss xmm3, dword [rax + 8]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0xc]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x10]
jbe 0x180016f95
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x180016f9d
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x180016fa5
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x180016fad
movaps xmm6, xmm2
add rcx, 8
sub rdx, 1
jne 0x180016f70
mov eax, dword [rbx + 0x1624]
movss xmm1, dword [rbx + 0x1628]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbx + 0x19a4], eax
movaps xmm7, xmmword [rsp + 0x60]
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x19ac], xmm0
movss xmm0, dword [rbx + 0x19a8]
ucomiss xmm0, xmm1
jp 0x180017006
je 0x1800170b6
movss xmm6, dword [0x180206204]
lea r14, [rbx + 0x1b44]
movss dword [rbx + 0x19a8], xmm1
mov ebp, edi
mov r15d, 0x200
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18001707e
movss xmm1, dword [rbx + 0x19a8]
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 0x180017075
mov eax, 4
jmp 0x180017080
cmp eax, r15d
cmovg eax, r15d
jmp 0x180017080
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x180017025
movss xmm0, dword [0x180206100]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19a8]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b40], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rbx + 0x19bc], edi
cmp byte [rbx + 0x1620], dil
je 0x1800170dd
mov dword [rbx + 0x19bc], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1621], dil
je 0x180017102
mov rax, qword [rbx + 0x1980]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x180017102
or edx, 2
mov dword [rbx + 0x19bc], edx
cmp byte [rbx + 0x1622], dil
je 0x180017114
or edx, 4
mov dword [rbx + 0x19bc], edx
test byte [rbx + 0xc], 8
je 0x180017123
or edx, 8
mov dword [rbx + 0x19bc], edx
mov edx, edi
cmp dword [rbx + 0x1db8], edi
jle 0x180017159
mov r8, rdi
mov rax, qword [rbx + 0x1dc0]
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 + 0x1db8]
jl 0x180017130
cmp byte [rbx + 0x1f4c], dil
je 0x18001718d
mov eax, dword [rbx + 0x1f6c]
cmp eax, dword [rbx + 0x1c58]
jne 0x18001718d
cmp dword [rsi + 0x1c58], eax
jne 0x18001717e
mov dword [rsi + 0x1c5c], eax
cmp dword [rsi + 0x1c98], eax
jne 0x18001718d
mov byte [rsi + 0x1c9c], 1
lea rax, [rbx + 0x1c44]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c48], edi
jne 0x1800171a6
mov dword [rbx + 0x1c50], edi
jmp 0x1800171b7
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x1800171c2
cmp dword [rbx + 0x1c58], ecx
jne 0x1800171c2
mov dword [rbx + 0x1c54], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x1800171f9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c50]
movss dword [rbx + 0x1c50], xmm0
cmp dword [rbx + 0x1c58], edx
je 0x1800171f9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c54]
movss dword [rbx + 0x1c54], xmm0
movzx eax, byte [rbx + 0x1c4d]
movaps xmm2, xmm1
mov byte [rbx + 0x1c4e], al
mov ebp, 0xffffffff
mov eax, dword [rbx + 0x1c58]
mov dword [rbx + 0x1c48], edx
mov dword [r8], edi
mov word [rbx + 0x1c4c], di
mov byte [rbx + 0x1c4f], dil
cmp dword [rbx + 0x1c5c], eax
je 0x180017295
cmp dword [rbx + 0x1c98], eax
jne 0x180017295
test eax, eax
je 0x180017295
mov ecx, dword [rsi + 0x1c58]
test ecx, ecx
setne al
mov byte [rsi + 0x1c64], al
test ecx, ecx
je 0x180017267
mov dword [rsi + 0x1c60], edi
mov word [rsi + 0x1c67], di
mov dword [rsi + 0x1c94], ebp
mov dword [rsi + 0x1c58], edi
mov word [rsi + 0x1c65], di
mov qword [rsi + 0x1c88], rdi
mov word [rsi + 0x1c69], di
mov qword [rsi + 0x1c6c], rdi
mov qword [rsi + 0x1c78], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c58]
test ecx, ecx
je 0x1800172b2
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c60]
movss dword [rbx + 0x1c60], xmm0
mov rax, qword [rbx + 0x1c88]
addss xmm2, dword [rbx + 0x1cac]
mov qword [rbx + 0x1ca0], rax
movzx eax, byte [rbx + 0x1c68]
mov byte [rbx + 0x1c9d], al
mov eax, dword [rbx + 0x2fb0]
movss dword [rbx + 0x1cac], xmm2
mov dword [rbx + 0x1c98], ecx
mov dword [rbx + 0x1c5c], edi
mov byte [rbx + 0x1c69], dil
mov byte [rbx + 0x1c9c], dil
mov byte [rbx + 0x1c64], dil
test eax, eax
je 0x180017312
cmp ecx, eax
je 0x180017312
mov dword [rbx + 0x2fb0], edi
test ecx, ecx
jne 0x180017324
mov qword [rbx + 0x1c6c], rdi
mov qword [rbx + 0x1c78], rdi
mov eax, dword [rbx + 0x1fbc]
mov r8d, 0x800
mov dword [rbx + 0x1fc0], eax
mov eax, edi
mov qword [rbx + 0x1fb8], 0x7f7fffff
mov word [rbx + 0x1f4d], di
mov dword [rbx + 0x1fc8], 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 + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1802063a4]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x1800173de
movss xmm0, dword [rax - 4]
comiss xmm8, xmm0
jbe 0x1800173d7
movaps xmm0, xmm8
jmp 0x1800173e1
addss xmm0, dword [rbx + 0x18]
jmp 0x1800173e1
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x180017402
movss xmm0, dword [rax]
comiss xmm8, xmm0
jbe 0x1800173fb
movaps xmm0, xmm8
jmp 0x180017405
addss xmm0, dword [rbx + 0x18]
jmp 0x180017405
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x180017427
movss xmm0, dword [rax + 4]
comiss xmm8, xmm0
jbe 0x180017420
movaps xmm0, xmm8
jmp 0x18001742a
addss xmm0, dword [rbx + 0x18]
jmp 0x18001742a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18001744d
movss xmm0, dword [rax + 8]
comiss xmm8, xmm0
jbe 0x180017446
movaps xmm0, xmm8
jmp 0x180017450
addss xmm0, dword [rbx + 0x18]
jmp 0x180017450
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1800173c0
call fcn.180021c10
call fcn.180015f40
call fcn.180016800
call fcn.180015a30
mov r8, qword [0x1803d64e0]
mov eax, dword [r8 + 0x1d98]
sub eax, 1
js 0x1800174c2
mov r8, qword [r8 + 0x1da0]
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 0x1800174b8
test dword [rax + 0xc], 0x8000000
jne 0x1800174d9
sub r8, 0x30
sub rdx, 1
jns 0x1800174a7
cmp qword [rbx + 0x1ef8], rdi
je 0x1800174f5
movss xmm0, dword [rbx + 0x1f14]
comiss xmm0, xmm8
jbe 0x1800174f5
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18020621c]
addss xmm1, dword [rbx + 0x1f44]
minss xmm1, xmm9
jmp 0x180017513
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x180206234]
movss xmm1, dword [rbx + 0x1f44]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x1f44], xmm1
mov dword [rbx + 0x1f48], edi
mov qword [rbx + 0x32d0], 0xffffffffffffffff
mov dword [rbx + 0x32cc], ebp
mov dword [rbx + 0x3018], 0x3f800000
mov dword [rbx + 0x301c], 0x3f800000
call fcn.180016310
mov r11, qword [0x1803d64e0]
movaps xmm9, xmmword [rsp + 0x40]
mov r8, qword [r11 + 0x1dc8]
test r8, r8
je 0x180017595
cmp byte [r8 + 0x8e], dil
je 0x180017595
test dword [r8 + 0xc], 0x40000
jne 0x180017595
cmp byte [r11 + 0x140], dil
jne 0x180017595
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x180017595
call fcn.180018f90
test al, al
je 0x180017595
mov al, 1
jmp 0x180017597
xor al, al
mov byte [r11 + 0x1f40], al
cmp dword [r11 + 0x1c58], edi
jne 0x180017602
test al, al
je 0x180017602
mov qword [r11 + 0x1f28], r8
mov dword [r11 + 0x1f38], 0x7fffffff
cmp dword [r11 + 0x1dd0], edi
je 0x1800175ef
mov ecx, dword [r11 + 0x1e18]
cmp ecx, 0x7fffffff
je 0x1800175ef
cmp byte [r11 + 0x141], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r11 + 0x1f3c], eax
jmp 0x180017602
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f3c], ecx
mov r8, qword [r11 + 0x1f28]
mov qword [r11 + 0x1f20], rdi
mov dword [r11 + 0x1f34], 0x7fffffff
mov dword [r11 + 0x1f30], 0x7fffffff
test r8, r8
je 0x18001769d
mov eax, dword [r11 + 0x1f38]
mov qword [r11 + 0x1f20], r8
cmp eax, 0x7fffffff
je 0x180017659
mov ecx, dword [r8 + 0x1c4]
cmp ecx, ebp
je 0x180017659
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f30], edx
mov eax, dword [r11 + 0x1f3c]
cmp eax, 0x7fffffff
je 0x180017680
mov ecx, dword [r8 + 0x1c8]
cmp ecx, ebp
je 0x180017680
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f34], edx
mov qword [r11 + 0x1f28], rdi
mov dword [r11 + 0x1f3c], 0x7fffffff
mov dword [r11 + 0x1f38], 0x7fffffff
mov dword [r11 + 0x1e18], 0x7fffffff
cmp byte [rbx + 0x1ba7], dil
jne 0x1800176d2
movss xmm0, dword [rbx + 0xd0]
comiss xmm8, xmm0
ja 0x1800176d2
movsd xmm10, qword [rbx + 0x1b90]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bb8], edi
je 0x180017839
mov r14, rdi
mov rax, qword [rbx + 0x1bc0]
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 0x180017827
cmp byte [rsi + 0x3e0], dil
jne 0x180017827
comiss xmm10, dword [rsi + 0x284]
jbe 0x180017827
mov rcx, qword [rsi + 0x2b8]
mov byte [rsi + 0x3e0], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3d8], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3dc], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x180017785
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x180017778
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x2b8]
call fcn.180027dc0
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x1800177c3
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x1800177b6
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x1800177f5
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x1800177e8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e0], rdi
mov rcx, qword [rsi + 0x1f0]
test rcx, rcx
je 0x180017827
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0x1e8], rdi
test rax, rax
je 0x18001781a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f0], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bb8]
jne 0x1800176e3
mov ebp, edi
cmp dword [rbx + 0x2030], edi
jle 0x18001799a
mov r15, rdi
mov qword [rsp + 0x90], r13
mov r14, rdi
movabs r12, 0x6d3a06d3a06d3a07
nop
mov rax, qword [rbx + 0x2038]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm8
jb 0x180017971
comiss xmm10, xmm0
jbe 0x180017971
mov rsi, qword [rbx + 0x2000]
mov r13, qword [0x1803d64e0]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.18002bae0
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x1800178d0
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x1800178c3
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x218], rdi
mov qword [rsi + 0x220], rdi
mov byte [rsi + 0x24c], 1
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x180017910
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x180017903
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e0], rdi
mov edx, edi
mov byte [rsi + 0x256], 1
cmp dword [rsi + 0x6c], edi
jle 0x180017945
mov rcx, rdi
mov r8d, 0xffffffff
nop word [rax + rax]
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r8w
cmp edx, dword [rsi + 0x6c]
jl 0x180017930
sub rsi, qword [r13 + 0x2000]
mov rax, r12
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x2038]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rbx + 0x2030]
jl 0x180017860
mov r12, qword [rsp + 0xc8]
mov r13, qword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0x30]
cmp byte [rbx + 0x1ba7], dil
je 0x180017a12
mov rsi, qword [0x1803d64e0]
mov rcx, qword [rsi + 0x1d80]
test rcx, rcx
je 0x1800179db
mov qword [rsi + 0x1d78], rdi
test rsi, rsi
je 0x1800179ce
dec dword [rsi + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d80], rdi
mov rcx, qword [rsi + 0x1d90]
test rcx, rcx
je 0x180017a0d
mov rax, qword [0x1803d64e0]
mov qword [rsi + 0x1d88], rdi
test rax, rax
je 0x180017a00
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d90], rdi
call fcn.180034730
mov rax, qword [rbx + 0x1dc8]
mov byte [rbx + 0x1ba7], dil
test rax, rax
je 0x180017a94
cmp byte [rax + 0x8f], dil
jne 0x180017a94
mov rcx, qword [0x1803d64e0]
mov eax, dword [rcx + 0x1bc8]
sub eax, 1
js 0x180017a8d
movsxd r9, eax
mov rax, qword [rcx + 0x1bd0]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x180017a83
cmp byte [r8 + 0x8f], dil
je 0x180017a83
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180017bc6
sub r10, 8
sub r9, 1
jns 0x180017a50
xor ecx, ecx
call fcn.18001e3c0
mov ecx, dword [rbx + 0x1bec]
test ecx, ecx
jns 0x180017aba
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1be8]
test eax, eax
cmovg edx, eax
call fcn.180026790
mov dword [rbx + 0x1be8], edi
mov ecx, dword [rbx + 0x1dac]
test ecx, ecx
jns 0x180017ae6
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1da8]
test eax, eax
cmovg edx, eax
call fcn.180026e40
lea rsi, [rbx + 0x1d78]
mov dword [rbx + 0x1da8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x180017b12
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.180026ee0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x180017b26
mov edx, 8
mov rcx, rsi
call fcn.180026ee0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1d88]
inc dword [rsi]
call fcn.1800264c0
mov r9, qword [0x1803d64e0]
mov rbp, qword [rbx + 0x1dc8]
movsxd r14, dword [r9 + 0x1d98]
test r14d, r14d
je 0x180017c0c
mov r10d, edi
test rbp, rbp
je 0x180017bf6
test r14d, r14d
jle 0x180017bf6
mov rsi, qword [r9 + 0x1da0]
mov r15, rdi
add rsi, 8
mov rcx, qword [rsi]
test rcx, rcx
je 0x180017be7
test dword [rcx + 0xc], 0x1000000
jne 0x180017be7
mov r8, r15
cmp r10d, r14d
jge 0x180017c0c
mov rdx, rsi
nop dword [rax]
test rcx, rcx
je 0x180017bb5
mov rax, qword [rbp + 0x390]
cmp qword [rcx + 0x390], rax
je 0x180017be7
inc r8
add rdx, 0x30
cmp r8, r14
jge 0x180017bfb
mov rcx, qword [rdx]
jmp 0x180017ba0
mov rcx, qword [r8 + 0x3a8]
test rcx, rcx
je 0x180017bdf
cmp byte [rcx + 0x8f], dil
jne 0x180017a8f
mov rcx, r8
jmp 0x180017a8f
inc r10d
inc r15
add rsi, 0x30
cmp r10d, r14d
jl 0x180017b81
cmp r10d, r14d
jge 0x180017c0c
xor edx, edx
mov ecx, r10d
call fcn.1800201f0
mov r9, qword [0x1803d64e0]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xd0]
mov dword [r9 + 0x30d0], edi
cmp byte [r9 + 0x30cc], dil
je 0x180017cef
mov esi, dword [r9 + 0x1c48]
mov dword [r9 + 0x1f48], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x180017c62
call fcn.180018f90
test al, al
je 0x180017c62
mov byte [r9 + 0x30cc], dil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm8
jp 0x180017c85
jne 0x180017c85
test esi, esi
je 0x180017c85
mov dword [r9 + 0x30d0], esi
mov byte [r9 + 0x30cc], dil
or dword [r9 + 0x1cb0], 0x40
xor edx, edx
mov dword [r9 + 0x1d10], 0x3f19999a
call fcn.18001fd10
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.1800358b0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1800358b0
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1803d64e0]
add rax, 0x162c
add rcx, rax
call fcn.1800359b0
call fcn.18001e2a0
mov r9, qword [0x1803d64e0]
mov byte [rbx + 0x1ba5], 1
lea rcx, str.DebugDefault
or dword [r9 + 0x1cb0], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1cd0], 0x43c80000
mov dword [r9 + 0x1cd4], 0x43c80000
mov dword [r9 + 0x1cb8], 4
call fcn.18001bea0
movaps xmm8, xmmword [rsp + 0x50]
cmp dword [rbx + 0x3070], edi
jle 0x180017d6b
mov rsi, rdi
mov rax, qword [r12]
cmp dword [rax + rsi + 4], 1
jne 0x180017d5d
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 + 0x3070]
jl 0x180017d41
add rsp, 0x98
pop r12
pop rdi
pop rsi
pop rbx
ret