Function at 0x140012370
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x140639768]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax + 0x20], r13
mov qword [rax - 0x20], r14
mov edi, dword [rsi + 0x3118]
sub edi, 1
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 0x140012413
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop
mov rdx, qword [rsi + 0x3120]
cmp dword [rdx + rbp + 4], 7
jne 0x140012406
movsxd r8, dword [rsi + 0x3118]
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 + 0x3118]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x1400123c0
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x3118], edi
jle 0x140012454
mov esi, edi
mov rax, qword [rbx + 0x3120]
cmp dword [rax + rsi + 4], edi
jne 0x14001243f
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 + 0x3118]
jl 0x140012421
mov rsi, qword [0x140639768]
cmp byte [rsi + 0xcc], dil
je 0x14001246a
test byte [rsi + 0xc], 2
jne 0x14001246a
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x30d1], dil
jne 0x1400124d5
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400124ce
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.14000ec90
mov rsi, rax
test rax, rax
je 0x1400124c7
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.14001db30
mov rcx, qword [0x140639768]
test rcx, rcx
je 0x1400124be
dec dword [rcx + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x140639768]
mov byte [rbp + 0x30d1], 1
movss xmm0, dword [rbp + 0x30d4]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x70], r15
jbe 0x140012576
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x30d4], xmm0
jb 0x140012576
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x140012569
lea rcx, [rsp + 0xa0]
mov dword [rsi + 0x30d4], edi
mov qword [rsp + 0xa0], rdi
call fcn.14001de90
lea rdx, [0x1400c56d8]
mov rcx, r14
mov r15, rax
call fcn.14000eb60
mov rsi, rax
test rax, rax
je 0x140012560
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 [0x140639768]
jmp 0x140012570
mov byte [rbp + 0x398], 1
mov dword [rbp + 0x30d4], edi
inc dword [rbx + 0x1bc8]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1bd4], 1
mov dword [rbx + 0x3094], edi
mov dword [rbx + 0x1c38], edi
addsd xmm0, qword [rbx + 0x1bc0]
movsd qword [rbx + 0x1bc0], xmm0
mov ecx, dword [rbx + 0x30b4]
test ecx, ecx
jns 0x1400125d4
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x30b0]
test eax, eax
cmovg edx, eax
call fcn.1400041f0
mov rsi, qword [0x140639768]
movss xmm9, dword [0x1400ca46c]
movss xmm10, dword [0x1400ca354]
mov dword [rbx + 0x30b0], edi
movsxd rax, dword [rbx + 0x336c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x318c]
addss xmm0, dword [rbx + 0x3374]
movss dword [rbx + 0x3374], xmm0
movss dword [rbx + rax*4 + 0x318c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x336c]
movss xmm2, dword [rbx + 0x3374]
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 + 0x3370]
inc eax
mov dword [rbx + 0x336c], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3370], ecx
jbe 0x14001267d
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140012681
movaps xmm1, xmm9
movss dword [rbx + 0x39c], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1e28]
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 + 0x1e20], edi
jle 0x140012768
mov rdx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x1e28]
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 + 0x1e20]
jl 0x1400126c0
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x14001278d
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.14001a570
mov eax, dword [rbx + 0x1e20]
movaps xmm8, xmm9
movss xmm4, dword [0x1400ca4a0]
movaps xmm7, xmm9
movaps xmm5, xmm4
test eax, eax
jle 0x140012809
mov rcx, qword [rbx + 0x1e28]
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 0x1400127e7
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x1400127ef
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x1400127f7
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1400127ff
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x1400127c0
movss dword [rbx + 0x19cc], xmm8
movss dword [rbx + 0x19d0], xmm7
movss dword [rbx + 0x19d4], xmm4
movss dword [rbx + 0x19d8], xmm5
mov eax, dword [rbx + 0x1618]
movss xmm1, dword [rbx + 0x161c]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x19c4], eax
movss xmm0, dword [rbx + 0x19c8]
ucomiss xmm0, xmm1
jp 0x140012857
je 0x140012911
movss xmm7, dword [0x1400ca3a4]
lea r14, [rbx + 0x1b64]
movss dword [rbx + 0x19c8], xmm1
mov ebp, edi
mov r15d, 0x200
nop word [rax + rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x1400128d9
movss xmm1, dword [rbx + 0x19c8]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm10
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 0x1400128d0
mov eax, 4
jmp 0x1400128db
cmp eax, r15d
cmovg eax, r15d
jmp 0x1400128db
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x140012880
movss xmm0, dword [0x1400ca2e0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19c8]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b60], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19dc], edi
cmp byte [rbx + 0x1614], dil
je 0x140012938
mov dword [rbx + 0x19dc], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1615], dil
je 0x14001295d
mov rax, qword [rbx + 0x19a0]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14001295d
or edx, 2
mov dword [rbx + 0x19dc], edx
cmp byte [rbx + 0x1616], dil
je 0x14001296f
or edx, 4
mov dword [rbx + 0x19dc], edx
test byte [rbx + 0xc], 8
je 0x14001297e
or edx, 8
mov dword [rbx + 0x19dc], edx
mov edx, edi
cmp dword [rbx + 0x1e20], edi
jle 0x1400129b9
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1e28]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1e20]
jl 0x140012990
cmp byte [rbx + 0x1fb4], dil
je 0x1400129ed
mov eax, dword [rbx + 0x1fd4]
cmp eax, dword [rbx + 0x1c90]
jne 0x1400129ed
cmp dword [rsi + 0x1c90], eax
jne 0x1400129de
mov dword [rsi + 0x1c94], eax
cmp dword [rsi + 0x1cd0], eax
jne 0x1400129ed
mov byte [rsi + 0x1cd4], 1
cmp dword [rbx + 0x1c80], edi
jne 0x1400129fd
mov dword [rbx + 0x1c88], edi
jmp 0x140012a0f
mov eax, dword [rbx + 0x1c7c]
test eax, eax
je 0x140012a15
cmp dword [rbx + 0x1c90], eax
jne 0x140012a15
mov dword [rbx + 0x1c8c], edi
mov eax, dword [rbx + 0x1c7c]
test eax, eax
je 0x140012a4f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c88]
movss dword [rbx + 0x1c88], xmm0
cmp dword [rbx + 0x1c90], eax
je 0x140012a4f
addss xmm1, dword [rbx + 0x1c8c]
movss dword [rbx + 0x1c8c], xmm1
mov dword [rbx + 0x1c80], eax
mov r13d, 0xffffffff
movzx eax, byte [rbx + 0x1c85]
mov byte [rbx + 0x1c86], al
mov eax, dword [rbx + 0x1c90]
mov dword [rbx + 0x1c7c], edi
mov word [rbx + 0x1c84], di
mov byte [rbx + 0x1c87], dil
cmp dword [rbx + 0x1c94], eax
je 0x140012ae8
cmp dword [rbx + 0x1cd0], eax
jne 0x140012ae8
test eax, eax
je 0x140012ae8
mov ecx, dword [rsi + 0x1c90]
test ecx, ecx
setne al
mov byte [rsi + 0x1c9c], al
test ecx, ecx
je 0x140012abf
mov dword [rsi + 0x1c98], edi
mov word [rsi + 0x1c9f], di
mov dword [rsi + 0x1ccc], r13d
mov dword [rsi + 0x1c90], edi
mov word [rsi + 0x1c9d], di
mov qword [rsi + 0x1cc0], rdi
mov word [rsi + 0x1ca1], di
mov qword [rsi + 0x1ca4], rdi
mov qword [rsi + 0x1cb0], rdi
mov ecx, dword [rbx + 0x1c90]
test ecx, ecx
je 0x140012b07
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1c98]
movss dword [rbx + 0x1c98], xmm0
mov rax, qword [rbx + 0x1cc0]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1ce4]
mov qword [rbx + 0x1cd8], rax
movzx eax, byte [rbx + 0x1ca0]
mov byte [rbx + 0x1cd5], al
mov eax, dword [rbx + 0x3020]
movss dword [rbx + 0x1ce4], xmm0
mov dword [rbx + 0x1cd0], ecx
mov dword [rbx + 0x1c94], edi
mov byte [rbx + 0x1ca1], dil
mov byte [rbx + 0x1cd4], dil
mov byte [rbx + 0x1c9c], dil
test eax, eax
je 0x140012b6c
cmp ecx, eax
je 0x140012b6c
mov dword [rbx + 0x3020], edi
test ecx, ecx
jne 0x140012b7e
mov qword [rbx + 0x1ca4], rdi
mov qword [rbx + 0x1cb0], rdi
mov eax, dword [rbx + 0x2024]
mov r8d, 0x800
mov dword [rbx + 0x2028], eax
mov eax, edi
mov qword [rbx + 0x2020], 0x7f7fffff
mov word [rbx + 0x1fb5], di
mov dword [rbx + 0x2030], 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 [0x1400ca478]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x140012c32
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140012c2b
movaps xmm0, xmm6
jmp 0x140012c35
addss xmm0, dword [rbx + 0x18]
jmp 0x140012c35
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140012c54
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140012c4d
movaps xmm0, xmm6
jmp 0x140012c57
addss xmm0, dword [rbx + 0x18]
jmp 0x140012c57
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140012c77
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140012c70
movaps xmm0, xmm6
jmp 0x140012c7a
addss xmm0, dword [rbx + 0x18]
jmp 0x140012c7a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x140012c9b
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140012c94
movaps xmm0, xmm6
jmp 0x140012c9e
addss xmm0, dword [rbx + 0x18]
jmp 0x140012c9e
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140012c16
call fcn.1400117d0
call fcn.140012030
call fcn.1400112e0
mov r8, qword [0x140639768]
mov eax, dword [r8 + 0x1e00]
sub eax, 1
js 0x140012d0b
mov r8, qword [r8 + 0x1e08]
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 0x140012d01
test dword [rax + 0xc], 0x8000000
jne 0x140012d21
sub r8, 0x30
sub rdx, 1
jns 0x140012cf0
cmp qword [rbx + 0x1f60], rdi
je 0x140012d3d
movss xmm0, dword [rbx + 0x1f7c]
comiss xmm0, xmm6
jbe 0x140012d3d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400ca3dc]
addss xmm1, dword [rbx + 0x1fac]
minss xmm1, xmm10
jmp 0x140012d5a
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400ca3f4]
movss xmm1, dword [rbx + 0x1fac]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1fac], xmm1
mov dword [rbx + 0x1fb0], edi
mov qword [rbx + 0x337c], 0xffffffffffffffff
mov dword [rbx + 0x3378], r13d
mov dword [rbx + 0x30c0], 0x3f800000
mov dword [rbx + 0x30c4], 0x3f800000
call fcn.140011b90
mov r11, qword [0x140639768]
movaps xmm10, xmmword [rsp + 0x20]
mov r8, qword [r11 + 0x1e30]
test r8, r8
je 0x140012ddd
cmp byte [r8 + 0x8e], dil
je 0x140012ddd
test dword [r8 + 0xc], 0x40000
jne 0x140012ddd
cmp byte [r11 + 0x140], dil
jne 0x140012ddd
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x140012ddd
call fcn.140014f90
test al, al
je 0x140012ddd
mov al, 1
jmp 0x140012ddf
xor al, al
mov byte [r11 + 0x1fa8], al
cmp dword [r11 + 0x1c90], edi
jne 0x140012e40
test al, al
je 0x140012e40
mov qword [r11 + 0x1f90], r8
mov dword [r11 + 0x1fa0], 0x7fffffff
cmp dword [r11 + 0x1e38], edi
je 0x140012e2d
mov edx, dword [r11 + 0x1e80]
cmp edx, 0x7fffffff
je 0x140012e2d
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x140012e39
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1fa4], ecx
mov r8, qword [r11 + 0x1f90]
mov qword [r11 + 0x1f88], rdi
mov dword [r11 + 0x1f9c], 0x7fffffff
mov dword [r11 + 0x1f98], 0x7fffffff
test r8, r8
je 0x140012edd
mov eax, dword [r11 + 0x1fa0]
mov qword [r11 + 0x1f88], r8
cmp eax, 0x7fffffff
je 0x140012e98
mov ecx, dword [r8 + 0x18c]
cmp ecx, r13d
je 0x140012e98
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f98], edx
mov eax, dword [r11 + 0x1fa4]
cmp eax, 0x7fffffff
je 0x140012ec0
mov ecx, dword [r8 + 0x190]
cmp ecx, r13d
je 0x140012ec0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f9c], edx
mov qword [r11 + 0x1f90], rdi
mov dword [r11 + 0x1fa4], 0x7fffffff
mov dword [r11 + 0x1fa0], 0x7fffffff
mov dword [r11 + 0x1e80], 0x7fffffff
cmp byte [rbx + 0x1bd7], dil
jne 0x140012f11
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x140012f11
movsd xmm9, qword [rbx + 0x1bc0]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x1be8], edi
je 0x140013078
mov r14, rdi
mov rax, qword [rbx + 0x1bf0]
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 0x140013066
cmp byte [rsi + 0x3a8], dil
jne 0x140013066
comiss xmm9, dword [rsi + 0x24c]
jbe 0x140013066
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 0x140012fc4
mov rax, qword [0x140639768]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x140012fb7
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.140026830
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x140013002
mov rax, qword [0x140639768]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x140012ff5
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 0x140013034
mov rax, qword [0x140639768]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x140013027
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 0x140013066
mov rax, qword [0x140639768]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x140013059
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 + 0x1be8]
jne 0x140012f22
mov r14d, edi
cmp dword [rbx + 0x20a0], edi
jle 0x1400131bb
mov qword [rsp + 0xb0], r12
mov r15, rdi
mov r12, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x20a8]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x140013198
comiss xmm9, xmm0
jbe 0x140013198
mov rsi, qword [rbx + 0x2070]
mov rbp, qword [0x140639768]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x140013103
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x1400130f6
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 0x14001313c
mov rax, qword [0x140639768]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x14001312f
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 0x140013165
mov rcx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r13w
cmp edx, dword [rsi + 0x74]
jl 0x140013150
sub rsi, qword [rbp + 0x2070]
movabs rax, 0xfc0fc0fc0fc0fc1
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x20a8]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x20a0]
jl 0x1400130a0
mov r12, qword [rsp + 0xb0]
mov r14d, edi
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0xb8]
cmp dword [rbx + 0x2090], edi
jle 0x14001321c
mov rsi, rdi
nop word [rax + rax]
mov rbp, qword [rbx + 0x2098]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x14001320c
comiss xmm9, xmm0
jbe 0x14001320c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.14002b040
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2090]
jl 0x1400131e0
movaps xmm9, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
cmp byte [rbx + 0x1bd7], dil
je 0x1400132a1
mov rsi, qword [0x140639768]
mov rcx, qword [rsi + 0x1de8]
test rcx, rcx
je 0x14001326a
mov qword [rsi + 0x1de0], rdi
test rsi, rsi
je 0x14001325d
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1de8], rdi
mov rcx, qword [rsi + 0x1df8]
test rcx, rcx
je 0x14001329c
mov rax, qword [0x140639768]
mov qword [rsi + 0x1df0], rdi
test rax, rax
je 0x14001328f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1df8], rdi
call fcn.140033be0
mov rax, qword [rbx + 0x1e30]
mov byte [rbx + 0x1bd7], dil
test rax, rax
je 0x140013315
cmp byte [rax + 0x8f], dil
jne 0x140013315
mov rcx, qword [0x140639768]
mov eax, dword [rcx + 0x1bf8]
sub eax, 1
js 0x14001330e
movsxd rdx, eax
mov rax, qword [rcx + 0x1c00]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x140013304
cmp byte [rcx + 0x8f], dil
je 0x140013304
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14001339b
sub r8, 8
sub rdx, 1
jns 0x1400132e0
xor ecx, ecx
call fcn.14001a310
mov ecx, dword [rbx + 0x1c1c]
test ecx, ecx
jns 0x14001333b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1c18]
test eax, eax
cmovg edx, eax
call fcn.140004df0
mov dword [rbx + 0x1c18], edi
mov ecx, dword [rbx + 0x1e14]
test ecx, ecx
jns 0x140013367
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1e10]
test eax, eax
cmovg edx, eax
call fcn.140004c10
lea rsi, [rbx + 0x1de0]
mov dword [rbx + 0x1e10], edi
mov rcx, rsi
xor edx, edx
call fcn.1400047f0
mov ecx, dword [rsi + 4]
mov r8d, dword [rsi]
cmp r8d, ecx
jne 0x1400133d2
inc r8d
test ecx, ecx
je 0x1400133bb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400133c0
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x1400133b0
cmp byte [rax + 0x8f], dil
jne 0x1400133b3
mov rax, rcx
mov rcx, rax
jmp 0x140013310
mov eax, 8
cmp eax, r8d
mov rcx, rsi
cmovg r8d, eax
mov edx, r8d
call fcn.1400041f0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1df0]
inc dword [rsi]
call fcn.140004700
mov r8, qword [0x140639768]
mov dword [r8 + 0x3178], edi
cmp byte [r8 + 0x3174], dil
je 0x1400134be
mov esi, dword [r8 + 0x1c80]
mov dword [r8 + 0x1fb0], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140013431
call fcn.140014f90
test al, al
je 0x140013431
mov byte [r8 + 0x3174], dil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x140013453
jne 0x140013453
test esi, esi
je 0x140013453
mov dword [r8 + 0x3178], esi
mov byte [r8 + 0x3174], dil
or dword [r8 + 0x1d30], 0x40
xor edx, edx
mov dword [r8 + 0x1d90], 0x3f19999a
call fcn.14001b410
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.140034b40
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140034b40
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x20
cmovne ecx, eax
mov rax, qword [0x140639768]
add rax, 0x162c
add rcx, rax
call fcn.140034c40
call fcn.14001a1a0
mov r8, qword [0x140639768]
mov byte [rbx + 0x1bd5], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1d30], 2
xor edx, edx
mov dword [r8 + 0x1d50], 0x43c80000
mov dword [r8 + 0x1d54], 0x43c80000
mov dword [r8 + 0x1d38], 4
xor r8d, r8d
call fcn.140017c20
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x3118], edi
jle 0x14001353d
mov rsi, rdi
nop
mov rax, qword [rbx + 0x3120]
cmp dword [rsi + rax + 4], 1
jne 0x14001352f
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 + 0x3118]
jl 0x140013510
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret