Function at 0x1400f4150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2e8
mov rax, qword [0x1402e1040]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov qword [r11 + 0x18], rsi
xor esi, esi
mov qword [r11 - 0x18], rdi
mov rdi, rdx
mov qword [r11 - 0x20], r12
mov r12d, r8d
mov qword [r11 - 0x28], r13
mov r13, rcx
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x78], rdx
cmp dword [rdx + 0x484], esi
jge 0x1400f41e1
test byte [rdx], 2
lea rcx, [rdx + 0x58]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x2c], 0xffffffff
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x30], 0x1b00f5
je 0x1400f41d1
mov dword [rbp - 0x30], 0x20002
call fcn.1400c6f80
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x484], eax
cmp dword [rdi + 0x488], esi
jge 0x1400f4220
test byte [rdi], 4
jne 0x1400f4220
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x2c], 0xffffffff
lea rcx, [rdi + 0x58]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x30], 0x400041
call fcn.1400c6f80
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x488], eax
mov rcx, rdi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0x40], rsi
call fcn.1400c3ce0
mov r14d, dword [rdi + 0x68]
mov r15, rsi
mov byte [rsp + 0x61], sil
mov edx, 8
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x60], rsi
mov dword [rsp + 0x68], r14d
test r14d, r14d
jle 0x1400f4291
cmp r14d, edx
mov eax, r14d
cmovl eax, edx
test eax, eax
jle 0x1400f4291
mov rcx, qword [0x1402e3670]
test rcx, rcx
je 0x1400f427b
inc dword [rcx + 0xec]
cdqe
imul rcx, rax, 0x70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x78], rax
mov edx, 8
mov ebx, dword [rdi + 0x48]
mov dword [rsp + 0x6c], ebx
test ebx, ebx
jle 0x1400f42ce
cmp ebx, 8
mov ecx, ebx
cmovl ecx, edx
test ecx, ecx
jle 0x1400f42ce
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f42ba
inc dword [rax + 0xec]
movsxd rcx, ecx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x60], rax
mov rdi, qword [rsp + 0x78]
xor edx, edx
imul ecx, r14d, 0x70
movsxd r8, ecx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov ecx, ebx
xor edx, edx
shl ecx, 5
movsxd r8, ecx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov r10, qword [rbp - 0x78]
mov r15d, esi
cmp dword [r10 + 0x68], esi
jle 0x1400f441d
mov r14, rsi
lea rbx, [rdi + 0x44]
nop
mov rdi, qword [r10 + 0x70]
mov r8d, esi
add rdi, r14
mov dword [rbx - 4], 0xffffffff
cmp dword [r10 + 0x48], 0
jle 0x1400f4416
mov edx, 0xffffffff
mov r9, rsi
mov eax, edx
cmp edx, 0xffffffff
jne 0x1400f4362
mov rax, qword [r10 + 0x50]
mov rcx, qword [r9 + rax]
cmp qword [rdi + 0x80], rcx
jne 0x1400f4353
mov dword [rbx - 4], r8d
mov edx, r8d
inc r8d
add r9, 8
mov eax, edx
cmp r8d, dword [r10 + 0x48]
jl 0x1400f4334
cmp eax, 0xffffffff
je 0x1400f4416
mov r9d, r12d
lea rcx, [rbx - 0x44]
mov r8, rdi
mov rdx, r13
call fcn.1400f3100
test al, al
je 0x1400f4416
mov eax, dword [rdi + 0x4c]
lea rdx, [0x1402ac408]
movsxd r8, dword [rbx - 4]
mov r9, qword [rbp - 0x60]
shr eax, 8
and al, 1
shl r8, 5
or byte [rsp + 0x61], al
add r8, r9
mov rax, qword [rdi + 0x38]
test rax, rax
cmovne rdx, rax
mov qword [rbx - 0xc], rdx
cmp dword [rdx], 0
je 0x1400f43d7
nop dword [rax + rax]
mov ecx, dword [rdx + 4]
test ecx, ecx
je 0x1400f43d7
cmp dword [rbx], ecx
cmovge ecx, dword [rbx]
add rdx, 8
mov dword [rbx], ecx
cmp dword [rdx], 0
jne 0x1400f43c0
inc dword [r8]
mov esi, 0
mov ecx, dword [rbx]
cmp dword [r8 + 4], ecx
mov r10, qword [rbp - 0x78]
cmovge ecx, dword [r8 + 4]
inc r15d
add rbx, 0x70
mov dword [r8 + 4], ecx
add r14, 0x88
cmp r15d, dword [r10 + 0x68]
jl 0x1400f4310
mov r14d, dword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
jmp 0x1400f4421
xor bl, bl
jmp 0x1400f55a8
mov r9, qword [rbp - 0x60]
xor r12d, r12d
movaps xmmword [rsp + 0x2b0], xmm6
mov dword [rsp + 0x64], r12d
mov r13d, r12d
mov dword [rsp + 0x70], 1
test r14d, r14d
jle 0x1400f476f
mov esi, dword [rsp + 0x68]
lea r14, [rdi + 0x58]
mov qword [rbp - 0x70], rsi
movsxd r15, dword [r14 - 0x18]
mov ebx, dword [r14 - 0x14]
mov ecx, dword [r14 - 4]
add ebx, 0x20
shl r15, 5
add r15, r9
sar ebx, 5
cmp ebx, ecx
jle 0x1400f4497
test ecx, ecx
je 0x1400f447d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400f4482
mov eax, 8
cmp eax, ebx
lea rdi, [r14 - 8]
mov edx, ebx
mov rcx, rdi
cmovg edx, eax
call fcn.1400c7240
jmp 0x1400f449b
lea rdi, [r14 - 8]
mov dword [rdi], ebx
xor edx, edx
mov rcx, qword [r14]
movsxd r8, ebx
shl r8, 2
call sub.VCRUNTIME140.dll_memset
cmp dword [r15 + 0x10], 0
jne 0x1400f4501
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 0x14]
add ebx, 0x20
sar ebx, 5
cmp ebx, ecx
jle 0x1400f44eb
test ecx, ecx
je 0x1400f44d6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400f44db
mov eax, 8
cmp eax, ebx
lea rcx, [r15 + 0x10]
mov edx, ebx
cmovg edx, eax
call fcn.1400c7240
mov dword [r15 + 0x10], ebx
xor edx, edx
mov rcx, qword [r15 + 0x18]
movsxd r8, ebx
shl r8, 2
call sub.VCRUNTIME140.dll_memset
mov r12, qword [r14 - 0x20]
cmp dword [r12], 0
je 0x1400f459c
mov eax, dword [r12 + 4]
test eax, eax
je 0x1400f4598
mov edi, dword [r12]
cmp edi, eax
jg 0x1400f4589
nop word [rax + rax]
mov rax, qword [r15 + 0x18]
mov esi, edi
movsxd rbx, edi
and esi, 0x1f
sar rbx, 5
mov eax, dword [rax + rbx*4]
bt eax, esi
jb 0x1400f457b
mov rcx, qword [r14 - 0x40]
mov edx, edi
call fcn.140173fc0
test eax, eax
je 0x1400f457b
inc dword [r14 - 0x10]
inc dword [r15 + 8]
mov rcx, qword [r14]
mov eax, dword [rcx + rbx*4]
bts eax, esi
mov dword [rcx + rbx*4], eax
mov rcx, qword [r15 + 0x18]
mov eax, dword [rcx + rbx*4]
bts eax, esi
mov dword [rcx + rbx*4], eax
inc r13d
inc edi
cmp edi, dword [r12 + 4]
jle 0x1400f4530
mov dword [rsp + 0x64], r13d
add r12, 8
cmp dword [r12], 0
jne 0x1400f4510
mov rsi, qword [rbp - 0x70]
mov r9, qword [rbp - 0x60]
add r14, 0x70
sub rsi, 1
mov qword [rbp - 0x70], rsi
jne 0x1400f4451
mov r14, qword [rsp + 0x78]
mov esi, dword [rsp + 0x68]
add r14, 0x68
mov qword [rbp - 0x70], rsi
movsxd rbx, dword [r14 - 0x20]
cmp ebx, dword [r14 - 4]
jle 0x1400f4633
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f45df
inc dword [rax + 0xec]
lea rcx, [rbx + rbx*4]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [r14]
mov rdi, rax
test rdx, rdx
je 0x1400f462c
movsxd rcx, dword [r14 - 8]
lea r8, [rcx + rcx*4]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14]
test rcx, rcx
je 0x1400f4626
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f4626
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov dword [r14 - 4], ebx
mov rdx, qword [r14 - 0x10]
movsxd rax, dword [r14 - 0x18]
mov r15, rdx
mov qword [rbp - 0x38], rdx
lea rax, [rdx + rax*4]
mov qword [rbp - 0x40], rax
cmp rdx, rax
jae 0x1400f4727
xor r13d, r13d
nop word [rax + rax]
mov r12d, dword [r15]
test r12d, r12d
je 0x1400f4716
mov esi, r13d
mov edi, 1
test edi, r12d
je 0x1400f4705
mov r8d, dword [r14 - 4]
lea rcx, [r15*8]
xor eax, eax
xorps xmm6, xmm6
mov qword [rbp - 0x10], rax
lea rax, [rdx*8]
sub ecx, eax
and ecx, 0xffffffe0
add ecx, esi
movups xmmword [rbp - 0x20], xmm6
mov dword [rbp - 0x18], ecx
mov ecx, dword [r14 - 8]
cmp ecx, r8d
jne 0x1400f46de
inc ecx
test r8d, r8d
je 0x1400f46c5
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400f46ca
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [r14 - 8]
call fcn.1400f57a0
mov rdx, qword [rbp - 0x38]
movsxd rax, dword [r14 - 8]
movups xmm0, xmmword [rbp - 0x20]
movsd xmm1, qword [rbp - 0x10]
lea rcx, [rax + rax*4]
mov rax, qword [r14]
movups xmmword [rax + rcx*8], xmm6
movups xmmword [rax + rcx*8 + 0x10], xmm0
movsd qword [rax + rcx*8 + 0x20], xmm1
inc dword [r14 - 8]
inc esi
rol edi, 1
cmp esi, 0x20
jb 0x1400f4674
mov rax, qword [rbp - 0x40]
add r15, 4
cmp r15, rax
jb 0x1400f4660
mov rsi, qword [rbp - 0x70]
mov rcx, qword [r14 - 0x10]
xor r12d, r12d
test rcx, rcx
je 0x1400f4753
mov rax, qword [0x1402e3670]
mov qword [r14 - 0x18], r12
test rax, rax
je 0x1400f4749
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14 - 0x10], r12
add r14, 0x70
sub rsi, 1
mov qword [rbp - 0x70], rsi
jne 0x1400f45c3
mov r13d, dword [rsp + 0x64]
mov r14d, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
test eax, eax
jle 0x1400f47b6
mov rbx, qword [rbp - 0x60]
mov edi, eax
add rbx, 0x18
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400f47ac
mov rax, qword [0x1402e3670]
mov qword [rbx - 8], 0
test rax, rax
je 0x1400f47a3
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r12
add rbx, 0x20
sub rdi, 1
jne 0x1400f4781
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400f47db
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f47d1
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x70], r12
mov rsi, r12
mov edi, 8
test r13d, r13d
jle 0x1400f481f
cmp r13d, edi
mov eax, r13d
cmovl eax, edi
test eax, eax
jle 0x1400f481f
mov rcx, qword [0x1402e3670]
test rcx, rcx
je 0x1400f480b
inc dword [rcx + 0xec]
movsxd rcx, eax
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rbp - 0x70], rax
shl r13d, 4
xor edx, edx
movsxd r8, r13d
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1402e3670]
mov dword [rsp + 0x64], r12d
test rcx, rcx
je 0x1400f4847
inc dword [rcx + 0xec]
mov ecx, 0x40000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [0x1402e3670]
mov rbx, rax
test rdx, rdx
je 0x1400f4867
inc dword [rdx + 0xec]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movss xmm6, dword [0x1402bb58c]
mov r15d, edi
mov qword [rbp - 0x50], rax
mov r10d, r12d
mov dword [rbp - 0x80], r12d
mov r9d, r12d
mov qword [rax], rbx
mov dword [rsp + 0x6c], r12d
test r14d, r14d
jle 0x1400f4c4c
mov rbx, qword [rsp + 0x78]
mov r8, r12
mov rdi, qword [rbp - 0x78]
add rbx, 0x60
mov r11d, r14d
mov qword [rbp - 0x38], r11
mov qword [rbp - 0x48], r12
nop word [rax + rax]
mov ecx, dword [rbx - 0x18]
mov rdx, qword [rdi + 0x70]
test ecx, ecx
je 0x1400f4c25
movsxd rax, r9d
add r9d, ecx
shl rax, 4
add rax, rsi
mov dword [rsp + 0x6c], r9d
mov qword [rbx - 0x30], rax
movss xmm1, dword [r8 + rdx + 0x50]
ucomiss xmm1, xmm6
jp 0x1400f48fa
jne 0x1400f48fa
mov byte [rsp + 0x60], 0
jmp 0x1400f4949
mov byte [rsp + 0x60], 1
lea r9, [rbp + 0x50]
mov r8d, r12d
nop word [rax + rax]
mov eax, r8d
lea r9, [r9 + 1]
xorps xmm0, xmm0
mov edx, 0xff
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
cvttss2si rcx, xmm0
cmp ecx, edx
movzx eax, cl
cmovbe edx, eax
inc r8d
mov byte [r9 - 1], dl
cmp r8d, 0x100
jb 0x1400f4910
mov r8, qword [rbp - 0x48]
cmp dword [rbx], 0
mov eax, dword [rdi + 0x14]
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x68], r12d
jle 0x1400f4c25
mov r13, r12
mov qword [rbp - 0x40], r12
mov rsi, r12
nop word [rax + rax]
mov r12, qword [rbx + 8]
mov rcx, qword [rbx - 0x48]
mov edx, dword [rsi + r12 + 0x18]
call fcn.140173fc0
test eax, eax
je 0x1400f4bf2
mov r8d, dword [rbx - 0x3c]
mov edx, eax
mov rcx, qword [rbx - 0x48]
call fcn.140174f90
test eax, eax
jne 0x1400f4bf2
test byte [rbx - 0x40], 0x20
mov rax, qword [rbx - 0x48]
mov rdi, qword [rax + 0x78]
je 0x1400f49b7
mov rcx, rdi
call fcn.14017d690
test byte [rbx - 0x40], 0x40
je 0x1400f49c5
mov rcx, rdi
call fcn.14017d7a0
lea rax, [rdi + 0x30]
test rax, rax
je 0x1400f4bf2
mov rax, qword [rbx - 0x48]
mov edx, dword [rbx - 0x38]
mov rdi, qword [rax + 0x78]
mov rcx, rdi
call fcn.140177a00
test eax, eax
jne 0x1400f4bf2
mov rax, qword [rbx - 0x48]
mov r9, qword [rax + 0x78]
add r9, 0x68
mov qword [rbp - 8], r9
mov r8d, dword [r9 + 4]
mov dword [rsi + r12], r8d
mov r14d, dword [r9]
mov dword [rsi + r12 + 4], r14d
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x90]
mov dword [rsi + r12 + 8], eax
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x94]
neg eax
mov dword [rsi + r12 + 0xc], eax
mov eax, dword [rdi + 0x58]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + r12 + 0x10], xmm0
cmp byte [r9 + 0x1a], 7
sete al
mov byte [rsi + r12 + 0x14], al
test r9, r9
je 0x1400f4bf2
mov edi, dword [rsp + 0x64]
imul r14d, r8d
shl r14d, 2
lea eax, [r14 + rdi]
cmp eax, 0x40000
jle 0x1400f4b63
mov rax, qword [0x1402e3670]
xor edi, edi
mov dword [rsp + 0x64], edi
test rax, rax
je 0x1400f4a9e
inc dword [rax + 0xec]
mov ecx, 0x40000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x70]
mov r13, rax
cmp r8d, r15d
jne 0x1400f4b4a
test r15d, r15d
je 0x1400f4acc
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
add eax, r15d
jmp 0x1400f4ad1
mov eax, 8
lea edi, [r8 + 1]
cmp eax, edi
cmovg edi, eax
cmp edi, r15d
jle 0x1400f4b46
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f4af1
inc dword [rax + 0xec]
movsxd rcx, edi
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x1400f4b3a
movsxd r8, dword [rsp + 0x70]
mov rdx, rax
shl r8, 3
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1402e3670]
test rdx, rdx
je 0x1400f4b30
dec dword [rdx + 0xec]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8d, dword [rsp + 0x70]
mov qword [rbp - 0x50], r15
mov r15d, edi
mov edi, dword [rsp + 0x64]
mov rcx, qword [rbp - 0x50]
movsxd rax, r8d
inc r8d
mov dword [rsp + 0x70], r8d
mov qword [rcx + rax*8], r13
mov r13, qword [rbp - 0x40]
jmp 0x1400f4b68
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rbp - 0x50]
mov r9d, dword [rsi + r12]
movsxd rax, r8d
movsxd rcx, edi
add edi, r14d
mov dword [rsp + 0x64], edi
mov r8, qword [rdx + rax*8 - 8]
lea rax, [rbp + 0x50]
mov rdx, qword [rbp - 8]
add r8, rcx
cmp byte [rsp + 0x60], 0
mov ecx, 0
mov qword [rsi + r12 + 0x20], r8
cmove rax, rcx
mov qword [rsp + 0x20], rax
call fcn.1400f32f0
mov rax, qword [rbx - 0x30]
mov edi, dword [rbp - 0x58]
movzx ecx, di
add cx, word [rsi + r12]
mov r10d, dword [rbp - 0x80]
mov word [rax + r13 + 4], cx
movzx ecx, di
add cx, word [rsi + r12 + 4]
mov rax, qword [rbx - 0x30]
mov word [rax + r13 + 6], cx
mov rax, qword [rbx - 0x30]
movzx ecx, word [rax + r13 + 6]
movzx eax, word [rax + r13 + 4]
imul ecx, eax
add r10d, ecx
mov dword [rbp - 0x80], r10d
jmp 0x1400f4bf6
mov r10d, dword [rbp - 0x80]
mov eax, dword [rbp - 0x68]
add r13, 0x10
inc eax
mov qword [rbp - 0x40], r13
add rsi, 0x28
mov dword [rbp - 0x68], eax
cmp eax, dword [rbx]
jl 0x1400f4970
mov r8, qword [rbp - 0x48]
xor r12d, r12d
mov r11, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x70]
mov r9d, dword [rsp + 0x6c]
add r8, 0x88
add rbx, 0x70
mov qword [rbp - 0x48], r8
sub r11, 1
mov qword [rbp - 0x38], r11
jne 0x1400f48c0
mov edi, 8
mov r15, qword [rbp - 0x78]
mov ebx, dword [r15 + 0x10]
mov dword [r15 + 0x34], r12d
test ebx, ebx
jg 0x1400f4cbe
movd xmm1, r10d
xorps xmm0, xmm0
cvtdq2ps xmm1, xmm1
ucomiss xmm0, xmm1
ja 0x1400f4c75
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400f4c7d
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1402bb6b4]
jb 0x1400f4c9a
mov ebx, 0x1000
jmp 0x1400f4cbe
comiss xmm0, dword [0x1402bb6a8]
jb 0x1400f4caa
mov ebx, 0x800
jmp 0x1400f4cbe
comiss xmm0, dword [0x1402bb69c]
mov ebx, 0x200
mov eax, 0x400
cmovae ebx, eax
mov dword [r15 + 0x30], ebx
mov r14, r12
sub ebx, dword [r15 + 0x14]
mov qword [rbp - 0x80], r12
test ebx, ebx
jle 0x1400f4d03
cmp ebx, 8
mov eax, ebx
cmovl eax, edi
test eax, eax
jle 0x1400f4d03
mov rcx, qword [0x1402e3670]
test rcx, rcx
je 0x1400f4cef
inc dword [rcx + 0xec]
movsxd rcx, eax
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rbp - 0x80], rax
mov edx, dword [r15 + 0x30]
lea rcx, [rbp]
sub edx, dword [r15 + 0x14]
mov r8d, 0x8000
sub r8d, dword [r15 + 0x14]
mov r9, r14
mov dword [rsp + 0x20], ebx
call fcn.1400f3cc0
mov ebx, dword [r15 + 0x58]
mov rdi, r12
test ebx, ebx
jle 0x1400f4d63
cmp ebx, 8
mov eax, ebx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1400f4d63
mov rcx, qword [0x1402e3670]
test rcx, rcx
je 0x1400f4d53
inc dword [rcx + 0xec]
movsxd rcx, eax
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov ecx, ebx
xor edx, edx
shl ecx, 4
movsxd r8, ecx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
cmp dword [r15 + 0x58], 0
mov r9d, r12d
jle 0x1400f4dbd
mov rdx, r12
lea r8, [rdi + 6]
nop word [rax + rax]
mov rax, qword [r15 + 0x60]
lea rdx, [rdx + 0x20]
inc r9d
lea r8, [r8 + 0x10]
movzx ecx, word [rdx + rax - 0x20]
mov word [r8 - 0x12], cx
mov rax, qword [r15 + 0x60]
movzx ecx, word [rdx + rax - 0x1e]
mov word [r8 - 0x10], cx
cmp r9d, dword [r15 + 0x58]
jl 0x1400f4d90
mov r8d, ebx
lea rcx, [rbp]
mov rdx, rdi
call fcn.1400bef10
test ebx, ebx
jle 0x1400f4e25
mov r8, r12
lea rdx, [rdi + 0xa]
mov r9, rbx
nop word [rax + rax]
cmp dword [rdx + 2], 0
je 0x1400f4e17
movzx eax, word [rdx - 2]
mov rcx, qword [r15 + 0x60]
mov word [r8 + rcx + 4], ax
mov rcx, qword [r15 + 0x60]
movzx eax, word [rdx]
mov word [r8 + rcx + 6], ax
movzx ecx, word [rdx - 4]
movzx eax, word [rdx]
add ecx, eax
cmp dword [r15 + 0x34], ecx
cmovge ecx, dword [r15 + 0x34]
mov dword [r15 + 0x34], ecx
add r8, 0x20
add rdx, 0x10
sub r9, 1
jne 0x1400f4de0
test rdi, rdi
je 0x1400f4e45
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f4e3c
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13d, dword [rsp + 0x68]
test r13d, r13d
jle 0x1400f4eba
mov rbx, qword [rsp + 0x78]
mov edi, r13d
add rbx, 0x48
nop dword [rax + rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x1400f4eb0
mov rdx, qword [rbx - 0x18]
lea rcx, [rbp]
call fcn.1400f3f00
cmp dword [rbx], 0
mov r8d, r12d
jle 0x1400f4eb0
mov rdx, r12
mov rax, qword [rbx - 0x18]
cmp dword [rax + rdx + 0xc], 0
je 0x1400f4ea4
movzx ecx, word [rax + rdx + 0xa]
movzx eax, word [rax + rdx + 6]
add ecx, eax
cmp dword [r15 + 0x34], ecx
cmovge ecx, dword [r15 + 0x34]
mov dword [r15 + 0x34], ecx
inc r8d
add rdx, 0x10
cmp r8d, dword [rbx]
jl 0x1400f4e80
add rbx, 0x70
sub rdi, 1
jne 0x1400f4e60
test byte [r15], 1
mov eax, dword [r15 + 0x34]
jne 0x1400f4ee9
lea ecx, [rax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
lea ecx, [rax + 1]
movaps xmm2, xmm6
movsxd rax, dword [r15 + 0x30]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movsxd rbx, ecx
mov dword [r15 + 0x34], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm6, xmm1
divss xmm2, xmm0
imul rbx, rax
movss dword [r15 + 0x38], xmm2
movss dword [r15 + 0x3c], xmm6
cmp byte [rsp + 0x61], 0
mov rax, qword [0x1402e3670]
je 0x1400f4f50
lea rbx, [rbx*4]
test rax, rax
je 0x1400f4f41
inc dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x28], rax
jmp 0x1400f4f68
test rax, rax
je 0x1400f4f5b
inc dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15 + 0x20], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor al, al
movaps xmmword [rsp + 0x2a0], xmm7
movaps xmmword [rsp + 0x290], xmm8
mov byte [rsp + 0x60], al
test r13d, r13d
jle 0x1400f5309
mov r13, qword [rsp + 0x78]
mov rsi, r12
mov r14d, dword [rsp + 0x68]
add r13, 8
movaps xmmword [rsp + 0x280], xmm9
movaps xmmword [rsp + 0x270], xmm10
movaps xmmword [rsp + 0x260], xmm11
movss xmm11, dword [0x1402bb54c]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x40], r14
cmp dword [r13 + 0x40], 0
je 0x1400f52c3
mov r10, qword [r15 + 0x70]
movss xmm6, dword [r13 - 4]
add r10, rsi
movss xmm7, dword [r13]
mov qword [rbp - 0x58], r10
cmp byte [r10 + 0x48], 0
mov r9, qword [r10 + 0x80]
mov qword [rbp - 0x48], r9
lea rbx, [r9 + 0x50]
lea rdi, [r9 + 0x68]
jne 0x1400f503c
mov rcx, r9
call fcn.1400c4dd0
mov r9, qword [rbp - 0x48]
mov r10, qword [rbp - 0x58]
mov eax, dword [r10 + 0x14]
movss dword [rdi], xmm6
movss dword [r9 + 0x6c], xmm7
mov dword [r9 + 0x14], eax
mov qword [r9 + 0x48], r10
mov word [rbx], r12w
mov qword [r9 + 0x40], r15
inc word [rbx]
cmp dword [r13 + 0x40], 0
movss xmm0, dword [rdi]
mov edx, dword [r15 + 0x14]
addss xmm0, xmm11
movss xmm10, dword [r10 + 0x2c]
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x6c], r12d
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
addss xmm9, dword [r10 + 0x30]
jle 0x1400f52bf
mov rcx, r12
mov rbx, r12
mov qword [rbp - 0x68], rcx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r13 + 0x28]
mov rdi, qword [r13 + 0x60]
cmp word [rcx + rax + 4], 0
jne 0x1400f50ac
cmp word [rcx + rax + 6], 0
je 0x1400f5293
movzx r14d, word [rcx + rax + 0xa]
movzx esi, word [rcx + rax + 8]
add r14d, edx
mov ecx, dword [rbx + rdi + 4]
add esi, edx
mov edx, dword [rbx + rdi]
movd xmm0, dword [r15 + 0x34]
movd xmm1, dword [r15 + 0x30]
movd xmm8, dword [rbx + rdi + 0xc]
lea eax, [rcx + r14]
movd xmm3, dword [rbx + rdi + 8]
mov r8d, dword [rbx + rdi + 0x18]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movd xmm7, eax
lea eax, [rdx + rsi]
movd xmm6, eax
movd xmm2, ecx
mov rcx, r9
cvtdq2ps xmm7, xmm7
movd xmm5, r14d
divss xmm7, xmm0
cvtdq2ps xmm6, xmm6
movd xmm4, esi
divss xmm6, xmm1
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm4, xmm4
divss xmm5, xmm0
movss xmm0, dword [rbx + rdi + 0x10]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x50], xmm7
divss xmm4, xmm1
movss dword [rsp + 0x48], xmm6
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x38], xmm4
movd xmm1, edx
mov rdx, r10
cvtdq2ps xmm8, xmm8
cvtdq2ps xmm3, xmm3
addss xmm8, xmm9
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
addss xmm3, xmm10
addss xmm2, xmm8
addss xmm1, xmm3
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm8
call fcn.1400c5480
cmp byte [rbx + rdi + 0x14], 0
mov rdx, qword [rbp - 0x48]
movsxd rax, dword [rdx + 0x28]
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x30]
je 0x1400f51a6
or dword [rax + rcx*8 - 0x28], 1
mov byte [rsp + 0x60], 1
movsxd r15, dword [r15 + 0x30]
mov r11, qword [rbp - 0x78]
movsxd rcx, dword [rbx + rdi]
mov r10, qword [rbx + rdi + 0x20]
movsxd rax, esi
mov esi, r12d
mov r8, qword [r11 + 0x20]
movsxd rdx, r14d
imul rdx, r15
add rdx, rax
test r8, r8
je 0x1400f5229
cmp dword [rbx + rdi + 4], 0
lea r11, [rdx + r8]
jle 0x1400f5283
lea r14, [rcx*4]
mov r9d, r12d
test ecx, ecx
jle 0x1400f5219
mov rdx, r11
lea r8, [r10 + 3]
nop word [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 4]
mov byte [rdx], al
lea rdx, [rdx + 1]
mov ecx, dword [rbx + rdi]
inc r9d
cmp r9d, ecx
jl 0x1400f5200
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x1400f51e7
jmp 0x1400f5283
cmp dword [rbx + rdi + 4], 0
mov rax, qword [r11 + 0x28]
lea r11, [rax + rdx*4]
jle 0x1400f5283
lea r15, [r15*4]
lea r14, [rcx*4]
mov r8d, r12d
test ecx, ecx
jle 0x1400f5275
mov r9, r10
mov rdx, r11
sub r9, r11
nop dword [rax + rax]
mov eax, dword [r9 + rdx]
inc r8d
mov dword [rdx], eax
lea rdx, [rdx + 4]
mov ecx, dword [rbx + rdi]
cmp r8d, ecx
jl 0x1400f5260
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x1400f5248
mov edx, dword [rsp + 0x64]
mov r10, qword [rbp - 0x58]
mov r15, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x68]
mov eax, dword [rsp + 0x6c]
add rcx, 0x10
mov r9, qword [rbp - 0x48]
inc eax
add rbx, 0x28
mov dword [rsp + 0x6c], eax
mov qword [rbp - 0x68], rcx
cmp eax, dword [r13 + 0x40]
jl 0x1400f5090
mov rsi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x40]
mov qword [r13 + 0x28], r12
add rsi, 0x88
add r13, 0x70
sub r14, 1
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], r14
jne 0x1400f4fd2
movaps xmm11, xmmword [rsp + 0x260]
movaps xmm10, xmmword [rsp + 0x270]
movaps xmm9, xmmword [rsp + 0x280]
movzx eax, byte [rsp + 0x60]
mov r14, qword [rbp - 0x80]
mov r13d, dword [rsp + 0x68]
mov rsi, qword [rbp - 0x50]
mov byte [r15 + 0x1a], al
mov eax, dword [rsp + 0x70]
test eax, eax
jle 0x1400f534a
mov rbx, rsi
mov edi, eax
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400f533a
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f533a
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 8
sub rdi, 1
jne 0x1400f5320
test r13d, r13d
jle 0x1400f53bc
mov rbx, qword [rsp + 0x78]
add rbx, 0x18
mov edi, r13d
nop dword [rax + rax]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400f5381
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f537b
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400f53a2
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f539c
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400f53b2
call fcn.1401739c0
mov qword [rbx], r12
add rbx, 0x70
sub rdi, 1
jne 0x1400f5360
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400f53e6
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f53d8
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x78], r12
mov rcx, r15
call fcn.1400c4a10
mov rcx, r15
call fcn.1400c4b50
cmp dword [r15 + 0x58], 0
mov edi, r12d
jle 0x1400f54fa
mov rbx, r12
nop word [rax + rax]
mov r10, qword [r15 + 0x60]
mov r11, qword [rbx + r10 + 0x18]
test r11, r11
je 0x1400f54ea
mov r8d, dword [rbx + r10 + 8]
test r8d, r8d
je 0x1400f54ea
movzx edx, word [rbx + r10 + 6]
movzx ecx, word [rbx + r10 + 2]
movzx eax, word [rbx + r10 + 4]
movzx r9d, word [rbx + r10]
movss xmm5, dword [rbx + r10 + 0x14]
movss xmm3, dword [rbx + r10 + 0x10]
movss xmm0, dword [rbx + r10 + 0xc]
movss dword [rsp + 0x58], xmm0
movd xmm8, eax
add eax, r9d
movd xmm7, edx
movd xmm2, ecx
cvtdq2ps xmm7, xmm7
movd xmm6, eax
lea eax, [rcx + rdx]
mulss xmm7, dword [r15 + 0x3c]
xor edx, edx
mov rcx, r11
movd xmm4, eax
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm6, xmm6
mulss xmm4, dword [r15 + 0x3c]
mulss xmm6, dword [r15 + 0x38]
movss dword [rsp + 0x50], xmm4
movd xmm1, r9d
movss dword [rsp + 0x48], xmm6
movss dword [rsp + 0x40], xmm7
cvtdq2ps xmm8, xmm8
cvtdq2ps xmm2, xmm2
mulss xmm8, dword [r15 + 0x38]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x38], xmm8
addss xmm2, xmm5
addss xmm1, xmm3
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm5
call fcn.1400c5480
inc edi
add rbx, 0x20
cmp edi, dword [r15 + 0x58]
jl 0x1400f5410
cmp dword [r15 + 0x48], 0
movaps xmm8, xmmword [rsp + 0x290]
movaps xmm7, xmmword [rsp + 0x2a0]
movaps xmm6, xmmword [rsp + 0x2b0]
jle 0x1400f5540
mov rbx, r12
nop dword [rax]
mov rax, qword [r15 + 0x50]
mov rcx, qword [rbx + rax]
cmp byte [rcx + 0x60], 0
je 0x1400f5533
call fcn.1400c4e80
inc r12d
add rbx, 8
cmp r12d, dword [r15 + 0x48]
jl 0x1400f5520
mov byte [r15 + 0x19], 1
mov bl, 1
test r14, r14
je 0x1400f5567
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f555e
dec dword [rax + 0xec]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x1400f5587
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f557e
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400f55a8
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f55a2
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x60]
mov r15, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x2c8]
mov r13, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x2d8]
mov rdi, qword [rsp + 0x2e0]
mov rsi, qword [rsp + 0x310]
test rcx, rcx
je 0x1400f55f9
mov rax, qword [0x1402e3670]
test rax, rax
je 0x1400f55f3
dec dword [rax + 0xec]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400f561e
mov rcx, qword [0x1402e3670]
test rcx, rcx
je 0x1400f5615
dec dword [rcx + 0xec]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, bl
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140171bd0
add rsp, 0x2e8
pop rbx
pop rbp
ret