Function at 0x18000b8c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rbx, qword [0x18004bcb8]
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 0x18000b963
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
mov rdx, qword [rbx + 0x4748]
cmp dword [rdx + rsi + 4], 7
jne 0x18000b956
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 0x18000b910
xor edi, edi
mov esi, edi
cmp dword [rbx + 0x4740], edi
jle 0x18000b99d
mov ebp, edi
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rbp + 4], edi
jne 0x18000b98f
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 0x18000b971
mov rsi, qword [0x18004bcb8]
cmp byte [rsi + 0x74], dil
je 0x18000b9b4
test byte [rsi + 0xc], 2
jne 0x18000b9b4
mov byte [rsi + 0x74], dil
cmp byte [rsi + 0x46f9], dil
jne 0x18000ba15
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000ba0e
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.180007300
mov rbp, rax
test rax, rax
je 0x18000ba0e
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.18001a750
mov rcx, qword [0x18004bcb8]
test rcx, rcx
je 0x18000ba05
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 0x18000bab4
subss xmm0, dword [rsi + 0x18]
comiss xmm10, xmm0
movss dword [rsi + 0x46fc], xmm0
jb 0x18000bab4
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x18000baa7
mov rax, qword [0x18004bcb8]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x46fc], edi
call fcn.18001aab0
lea rdx, [0x180042c4c]
mov rcx, rbp
mov r14, rax
call fcn.1800071d0
mov rbp, rax
test rax, rax
je 0x18000baae
mov r8, qword [rsp + 0xb0]
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 0x18000baae
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.18001c420
movsxd rax, dword [rbx + 0x49b8]
movss xmm1, dword [rbx + 0x18]
movss xmm8, dword [0x180043604]
movaps xmm0, xmm1
movss xmm9, dword [0x180043564]
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 0x18000bb98
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000bb9c
movaps xmm1, xmm8
mov rsi, qword [0x18004bcb8]
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 0x18000bc8a
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 0x18000bbe0
mov rax, qword [rbx + 0x50]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x18000bca6
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1800140d0
mov eax, dword [rbx + 0x3428]
movaps xmm2, xmm8
movss xmm5, dword [0x180043628]
movaps xmm7, xmm8
movaps xmm6, xmm5
test eax, eax
jle 0x18000bd27
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 0x18000bd05
movaps xmm2, xmm4
comiss xmm7, xmm3
jbe 0x18000bd0d
movaps xmm7, xmm3
comiss xmm0, xmm5
jbe 0x18000bd15
movaps xmm5, xmm0
comiss xmm1, xmm6
jbe 0x18000bd1d
movaps xmm6, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000bce0
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 0x18000bd7c
je 0x18000be26
movss xmm6, dword [0x180043594]
lea r14, [rbx + 0x315c]
movss dword [rbx + 0x2fc0], xmm1
mov ebp, edi
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18000bdee
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 0x18000bde5
mov eax, 4
jmp 0x18000bdf0
cmp eax, r15d
cmovg eax, r15d
jmp 0x18000bdf0
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18000bd95
movss xmm0, dword [0x180043508]
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 0x18000be4d
mov dword [rbx + 0x2fd4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x2c3d], dil
je 0x18000be72
mov rax, qword [rbx + 0x2f98]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000be72
or edx, 2
mov dword [rbx + 0x2fd4], edx
cmp byte [rbx + 0x2c3e], dil
je 0x18000be84
or edx, 4
mov dword [rbx + 0x2fd4], edx
test byte [rbx + 0xc], 8
je 0x18000be93
or edx, 8
mov dword [rbx + 0x2fd4], edx
mov edx, edi
cmp dword [rbx + 0x3428], edi
jle 0x18000bec9
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 0x18000bea0
cmp byte [rbx + 0x35cc], dil
je 0x18000befd
mov eax, dword [rbx + 0x35ec]
cmp eax, dword [rbx + 0x327c]
jne 0x18000befd
cmp dword [rsi + 0x327c], eax
jne 0x18000beee
mov dword [rsi + 0x3280], eax
cmp dword [rsi + 0x32c0], eax
jne 0x18000befd
mov byte [rsi + 0x32c4], 1
cmp dword [rbx + 0x326c], edi
jne 0x18000bf0d
mov dword [rbx + 0x3274], edi
jmp 0x18000bf1f
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000bf25
cmp dword [rbx + 0x327c], eax
jne 0x18000bf25
mov dword [rbx + 0x3278], edi
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000bf5f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3274]
movss dword [rbx + 0x3274], xmm0
cmp dword [rbx + 0x327c], eax
je 0x18000bf5f
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 0x18000bffb
cmp dword [rbx + 0x32c0], eax
jne 0x18000bffb
test eax, eax
je 0x18000bffb
mov ecx, dword [rsi + 0x327c]
test ecx, ecx
setne al
mov byte [rsi + 0x3288], al
test ecx, ecx
je 0x18000bfcf
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 0x18000c01a
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 0x18000c07f
cmp ecx, eax
je 0x18000c07f
mov dword [rbx + 0x4640], edi
test ecx, ecx
jne 0x18000c094
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 0x18000c2a1
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 0x18000c0e2
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.18000a900
call fcn.180017990
call fcn.18000acd0
call fcn.18000b480
call fcn.18000a3f0
mov r8, qword [0x18004bcb8]
mov eax, dword [r8 + 0x3400]
sub eax, 1
js 0x18000c301
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 0x18000c2f7
test dword [rax + 0xc], 0x8000000
jne 0x18000c318
sub r8, 0x30
sub rdx, 1
jns 0x18000c2e6
cmp qword [rbx + 0x35a0], rdi
je 0x18000c334
movss xmm0, dword [rbx + 0x35bc]
comiss xmm0, xmm10
jbe 0x18000c334
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800435ac]
addss xmm1, dword [rbx + 0x35c4]
minss xmm1, xmm9
jmp 0x18000c352
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800435bc]
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.18000afe0
movaps xmm9, xmmword [rsp + 0x40]
cmp byte [rbx + 0x31bf], dil
jne 0x18000c3b9
movss xmm0, dword [rbx + 0x78]
comiss xmm10, xmm0
ja 0x18000c3b9
movsd xmm8, qword [rbx + 0x31a8]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebp, edi
cmp dword [rbx + 0x31d0], edi
je 0x18000c526
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 0x18000c514
cmp byte [rsi + 0x3a8], dil
jne 0x18000c514
comiss xmm8, dword [rsi + 0x23c]
jbe 0x18000c514
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 0x18000c472
mov rax, qword [0x18004bcb8]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000c465
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.1800247b0
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x18000c4b0
mov rax, qword [0x18004bcb8]
mov qword [rsi + 0x168], rdi
test rax, rax
je 0x18000c4a3
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 0x18000c4e2
mov rax, qword [0x18004bcb8]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18000c4d5
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 0x18000c514
mov rax, qword [0x18004bcb8]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18000c507
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 0x18000c3d0
mov r14d, edi
cmp dword [rbx + 0x36d0], edi
jle 0x18000c66b
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 0x18000c648
comiss xmm8, xmm0
jbe 0x18000c648
mov rsi, qword [rbx + 0x36b0]
mov rbp, qword [0x18004bcb8]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18000c5a7
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18000c59a
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 0x18000c5e0
mov rax, qword [0x18004bcb8]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000c5d3
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 0x18000c615
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 0x18000c600
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 0x18000c543
mov r12, qword [rsp + 0xc0]
mov r14d, edi
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0xc8]
cmp dword [rbx + 0x3698], edi
jle 0x18000c6cd
mov rsi, rdi
nop dword [rax]
mov rbp, qword [rbx + 0x36a0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x18000c6bd
comiss xmm8, xmm0
jbe 0x18000c6bd
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180027820
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x3698]
jl 0x18000c690
movaps xmm8, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
cmp byte [rbx + 0x31bf], dil
je 0x18000c755
mov rsi, qword [0x18004bcb8]
mov rcx, qword [rsi + 0x33e8]
test rcx, rcx
je 0x18000c71e
mov qword [rsi + 0x33e0], rdi
test rsi, rsi
je 0x18000c711
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 0x18000c750
mov rax, qword [0x18004bcb8]
mov qword [rsi + 0x33f0], rdi
test rax, rax
je 0x18000c743
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.180030080
mov rax, qword [rbx + 0x3438]
mov byte [rbx + 0x31bf], dil
test rax, rax
je 0x18000c7c6
cmp byte [rax + 0x8f], dil
jne 0x18000c7c6
mov rcx, qword [0x18004bcb8]
mov eax, dword [rcx + 0x31e0]
sub eax, 1
js 0x18000c7bf
movsxd rdx, eax
mov rax, qword [rcx + 0x31e8]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x18000c7b5
cmp byte [rcx + 0x8f], dil
je 0x18000c7b5
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000c9d8
sub r8, 8
sub rdx, 1
jns 0x18000c791
xor ecx, ecx
call fcn.180013db0
mov ecx, dword [rbx + 0x3204]
test ecx, ecx
jns 0x18000c7ec
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.18001c990
mov dword [rbx + 0x3200], edi
mov ecx, dword [rbx + 0x3414]
test ecx, ecx
jns 0x18000c818
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.18001c860
lea rsi, [rbx + 0x33e0]
mov dword [rbx + 0x3410], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000c844
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.18001c900
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000c858
mov edx, 8
mov rcx, rsi
call fcn.18001c900
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.18001bd60
mov r10, qword [0x18004bcb8]
mov dword [r10 + 0x47a0], edi
cmp byte [r10 + 0x479c], dil
je 0x18000c93a
mov esi, dword [r10 + 0x326c]
mov ecx, 0x20e
mov dword [r10 + 0x35c8], 7
call fcn.1800148d0
test al, al
je 0x18000c8b4
mov byte [r10 + 0x479c], dil
movss xmm0, dword [r10 + 0x2a88]
ucomiss xmm0, xmm10
jp 0x18000c8d7
jne 0x18000c8d7
test esi, esi
je 0x18000c8d7
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.1800159f0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.180030fa0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180030fa0
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x18004bcb8]
add rax, 0x2c48
add rcx, rax
call fcn.1800310a0
call fcn.180013c30
call fcn.18001b510
mov rax, qword [0x18004bcb8]
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.180011a40
movaps xmm10, xmmword [rsp + 0x30]
cmp dword [rbx + 0x4740], edi
jle 0x18000c9cd
mov rsi, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rsi + 4], 1
jne 0x18000c9bf
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 0x18000c9a0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18000c9ed
cmp byte [rax + 0x8f], dil
jne 0x18000c9f0
mov rax, rcx
mov rcx, rax
jmp 0x18000c7c1