Function at 0x140006db0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rbx, qword [0x140103070]
mov qword [rax + 0x10], rbp
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov edi, dword [rbx + 0x32e8]
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 0x140006e53
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop dword [rax]
mov rdx, qword [rbx + 0x32f0]
cmp dword [rdx + rsi + 4], 7
jne 0x140006e46
movsxd r8, dword [rbx + 0x32e8]
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 + 0x32e8]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x140006e00
xor edi, edi
mov esi, edi
cmp dword [rbx + 0x32e8], edi
jle 0x140006e8d
mov ebp, edi
mov rax, qword [rbx + 0x32f0]
cmp dword [rax + rbp + 4], edi
jne 0x140006e7f
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 + 0x32e8]
jl 0x140006e61
mov rsi, qword [0x140103070]
mov eax, dword [rbx + 0x1a88]
mov dword [rbx + 0x1a8c], eax
cmp byte [rsi + 0xd4], dil
je 0x140006eb6
test byte [rsi + 0xc], 2
jne 0x140006eb6
mov byte [rsi + 0xd4], dil
mov ecx, dword [rsi + 8]
bt ecx, 0xa
jae 0x140006ed5
mov eax, dword [rsi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x140006ed5
btr ecx, 0xa
mov dword [rsi + 8], ecx
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a88], eax
cmp byte [rsi + 0x32a0], dil
jne 0x140006f3f
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140006f38
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.140002a10
mov rbp, rax
test rax, rax
je 0x140006f38
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.140017e40
mov rcx, qword [0x140103070]
test rcx, rcx
je 0x140006f2f
dec dword [rcx + 0x3ac]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsi + 0x32a0], 1
movss xmm0, dword [rsi + 0x32a4]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140006fdb
subss xmm0, dword [rsi + 0x18]
comiss xmm6, xmm0
movss dword [rsi + 0x32a4], xmm0
jb 0x140006fdb
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x140006fce
mov rax, qword [0x140103070]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x32a4], edi
call fcn.1400181a0
lea rdx, [0x14005da00]
mov rcx, rbp
mov r14, rax
call fcn.1400028e0
mov rbp, rax
test rax, rax
je 0x140006fd5
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 0x140006fd5
mov byte [rsi + 0x394], 1
mov dword [rsi + 0x32a4], edi
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x3238]
inc dword [rbx + 0x1ca8]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1cb8], 1
mov word [rbx + 0x321e], di
mov dword [rbx + 0x1d18], edi
addsd xmm0, qword [rbx + 0x1ca0]
movsd qword [rbx + 0x1ca0], xmm0
call fcn.140024a00
movsxd rax, dword [rbx + 0x3560]
movss xmm1, dword [rbx + 0x18]
movss xmm9, dword [0x1400f78a8]
movaps xmm0, xmm1
movss xmm10, dword [0x1400f77a8]
subss xmm0, dword [rbx + rax*4 + 0x3380]
addss xmm0, dword [rbx + 0x3568]
movss dword [rbx + 0x3568], xmm0
movss dword [rbx + rax*4 + 0x3380], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3560]
movss xmm2, dword [rbx + 0x3568]
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 + 0x3564]
inc eax
mov dword [rbx + 0x3560], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3564], ecx
jbe 0x1400070be
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1400070c2
movaps xmm1, xmm9
movss dword [rbx + 0x398], xmm1
call fcn.140019070
mov rax, qword [rbx + 0xa8]
mov rbp, qword [0x140103070]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1400070fb
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.140011080
mov eax, dword [rbx + 0x1f38]
movaps xmm2, xmm9
movss xmm5, dword [0x1400f78cc]
movaps xmm8, xmm9
movaps xmm7, xmm5
test eax, eax
jle 0x140007179
mov rcx, qword [rbx + 0x1f40]
mov edx, eax
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 8]
comiss xmm2, xmm4
movss xmm3, dword [rax + 0xc]
movaps xmm0, xmm4
addss xmm0, dword [rax + 0x10]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x14]
jbe 0x140007155
movaps xmm2, xmm4
comiss xmm8, xmm3
jbe 0x14000715f
movaps xmm8, xmm3
comiss xmm0, xmm5
jbe 0x140007167
movaps xmm5, xmm0
comiss xmm1, xmm7
jbe 0x14000716f
movaps xmm7, xmm1
add rcx, 8
sub rdx, 1
jne 0x140007130
mov eax, dword [rbx + 0x1710]
mov r14d, 0x200
movss xmm1, dword [rbx + 0x1714]
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm8
mov dword [rbx + 0x1ab4], eax
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm7
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x1abc], xmm2
movss xmm0, dword [rbx + 0x1ab8]
ucomiss xmm0, xmm1
jp 0x1400071d0
je 0x140007281
movss xmm7, dword [0x1400f77ec]
lea r15, [rbx + 0x1c54]
movss dword [rbx + 0x1ab8], xmm1
mov esi, edi
nop dword [rax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x140007249
movss xmm1, dword [rbx + 0x1ab8]
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 0x140007240
mov eax, 4
jmp 0x14000724b
cmp eax, r14d
cmovg eax, r14d
jmp 0x14000724b
mov eax, edi
mov byte [r15], al
inc esi
inc r15
cmp esi, 0x40
jl 0x1400071f0
movss xmm0, dword [0x1400f7738]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1ab8]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1c50], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rbx + 0x1acc], edi
cmp byte [rbx + 0x170c], dil
je 0x1400072a8
mov dword [rbx + 0x1acc], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x170d], dil
je 0x1400072cd
mov rax, qword [rbx + 0x1a90]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400072cd
or edx, 2
mov dword [rbx + 0x1acc], edx
cmp byte [rbx + 0x170e], dil
je 0x1400072df
or edx, 4
mov dword [rbx + 0x1acc], edx
test byte [rbx + 0xc], 8
je 0x1400072ee
or edx, 8
mov dword [rbx + 0x1acc], edx
mov edx, edi
cmp dword [rbx + 0x1f38], edi
jle 0x14000733f
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1f40]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + rax - 8]
xor eax, eax
mov qword [rcx + 0x30], rdi
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
cmp edx, dword [rbx + 0x1f38]
jl 0x140007300
cmp byte [rbx + 0x212c], dil
je 0x140007373
mov eax, dword [rbx + 0x214c]
cmp eax, dword [rbx + 0x1d7c]
jne 0x140007373
cmp dword [rbp + 0x1d7c], eax
jne 0x140007364
mov dword [rbp + 0x1d80], eax
cmp dword [rbp + 0x1db8], eax
jne 0x140007373
mov byte [rbp + 0x1dbc], 1
cmp dword [rbx + 0x1d6c], edi
jne 0x140007383
mov dword [rbx + 0x1d74], edi
jmp 0x140007395
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x14000739b
cmp dword [rbx + 0x1d7c], eax
jne 0x14000739b
mov dword [rbx + 0x1d78], edi
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x1400073d5
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
cmp dword [rbx + 0x1d7c], eax
je 0x1400073d5
addss xmm1, dword [rbx + 0x1d78]
movss dword [rbx + 0x1d78], xmm1
mov dword [rbx + 0x1d6c], eax
mov r15d, 0xffffffff
movzx eax, byte [rbx + 0x1d71]
mov byte [rbx + 0x1d72], al
mov eax, dword [rbx + 0x1d7c]
mov dword [rbx + 0x1d68], edi
mov word [rbx + 0x1d70], di
mov byte [rbx + 0x1d73], dil
cmp dword [rbx + 0x1d80], eax
je 0x14000746e
cmp dword [rbx + 0x1db8], eax
jne 0x14000746e
test eax, eax
je 0x14000746e
mov ecx, dword [rbp + 0x1d7c]
test ecx, ecx
setne al
mov byte [rbp + 0x1d88], al
test ecx, ecx
je 0x140007445
mov dword [rbp + 0x1d84], edi
mov word [rbp + 0x1d8b], di
mov dword [rbp + 0x1db4], r15d
mov dword [rbp + 0x1d7c], edi
mov word [rbp + 0x1d89], di
mov qword [rbp + 0x1da8], rdi
mov word [rbp + 0x1d8d], di
mov qword [rbp + 0x1d90], rdi
mov qword [rbp + 0x1d98], rdi
mov ecx, dword [rbx + 0x1d7c]
test ecx, ecx
je 0x14000748d
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1d84]
movss dword [rbx + 0x1d84], xmm0
mov rax, qword [rbx + 0x1da8]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1dcc]
mov qword [rbx + 0x1dc0], rax
movzx eax, byte [rbx + 0x1d8c]
mov byte [rbx + 0x1dbd], al
mov eax, dword [rbx + 0x31b0]
movss dword [rbx + 0x1dcc], xmm0
mov dword [rbx + 0x1db8], ecx
mov dword [rbx + 0x1d80], edi
mov byte [rbx + 0x1d8d], dil
mov byte [rbx + 0x1dbc], dil
mov byte [rbx + 0x1d88], dil
test eax, eax
je 0x1400074f2
cmp ecx, eax
je 0x1400074f2
mov dword [rbx + 0x31b0], edi
test ecx, ecx
jne 0x140007504
mov qword [rbx + 0x1d90], rdi
mov qword [rbx + 0x1d98], rdi
mov eax, dword [rbx + 0x219c]
mov dword [rbx + 0x21a0], eax
mov qword [rbx + 0x2198], 0x7f7fffff
mov word [rbx + 0x212d], di
mov dword [rbx + 0x21a8], edi
cmp byte [rbx + 0x1558], dil
je 0x14000770e
lea rcx, [rbx + 0x140]
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x4b4]
nop dword [rax]
mov dword [rax + 0x800], 0xbf800000
mov dword [rax], 0xbf800000
lea rax, [rax + 4]
sub r14, 1
jne 0x140007550
mov dword [rbx + 0x13c], edi
mov qword [rbx + 0x3bc], rdi
mov dword [rbx + 0x1504], 0xbf800000
mov dword [rbx + 0x14b4], 0xbf800000
mov dword [rbx + 0x1508], 0xbf800000
mov dword [rbx + 0x14b8], 0xbf800000
mov dword [rbx + 0x150c], 0xbf800000
mov dword [rbx + 0x14bc], 0xbf800000
mov dword [rbx + 0x1510], 0xbf800000
mov dword [rbx + 0x14c0], 0xbf800000
mov dword [rbx + 0x1514], 0xbf800000
mov dword [rbx + 0x14c4], 0xbf800000
mov dword [rbx + 0x1518], 0xbf800000
mov dword [rbx + 0x14c8], 0xbf800000
mov dword [rbx + 0x151c], 0xbf800000
mov dword [rbx + 0x14cc], 0xbf800000
mov dword [rbx + 0x1520], 0xbf800000
mov dword [rbx + 0x14d0], 0xbf800000
mov dword [rbx + 0x1524], 0xbf800000
mov dword [rbx + 0x14d4], 0xbf800000
mov dword [rbx + 0x1528], 0xbf800000
mov dword [rbx + 0x14d8], 0xbf800000
mov dword [rbx + 0x152c], 0xbf800000
mov dword [rbx + 0x14dc], 0xbf800000
mov dword [rbx + 0x1530], 0xbf800000
mov dword [rbx + 0x14e0], 0xbf800000
mov dword [rbx + 0x1534], 0xbf800000
mov dword [rbx + 0x14e4], 0xbf800000
mov dword [rbx + 0x1538], 0xbf800000
mov dword [rbx + 0x14e8], 0xbf800000
mov dword [rbx + 0x153c], 0xbf800000
mov dword [rbx + 0x14ec], 0xbf800000
mov dword [rbx + 0x1540], 0xbf800000
mov dword [rbx + 0x14f0], 0xbf800000
mov dword [rbx + 0x1544], 0xbf800000
mov dword [rbx + 0x14f4], 0xbf800000
mov dword [rbx + 0x1548], 0xbf800000
mov dword [rbx + 0x14f8], 0xbf800000
mov dword [rbx + 0x154c], 0xbf800000
mov dword [rbx + 0x14fc], 0xbf800000
mov dword [rbx + 0x1550], 0xbf800000
mov dword [rbx + 0x1500], 0xbf800000
mov byte [rbx + 0x1558], dil
cmp byte [rbp + 0x13c], dil
mov eax, edi
mov r8d, 0x800
setne al
mov ecx, eax
or ecx, 2
cmp byte [rbp + 0x13d], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rbp + 0x13e], dil
cmove edx, ecx
lea rcx, [rbx + 0xcb4]
mov eax, edx
or eax, 8
cmp byte [rbp + 0x13f], dil
cmove eax, edx
lea rdx, [rbx + 0x4b4]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1400f78b8]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x4b8]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x14000779e
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140007797
movaps xmm0, xmm6
jmp 0x1400077a1
addss xmm0, dword [rbx + 0x18]
jmp 0x1400077a1
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x1400077c0
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1400077b9
movaps xmm0, xmm6
jmp 0x1400077c3
addss xmm0, dword [rbx + 0x18]
jmp 0x1400077c3
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x1400077e3
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x1400077dc
movaps xmm0, xmm6
jmp 0x1400077e6
addss xmm0, dword [rbx + 0x18]
jmp 0x1400077e6
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x140007807
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140007800
movaps xmm0, xmm6
jmp 0x14000780a
addss xmm0, dword [rbx + 0x18]
jmp 0x14000780a
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140007782
call fcn.1400149d0
call fcn.140006100
test byte [rbx + 8], 0x40
jne 0x140007858
cmp dword [rbx + 0x3268], edi
jg 0x140007845
cmp dword [rbx + 0x3278], edi
jle 0x140007933
mov dl, 1
call fcn.140021f90
xor ecx, ecx
call fcn.140021b00
jmp 0x140007933
cmp byte [rbx + 0xc8], dil
je 0x1400078a2
mov esi, edi
cmp dword [rbx + 0x3268], edi
jle 0x1400078a2
mov rbp, rdi
nop
mov rax, qword [rbx + 0x3270]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140007894
cmp qword [rcx + 0x18], rdi
jne 0x140007894
cmp qword [rcx + 0x20], rdi
je 0x140007894
mov ecx, dword [rcx]
call fcn.140021b00
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x3268]
jl 0x140007870
cmp byte [rbx + 0x3298], dil
je 0x1400078e5
xor ecx, ecx
call fcn.1400181a0
xor edx, edx
call fcn.140021f90
xor ecx, ecx
call fcn.140021b00
mov r8d, dword [rbx + 0x3288]
mov rcx, rbx
mov rdx, qword [rbx + 0x3290]
call fcn.14001b4a0
mov rcx, rbx
call fcn.14001b6f0
mov byte [rbx + 0x3298], dil
mov ebp, edi
cmp dword [rbx + 0x3278], edi
jle 0x140007933
mov rsi, rdi
mov rax, qword [rbx + 0x3280]
cmp dword [rsi + rax], 2
jne 0x140007925
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x140007913
mov r8b, 1
call fcn.14001bc30
jmp 0x140007925
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x140007925
mov rcx, rbx
call fcn.14001bd90
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x3278]
jl 0x1400078f2
call fcn.140006940
call fcn.140005a50
mov r8, qword [0x140103070]
mov eax, dword [r8 + 0x1f18]
sub eax, 1
js 0x14000798b
mov r8, qword [r8 + 0x1f20]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140007981
test dword [rax + 0xc], 0x8000000
jne 0x1400079a1
sub r8, 0x30
sub rdx, 1
jns 0x140007970
cmp qword [rbx + 0x2100], rdi
je 0x1400079bd
movss xmm0, dword [rbx + 0x211c]
comiss xmm0, xmm6
jbe 0x1400079bd
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400f7800]
addss xmm1, dword [rbx + 0x2124]
minss xmm1, xmm10
jmp 0x1400079da
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400f780c]
movss xmm1, dword [rbx + 0x2124]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x2124], xmm1
mov dword [rbx + 0x2128], edi
mov qword [rbx + 0x3570], 0xffffffffffffffff
mov dword [rbx + 0x356c], r15d
mov dword [rbx + 0x3248], 0x3f800000
mov dword [rbx + 0x324c], 0x3f800000
mov qword [rbx + 0x3258], rdi
call fcn.140006470
movaps xmm10, xmmword [rsp + 0x30]
cmp byte [rbx + 0x1cbb], dil
jne 0x140007a49
movss xmm0, dword [rbx + 0xd8]
comiss xmm6, xmm0
ja 0x140007a49
movsd xmm9, qword [rbx + 0x1ca0]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x1cc8], edi
je 0x140007bb6
mov r14, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x1cd0]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0xc7]
mov byte [rsi + 0xc8], al
mov word [rsi + 0xd2], di
mov byte [rsi + 0xc7], dil
mov byte [rsi + 0xc9], dil
test al, al
jne 0x140007ba4
cmp byte [rsi + 0x3e0], dil
jne 0x140007ba4
comiss xmm9, dword [rsi + 0x270]
jbe 0x140007ba4
mov rcx, qword [rsi + 0x2a8]
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 + 0x108]
test rcx, rcx
je 0x140007b02
mov rax, qword [0x140103070]
mov qword [rsi + 0x100], rdi
test rax, rax
je 0x140007af5
dec dword [rax + 0x3ac]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x108], rdi
mov rcx, qword [rsi + 0x2a8]
call fcn.14002cd60
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x140007b40
mov rax, qword [0x140103070]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x140007b33
dec dword [rax + 0x3ac]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x140007b72
mov rax, qword [0x140103070]
mov qword [rsi + 0x1d0], rdi
test rax, rax
je 0x140007b65
dec dword [rax + 0x3ac]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d8], rdi
mov rcx, qword [rsi + 0x1e8]
test rcx, rcx
je 0x140007ba4
mov rax, qword [0x140103070]
mov qword [rsi + 0x1e0], rdi
test rax, rax
je 0x140007b97
dec dword [rax + 0x3ac]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1cc8]
jne 0x140007a60
mov r14d, edi
cmp dword [rbx + 0x2230], edi
jle 0x140007d13
mov qword [rsp + 0xc0], r12
mov r15, rdi
mov qword [rsp + 0xc8], r13
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop word [rax + rax]
mov rax, qword [rbx + 0x2238]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x140007ce2
comiss xmm9, xmm0
jbe 0x140007ce2
mov rsi, qword [rbx + 0x2210]
mov rbp, qword [0x140103070]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x140007c53
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x140007c46
dec dword [rbp + 0x3ac]
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 0x140007c8c
mov rax, qword [0x140103070]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x140007c7f
dec dword [rax + 0x3ac]
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 0x140007cb6
mov rcx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], 0xffff
cmp edx, dword [rsi + 0x74]
jl 0x140007ca0
sub rsi, qword [rbp + 0x2210]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2238]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x2230]
jl 0x140007bf0
mov r13, qword [rsp + 0xc8]
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xc0]
mov r14d, edi
cmp dword [rbx + 0x21f8], edi
jle 0x140007d6c
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x2200]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x140007d5c
comiss xmm9, xmm0
jbe 0x140007d5c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.14002fdd0
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x21f8]
jl 0x140007d30
movaps xmm9, xmmword [rsp + 0x40]
cmp byte [rbx + 0x1cbb], dil
je 0x140007de4
mov rsi, qword [0x140103070]
mov rcx, qword [rsi + 0x1f00]
test rcx, rcx
je 0x140007dad
mov qword [rsi + 0x1ef8], rdi
test rsi, rsi
je 0x140007da0
dec dword [rsi + 0x3ac]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f00], rdi
mov rcx, qword [rsi + 0x1f10]
test rcx, rcx
je 0x140007ddf
mov rax, qword [0x140103070]
mov qword [rsi + 0x1f08], rdi
test rax, rax
je 0x140007dd2
dec dword [rax + 0x3ac]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f10], rdi
call fcn.140039290
mov rax, qword [rbx + 0x1f98]
mov byte [rbx + 0x1cbb], dil
test rax, rax
je 0x140007e55
cmp byte [rax + 0xc8], dil
jne 0x140007e55
mov rcx, qword [0x140103070]
mov eax, dword [rcx + 0x1cd8]
sub eax, 1
js 0x140007e4e
movsxd rdx, eax
mov rax, qword [rcx + 0x1ce0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140007e44
cmp byte [rcx + 0xc8], dil
je 0x140007e44
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140007f3f
sub r8, 8
sub rdx, 1
jns 0x140007e20
xor ecx, ecx
call fcn.140010d50
mov ecx, dword [rbx + 0x1cfc]
test ecx, ecx
jns 0x140007e7b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1cf8]
test eax, eax
cmovg edx, eax
call fcn.140024fa0
mov dword [rbx + 0x1cf8], edi
mov ecx, dword [rbx + 0x1f2c]
test ecx, ecx
jns 0x140007ea7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1f28]
test eax, eax
cmovg edx, eax
call fcn.140024e70
lea rsi, [rbx + 0x1ef8]
mov dword [rbx + 0x1f28], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x140007ed3
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.140024f10
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x140007ee7
mov edx, 8
mov rcx, rsi
call fcn.140024f10
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1f08]
inc dword [rsi]
call fcn.140024250
test byte [rbx + 8], 0x40
je 0x140008013
mov rax, qword [rbx + 0x1d38]
mov qword [rbx + 0x1d40], rdi
test rax, rax
je 0x140007f66
mov rcx, qword [rax + 0x408]
test rcx, rcx
je 0x140007f4c
mov rdx, qword [rbx + 0x120]
call fcn.140021910
mov qword [rbx + 0x1d40], rax
jmp 0x140007f66
call fcn.140014160
mov rcx, rax
jmp 0x140007e50
mov rax, qword [rax + 0x380]
mov rcx, qword [rax + 0x400]
test rcx, rcx
je 0x140007f66
mov qword [rbx + 0x1d40], rcx
mov esi, edi
cmp dword [rbx + 0x3278], edi
jle 0x140007fa0
mov rbp, rdi
mov rax, qword [rbx + 0x3280]
cmp dword [rax + rbp], 1
jne 0x140007f92
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.14001b7e0
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x3278]
jl 0x140007f73
mov ecx, dword [rbx + 0x327c]
test ecx, ecx
jns 0x140007fc6
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3278]
test eax, eax
cmovg edx, eax
call fcn.140025030
mov dword [rbx + 0x3278], edi
mov esi, edi
cmp dword [rbx + 0x3268], edi
jle 0x140008013
mov rbp, rdi
nop dword [rax]
mov rax, qword [rbx + 0x3270]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140008005
cmp qword [rcx + 0x18], rdi
jne 0x140008005
test dword [rcx + 0x10], 0x400
jne 0x140008005
call fcn.14001cd10
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x3268]
jl 0x140007fe0
mov r8, qword [0x140103070]
mov dword [r8 + 0x3348], edi
cmp byte [r8 + 0x3344], dil
je 0x1400080e4
mov esi, dword [r8 + 0x1d6c]
mov dword [r8 + 0x2128], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140008058
call fcn.14000a720
test al, al
je 0x140008058
mov byte [r8 + 0x3344], dil
movss xmm0, dword [r8 + 0x450]
ucomiss xmm0, xmm6
jp 0x14000807a
jne 0x14000807a
test esi, esi
je 0x14000807a
mov dword [r8 + 0x3348], esi
mov byte [r8 + 0x3344], dil
or dword [r8 + 0x1e28], 0x40
xor edx, edx
mov dword [r8 + 0x1e88], 0x3f19999a
call fcn.140012320
mov edx, esi
lea rcx, [0x14005de20]
call fcn.14003a350
lea rcx, [0x14005de38]
call fcn.14003a350
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x140103070]
add rax, 0x1718
add rcx, rax
call fcn.14003a450
call fcn.140010a30
mov r8, qword [0x140103070]
movaps xmm6, xmmword [rsp + 0x70]
mov rsi, r8
mov dword [r8 + 0x1d64], edi
mov eax, dword [r8 + 0x3360]
inc eax
cmp dword [r8 + 0x1ca8], eax
jne 0x1400081e1
mov ebp, dword [r8 + 0x1d6c]
test ebp, ebp
jne 0x14000811b
mov ebp, dword [r8 + 0x1d7c]
cmp dword [r8 + 0x3368], ebp
je 0x140008166
mov dword [r8 + 0x3368], ebp
mov dword [r8 + 0x3364], r15d
mov ecx, dword [r8 + 0x3374]
test ecx, ecx
jns 0x140008160
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r8 + 0x3370]
test eax, eax
cmovg edx, eax
call fcn.140025030
mov r8, qword [0x140103070]
mov dword [rsi + 0x3370], edi
test ebp, ebp
je 0x1400081e1
movsxd rax, dword [rsi + 0x3364]
test eax, eax
js 0x1400081a4
mov ecx, eax
cmp eax, dword [rsi + 0x3370]
jge 0x1400081b7
mov r9, qword [rsi + 0x3378]
mov rdx, rax
shl rdx, 6
cmp byte [rdx + r9 + 5], dil
jne 0x14000819c
cmp byte [rdx + r9 + 4], 2
jle 0x1400081b7
inc eax
mov dword [rsi + 0x3364], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1400081b3
mov dword [rsi + 0x1d64], ebp
jmp 0x1400081e1
test eax, eax
js 0x1400081e1
cmp ecx, dword [rsi + 0x3370]
jge 0x1400081e1
mov rax, qword [rsi + 0x3378]
movsxd rdx, ecx
shl rdx, 6
mov ecx, dword [rdx + rax]
mov dword [rsi + 0x1d64], ecx
mov rax, qword [rsi + 0x3378]
inc byte [rdx + rax + 4]
mov byte [rbx + 0x1cb9], 1
lea rcx, [0x14005d900]
or dword [r8 + 0x1e28], 2
xor edx, edx
mov dword [r8 + 0x1e4c], 0x43c80000
mov dword [r8 + 0x1e50], 0x43c80000
mov dword [r8 + 0x1e30], 4
xor r8d, r8d
call fcn.14000dab0
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
cmp dword [rbx + 0x32e8], edi
jle 0x14000827d
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x32f0]
cmp dword [rax + rsi + 4], 1
jne 0x14000826f
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 + 0x32e8]
jl 0x140008250
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret