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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x330
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
mov rax, qword [0x1404280e0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x6c], r8d
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov r13, rcx
xor r14d, r14d
cmp dword [rdx + 0x484], r14d
jge 0x1400adb75
mov dword [rbp - 0x2c], 0xffffffff
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
lea rcx, [rdx + 0x58]
test byte [rdx], 2
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x1b00f5
je 0x1400adb65
mov dword [rbp - 0x30], 0x20002
call fcn.1400ce1e0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x484], eax
cmp dword [rdi + 0x488], r14d
jge 0x1400adbb5
test byte [rdi], 4
jne 0x1400adbb5
mov dword [rbp - 0x2c], 0xffffffff
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov dword [rbp - 0x30], 0x400041
lea rdx, [rbp - 0x30]
lea rcx, [rdi + 0x58]
call fcn.1400ce1e0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x488], eax
mov qword [rdi + 8], r14
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x40], r14
mov rcx, rdi
call fcn.1400cad50
mov byte [rsp + 0x61], r14b
mov dword [rbp + 0x4c], r14d
mov rsi, r14
mov qword [rbp - 0x78], r14
mov qword [rbp + 0x50], r14
mov dword [rbp + 0x2c], r14d
mov r12, r14
mov qword [rbp - 0x68], r14
mov qword [rbp + 0x30], r14
mov r15d, dword [rdi + 0x68]
mov dword [rbp - 0x80], r15d
mov eax, 8
test r15d, r15d
jle 0x1400adc41
mov ebx, r15d
cmp r15d, eax
cmovl ebx, eax
test ebx, ebx
jle 0x1400adc41
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400adc21
inc dword [rax + 0xf4]
movsxd rax, ebx
imul rcx, rax, 0x70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x4c], ebx
mov eax, 8
mov dword [rbp + 0x48], r15d
mov edi, dword [rdi + 0x48]
mov dword [rsp + 0x68], edi
test edi, edi
jle 0x1400adc89
mov ebx, edi
cmp edi, 8
cmovl ebx, eax
test ebx, ebx
jle 0x1400adc89
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400adc6e
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x2c], ebx
mov dword [rbp + 0x28], edi
imul ecx, r15d, 0x70
movsxd r8, ecx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
shl ecx, 5
movsxd r8, ecx
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
mov r12d, r14d
mov r11d, 1
mov dword [rsp + 0x70], r11d
mov r10, qword [rsp + 0x78]
cmp dword [r10 + 0x68], r14d
jle 0x1400adeb5
mov rsi, r14
mov r15, r14
mov rbx, qword [rbp - 0x78]
add rbx, r15
mov rdi, qword [r10 + 0x70]
mov dword [rbx + 0x40], 0xffffffff
mov r8d, r14d
cmp dword [r10 + 0x48], 0
jle 0x1400adea8
mov edx, 0xffffffff
mov r9, r14
nop word [rax + rax]
mov eax, edx
cmp edx, 0xffffffff
jne 0x1400add2f
mov rax, qword [r10 + 0x50]
mov rcx, qword [r9 + rax]
cmp qword [rsi + rdi + 0x80], rcx
jne 0x1400add20
mov dword [rbx + 0x40], r8d
mov edx, r8d
inc r8d
add r9, 8
mov eax, edx
cmp r8d, dword [r10 + 0x48]
jl 0x1400add00
cmp eax, 0xffffffff
je 0x1400adea8
mov ecx, dword [rsi + rdi + 8]
mov rax, qword [rsi + rdi]
test rax, rax
je 0x1400adea8
mov dword [rbp - 0x30], r11d
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], ecx
mov qword [rbp - 0x10], r14
mov byte [rsp + 0x20], 1
lea r9, [rbx + 0x18]
mov r8d, dword [rsi + rdi + 0x10]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.1400f9c38
test eax, eax
jne 0x1400adea8
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400adea8
call fcn.1400f8e00
test eax, eax
jne 0x1400adea8
mov edx, dword [rsp + 0x6c]
or edx, dword [rsi + rdi + 0x4c]
mov dword [rbx + 0x20], edx
bt edx, 9
mov r14d, 0
mov ecx, r14d
mov eax, 8
cmovae ecx, eax
test dl, 1
je 0x1400addbc
or ecx, 2
test dl, 2
je 0x1400addc5
bts ecx, 0xf
test dl, 4
je 0x1400addcd
or ecx, 0x20
test al, dl
je 0x1400addd7
bts ecx, 0x10
jmp 0x1400adde3
mov eax, ecx
bts eax, 0x11
test dl, 0x10
cmovne ecx, eax
mov dword [rbx + 0x24], ecx
mov eax, edx
shr eax, 6
and eax, 2
mov dword [rbx + 0x28], eax
bt edx, 8
jae 0x1400addfe
bts ecx, 0x14
mov dword [rbx + 0x24], ecx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
cvttss2si rdx, dword [rsi + rdi + 0x14]
mov rcx, rbx
call fcn.1400ac740
mov eax, dword [rsi + rdi + 0x4c]
shr eax, 8
and al, 1
or byte [rsp + 0x61], al
movsxd r8, dword [rbx + 0x40]
shl r8, 5
mov r9, qword [rbp - 0x68]
add r8, r9
mov rax, qword [rsi + rdi + 0x38]
lea rdx, [0x1403fcc44]
test rax, rax
cmovne rdx, rax
mov qword [rbx + 0x38], rdx
cmp word [rdx], r14w
je 0x1400ade71
movzx eax, word [rdx + 2]
test ax, ax
je 0x1400ade71
mov ecx, eax
cmp dword [rbx + 0x44], eax
cmovge ecx, dword [rbx + 0x44]
mov dword [rbx + 0x44], ecx
add rdx, 4
cmp word [rdx], r14w
jne 0x1400ade52
inc dword [r8]
mov ecx, dword [rbx + 0x44]
cmp dword [r8 + 4], ecx
cmovge ecx, dword [r8 + 4]
mov dword [r8 + 4], ecx
inc r12d
add r15, 0x70
add rsi, 0x88
mov r10, qword [rsp + 0x78]
cmp r12d, dword [r10 + 0x68]
jge 0x1400adeaf
mov r11d, 1
jmp 0x1400adcd2
xor bl, bl
jmp 0x1400af01b
mov rsi, qword [rbp - 0x78]
jmp 0x1400adeb9
mov r9, qword [rbp - 0x68]
mov r13d, r14d
mov dword [rsp + 0x64], r14d
mov r12d, dword [rbp - 0x80]
test r12d, r12d
jle 0x1400ae209
lea r15, [rsi + 0x58]
mov esi, r12d
mov qword [rbp - 0x70], r12
nop dword [rax]
movsxd r13, dword [r15 - 0x18]
shl r13, 5
add r13, r9
mov ebx, dword [r15 - 0x14]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r15 - 4]
cmp ebx, ecx
jle 0x1400adf26
test ecx, ecx
je 0x1400adf0c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400adf11
mov eax, 8
lea rdi, [r15 - 8]
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.1400af340
jmp 0x1400adf2a
lea rdi, [r15 - 8]
mov dword [rdi], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r15]
call sub.VCRUNTIME140.dll_memset
cmp dword [r13 + 0x10], 0
jne 0x1400adf90
mov ebx, dword [r13 + 4]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r13 + 0x14]
cmp ebx, ecx
jle 0x1400adf7a
test ecx, ecx
je 0x1400adf65
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400adf6a
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r13 + 0x10]
call fcn.1400af340
mov dword [r13 + 0x10], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r13 + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r12, qword [r15 - 0x20]
cmp word [r12], 0
je 0x1400ae03d
movzx eax, word [r12 + 2]
test ax, ax
je 0x1400ae039
movzx edi, word [r12]
cmp edi, eax
ja 0x1400ae029
nop dword [rax + rax]
mov ecx, edi
and ecx, 0x1f
mov esi, 1
shl esi, cl
movsxd rbx, edi
sar rbx, 5
mov rax, qword [r13 + 0x18]
test dword [rax + rbx*4], esi
jne 0x1400ae01d
mov r14, qword [r15 - 0x40]
test r14, r14
je 0x1400ae01d
mov rcx, qword [r14 + 0x88]
test rcx, rcx
je 0x1400ae01d
mov rax, qword [rcx + 0x10]
mov edx, edi
call qword [rax + 0x18]
cmp eax, dword [r14 + 0x10]
jae 0x1400ae01d
test eax, eax
je 0x1400ae01d
inc dword [r15 - 0x10]
inc dword [r13 + 8]
mov rax, qword [r15]
or dword [rax + rbx*4], esi
mov rax, qword [r13 + 0x18]
or dword [rax + rbx*4], esi
inc dword [rsp + 0x64]
inc edi
movzx eax, word [r12 + 2]
cmp edi, eax
jle 0x1400adfc0
add r12, 4
cmp word [r12], 0
jne 0x1400adfa0
mov rsi, qword [rbp - 0x70]
add r15, 0x70
sub rsi, 1
mov qword [rbp - 0x70], rsi
mov r9, qword [rbp - 0x68]
jne 0x1400adee0
mov r13d, dword [rsp + 0x64]
xor r14d, r14d
mov r12d, dword [rbp - 0x80]
test r12d, r12d
jle 0x1400ae209
mov rsi, qword [rbp - 0x78]
add rsi, 0x68
mov r15d, r12d
mov qword [rbp - 0x70], r15
movsxd rbx, dword [rsi - 0x20]
cmp ebx, dword [rsi - 4]
jle 0x1400ae0e5
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae092
inc dword [rax + 0xf4]
lea rcx, [rbx + rbx*4]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400ae0df
movsxd rcx, dword [rsi - 8]
lea r8, [rcx + rcx*4]
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ae0d9
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae0d9
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rdi
mov dword [rsi - 4], ebx
mov r12, qword [rsi - 0x10]
movsxd rax, dword [rsi - 0x18]
lea rax, [r12 + rax*4]
mov qword [rbp - 0x50], rax
mov r14, r12
cmp r12, rax
jae 0x1400ae1c2
xor r13d, r13d
mov r15d, dword [r14]
test r15d, r15d
je 0x1400ae1b1
mov edi, r13d
bt r15d, edi
jae 0x1400ae1a2
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x20], xmm6
mov qword [rbp - 0x10], rax
lea rcx, [r14*8]
lea rax, [r12*8]
sub ecx, eax
and ecx, 0xffffffe0
add ecx, edi
movzx eax, cx
mov dword [rbp - 0x18], eax
mov r8d, dword [rsi - 4]
mov ecx, dword [rsi - 8]
cmp ecx, r8d
jne 0x1400ae17c
inc ecx
test r8d, r8d
je 0x1400ae167
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400ae16c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rsi - 8]
call fcn.1400af2a0
movsxd rax, dword [rsi - 8]
lea rcx, [rax + rax*4]
mov rax, qword [rsi]
movups xmmword [rax + rcx*8], xmm6
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + rcx*8 + 0x10], xmm0
movsd xmm1, qword [rbp - 0x10]
movsd qword [rax + rcx*8 + 0x20], xmm1
inc dword [rsi - 8]
inc edi
cmp edi, 0x20
jb 0x1400ae113
mov rax, qword [rbp - 0x50]
add r14, 4
cmp r14, rax
jb 0x1400ae104
mov r15, qword [rbp - 0x70]
mov rcx, qword [rsi - 0x10]
xor r14d, r14d
test rcx, rcx
je 0x1400ae1ee
mov qword [rsi - 0x18], r14
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae1e4
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi - 0x10], r14
add rsi, 0x70
sub r15, 1
mov qword [rbp - 0x70], r15
jne 0x1400ae077
mov r13d, dword [rsp + 0x64]
mov r12d, dword [rbp - 0x80]
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x1400ae255
mov rbx, qword [rbp - 0x68]
add rbx, 0x18
mov edi, eax
nop dword [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ae24b
mov qword [rbx - 8], 0
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae242
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r14
add rbx, 0x20
sub rdi, 1
jne 0x1400ae220
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400ae289
mov qword [rbp + 0x28], 0
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae278
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
mov qword [rbp - 0x68], rcx
mov qword [rbp + 0x30], rcx
mov dword [rbp - 0x2c], r14d
mov r15, r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x28], r14
mov edi, 8
test r13d, r13d
jle 0x1400ae2e0
mov ebx, r13d
cmp r13d, edi
cmovl ebx, edi
test ebx, ebx
jle 0x1400ae2e0
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae2c1
inc dword [rax + 0xf4]
movsxd rax, ebx
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], ebx
mov dword [rbp - 0x30], r13d
lea ecx, [r13*2]
add ecx, r13d
shl ecx, 3
movsxd r8, ecx
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x64], r14d
mov dword [rbp + 0x3c], r14d
mov qword [rbp + 0x40], r14
mov rax, qword [0x14042bc58]
mov ecx, 0x40000
test rax, rax
je 0x1400ae323
inc dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, edi
mov rbx, rax
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae340
inc dword [rax + 0xf4]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x3c], esi
mov qword [rax], rbx
mov dword [rbp + 0x38], 1
mov ecx, r14d
mov dword [rsp + 0x68], ecx
mov r10d, r14d
movss xmm6, dword [0x1403fe478]
test r12d, r12d
jle 0x1400ae826
mov r9, r14
mov qword [rbp + 0x10], r14
mov rdi, qword [rbp - 0x78]
add rdi, 0x60
mov r11d, r12d
mov qword [rbp - 0x50], r11
mov rbx, qword [rsp + 0x78]
nop word [rax + rax]
mov r8, qword [rbx + 0x70]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x1400ae805
movsxd rax, r10d
lea rcx, [rax + rax*2]
lea rax, [r15 + rcx*8]
mov qword [rdi - 0x30], rax
add r10d, edx
mov dword [rbp - 0x60], r10d
movss xmm1, dword [r9 + r8 + 0x50]
ucomiss xmm1, xmm6
jp 0x1400ae3da
jne 0x1400ae3da
mov byte [rsp + 0x60], 0
jmp 0x1400ae428
mov byte [rsp + 0x60], 1
mov r8d, r14d
lea r9, [rbp + 0xb0]
nop dword [rax]
mov eax, r8d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
cvttss2si rcx, xmm0
mov edx, 0xff
movzx eax, cl
cmp ecx, edx
cmovbe edx, eax
mov byte [r9], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x100
jb 0x1400ae3f0
mov r9, qword [rbp + 0x10]
mov eax, dword [rbx + 0x14]
mov dword [rbp - 0x48], eax
mov r12d, r14d
mov dword [rsp + 0x6c], r14d
cmp dword [rdi], 0
jle 0x1400ae801
mov r15, r14
mov qword [rbp - 0x40], r14
mov r13, r14
nop dword [rax]
mov r14, qword [rdi + 8]
mov qword [rbp + 0x18], r14
mov rbx, qword [rdi - 0x48]
test rbx, rbx
je 0x1400ae7c6
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1400ae7c6
mov rax, qword [rcx + 0x10]
mov edx, dword [r14 + r13 + 0x18]
call qword [rax + 0x18]
cmp eax, dword [rbx + 0x10]
jae 0x1400ae7c6
test eax, eax
je 0x1400ae7c6
mov r8d, dword [rdi - 0x3c]
mov edx, eax
mov rcx, qword [rdi - 0x48]
call fcn.1400f8758
test eax, eax
jne 0x1400ae7c6
mov rax, qword [rdi - 0x48]
mov rbx, qword [rax + 0x78]
test byte [rdi - 0x40], 0x20
je 0x1400ae4bf
mov rcx, rbx
call fcn.1400fdcf8
test byte [rdi - 0x40], 0x40
je 0x1400ae575
test rbx, rbx
je 0x1400ae582
lea rax, [rbx + 0x98]
cmp dword [rbx + 0x60], 0x6f75746c
jne 0x1400ae575
test rax, rax
je 0x1400ae575
mov r9, qword [rax + 8]
test r9, r9
je 0x1400ae575
movsx rax, word [rax + 2]
lea r10, [r9 + rax*8]
cmp r9, r10
jae 0x1400ae575
mov r12d, 0x8000
nop dword [rax]
test r9, r9
je 0x1400ae567
movsxd rcx, dword [r9]
shl rcx, 0x10
movsxd r8, dword [r9 + 4]
imul rdx, r8, 0x366a
mov rax, rdx
shr rax, 0x3f
sub rdx, rax
add rdx, r12
sar rdx, 0x10
mov rax, rcx
shr rax, 0x3f
sub rcx, rax
add rcx, r12
sar rcx, 0x10
add edx, ecx
shl r8, 0x10
mov rax, r8
shr rax, 0x3f
sub r8, rax
add r8, r12
sar r8, 0x10
mov dword [r9], edx
mov dword [r9 + 4], r8d
add r9, 8
cmp r9, r10
jb 0x1400ae510
mov r12d, dword [rsp + 0x6c]
lea rax, [rbx + 0x30]
test rax, rax
je 0x1400ae7c6
mov rax, qword [rdi - 0x48]
mov rbx, qword [rax + 0x78]
test rbx, rbx
je 0x1400ae7c6
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400ae7c6
mov rax, qword [rax + 0x90]
mov r8d, dword [rdi - 0x38]
mov rdx, rbx
mov rcx, qword [rax + 8]
call fcn.1400faff0
test eax, eax
jne 0x1400ae7c6
mov rax, qword [rdi - 0x48]
mov r12, qword [rax + 0x78]
mov r8d, dword [r12 + 0x6c]
mov dword [r14 + r13], r8d
mov r15d, dword [r12 + 0x68]
mov dword [r14 + r13 + 4], r15d
mov rax, qword [rdi - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x90]
mov dword [r14 + r13 + 8], eax
mov rax, qword [rdi - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x94]
neg eax
mov dword [r14 + r13 + 0xc], eax
mov eax, dword [rbx + 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 [r14 + r13 + 0x10], xmm0
cmp byte [r12 + 0x82], 7
sete al
mov byte [r14 + r13 + 0x14], al
imul r15d, r8d
shl r15d, 2
mov ebx, dword [rsp + 0x64]
lea eax, [r15 + rbx]
cmp eax, 0x40000
jle 0x1400ae734
xor ebx, ebx
mov dword [rsp + 0x64], ebx
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae666
inc dword [rax + 0xf4]
mov ecx, 0x40000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov r8d, dword [rsp + 0x70]
cmp r8d, esi
jne 0x1400ae717
lea ebx, [r8 + 1]
test esi, esi
je 0x1400ae695
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1400ae69a
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, esi
jle 0x1400ae713
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae6b5
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1400ae6fe
movsxd r8, dword [rsp + 0x70]
shl r8, 3
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x14042bc58]
test rcx, rcx
je 0x1400ae6f4
dec dword [rcx + 0xf4]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rsi
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x40], rax
mov esi, ebx
mov dword [rbp + 0x3c], ebx
mov r8d, dword [rsp + 0x70]
mov ebx, dword [rsp + 0x64]
movsxd rax, r8d
mov rcx, qword [rbp - 0x58]
mov qword [rcx + rax*8], r14
inc r8d
mov dword [rsp + 0x70], r8d
mov dword [rbp + 0x38], r8d
mov r14, qword [rbp + 0x18]
jmp 0x1400ae739
mov r8d, dword [rsp + 0x70]
lea eax, [r8 - 1]
cdqe
movsxd rcx, ebx
mov rdx, qword [rbp - 0x58]
mov r8, qword [rdx + rax*8]
add r8, rcx
mov qword [r14 + r13 + 0x20], r8
add ebx, r15d
mov dword [rsp + 0x64], ebx
lea rax, [rbp + 0xb0]
cmp byte [rsp + 0x60], 0
mov ecx, 0
cmove rax, rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [r14 + r13]
lea rdx, [r12 + 0x68]
call fcn.1400ac920
mov ecx, dword [r14 + r13]
add ecx, dword [rbp - 0x48]
mov rax, qword [rdi - 0x30]
mov r15, qword [rbp - 0x40]
mov dword [r15 + rax + 4], ecx
mov ecx, dword [r14 + r13 + 4]
add ecx, dword [rbp - 0x48]
mov rax, qword [rdi - 0x30]
mov dword [r15 + rax + 8], ecx
mov rcx, qword [rdi - 0x30]
mov eax, dword [r15 + rcx + 8]
imul eax, dword [r15 + rcx + 4]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov dword [rsp + 0x68], ecx
mov r12d, dword [rsp + 0x6c]
jmp 0x1400ae7ca
mov ecx, dword [rsp + 0x68]
inc r12d
mov dword [rsp + 0x6c], r12d
add r13, 0x28
add r15, 0x18
mov qword [rbp - 0x40], r15
cmp r12d, dword [rdi]
jl 0x1400ae450
mov r9, qword [rbp + 0x10]
mov r10d, dword [rbp - 0x60]
mov r11, qword [rbp - 0x50]
xor r14d, r14d
mov rbx, qword [rsp + 0x78]
mov r15, qword [rbp - 0x70]
jmp 0x1400ae805
mov ecx, dword [rsp + 0x68]
add rdi, 0x70
add r9, 0x88
mov qword [rbp + 0x10], r9
sub r11, 1
mov qword [rbp - 0x50], r11
jne 0x1400ae3a0
mov r12d, dword [rbp - 0x80]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1400ae83e
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400ae846
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si eax, xmm0
inc eax
mov r13, qword [rsp + 0x78]
mov dword [r13 + 0x34], r14d
mov ebx, dword [r13 + 0x10]
test ebx, ebx
jg 0x1400ae898
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1403fe55c]
jb 0x1400ae874
mov ebx, 0x1000
jmp 0x1400ae898
comiss xmm0, dword [0x1403fe558]
jb 0x1400ae884
mov ebx, 0x800
jmp 0x1400ae898
mov ebx, 0x200
mov eax, 0x400
comiss xmm0, dword [0x1403fe54c]
cmovae ebx, eax
mov dword [r13 + 0x30], ebx
sub ebx, dword [r13 + 0x14]
mov dword [rbp + 0x1c], r14d
mov rsi, r14
mov qword [rbp + 0x20], r14
test ebx, ebx
jle 0x1400ae8e9
mov edi, ebx
cmp ebx, 8
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x1400ae8e9
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400ae8d2
inc dword [rax + 0xf4]
movsxd rcx, edi
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x1c], edi
mov dword [rbp + 0x18], ebx
mov r8d, 0x8000
sub r8d, dword [r13 + 0x14]
mov edx, dword [r13 + 0x30]
sub edx, dword [r13 + 0x14]
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea rcx, [rbp + 0x60]
call fcn.1400ad2f0
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.1400cba70
mov r15, qword [rbp - 0x78]
test r12d, r12d
jle 0x1400ae986
lea rbx, [r15 + 0x48]
mov edi, r12d
nop word [rax + rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x1400ae97c
mov rdx, qword [rbx - 0x18]
lea rcx, [rbp + 0x60]
call fcn.1400ad8c0
mov r8d, r14d
cmp dword [rbx], 0
jle 0x1400ae97c
mov rdx, r14
mov rax, qword [rbx - 0x18]
cmp dword [rdx + rax + 0x14], 0
je 0x1400ae970
mov ecx, dword [rdx + rax + 0x10]
add ecx, dword [rdx + rax + 8]
cmp dword [r13 + 0x34], ecx
cmovge ecx, dword [r13 + 0x34]
mov dword [r13 + 0x34], ecx
inc r8d
add rdx, 0x18
cmp r8d, dword [rbx]
jl 0x1400ae950
add rbx, 0x70
sub rdi, 1
jne 0x1400ae930
mov eax, dword [r13 + 0x34]
test byte [r13], 1
jne 0x1400ae9b6
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]
mov dword [r13 + 0x34], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm6
divss xmm1, xmm0
movsxd rax, dword [r13 + 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
movss dword [r13 + 0x38], xmm6
movss dword [r13 + 0x3c], xmm1
mov rbx, rax
movsxd rax, ecx
imul rbx, rax
mov rax, qword [0x14042bc58]
cmp byte [rsp + 0x61], 0
je 0x1400aea20
lea rbx, [rbx*4]
test rax, rax
je 0x1400aea11
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r13 + 0x28], rax
jmp 0x1400aea38
test rax, rax
je 0x1400aea2b
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r13 + 0x20], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor al, al
mov byte [rsp + 0x60], al
test r12d, r12d
jle 0x1400aed81
mov rsi, r14
mov qword [rbp - 0x50], r14
lea r13, [r15 + 8]
mov qword [rbp - 0x40], r12
movss xmm12, dword [0x1403fe444]
nop dword [rax]
cmp dword [r13 + 0x40], 0
je 0x1400aed52
mov r9, qword [rsp + 0x78]
mov rdx, qword [r9 + 0x70]
add rdx, rsi
mov qword [rbp - 0x60], rdx
mov r15, qword [rdx + 0x80]
mov qword [rbp - 0x48], r15
movss xmm6, dword [r13 - 4]
movss xmm7, dword [r13]
cmp byte [rdx + 0x48], 0
jne 0x1400aead9
mov rcx, r15
call fcn.1400cc3e0
mov rdx, qword [rbp - 0x60]
mov eax, dword [rdx + 0x14]
mov dword [r15 + 0x14], eax
mov qword [r15 + 0x48], rdx
mov word [r15 + 0x50], r14w
mov r9, qword [rsp + 0x78]
mov qword [r15 + 0x40], r9
movss dword [r15 + 0x60], xmm6
movss dword [r15 + 0x64], xmm7
inc word [r15 + 0x50]
movss xmm11, dword [rdx + 0x2c]
movss xmm0, dword [r15 + 0x60]
addss xmm0, xmm12
cvttss2si eax, xmm0
movd xmm10, eax
cvtdq2ps xmm10, xmm10
addss xmm10, dword [rdx + 0x30]
mov r8d, dword [r9 + 0x14]
mov dword [rsp + 0x64], r8d
xor eax, eax
mov dword [rsp + 0x6c], eax
cmp dword [r13 + 0x40], eax
jle 0x1400aed4b
mov r12d, eax
mov ebx, eax
mov rdi, qword [r13 + 0x60]
mov rcx, qword [r13 + 0x28]
cmp dword [r12 + rcx + 4], 0
jne 0x1400aeb3c
cmp dword [r12 + rcx + 8], 0
je 0x1400aed27
mov esi, dword [r12 + rcx + 0xc]
add esi, r8d
mov r14d, dword [r12 + rcx + 0x10]
add r14d, r8d
movd xmm3, dword [rbx + rdi + 8]
cvtdq2ps xmm3, xmm3
addss xmm3, xmm11
movd xmm9, dword [rbx + rdi + 0xc]
cvtdq2ps xmm9, xmm9
addss xmm9, xmm10
mov eax, dword [rbx + rdi]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
addss xmm8, xmm3
mov ecx, dword [rbx + rdi + 4]
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
addss xmm7, xmm9
movd xmm0, dword [r9 + 0x30]
cvtdq2ps xmm0, xmm0
movd xmm6, esi
cvtdq2ps xmm6, xmm6
divss xmm6, xmm0
movd xmm2, dword [r9 + 0x34]
cvtdq2ps xmm2, xmm2
movd xmm5, r14d
cvtdq2ps xmm5, xmm5
divss xmm5, xmm2
add eax, esi
movd xmm4, eax
cvtdq2ps xmm4, xmm4
divss xmm4, xmm0
lea eax, [rcx + r14]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss xmm0, dword [rbx + rdi + 0x10]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x50], xmm1
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x28], xmm8
movss dword [rsp + 0x20], xmm9
movzx r8d, word [rbx + rdi + 0x18]
mov rcx, r15
call fcn.1400cca50
movsxd rax, dword [r15 + 0x28]
lea rcx, [rax + rax*4]
mov rax, qword [r15 + 0x30]
cmp byte [rbx + rdi + 0x14], 0
je 0x1400aec33
mov byte [rsp + 0x60], 1
or dword [rax + rcx*8 - 0x28], 1
movsxd rdx, dword [rbx + rdi]
mov r11, qword [rsp + 0x78]
movsxd r15, dword [r11 + 0x30]
mov r10, qword [rbx + rdi + 0x20]
mov rcx, qword [r11 + 0x20]
movsxd rax, r14d
imul rax, r15
movsxd r8, esi
test rcx, rcx
je 0x1400aecae
lea r11, [r8 + rax]
add r11, rcx
xor eax, eax
mov esi, eax
cmp dword [rbx + rdi + 4], eax
jle 0x1400aed15
lea r14, [rdx*4]
mov r9d, eax
test edx, edx
jle 0x1400aec9e
mov rcx, r11
lea r8, [r10 + 3]
movzx eax, byte [r8]
mov byte [rcx], al
inc r9d
lea r8, [r8 + 4]
lea rcx, [rcx + 1]
mov edx, dword [rbx + rdi]
cmp r9d, edx
jl 0x1400aec83
xor eax, eax
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x1400aec75
jmp 0x1400aed15
lea rcx, [r8 + rax]
mov rax, qword [r11 + 0x28]
lea r11, [rax + rcx*4]
xor eax, eax
mov esi, eax
cmp dword [rbx + rdi + 4], eax
jle 0x1400aed15
lea r15, [r15*4]
lea r14, [rdx*4]
mov r8d, eax
test edx, edx
jle 0x1400aed07
mov rcx, r11
mov r9, r10
sub r9, r11
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r9 + rcx]
mov dword [rcx], eax
inc r8d
lea rcx, [rcx + 4]
mov edx, dword [rbx + rdi]
cmp r8d, edx
jl 0x1400aecf0
xor eax, eax
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x1400aecd4
mov r9, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x64]
mov rdx, qword [rbp - 0x60]
mov r15, qword [rbp - 0x48]
mov ecx, dword [rsp + 0x6c]
inc ecx
mov dword [rsp + 0x6c], ecx
add rbx, 0x28
add r12, 0x18
cmp ecx, dword [r13 + 0x40]
jl 0x1400aeb20
mov rsi, qword [rbp - 0x50]
mov r12, qword [rbp - 0x40]
mov qword [r13 + 0x28], rax
xor r14d, r14d
add r13, 0x70
add rsi, 0x88
mov qword [rbp - 0x50], rsi
sub r12, 1
mov qword [rbp - 0x40], r12
jne 0x1400aea70
movzx eax, byte [rsp + 0x60]
mov rsi, qword [rbp + 0x20]
mov r13, qword [rsp + 0x78]
mov r12d, dword [rbp - 0x80]
mov byte [r13 + 0x1a], al
mov eax, dword [rsp + 0x70]
mov r15, qword [rbp - 0x58]
test eax, eax
jle 0x1400aedc0
mov rbx, r15
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400aedb0
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400aedb0
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 8
sub rdi, 1
jne 0x1400aed96
test r12d, r12d
jle 0x1400aee2e
mov rbx, qword [rbp - 0x78]
add rbx, 0x18
mov edi, r12d
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400aedf2
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400aedeb
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400aee14
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400aee0d
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400aee24
call fcn.1400fa474
mov qword [rbx], r14
add rbx, 0x70
sub rdi, 1
jne 0x1400aedd0
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400aee65
mov qword [rbp + 0x48], 0
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400aee51
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, r14
mov qword [rbp - 0x78], rbx
mov qword [rbp + 0x50], rbx
mov rcx, r13
call fcn.1400cc010
mov rcx, r13
call fcn.1400cc150
mov edi, r14d
cmp dword [r13 + 0x58], 0
jle 0x1400aef7a
mov rbx, r14
nop word [rax + rax]
mov r10, qword [r13 + 0x60]
mov r11, qword [rbx + r10 + 0x18]
test r11, r11
je 0x1400aef6a
mov r8d, dword [rbx + r10 + 8]
test r8d, r8d
je 0x1400aef6a
movzx eax, word [rbx + r10 + 6]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r13 + 0x3c]
movzx ecx, word [rbx + r10 + 4]
movzx r9d, word [rbx + r10 + 2]
add eax, r9d
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [r13 + 0x3c]
movzx edx, word [rbx + r10]
movss xmm7, dword [rbx + r10 + 0x14]
movss xmm3, dword [rbx + r10 + 0x10]
lea eax, [rdx + rcx]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm4, dword [r13 + 0x38]
movd xmm5, ecx
cvtdq2ps xmm5, xmm5
mulss xmm5, dword [r13 + 0x38]
movd xmm2, r9d
cvtdq2ps xmm2, xmm2
addss xmm2, xmm7
movd xmm1, edx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm3
movss xmm0, dword [rbx + r10 + 0xc]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x40], xmm8
movss dword [rsp + 0x38], xmm5
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm7
xor edx, edx
mov rcx, r11
call fcn.1400cca50
inc edi
add rbx, 0x20
cmp edi, dword [r13 + 0x58]
jl 0x1400aee90
cmp dword [r13 + 0x48], 0
jle 0x1400aefb0
mov rbx, r14
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r13 + 0x50]
mov rcx, qword [rbx + rax]
cmp byte [rcx + 0x58], 0
je 0x1400aefa3
call fcn.1400cc490
inc r14d
add rbx, 8
cmp r14d, dword [r13 + 0x48]
jl 0x1400aef90
mov byte [r13 + 0x19], 1
mov bl, 1
test rsi, rsi
je 0x1400aefd8
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400aefce
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
test r15, r15
je 0x1400aeff9
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400aefef
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400af01b
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400af014
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400af03d
mov rax, qword [0x14042bc58]
test rax, rax
je 0x1400af036
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400af062
mov rcx, qword [0x14042bc58]
test rcx, rcx
je 0x1400af058
dec dword [rcx + 0xf4]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402fecd0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret