Function at 0x18000c720
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rsi, qword [0x18005def8]
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 0x18000c7d3
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 0x18000c7c6
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 0x18000c780
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x4740], edi
jle 0x18000c814
mov esi, edi
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rsi + 4], edi
jne 0x18000c7ff
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 0x18000c7e1
mov rsi, qword [0x18005def8]
cmp byte [rsi + 0x74], dil
je 0x18000c824
test byte [rsi + 0xc], 2
jne 0x18000c824
mov byte [rsi + 0x74], dil
mov rbp, rsi
cmp byte [rsi + 0x46f9], dil
jne 0x18000c88f
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000c888
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.180008040
mov rsi, rax
test rax, rax
je 0x18000c881
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.18001bf30
mov rcx, qword [0x18005def8]
test rcx, rcx
je 0x18000c878
dec dword [rcx + 0x158]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x18005def8]
mov byte [rbp + 0x46f9], 1
movss xmm0, dword [rbp + 0x46fc]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x18000c92e
subss xmm0, dword [rbp + 0x18]
comiss xmm10, xmm0
movss dword [rbp + 0x46fc], xmm0
jb 0x18000c92e
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x18000c921
lea rcx, [rsp + 0xb0]
mov dword [rsi + 0x46fc], edi
mov qword [rsp + 0xb0], rdi
call fcn.18001c290
lea rdx, [0x18004efd0]
mov rcx, r14
mov r15, rax
call fcn.180007f10
mov rsi, rax
test rax, rax
je 0x18000c918
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 [0x18005def8]
jmp 0x18000c928
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 0x18000c98d
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.18001dda0
mov rsi, qword [0x18005def8]
movss xmm8, dword [0x180054290]
movss xmm9, dword [0x1800541c0]
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 0x18000ca37
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000ca3b
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 0x18000cb2a
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 0x18000ca80
mov rax, qword [rbx + 0x50]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x18000cb46
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180014ec0
mov eax, dword [rbx + 0x3428]
movaps xmm2, xmm8
movss xmm5, dword [0x1800542c8]
movaps xmm7, xmm8
movaps xmm6, xmm5
test eax, eax
jle 0x18000cbc7
mov rcx, qword [rbx + 0x3430]
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm2, xmm4
movss xmm3, dword [rax + 8]
movaps xmm0, xmm4
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
jbe 0x18000cba5
movaps xmm2, xmm4
comiss xmm7, xmm3
jbe 0x18000cbad
movaps xmm7, xmm3
comiss xmm0, xmm5
jbe 0x18000cbb5
movaps xmm5, xmm0
comiss xmm1, xmm6
jbe 0x18000cbbd
movaps xmm6, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000cb80
mov eax, dword [rbx + 0x2c40]
mov r15d, 0x200
movss xmm1, dword [rbx + 0x2c44]
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm7
mov dword [rbx + 0x2fbc], eax
movaps xmm7, xmmword [rsp + 0x60]
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm6
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x2fc4], xmm2
movss xmm0, dword [rbx + 0x2fc0]
ucomiss xmm0, xmm1
jp 0x18000cc1c
je 0x18000ccc6
movss xmm6, dword [0x1800541f8]
lea r14, [rbx + 0x315c]
movss dword [rbx + 0x2fc0], xmm1
mov ebp, edi
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18000cc8e
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 0x18000cc85
mov eax, 4
jmp 0x18000cc90
cmp eax, r15d
cmovg eax, r15d
jmp 0x18000cc90
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18000cc35
movss xmm0, dword [0x180054154]
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 + 0x70]
mov dword [rbx + 0x2fd4], edi
cmp byte [rbx + 0x2c3c], dil
je 0x18000cced
mov dword [rbx + 0x2fd4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x2c3d], dil
je 0x18000cd12
mov rax, qword [rbx + 0x2f98]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000cd12
or edx, 2
mov dword [rbx + 0x2fd4], edx
cmp byte [rbx + 0x2c3e], dil
je 0x18000cd24
or edx, 4
mov dword [rbx + 0x2fd4], edx
test byte [rbx + 0xc], 8
je 0x18000cd33
or edx, 8
mov dword [rbx + 0x2fd4], edx
mov edx, edi
cmp dword [rbx + 0x3428], edi
jle 0x18000cd69
mov r8, rdi
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 0x18000cd40
cmp byte [rbx + 0x35cc], dil
je 0x18000cd9d
mov eax, dword [rbx + 0x35ec]
cmp eax, dword [rbx + 0x327c]
jne 0x18000cd9d
cmp dword [rsi + 0x327c], eax
jne 0x18000cd8e
mov dword [rsi + 0x3280], eax
cmp dword [rsi + 0x32c0], eax
jne 0x18000cd9d
mov byte [rsi + 0x32c4], 1
cmp dword [rbx + 0x326c], edi
jne 0x18000cdad
mov dword [rbx + 0x3274], edi
jmp 0x18000cdbf
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000cdc5
cmp dword [rbx + 0x327c], eax
jne 0x18000cdc5
mov dword [rbx + 0x3278], edi
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000cdff
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3274]
movss dword [rbx + 0x3274], xmm0
cmp dword [rbx + 0x327c], eax
je 0x18000cdff
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 0x18000ce9b
cmp dword [rbx + 0x32c0], eax
jne 0x18000ce9b
test eax, eax
je 0x18000ce9b
mov ecx, dword [rsi + 0x327c]
test ecx, ecx
setne al
mov byte [rsi + 0x3288], al
test ecx, ecx
je 0x18000ce6f
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 0x18000ceba
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 0x18000cf1f
cmp ecx, eax
je 0x18000cf1f
mov dword [rbx + 0x4640], edi
test ecx, ecx
jne 0x18000cf34
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 0x18000d141
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 0x18000cf82
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.18000b760
call fcn.180018d30
call fcn.18000bb30
call fcn.18000c2e0
call fcn.18000b250
mov r8, qword [0x18005def8]
mov eax, dword [r8 + 0x3400]
sub eax, 1
js 0x18000d1a1
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 0x18000d197
test dword [rax + 0xc], 0x8000000
jne 0x18000d1b8
sub r8, 0x30
sub rdx, 1
jns 0x18000d186
cmp qword [rbx + 0x35a0], rdi
je 0x18000d1d4
movss xmm0, dword [rbx + 0x35bc]
comiss xmm0, xmm10
jbe 0x18000d1d4
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x180054218]
addss xmm1, dword [rbx + 0x35c4]
minss xmm1, xmm9
jmp 0x18000d1f2
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x180054224]
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.18000be40
movaps xmm9, xmmword [rsp + 0x40]
cmp byte [rbx + 0x31bf], dil
jne 0x18000d259
movss xmm0, dword [rbx + 0x78]
comiss xmm10, xmm0
ja 0x18000d259
movsd xmm8, qword [rbx + 0x31a8]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebp, edi
cmp dword [rbx + 0x31d0], edi
je 0x18000d3c6
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 0x18000d3b4
cmp byte [rsi + 0x3a8], dil
jne 0x18000d3b4
comiss xmm8, dword [rsi + 0x23c]
jbe 0x18000d3b4
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 0x18000d312
mov rax, qword [0x18005def8]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000d305
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.180025ae0
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x18000d350
mov rax, qword [0x18005def8]
mov qword [rsi + 0x168], rdi
test rax, rax
je 0x18000d343
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 0x18000d382
mov rax, qword [0x18005def8]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18000d375
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 0x18000d3b4
mov rax, qword [0x18005def8]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18000d3a7
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 0x18000d270
mov r14d, edi
cmp dword [rbx + 0x36d0], edi
jle 0x18000d50b
mov qword [rsp + 0xc0], r12
mov r15, rdi
mov r12, rdi
mov rax, qword [rbx + 0x36d8]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x18000d4e8
comiss xmm8, xmm0
jbe 0x18000d4e8
mov rsi, qword [rbx + 0x36b0]
mov rbp, qword [0x18005def8]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18000d447
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18000d43a
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 0x18000d480
mov rax, qword [0x18005def8]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000d473
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 0x18000d4b5
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 0x18000d4a0
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 0x18000d3e3
mov r12, qword [rsp + 0xc0]
mov r14d, edi
mov r15, qword [rsp + 0x80]
cmp dword [rbx + 0x3698], edi
jle 0x18000d55e
mov rsi, rdi
mov rbp, qword [rbx + 0x36a0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x18000d54e
comiss xmm8, xmm0
jbe 0x18000d54e
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180028f70
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x3698]
jl 0x18000d521
movaps xmm8, xmmword [rsp + 0x50]
cmp byte [rbx + 0x31bf], dil
je 0x18000d5d6
mov rsi, qword [0x18005def8]
mov rcx, qword [rsi + 0x33e8]
test rcx, rcx
je 0x18000d59f
mov qword [rsi + 0x33e0], rdi
test rsi, rsi
je 0x18000d592
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 0x18000d5d1
mov rax, qword [0x18005def8]
mov qword [rsi + 0x33f0], rdi
test rax, rax
je 0x18000d5c4
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.180031a90
mov rax, qword [rbx + 0x3438]
mov byte [rbx + 0x31bf], dil
test rax, rax
je 0x18000d647
cmp byte [rax + 0x8f], dil
jne 0x18000d647
mov rcx, qword [0x18005def8]
mov eax, dword [rcx + 0x31e0]
sub eax, 1
js 0x18000d640
movsxd rdx, eax
mov rax, qword [rcx + 0x31e8]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x18000d636
cmp byte [rcx + 0x8f], dil
je 0x18000d636
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000d896
sub r8, 8
sub rdx, 1
jns 0x18000d612
xor ecx, ecx
call fcn.180014ba0
mov ecx, dword [rbx + 0x3204]
test ecx, ecx
jns 0x18000d66d
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.18001de30
mov dword [rbx + 0x3200], edi
mov ecx, dword [rbx + 0x3414]
test ecx, ecx
jns 0x18000d699
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.18001dd00
lea rsi, [rbx + 0x33e0]
mov dword [rbx + 0x3410], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000d6c5
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.18001dda0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000d6d9
mov edx, 8
mov rcx, rsi
call fcn.18001dda0
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.18001d480
mov r10, qword [0x18005def8]
mov dword [r10 + 0x47a0], edi
cmp byte [r10 + 0x479c], dil
je 0x18000d7c2
mov esi, dword [r10 + 0x326c]
mov ecx, 0x20e
mov dword [r10 + 0x35c8], 7
call fcn.1800155f0
test al, al
je 0x18000d735
mov byte [r10 + 0x479c], dil
movss xmm0, dword [r10 + 0x2a88]
ucomiss xmm0, xmm10
jp 0x18000d758
jne 0x18000d758
test esi, esi
je 0x18000d758
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.1800167c0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.180032c90
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180032c90
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x18005def8]
add rax, 0x2c48
add rcx, rax
call fcn.180032d90
call fcn.180014a20
mov r10, qword [0x18005def8]
movaps xmm10, xmmword [rsp + 0x30]
mov rsi, r10
mov dword [r10 + 0x3264], edi
mov eax, dword [r10 + 0x47b8]
inc eax
cmp dword [r10 + 0x31b0], eax
jne 0x18000d8e4
mov ebp, dword [r10 + 0x326c]
test ebp, ebp
jne 0x18000d7fa
mov ebp, dword [r10 + 0x327c]
cmp dword [r10 + 0x47c0], ebp
je 0x18000d845
mov dword [r10 + 0x47c0], ebp
mov dword [r10 + 0x47bc], r13d
mov ecx, dword [r10 + 0x47cc]
test ecx, ecx
jns 0x18000d83f
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.18001dec0
mov r10, qword [0x18005def8]
mov dword [rsi + 0x47c8], edi
test ebp, ebp
je 0x18000d8e4
movsxd rax, dword [rsi + 0x47bc]
test eax, eax
js 0x18000d887
mov ecx, eax
cmp eax, dword [rsi + 0x47c8]
jge 0x18000d8ba
mov r8, qword [rsi + 0x47d0]
mov rdx, rax
shl rdx, 6
cmp byte [rdx + r8 + 5], dil
jne 0x18000d87f
cmp byte [rdx + r8 + 4], 2
jle 0x18000d8ba
inc eax
mov dword [rsi + 0x47bc], eax
mov ecx, eax
cmp eax, r13d
jne 0x18000d8b6
mov dword [rsi + 0x3264], ebp
jmp 0x18000d8e4
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18000d8ab
cmp byte [rax + 0x8f], dil
jne 0x18000d8ae
mov rax, rcx
mov rcx, rax
jmp 0x18000d642
test eax, eax
js 0x18000d8e4
cmp ecx, dword [rsi + 0x47c8]
jge 0x18000d8e4
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.1800126e0
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xb8]
cmp dword [rbx + 0x4740], edi
jle 0x18000d97d
mov rsi, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rsi + 4], 1
jne 0x18000d96f
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 0x18000d950
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret