Function at 0x18000de20
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rbx, qword [0x180056f80]
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 0x18000dec3
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
mov rdx, qword [rbx + 0x4748]
cmp dword [rdx + rsi + 4], 7
jne 0x18000deb6
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 0x18000de70
xor edi, edi
mov esi, edi
cmp dword [rbx + 0x4740], edi
jle 0x18000defd
mov ebp, edi
mov rax, qword [rbx + 0x4748]
cmp dword [rax + rbp + 4], edi
jne 0x18000deef
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 0x18000ded1
mov rsi, qword [0x180056f80]
cmp byte [rsi + 0x74], dil
je 0x18000df14
test byte [rsi + 0xc], 2
jne 0x18000df14
mov byte [rsi + 0x74], dil
cmp byte [rsi + 0x46f9], dil
jne 0x18000df75
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18000df6e
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.18000a210
mov rbp, rax
test rax, rax
je 0x18000df6e
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.18001c060
mov rcx, qword [0x180056f80]
test rcx, rcx
je 0x18000df65
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 0x18000e014
subss xmm0, dword [rsi + 0x18]
comiss xmm10, xmm0
movss dword [rsi + 0x46fc], xmm0
jb 0x18000e014
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x18000e007
mov rax, qword [0x180056f80]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
mov dword [rax + 0x46fc], edi
call fcn.18001c3c0
lea rdx, [0x180046aa0]
mov rcx, rbp
mov r14, rax
call fcn.18000a0e0
mov rbp, rax
test rax, rax
je 0x18000e00e
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 0x18000e00e
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.18001dd60
movsxd rax, dword [rbx + 0x49b8]
movss xmm1, dword [rbx + 0x18]
movss xmm8, dword [0x1800477e4]
movaps xmm0, xmm1
movss xmm9, dword [0x180047670]
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 0x18000e0f8
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000e0fc
movaps xmm1, xmm8
mov rsi, qword [0x180056f80]
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 0x18000e1ea
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 0x18000e140
mov rax, qword [rbx + 0x50]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x18000e206
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180015b00
mov eax, dword [rbx + 0x3428]
movaps xmm7, xmm8
movss xmm4, dword [0x180047818]
movaps xmm6, xmm8
movaps xmm5, xmm4
test eax, eax
jle 0x18000e287
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 0x18000e265
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x18000e26d
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x18000e275
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18000e27d
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000e240
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 0x18000e2d9
je 0x18000e383
movss xmm6, dword [0x180047728]
lea r14, [rbx + 0x315c]
movss dword [rbx + 0x2fc0], xmm1
mov ebp, edi
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18000e34b
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 0x18000e342
mov eax, 4
jmp 0x18000e34d
cmp eax, r15d
cmovg eax, r15d
jmp 0x18000e34d
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18000e2f2
movss xmm0, dword [0x180047608]
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 0x18000e3aa
mov dword [rbx + 0x2fd4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x2c3d], dil
je 0x18000e3cf
mov rax, qword [rbx + 0x2f98]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000e3cf
or edx, 2
mov dword [rbx + 0x2fd4], edx
cmp byte [rbx + 0x2c3e], dil
je 0x18000e3e1
or edx, 4
mov dword [rbx + 0x2fd4], edx
test byte [rbx + 0xc], 8
je 0x18000e3f0
or edx, 8
mov dword [rbx + 0x2fd4], edx
mov edx, edi
cmp dword [rbx + 0x3428], edi
jle 0x18000e429
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 0x18000e400
cmp byte [rbx + 0x35cc], dil
je 0x18000e45d
mov eax, dword [rbx + 0x35ec]
cmp eax, dword [rbx + 0x327c]
jne 0x18000e45d
cmp dword [rsi + 0x327c], eax
jne 0x18000e44e
mov dword [rsi + 0x3280], eax
cmp dword [rsi + 0x32c0], eax
jne 0x18000e45d
mov byte [rsi + 0x32c4], 1
cmp dword [rbx + 0x326c], edi
jne 0x18000e46d
mov dword [rbx + 0x3274], edi
jmp 0x18000e47f
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000e485
cmp dword [rbx + 0x327c], eax
jne 0x18000e485
mov dword [rbx + 0x3278], edi
mov eax, dword [rbx + 0x3268]
test eax, eax
je 0x18000e4bf
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x3274]
movss dword [rbx + 0x3274], xmm0
cmp dword [rbx + 0x327c], eax
je 0x18000e4bf
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 0x18000e55b
cmp dword [rbx + 0x32c0], eax
jne 0x18000e55b
test eax, eax
je 0x18000e55b
mov ecx, dword [rsi + 0x327c]
test ecx, ecx
setne al
mov byte [rsi + 0x3288], al
test ecx, ecx
je 0x18000e52f
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 0x18000e57a
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 0x18000e5df
cmp ecx, eax
je 0x18000e5df
mov dword [rbx + 0x4640], edi
test ecx, ecx
jne 0x18000e5f4
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 0x18000e801
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 0x18000e642
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.18000cc90
call fcn.180019070
call fcn.18000d210
call fcn.18000d9f0
call fcn.18000c780
mov r8, qword [0x180056f80]
mov eax, dword [r8 + 0x3400]
sub eax, 1
js 0x18000e861
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 0x18000e857
test dword [rax + 0xc], 0x8000000
jne 0x18000e878
sub r8, 0x30
sub rdx, 1
jns 0x18000e846
cmp qword [rbx + 0x35a0], rdi
je 0x18000e894
movss xmm0, dword [rbx + 0x35bc]
comiss xmm0, xmm10
jbe 0x18000e894
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x180047758]
addss xmm1, dword [rbx + 0x35c4]
minss xmm1, xmm9
jmp 0x18000e8b2
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18004776c]
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.18000d550
movaps xmm9, xmmword [rsp + 0x30]
cmp byte [rbx + 0x31bf], dil
jne 0x18000e919
movss xmm0, dword [rbx + 0x78]
comiss xmm10, xmm0
ja 0x18000e919
movsd xmm8, qword [rbx + 0x31a8]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebp, edi
cmp dword [rbx + 0x31d0], edi
je 0x18000ea86
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 0x18000ea74
cmp byte [rsi + 0x3a8], dil
jne 0x18000ea74
comiss xmm8, dword [rsi + 0x23c]
jbe 0x18000ea74
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 0x18000e9d2
mov rax, qword [0x180056f80]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000e9c5
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.180026970
mov rcx, qword [rsi + 0x170]
test rcx, rcx
je 0x18000ea10
mov rax, qword [0x180056f80]
mov qword [rsi + 0x168], rdi
test rax, rax
je 0x18000ea03
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 0x18000ea42
mov rax, qword [0x180056f80]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18000ea35
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 0x18000ea74
mov rax, qword [0x180056f80]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18000ea67
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 0x18000e930
mov r14d, edi
cmp dword [rbx + 0x36d0], edi
jle 0x18000ebcb
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 0x18000eba8
comiss xmm8, xmm0
jbe 0x18000eba8
mov rsi, qword [rbx + 0x36b0]
mov rbp, qword [0x180056f80]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18000eb07
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18000eafa
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 0x18000eb40
mov rax, qword [0x180056f80]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000eb33
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 0x18000eb75
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 0x18000eb60
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 0x18000eaa3
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0xb8]
cmp dword [rbx + 0x3698], edi
jle 0x18000ec2d
mov rsi, rdi
nop word [rax + rax]
mov rbp, qword [rbx + 0x36a0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x18000ec1d
comiss xmm8, xmm0
jbe 0x18000ec1d
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180029b00
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x3698]
jl 0x18000ebf0
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
cmp byte [rbx + 0x31bf], dil
je 0x18000ecb2
mov rsi, qword [0x180056f80]
mov rcx, qword [rsi + 0x33e8]
test rcx, rcx
je 0x18000ec7b
mov qword [rsi + 0x33e0], rdi
test rsi, rsi
je 0x18000ec6e
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 0x18000ecad
mov rax, qword [0x180056f80]
mov qword [rsi + 0x33f0], rdi
test rax, rax
je 0x18000eca0
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.180031c40
mov rax, qword [rbx + 0x3438]
mov byte [rbx + 0x31bf], dil
test rax, rax
je 0x18000ed25
cmp byte [rax + 0x8f], dil
jne 0x18000ed25
mov rcx, qword [0x180056f80]
mov eax, dword [rcx + 0x31e0]
sub eax, 1
js 0x18000ed1e
movsxd rdx, eax
mov rax, qword [rcx + 0x31e8]
lea r8, [rax + rdx*8]
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x18000ed14
cmp byte [rcx + 0x8f], dil
je 0x18000ed14
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000ef38
sub r8, 8
sub rdx, 1
jns 0x18000ecf0
xor ecx, ecx
call fcn.1800157e0
mov ecx, dword [rbx + 0x3204]
test ecx, ecx
jns 0x18000ed4b
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.18001e260
mov dword [rbx + 0x3200], edi
mov ecx, dword [rbx + 0x3414]
test ecx, ecx
jns 0x18000ed77
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.18001e130
lea rsi, [rbx + 0x33e0]
mov dword [rbx + 0x3410], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000eda3
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.18001e1d0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000edb7
mov edx, 8
mov rcx, rsi
call fcn.18001e1d0
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.18001d6a0
mov r10, qword [0x180056f80]
mov dword [r10 + 0x47a0], edi
cmp byte [r10 + 0x479c], dil
je 0x18000ee99
mov esi, dword [r10 + 0x326c]
mov ecx, 0x20e
mov dword [r10 + 0x35c8], 7
call fcn.180016060
test al, al
je 0x18000ee13
mov byte [r10 + 0x479c], dil
movss xmm0, dword [r10 + 0x2a88]
ucomiss xmm0, xmm10
jp 0x18000ee36
jne 0x18000ee36
test esi, esi
je 0x18000ee36
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.180017150
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.180032b10
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.180032b10
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x180056f80]
add rax, 0x2c48
add rcx, rax
call fcn.180032c10
call fcn.180015660
call fcn.18001ce20
mov rax, qword [0x180056f80]
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.180013410
movaps xmm10, xmmword [rsp + 0x20]
cmp dword [rbx + 0x4740], edi
jle 0x18000ef2d
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x4748]
cmp dword [rsi + rax + 4], 1
jne 0x18000ef1f
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 0x18000ef00
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18000ef4d
cmp byte [rax + 0x8f], dil
jne 0x18000ef50
mov rax, rcx
mov rcx, rax
jmp 0x18000ed20