Function at 0x18001a5d0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0x88
mov rbx, qword [0x180068fd0]
mov qword [rax + 0x18], rbp
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
mov edi, dword [rbx + 0x30d8]
lea r13, [rbx + 0x30e0]
sub edi, 1
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x20], xmm10
mov qword [rsp + 0xb8], r13
js 0x18001a686
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop word [rax + rax]
mov rdx, qword [r13]
cmp dword [rdx + rsi + 4], 7
jne 0x18001a677
mov rcx, qword [rbx + 0x30e0]
movsxd r8, dword [rbx + 0x30d8]
sub rdx, rcx
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 + 0x30d8]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x18001a630
jmp 0x18001a68e
mov qword [rsp + 0xb8], r13
xor edi, edi
mov esi, edi
cmp dword [rbx + 0x30d8], edi
jle 0x18001a6c9
mov ebp, edi
nop dword [rax]
mov rax, qword [r13]
cmp dword [rax + rbp + 4], edi
jne 0x18001a6bb
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 + 0x30d8]
jl 0x18001a6a0
mov rsi, qword [0x180068fd0]
cmp byte [rsi + 0xcc], dil
je 0x18001a6e6
test byte [rsi + 0xc], 2
jne 0x18001a6e6
mov byte [rsi + 0xcc], dil
cmp byte [rsi + 0x3091], dil
jne 0x18001a747
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x18001a740
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.1800162e0
mov rbp, rax
test rax, rax
je 0x18001a740
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.180027df0
mov rcx, qword [0x180068fd0]
test rcx, rcx
je 0x18001a737
dec dword [rcx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsi + 0x3091], 1
movss xmm0, dword [rsi + 0x3094]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18001a7e3
subss xmm0, dword [rsi + 0x18]
comiss xmm6, xmm0
movss dword [rsi + 0x3094], xmm0
jb 0x18001a7e3
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x18001a7d6
mov rax, qword [0x180068fd0]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x3094], edi
call fcn.180028150
lea rdx, [0x18005b778]
mov rcx, rbp
mov r14, rax
call fcn.1800161b0
mov rbp, rax
test rax, rax
je 0x18001a7dd
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 0x18001a7dd
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x3094], edi
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x3070]
inc dword [rbx + 0x1b88]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b94], 1
mov dword [rbx + 0x3054], edi
mov dword [rbx + 0x1bf8], edi
addsd xmm0, qword [rbx + 0x1b80]
movsd qword [rbx + 0x1b80], xmm0
call fcn.180029680
movsxd rax, dword [rbx + 0x332c]
movss xmm1, dword [rbx + 0x18]
movss xmm10, dword [0x18005cd50]
movaps xmm0, xmm1
movss xmm9, dword [0x18005cca0]
subss xmm0, dword [rbx + rax*4 + 0x314c]
addss xmm0, dword [rbx + 0x3334]
movss dword [rbx + 0x3334], xmm0
movss dword [rbx + rax*4 + 0x314c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x332c]
movss xmm2, dword [rbx + 0x3334]
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 + 0x3330]
inc eax
mov dword [rbx + 0x332c], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3330], ecx
jbe 0x18001a8c5
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18001a8c9
movaps xmm1, xmm10
mov rsi, qword [0x180068fd0]
mov r8d, edi
movss dword [rbx + 0x39c], xmm1
mov rax, qword [rsi + 0x1de8]
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 + 0x1de0], edi
jle 0x18001a9b8
mov rdx, rdi
nop dword [rax + rax]
mov rax, qword [rsi + 0x1de8]
movaps xmm3, xmm6
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm2, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0x98], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa0], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x90], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm6
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x1de0]
jl 0x18001a910
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x18001a9dd
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180021b10
mov eax, dword [rbx + 0x1de0]
movaps xmm8, xmm10
movss xmm4, dword [0x18005cd80]
movaps xmm7, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x18001aa59
mov rcx, qword [rbx + 0x1de8]
mov edx, eax
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm8, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x18001aa37
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x18001aa3f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x18001aa47
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18001aa4f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18001aa10
mov qword [rsp + 0x70], r15
movss dword [rbx + 0x199c], xmm8
movss dword [rbx + 0x19a0], xmm7
movss dword [rbx + 0x19a4], xmm4
movss dword [rbx + 0x19a8], xmm5
mov eax, dword [rbx + 0x1618]
movss xmm1, dword [rbx + 0x161c]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x1994], eax
movss xmm0, dword [rbx + 0x1998]
ucomiss xmm0, xmm1
jp 0x18001aaac
je 0x18001ab61
movss xmm7, dword [0x18005ccd4]
lea r14, [rbx + 0x1b34]
movss dword [rbx + 0x1998], xmm1
mov ebp, edi
mov r15d, 0x200
nop dword [rax + rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x18001ab29
movss xmm1, dword [rbx + 0x1998]
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, xmm7
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 0x18001ab20
mov eax, 4
jmp 0x18001ab2b
cmp eax, r15d
cmovg eax, r15d
jmp 0x18001ab2b
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x18001aad0
movss xmm0, dword [0x18005cc44]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1998]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b30], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19ac], edi
cmp byte [rbx + 0x1614], dil
je 0x18001ab88
mov dword [rbx + 0x19ac], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1615], dil
je 0x18001abad
mov rax, qword [rbx + 0x1970]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18001abad
or edx, 2
mov dword [rbx + 0x19ac], edx
cmp byte [rbx + 0x1616], dil
je 0x18001abbf
or edx, 4
mov dword [rbx + 0x19ac], edx
test byte [rbx + 0xc], 8
je 0x18001abce
or edx, 8
mov dword [rbx + 0x19ac], edx
mov edx, edi
cmp dword [rbx + 0x1de0], edi
jle 0x18001ac09
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1de8]
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 + 0x1de0]
jl 0x18001abe0
cmp byte [rbx + 0x1f74], dil
je 0x18001ac3d
mov eax, dword [rbx + 0x1f94]
cmp eax, dword [rbx + 0x1c50]
jne 0x18001ac3d
cmp dword [rsi + 0x1c50], eax
jne 0x18001ac2e
mov dword [rsi + 0x1c54], eax
cmp dword [rsi + 0x1c90], eax
jne 0x18001ac3d
mov byte [rsi + 0x1c94], 1
lea rax, [rbx + 0x1c3c]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c40], edi
jne 0x18001ac56
mov dword [rbx + 0x1c48], edi
jmp 0x18001ac67
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x18001ac72
cmp dword [rbx + 0x1c50], ecx
jne 0x18001ac72
mov dword [rbx + 0x1c4c], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x18001aca9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c48]
movss dword [rbx + 0x1c48], xmm0
cmp dword [rbx + 0x1c50], edx
je 0x18001aca9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c4c]
movss dword [rbx + 0x1c4c], xmm0
movzx eax, byte [rbx + 0x1c45]
movaps xmm2, xmm1
mov byte [rbx + 0x1c46], al
mov ebp, 0xffffffff
mov eax, dword [rbx + 0x1c50]
mov dword [rbx + 0x1c40], edx
mov dword [r8], edi
mov word [rbx + 0x1c44], di
mov byte [rbx + 0x1c47], dil
cmp dword [rbx + 0x1c54], eax
je 0x18001ad45
cmp dword [rbx + 0x1c90], eax
jne 0x18001ad45
test eax, eax
je 0x18001ad45
mov ecx, dword [rsi + 0x1c50]
test ecx, ecx
setne al
mov byte [rsi + 0x1c5c], al
test ecx, ecx
je 0x18001ad17
mov dword [rsi + 0x1c58], edi
mov word [rsi + 0x1c5f], di
mov dword [rsi + 0x1c8c], ebp
mov dword [rsi + 0x1c50], edi
mov word [rsi + 0x1c5d], di
mov qword [rsi + 0x1c80], rdi
mov word [rsi + 0x1c61], di
mov qword [rsi + 0x1c64], rdi
mov qword [rsi + 0x1c70], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c50]
test ecx, ecx
je 0x18001ad62
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c58]
movss dword [rbx + 0x1c58], xmm0
mov rax, qword [rbx + 0x1c80]
addss xmm2, dword [rbx + 0x1ca4]
mov qword [rbx + 0x1c98], rax
movzx eax, byte [rbx + 0x1c60]
mov byte [rbx + 0x1c95], al
mov eax, dword [rbx + 0x2fe0]
movss dword [rbx + 0x1ca4], xmm2
mov dword [rbx + 0x1c90], ecx
mov dword [rbx + 0x1c54], edi
mov byte [rbx + 0x1c61], dil
mov byte [rbx + 0x1c94], dil
mov byte [rbx + 0x1c5c], dil
test eax, eax
je 0x18001adc2
cmp ecx, eax
je 0x18001adc2
mov dword [rbx + 0x2fe0], edi
test ecx, ecx
jne 0x18001add4
mov qword [rbx + 0x1c64], rdi
mov qword [rbx + 0x1c70], rdi
mov eax, dword [rbx + 0x1fe4]
mov r8d, 0x800
mov dword [rbx + 0x1fe8], eax
mov eax, edi
mov qword [rbx + 0x1fe0], 0x7f7fffff
mov word [rbx + 0x1f75], di
mov dword [rbx + 0x1ff0], 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 + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x18005cd60]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x18001ae8c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18001ae85
movaps xmm0, xmm6
jmp 0x18001ae8f
addss xmm0, dword [rbx + 0x18]
jmp 0x18001ae8f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x18001aeae
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18001aea7
movaps xmm0, xmm6
jmp 0x18001aeb1
addss xmm0, dword [rbx + 0x18]
jmp 0x18001aeb1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x18001aed1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18001aeca
movaps xmm0, xmm6
jmp 0x18001aed4
addss xmm0, dword [rbx + 0x18]
jmp 0x18001aed4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18001aef5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18001aeee
movaps xmm0, xmm6
jmp 0x18001aef8
addss xmm0, dword [rbx + 0x18]
jmp 0x18001aef8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18001ae70
call fcn.180024e10
call fcn.180019a20
call fcn.18001a280
call fcn.180019530
mov r8, qword [0x180068fd0]
mov eax, dword [r8 + 0x1dc0]
sub eax, 1
js 0x18001af6b
mov r8, qword [r8 + 0x1dc8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x18001af61
test dword [rax + 0xc], 0x8000000
jne 0x18001af81
sub r8, 0x30
sub rdx, 1
jns 0x18001af50
cmp qword [rbx + 0x1f20], rdi
je 0x18001af9d
movss xmm0, dword [rbx + 0x1f3c]
comiss xmm0, xmm6
jbe 0x18001af9d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18005ccec]
addss xmm1, dword [rbx + 0x1f6c]
minss xmm1, xmm9
jmp 0x18001afba
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18005ccf8]
movss xmm1, dword [rbx + 0x1f6c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f6c], xmm1
mov dword [rbx + 0x1f70], edi
mov qword [rbx + 0x333c], 0xffffffffffffffff
mov dword [rbx + 0x3338], ebp
mov dword [rbx + 0x3080], 0x3f800000
mov dword [rbx + 0x3084], 0x3f800000
call fcn.180019de0
mov r11, qword [0x180068fd0]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1df0]
test r8, r8
je 0x18001b03c
cmp byte [r8 + 0x8e], dil
je 0x18001b03c
test dword [r8 + 0xc], 0x40000
jne 0x18001b03c
cmp byte [r11 + 0x140], dil
jne 0x18001b03c
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x18001b03c
call fcn.18001c9b0
test al, al
je 0x18001b03c
mov al, 1
jmp 0x18001b03e
xor al, al
mov byte [r11 + 0x1f68], al
cmp dword [r11 + 0x1c50], edi
jne 0x18001b09f
test al, al
je 0x18001b09f
mov qword [r11 + 0x1f50], r8
mov dword [r11 + 0x1f60], 0x7fffffff
cmp dword [r11 + 0x1df8], edi
je 0x18001b08c
mov edx, dword [r11 + 0x1e40]
cmp edx, 0x7fffffff
je 0x18001b08c
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x18001b098
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f64], ecx
mov r8, qword [r11 + 0x1f50]
mov qword [r11 + 0x1f48], rdi
mov dword [r11 + 0x1f5c], 0x7fffffff
mov dword [r11 + 0x1f58], 0x7fffffff
test r8, r8
je 0x18001b13a
mov eax, dword [r11 + 0x1f60]
mov qword [r11 + 0x1f48], r8
cmp eax, 0x7fffffff
je 0x18001b0f6
mov ecx, dword [r8 + 0x18c]
cmp ecx, ebp
je 0x18001b0f6
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f58], edx
mov eax, dword [r11 + 0x1f64]
cmp eax, 0x7fffffff
je 0x18001b11d
mov ecx, dword [r8 + 0x190]
cmp ecx, ebp
je 0x18001b11d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f5c], edx
mov qword [r11 + 0x1f50], rdi
mov dword [r11 + 0x1f64], 0x7fffffff
mov dword [r11 + 0x1f60], 0x7fffffff
mov dword [r11 + 0x1e40], 0x7fffffff
cmp byte [rbx + 0x1b97], dil
jne 0x18001b16e
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x18001b16e
movsd xmm10, qword [rbx + 0x1b80]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1ba8], edi
je 0x18001b2d6
mov r14, rdi
nop
mov rax, qword [rbx + 0x1bb0]
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 0x18001b2c4
cmp byte [rsi + 0x3a8], dil
jne 0x18001b2c4
comiss xmm10, dword [rsi + 0x24c]
jbe 0x18001b2c4
mov rcx, qword [rsi + 0x280]
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 0x18001b222
mov rax, qword [0x180068fd0]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18001b215
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x280]
call fcn.1800317e0
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x18001b260
mov rax, qword [0x180068fd0]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x18001b253
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x168], rdi
mov rcx, qword [rsi + 0x1a8]
test rcx, rcx
je 0x18001b292
mov rax, qword [0x180068fd0]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x18001b285
dec dword [rax + 0x3b0]
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 0x18001b2c4
mov rax, qword [0x180068fd0]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x18001b2b7
dec dword [rax + 0x3b0]
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 + 0x1ba8]
jne 0x18001b180
mov r14d, edi
cmp dword [rbx + 0x2060], edi
jle 0x18001b41d
mov qword [rsp + 0x80], r12
mov r15, rdi
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop dword [rax]
mov rax, qword [rbx + 0x2068]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x18001b3f2
comiss xmm10, xmm0
jbe 0x18001b3f2
mov rsi, qword [rbx + 0x2030]
mov rbp, qword [0x180068fd0]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x18001b363
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x18001b356
dec dword [rbp + 0x3b0]
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 0x18001b39c
mov rax, qword [0x180068fd0]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18001b38f
dec dword [rax + 0x3b0]
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 0x18001b3c6
mov rcx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rax + rcx - 0x18], 0xffff
cmp edx, dword [rsi + 0x74]
jl 0x18001b3b0
sub rsi, qword [rbp + 0x2030]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2068]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x2060]
jl 0x18001b300
mov r12, qword [rsp + 0x80]
mov r13, qword [rsp + 0xb8]
mov r14d, edi
mov r15, qword [rsp + 0x70]
cmp dword [rbx + 0x2050], edi
jle 0x18001b46c
mov rsi, rdi
mov rbp, qword [rbx + 0x2058]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x18001b45c
comiss xmm10, xmm0
jbe 0x18001b45c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.180034940
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2050]
jl 0x18001b430
movaps xmm10, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc0]
cmp byte [rbx + 0x1b97], dil
je 0x18001b4f1
mov rsi, qword [0x180068fd0]
mov rcx, qword [rsi + 0x1da8]
test rcx, rcx
je 0x18001b4ba
mov qword [rsi + 0x1da0], rdi
test rsi, rsi
je 0x18001b4ad
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1da8], rdi
mov rcx, qword [rsi + 0x1db8]
test rcx, rcx
je 0x18001b4ec
mov rax, qword [0x180068fd0]
mov qword [rsi + 0x1db0], rdi
test rax, rax
je 0x18001b4df
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1db8], rdi
call fcn.18003dd30
mov rax, qword [rbx + 0x1df0]
mov byte [rbx + 0x1b97], dil
test rax, rax
je 0x18001b565
cmp byte [rax + 0x8f], dil
jne 0x18001b565
mov rcx, qword [0x180068fd0]
mov eax, dword [rcx + 0x1bb8]
sub eax, 1
js 0x18001b55e
movsxd rdx, eax
mov rax, qword [rcx + 0x1bc0]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x18001b554
cmp byte [rcx + 0x8f], dil
je 0x18001b554
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18001b767
sub r8, 8
sub rdx, 1
jns 0x18001b530
xor ecx, ecx
call fcn.1800218b0
mov ecx, dword [rbx + 0x1bdc]
test ecx, ecx
jns 0x18001b58b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1bd8]
test eax, eax
cmovg edx, eax
call fcn.180029c30
mov dword [rbx + 0x1bd8], edi
mov ecx, dword [rbx + 0x1dd4]
test ecx, ecx
jns 0x18001b5b7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1dd0]
test eax, eax
cmovg edx, eax
call fcn.180029b00
lea rsi, [rbx + 0x1da0]
mov dword [rbx + 0x1dd0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18001b5e3
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.180029ba0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18001b5f7
mov edx, 8
mov rcx, rsi
call fcn.180029ba0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1db0]
inc dword [rsi]
call fcn.180028fc0
mov r8, qword [0x180068fd0]
mov dword [r8 + 0x3138], edi
cmp byte [r8 + 0x3134], dil
je 0x18001b6da
mov esi, dword [r8 + 0x1c40]
mov dword [r8 + 0x1f70], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18001b656
call fcn.18001c9b0
test al, al
je 0x18001b656
mov byte [r8 + 0x3134], dil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x18001b678
jne 0x18001b678
test esi, esi
je 0x18001b678
mov dword [r8 + 0x3138], esi
mov byte [r8 + 0x3134], dil
or dword [r8 + 0x1cf0], 0x40
xor edx, edx
mov dword [r8 + 0x1d50], 0x3f19999a
call fcn.1800230f0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.18003ec70
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18003ec70
mov eax, 0x1630
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x1620
cmove ecx, eax
add rcx, qword [0x180068fd0]
call fcn.18003ed70
call fcn.180021740
mov r8, qword [0x180068fd0]
mov byte [rbx + 0x1b95], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1cf0], 2
xor edx, edx
mov dword [r8 + 0x1d10], 0x43c80000
mov dword [r8 + 0x1d14], 0x43c80000
mov dword [r8 + 0x1cf8], 4
xor r8d, r8d
call fcn.18001f4d0
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x30d8], edi
jle 0x18001b75a
mov rsi, rdi
nop dword [rax + rax]
mov rax, qword [r13]
cmp dword [rsi + rax + 4], 1
jne 0x18001b74c
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 + 0x30d8]
jl 0x18001b730
add rsp, 0x88
pop r13
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x18001b77c
cmp byte [rax + 0x8f], dil
jne 0x18001b77f
mov rax, rcx
mov rcx, rax
jmp 0x18001b560