Function at 0x180009950
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x180043c58]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax + 0x18], r12
mov qword [rax - 0x20], r14
mov edi, dword [rsi + 0x2f48]
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
js 0x1800099f3
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop
mov rdx, qword [rsi + 0x2f50]
cmp dword [rdx + rbp + 4], 7
jne 0x1800099e6
movsxd r8, dword [rsi + 0x2f48]
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 + 0x2f48]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x1800099a0
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x2f48], edi
jle 0x180009a34
mov esi, edi
mov rax, qword [rbx + 0x2f50]
cmp dword [rax + rsi + 4], edi
jne 0x180009a1f
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 + 0x2f48]
jl 0x180009a01
mov rsi, qword [0x180043c58]
cmp byte [rsi + 0xcc], dil
je 0x180009a4a
test byte [rsi + 0xc], 2
jne 0x180009a4a
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x2f01], dil
jne 0x180009ab5
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180009aae
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.180006740
mov rsi, rax
test rax, rax
je 0x180009aa7
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180016cb0
mov rcx, qword [0x180043c58]
test rcx, rcx
je 0x180009a9e
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x180043c58]
mov byte [rbp + 0x2f01], 1
movss xmm0, dword [rbp + 0x2f04]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x180009b51
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x2f04], xmm0
jb 0x180009b51
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x180009b44
lea rcx, [rsp + 0xa0]
mov dword [rsi + 0x2f04], edi
mov qword [rsp + 0xa0], rdi
call fcn.180017010
lea rdx, [0x1800388d0]
mov rcx, r14
mov r15, rax
call fcn.180006610
mov rsi, rax
test rax, rax
je 0x180009b3b
mov r8, qword [rsp + 0xa0]
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 [0x180043c58]
jmp 0x180009b4b
mov byte [rbp + 0x39c], 1
mov dword [rbp + 0x2f04], edi
inc dword [rbx + 0x1a68]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1a74], 1
mov dword [rbx + 0x2ec8], edi
mov dword [rbx + 0x1ad8], edi
addsd xmm0, qword [rbx + 0x1a60]
movsd qword [rbx + 0x1a60], xmm0
mov ecx, dword [rbx + 0x2ee4]
test ecx, ecx
jns 0x180009baf
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x2ee0]
test eax, eax
cmovg edx, eax
call fcn.180018710
mov rsi, qword [0x180043c58]
movss xmm9, dword [0x18003d34c]
mov dword [rbx + 0x2ee0], edi
movsxd rax, dword [rbx + 0x319c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2fbc]
addss xmm0, dword [rbx + 0x31a0]
movss dword [rbx + 0x31a0], xmm0
movss dword [rbx + rax*4 + 0x2fbc], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x319c]
movss xmm1, dword [rbx + 0x31a0]
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, xmm6
mov dword [rbx + 0x319c], ecx
jbe 0x180009c38
divss xmm1, dword [0x18003d31c]
movss xmm0, dword [0x18003d29c]
divss xmm0, xmm1
jmp 0x180009c3c
movaps xmm0, xmm9
movss dword [rbx + 0x3a0], xmm0
mov r8d, edi
mov rax, qword [rsi + 0x1c98]
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 + 0x1c90], edi
jle 0x180009d27
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi + 0x1c98]
movaps xmm3, xmm6
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, xmm6
maxss xmm1, xmm2
movss dword [rcx + 0x1c], xmm3
movss dword [rcx + 0x20], xmm1
cmp r8d, dword [rsi + 0x1c90]
jl 0x180009c80
mov rax, qword [rbx + 0xa8]
mov byte [rax], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x180009d4b
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.180011200
mov eax, dword [rbx + 0x1c90]
movaps xmm2, xmm9
movss xmm5, dword [0x18003d378]
movaps xmm8, xmm9
movaps xmm7, xmm5
test eax, eax
jle 0x180009dc9
mov rcx, qword [rbx + 0x1c98]
mov edx, eax
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 0x180009da5
movaps xmm2, xmm4
comiss xmm8, xmm3
jbe 0x180009daf
movaps xmm8, xmm3
comiss xmm0, xmm5
jbe 0x180009db7
movaps xmm5, xmm0
comiss xmm1, xmm7
jbe 0x180009dbf
movaps xmm7, xmm1
add rcx, 8
sub rdx, 1
jne 0x180009d80
mov eax, dword [rbx + 0x161c]
movss xmm1, dword [rbx + 0x1620]
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm8
mov dword [rbx + 0x199c], eax
movaps xmm8, xmmword [rsp + 0x40]
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm7
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x19a4], xmm2
movss xmm0, dword [rbx + 0x19a0]
ucomiss xmm0, xmm1
jp 0x180009e16
je 0x180009e90
movss xmm7, dword [0x18003d2e0]
lea r14, [rbx + 0x1a18]
movss dword [rbx + 0x19a0], xmm1
mov ebp, edi
mov r15d, 0x200
movd xmm1, ebp
cvtdq2ps xmm1, xmm1
test ebp, ebp
je 0x180009e74
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x19a0]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x180009e6b
mov edx, 0xc
jmp 0x180009e76
cmp edx, r15d
cmovg edx, r15d
jmp 0x180009e76
mov edx, edi
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebp
mov byte [r14], cl
inc r14
cmp ebp, 0x40
jl 0x180009e35
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19b4], edi
cmp byte [rbx + 0x1618], dil
je 0x180009eb7
mov dword [rbx + 0x19b4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], dil
je 0x180009edd
mov rax, qword [rbx + 0x1978]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x180009edd
or edx, 2
mov dword [rbx + 0x19b4], edx
cmp byte [rbx + 0x161a], dil
je 0x180009eef
or edx, 4
mov dword [rbx + 0x19b4], edx
test byte [rbx + 0xc], 8
je 0x180009efe
or edx, 8
mov dword [rbx + 0x19b4], edx
mov edx, edi
cmp dword [rbx + 0x1c90], edi
jle 0x180009f39
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1c98]
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 + 0x1c90]
jl 0x180009f10
cmp byte [rbx + 0x1e24], dil
je 0x180009f6d
mov eax, dword [rbx + 0x1e44]
cmp eax, dword [rbx + 0x1b30]
jne 0x180009f6d
cmp dword [rsi + 0x1b30], eax
jne 0x180009f5e
mov dword [rsi + 0x1b34], eax
cmp dword [rsi + 0x1b70], eax
jne 0x180009f6d
mov byte [rsi + 0x1b74], 1
cmp dword [rbx + 0x1b20], edi
jne 0x180009f7d
mov dword [rbx + 0x1b28], edi
jmp 0x180009f8f
mov eax, dword [rbx + 0x1b1c]
test eax, eax
je 0x180009f95
cmp dword [rbx + 0x1b30], eax
jne 0x180009f95
mov dword [rbx + 0x1b2c], edi
mov eax, dword [rbx + 0x1b1c]
test eax, eax
je 0x180009fcf
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1b28]
movss dword [rbx + 0x1b28], xmm0
cmp dword [rbx + 0x1b30], eax
je 0x180009fcf
addss xmm1, dword [rbx + 0x1b2c]
movss dword [rbx + 0x1b2c], xmm1
mov dword [rbx + 0x1b20], eax
movzx eax, byte [rbx + 0x1b25]
mov byte [rbx + 0x1b26], al
mov eax, dword [rbx + 0x1b30]
mov dword [rbx + 0x1b1c], edi
mov word [rbx + 0x1b24], di
mov byte [rbx + 0x1b27], dil
cmp dword [rbx + 0x1b34], eax
je 0x18000a05b
cmp dword [rbx + 0x1b70], eax
jne 0x18000a05b
test eax, eax
je 0x18000a05b
mov ecx, dword [rsi + 0x1b30]
test ecx, ecx
setne al
mov byte [rsi + 0x1b3c], al
test ecx, ecx
je 0x18000a032
mov dword [rsi + 0x1b38], edi
mov word [rsi + 0x1b3f], di
mov dword [rsi + 0x1b30], edi
mov word [rsi + 0x1b3d], di
mov qword [rsi + 0x1b60], rdi
mov word [rsi + 0x1b41], di
mov qword [rsi + 0x1b44], rdi
mov qword [rsi + 0x1b50], rdi
mov ecx, dword [rbx + 0x1b30]
test ecx, ecx
je 0x18000a07a
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1b38]
movss dword [rbx + 0x1b38], xmm0
mov rax, qword [rbx + 0x1b60]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1b84]
mov qword [rbx + 0x1b78], rax
movzx eax, byte [rbx + 0x1b40]
mov byte [rbx + 0x1b75], al
mov eax, dword [rbx + 0x2e88]
movss dword [rbx + 0x1b84], xmm0
mov dword [rbx + 0x1b70], ecx
mov dword [rbx + 0x1b34], edi
mov byte [rbx + 0x1b41], dil
mov byte [rbx + 0x1b74], dil
mov byte [rbx + 0x1b3c], dil
test eax, eax
je 0x18000a0df
cmp ecx, eax
je 0x18000a0df
mov dword [rbx + 0x2e88], edi
test ecx, ecx
jne 0x18000a0f1
mov qword [rbx + 0x1b44], rdi
mov qword [rbx + 0x1b50], rdi
mov eax, dword [rbx + 0x1e94]
mov r8d, 0x800
mov dword [rbx + 0x1e98], eax
mov eax, edi
mov qword [rbx + 0x1e90], 0x7f7fffff
mov word [rbx + 0x1e25], di
mov dword [rbx + 0x1ea0], 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 [0x18003d358]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x18000a1ac
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x18000a1a5
movaps xmm0, xmm6
jmp 0x18000a1af
addss xmm0, dword [rbx + 0x18]
jmp 0x18000a1af
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x18000a1ce
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x18000a1c7
movaps xmm0, xmm6
jmp 0x18000a1d1
addss xmm0, dword [rbx + 0x18]
jmp 0x18000a1d1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x18000a1f1
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18000a1ea
movaps xmm0, xmm6
jmp 0x18000a1f4
addss xmm0, dword [rbx + 0x18]
jmp 0x18000a1f4
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18000a215
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18000a20e
movaps xmm0, xmm6
jmp 0x18000a218
addss xmm0, dword [rbx + 0x18]
jmp 0x18000a218
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18000a190
call fcn.180013ee0
call fcn.180008dc0
call fcn.180009610
call fcn.1800088f0
mov r8, qword [0x180043c58]
mov eax, dword [r8 + 0x1c70]
sub eax, 1
js 0x18000a28b
mov r8, qword [r8 + 0x1c78]
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 0x18000a281
test dword [rax + 0xc], 0x8000000
jne 0x18000a2a1
sub r8, 0x30
sub rdx, 1
jns 0x18000a270
cmp qword [rbx + 0x1dd0], rdi
je 0x18000a2c0
movss xmm0, dword [rbx + 0x1dec]
comiss xmm0, xmm6
jbe 0x18000a2c0
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x18003d2dc]
addss xmm1, dword [rbx + 0x1e1c]
minss xmm1, dword [0x18003d29c]
jmp 0x18000a2dd
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x18003d2e8]
movss xmm1, dword [rbx + 0x1e1c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1e1c], xmm1
mov r12d, 0xffffffff
mov dword [rbx + 0x31a4], r12d
mov dword [rbx + 0x1e20], edi
mov qword [rbx + 0x31a8], 0xffffffffffffffff
mov dword [rbx + 0x2ef0], 0x3f800000
mov dword [rbx + 0x2ef4], 0x3f800000
call fcn.180009140
mov r11, qword [0x180043c58]
mov r8, qword [r11 + 0x1ca0]
test r8, r8
je 0x18000a360
cmp byte [r8 + 0x8e], dil
je 0x18000a360
test dword [r8 + 0xc], 0x40000
jne 0x18000a360
cmp byte [r11 + 0x140], dil
jne 0x18000a360
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x18000a360
call fcn.18000bd90
test al, al
je 0x18000a360
mov al, 1
jmp 0x18000a362
xor al, al
mov byte [r11 + 0x1e18], al
cmp dword [r11 + 0x1b30], edi
jne 0x18000a3cd
test al, al
je 0x18000a3cd
mov qword [r11 + 0x1e00], r8
mov dword [r11 + 0x1e10], 0x7fffffff
cmp dword [r11 + 0x1ca8], edi
je 0x18000a3ba
mov ecx, dword [r11 + 0x1cf0]
cmp ecx, 0x7fffffff
je 0x18000a3ba
cmp byte [r11 + 0x141], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r11 + 0x1e14], eax
jmp 0x18000a3cd
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1e14], ecx
mov r8, qword [r11 + 0x1e00]
mov qword [r11 + 0x1df8], rdi
mov dword [r11 + 0x1e0c], 0x7fffffff
mov dword [r11 + 0x1e08], 0x7fffffff
test r8, r8
je 0x18000a46a
mov eax, dword [r11 + 0x1e10]
mov qword [r11 + 0x1df8], r8
cmp eax, 0x7fffffff
je 0x18000a425
mov ecx, dword [r8 + 0x1c4]
cmp ecx, r12d
je 0x18000a425
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1e08], edx
mov eax, dword [r11 + 0x1e14]
cmp eax, 0x7fffffff
je 0x18000a44d
mov ecx, dword [r8 + 0x1c8]
cmp ecx, r12d
je 0x18000a44d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1e0c], edx
mov qword [r11 + 0x1e00], rdi
mov dword [r11 + 0x1e14], 0x7fffffff
mov dword [r11 + 0x1e10], 0x7fffffff
mov dword [r11 + 0x1cf0], 0x7fffffff
cmp byte [rbx + 0x1a77], dil
jne 0x18000a49e
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x18000a49e
movsd xmm9, qword [rbx + 0x1a60]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x1a88], edi
je 0x18000a606
mov r14, rdi
nop
mov rax, qword [rbx + 0x1a90]
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 0x18000a5f4
cmp byte [rsi + 0x3e0], dil
jne 0x18000a5f4
comiss xmm9, dword [rsi + 0x284]
jbe 0x18000a5f4
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 0x18000a552
mov rax, qword [0x180043c58]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x18000a545
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.180020160
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x18000a590
mov rax, qword [0x180043c58]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x18000a583
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 0x18000a5c2
mov rax, qword [0x180043c58]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x18000a5b5
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 0x18000a5f4
mov rax, qword [0x180043c58]
mov qword [rsi + 0x1e8], rdi
test rax, rax
je 0x18000a5e7
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 + 0x1a88]
jne 0x18000a4b0
mov ebp, edi
cmp dword [rbx + 0x1f08], edi
jle 0x18000a759
mov r15, rdi
mov qword [rsp + 0xb8], r13
mov r14, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x1f10]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm6
jb 0x18000a738
comiss xmm9, xmm0
jbe 0x18000a738
mov rsi, qword [rbx + 0x1ed8]
mov r13, qword [0x180043c58]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.180022ce0
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x18000a69f
mov rax, qword [0x180043c58]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x18000a692
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 + 0x24b], 1
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x18000a6df
mov rax, qword [0x180043c58]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x18000a6d2
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 + 0x255], 1
cmp dword [rsi + 0x6c], edi
jle 0x18000a705
mov rcx, rdi
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r12w
cmp edx, dword [rsi + 0x6c]
jl 0x18000a6f0
sub rsi, qword [r13 + 0x1ed8]
movabs rax, 0x6d3a06d3a06d3a07
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x1f10]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rbx + 0x1f08]
jl 0x18000a630
mov r13, qword [rsp + 0xb8]
movaps xmm9, xmmword [rsp + 0x30]
mov r12, qword [rsp + 0xb0]
cmp byte [rbx + 0x1a77], dil
je 0x18000a7d9
mov rsi, qword [0x180043c58]
mov rcx, qword [rsi + 0x1c58]
test rcx, rcx
je 0x18000a7a2
mov qword [rsi + 0x1c50], rdi
test rsi, rsi
je 0x18000a795
dec dword [rsi + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1c58], rdi
mov rcx, qword [rsi + 0x1c68]
test rcx, rcx
je 0x18000a7d4
mov rax, qword [0x180043c58]
mov qword [rsi + 0x1c60], rdi
test rax, rax
je 0x18000a7c7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1c68], rdi
call fcn.18002a2b0
mov rax, qword [rbx + 0x1ca0]
mov byte [rbx + 0x1a77], dil
test rax, rax
je 0x18000a859
cmp byte [rax + 0x8f], dil
jne 0x18000a859
mov rcx, qword [0x180043c58]
mov eax, dword [rcx + 0x1a98]
sub eax, 1
js 0x18000a852
movsxd r9, eax
mov rax, qword [rcx + 0x1aa0]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x18000a848
cmp byte [r8 + 0x8f], dil
je 0x18000a848
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x18000a996
sub r10, 8
sub r9, 1
jns 0x18000a815
xor ecx, ecx
call fcn.180010ee0
mov ecx, dword [rbx + 0x1abc]
test ecx, ecx
jns 0x18000a87f
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ab8]
test eax, eax
cmovg edx, eax
call fcn.180018100
mov dword [rbx + 0x1ab8], edi
mov ecx, dword [rbx + 0x1c84]
test ecx, ecx
jns 0x18000a8ab
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1c80]
test eax, eax
cmovg edx, eax
call fcn.180018670
lea rsi, [rbx + 0x1c50]
mov dword [rbx + 0x1c80], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000a8d7
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.180018710
mov dword [rsi], edi
mov r15d, 8
cmp dword [rsi + 4], edi
jne 0x18000a8ef
mov edx, r15d
mov rcx, rsi
call fcn.180018710
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1c60]
inc dword [rsi]
call fcn.180017e30
mov r9, qword [0x180043c58]
mov r11, qword [rbx + 0x1ca0]
mov r10d, dword [r9 + 0x1c70]
test r10d, r10d
je 0x18000aa04
mov esi, edi
test r11, r11
je 0x18000a9c6
test r10d, r10d
jle 0x18000a9c6
mov r14, qword [r9 + 0x1c78]
mov rbp, rdi
add r14, r15
mov rax, qword [r14]
test rax, rax
je 0x18000a9b7
test dword [rax + 0xc], 0x1000000
jne 0x18000a9b7
mov edx, esi
cmp esi, r10d
jge 0x18000aa04
mov rcx, qword [r9 + 0x1c78]
add rcx, r15
add rcx, rbp
mov r8, qword [rcx]
test r8, r8
je 0x18000a989
mov rax, qword [r11 + 0x390]
cmp qword [r8 + 0x390], rax
je 0x18000a9b7
inc edx
add rcx, 0x30
cmp edx, r10d
jl 0x18000a971
jmp 0x18000a9cb
mov rcx, qword [r8 + 0x3a8]
test rcx, rcx
je 0x18000a9af
cmp byte [rcx + 0x8f], dil
jne 0x18000a854
mov rcx, r8
jmp 0x18000a854
inc esi
add rbp, 0x30
add r14, 0x30
cmp esi, r10d
jl 0x18000a948
cmp esi, r10d
jge 0x18000aa04
lea r14, [r9 + 0x1c70]
mov ecx, dword [r14 + 4]
cmp esi, ecx
jle 0x18000aa01
test ecx, ecx
je 0x18000a9e9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r15d, [rcx + rax]
cmp r15d, esi
mov edx, esi
mov rcx, r14
cmovg edx, r15d
call fcn.180018670
mov r9, qword [0x180043c58]
mov dword [r14], esi
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
mov dword [r9 + 0x2fa8], edi
cmp byte [r9 + 0x2fa4], dil
je 0x18000aae0
mov esi, dword [r9 + 0x1b20]
mov dword [r9 + 0x1e20], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x18000aa54
call fcn.18000bd90
test al, al
je 0x18000aa54
mov byte [r9 + 0x2fa4], dil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm6
jp 0x18000aa76
jne 0x18000aa76
test esi, esi
je 0x18000aa76
mov dword [r9 + 0x2fa8], esi
mov byte [r9 + 0x2fa4], dil
or dword [r9 + 0x1b88], 0x40
xor edx, edx
mov dword [r9 + 0x1be8], 0x3f19999a
call fcn.180012620
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.18002b430
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18002b430
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x180043c58]
add rax, 0x1624
add rcx, rax
call fcn.18002b530
call fcn.180010dc0
mov r9, qword [0x180043c58]
mov byte [rbx + 0x1a75], 1
lea rcx, str.DebugDefault
or dword [r9 + 0x1b88], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1ba8], 0x43c80000
mov dword [r9 + 0x1bac], 0x43c80000
mov dword [r9 + 0x1b90], 4
call fcn.18000ea00
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x2f48], edi
jle 0x18000ab5e
mov rsi, rdi
mov rax, qword [rbx + 0x2f50]
cmp dword [rax + rsi + 4], 1
jne 0x18000ab50
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 + 0x2f48]
jl 0x18000ab31
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret