Function at 0x14003bd40
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 - 0x248]
sub rsp, 0x310
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 [0x140156dc8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r12d, r8d
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov r13, rcx
xor esi, esi
cmp dword [rdx + 0x484], esi
jge 0x14003bdf1
mov dword [rbp - 0x54], 0xffffffff
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea rcx, [rdx + 0x58]
test byte [rdx], 2
lea rdx, [rbp - 0x58]
mov dword [rbp - 0x58], 0x1b00f5
je 0x14003bde1
mov dword [rbp - 0x58], 0x20002
call fcn.14002bbf0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x484], eax
cmp dword [rdi + 0x488], esi
jge 0x14003be30
test byte [rdi], 4
jne 0x14003be30
mov dword [rbp - 0x54], 0xffffffff
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x58], 0x400041
lea rdx, [rbp - 0x58]
lea rcx, [rdi + 0x58]
call fcn.14002bbf0
mov eax, dword [rdi + 0x58]
dec eax
mov dword [rdi + 0x488], eax
mov qword [rdi + 8], rsi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0x40], rsi
mov rcx, rdi
call fcn.1400283f0
mov byte [rsp + 0x61], sil
mov qword [rbp + 0x18], rsi
mov r15, rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp + 0x20], rsi
mov qword [rbp + 8], rsi
mov rax, rsi
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x10], rax
mov r14d, dword [rdi + 0x68]
mov dword [rsp + 0x70], r14d
mov eax, 8
test r14d, r14d
jle 0x14003bec3
mov ebx, r14d
cmp r14d, eax
cmovl ebx, eax
test ebx, ebx
jle 0x14003bec3
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003be9d
inc dword [rax + 0xec]
movsxd rax, ebx
imul rcx, rax, 0x70
mov rdx, qword [0x1401b3968]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r15, rax
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x1c], ebx
mov eax, 8
mov dword [rbp + 0x18], r14d
mov edi, dword [rdi + 0x48]
mov dword [rsp + 0x64], edi
test edi, edi
jle 0x14003bf0e
mov ebx, edi
cmp edi, 8
cmovl ebx, eax
test ebx, ebx
jle 0x14003bf0e
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003bef0
inc dword [rax + 0xec]
movsxd rcx, ebx
shl rcx, 5
mov rdx, qword [0x1401b3968]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x10], rax
mov dword [rbp + 0xc], ebx
mov dword [rbp + 8], edi
imul ecx, r14d, 0x70
movsxd r8, ecx
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
mov ecx, edi
shl ecx, 5
movsxd r8, ecx
xor edx, edx
mov rcx, qword [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov r15d, esi
mov r10, qword [rsp + 0x78]
cmp dword [r10 + 0x68], esi
jle 0x14003c05e
mov r14, rsi
mov rbx, qword [rbp - 0x80]
add rbx, 0x44
mov rdi, qword [r10 + 0x70]
add rdi, r14
mov dword [rbx - 4], 0xffffffff
mov r8d, esi
cmp dword [r10 + 0x48], 0
jle 0x14003c057
mov edx, 0xffffffff
mov r9, rsi
mov eax, edx
cmp edx, 0xffffffff
jne 0x14003bfa4
mov rax, qword [r10 + 0x50]
mov rcx, qword [r9 + rax]
cmp qword [rdi + 0x80], rcx
jne 0x14003bf95
mov dword [rbx - 4], r8d
mov edx, r8d
inc r8d
add r9, 8
mov eax, edx
cmp r8d, dword [r10 + 0x48]
jl 0x14003bf76
cmp eax, 0xffffffff
je 0x14003c057
mov r9d, r12d
mov r8, rdi
mov rdx, r13
lea rcx, [rbx - 0x44]
call fcn.14003ad90
test al, al
je 0x14003c057
mov eax, dword [rdi + 0x4c]
shr eax, 8
and al, 1
or byte [rsp + 0x61], al
movsxd r8, dword [rbx - 4]
shl r8, 5
mov r9, qword [rbp - 0x70]
add r8, r9
mov rax, qword [rdi + 0x38]
lea rdx, [0x140139f4c]
test rax, rax
cmovne rdx, rax
mov qword [rbx - 0xc], rdx
cmp word [rdx], 0
je 0x14003c01c
nop
movzx eax, word [rdx + 2]
test ax, ax
je 0x14003c01c
mov ecx, eax
cmp dword [rbx], eax
cmovge ecx, dword [rbx]
mov dword [rbx], ecx
add rdx, 4
cmp word [rdx], 0
jne 0x14003c000
inc dword [r8]
mov ecx, dword [rbx]
cmp dword [r8 + 4], ecx
cmovge ecx, dword [r8 + 4]
mov dword [r8 + 4], ecx
inc r15d
add rbx, 0x70
add r14, 0x88
mov r10, qword [rsp + 0x78]
cmp r15d, dword [r10 + 0x68]
mov esi, 0
jl 0x14003bf52
mov r14d, dword [rsp + 0x70]
jmp 0x14003c062
xor bl, bl
jmp 0x14003d1ed
mov r9, qword [rbp - 0x70]
xor r13d, r13d
mov r12d, r13d
mov r15d, 1
mov dword [rsp + 0x74], r15d
test r14d, r14d
jle 0x14003c3c4
mov r14, qword [rbp - 0x80]
add r14, 0x58
mov eax, dword [rsp + 0x70]
mov qword [rbp - 0x78], rax
mov esi, eax
mov qword [rbp - 0x68], rax
nop dword [rax]
nop word [rax + rax]
movsxd r15, dword [r14 - 0x18]
shl r15, 5
add r15, r9
mov ebx, dword [r14 - 0x14]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r14 - 4]
cmp ebx, ecx
jle 0x14003c0e6
test ecx, ecx
je 0x14003c0cc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003c0d1
mov eax, 8
lea rdi, [r14 - 8]
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
mov rcx, rdi
call fcn.140022920
jmp 0x14003c0ea
lea rdi, [r14 - 8]
mov dword [rdi], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r14]
call sub.VCRUNTIME140.dll_memset
cmp dword [r15 + 0x10], 0
jne 0x14003c150
mov ebx, dword [r15 + 4]
add ebx, 0x20
sar ebx, 5
mov ecx, dword [r15 + 0x14]
cmp ebx, ecx
jle 0x14003c13a
test ecx, ecx
je 0x14003c125
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003c12a
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r15 + 0x10]
call fcn.140022920
mov dword [r15 + 0x10], ebx
movsxd r8, ebx
shl r8, 2
xor edx, edx
mov rcx, qword [r15 + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r13, qword [r14 - 0x20]
cmp word [r13], 0
je 0x14003c1de
movzx eax, word [r13 + 2]
test ax, ax
je 0x14003c1da
movzx edi, word [r13]
cmp edi, eax
ja 0x14003c1ce
nop dword [rax]
nop word [rax + rax]
mov ecx, edi
and ecx, 0x1f
mov esi, 1
shl esi, cl
movsxd rbx, edi
sar rbx, 5
mov rax, qword [r15 + 0x18]
test dword [rax + rbx*4], esi
jne 0x14003c1c3
mov edx, edi
mov rcx, qword [r14 - 0x40]
call fcn.140069110
test eax, eax
je 0x14003c1c3
inc dword [r14 - 0x10]
inc dword [r15 + 8]
mov rax, qword [r14]
or dword [rax + rbx*4], esi
mov rax, qword [r15 + 0x18]
or dword [rax + rbx*4], esi
inc r12d
inc edi
movzx eax, word [r13 + 2]
cmp edi, eax
jle 0x14003c180
add r13, 4
cmp word [r13], 0
jne 0x14003c160
mov rsi, qword [rbp - 0x68]
add r14, 0x70
sub rsi, 1
mov qword [rbp - 0x68], rsi
mov r9, qword [rbp - 0x70]
jne 0x14003c0a0
mov rsi, qword [rbp - 0x80]
add rsi, 0x68
mov r15, qword [rbp - 0x78]
mov qword [rbp - 0x68], r15
mov dword [rsp + 0x6c], r12d
nop dword [rax]
movsxd rbx, dword [rsi - 0x20]
cmp ebx, dword [rsi - 4]
jle 0x14003c28a
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c22b
inc dword [rax + 0xec]
lea rcx, [rbx + rbx*4]
shl rcx, 3
mov rdx, qword [0x1401b3968]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, rax
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003c284
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 0x14003c278
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c278
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
mov qword [rsi], rdi
mov dword [rsi - 4], ebx
mov r13, qword [rsi - 0x10]
movsxd rax, dword [rsi - 0x18]
lea rax, [rax*4]
add rax, r13
mov qword [rbp - 0x10], rax
mov r14, r13
cmp r13, rax
jae 0x14003c36f
xor r12d, r12d
mov r15d, dword [r14]
test r15d, r15d
je 0x14003c35e
mov edi, r12d
nop
bt r15d, edi
jae 0x14003c34f
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x48], xmm6
mov qword [rbp - 0x38], rax
lea rcx, [r14*8]
lea rax, [r13*8]
sub ecx, eax
and ecx, 0xffffffe0
add ecx, edi
movzx eax, cx
mov dword [rbp - 0x40], eax
mov r8d, dword [rsi - 4]
mov ecx, dword [rsi - 8]
cmp ecx, r8d
jne 0x14003c329
inc ecx
test r8d, r8d
je 0x14003c314
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14003c319
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rsi - 8]
call fcn.14003d410
movsxd rax, dword [rsi - 8]
lea rcx, [rax + rax*4]
mov rax, qword [rsi]
movups xmmword [rax + rcx*8], xmm6
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + rcx*8 + 0x10], xmm0
movsd xmm1, qword [rbp - 0x38]
movsd qword [rax + rcx*8 + 0x20], xmm1
inc dword [rsi - 8]
inc edi
cmp edi, 0x20
jb 0x14003c2c0
mov rax, qword [rbp - 0x10]
add r14, 4
cmp r14, rax
jb 0x14003c2b0
mov r15, qword [rbp - 0x68]
mov rcx, qword [rsi - 0x10]
xor r13d, r13d
test rcx, rcx
je 0x14003c3a1
mov qword [rsi - 0x18], r13
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c391
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
mov qword [rsi - 0x10], r13
add rsi, 0x70
sub r15, 1
mov qword [rbp - 0x68], r15
jne 0x14003c210
mov r12d, dword [rsp + 0x6c]
mov r14, qword [rbp - 0x78]
mov r15d, 1
jmp 0x14003c3cb
mov eax, r14d
mov qword [rbp - 0x78], rax
mov eax, dword [rsp + 0x64]
test eax, eax
jle 0x14003c41b
mov rbx, qword [rbp - 0x70]
add rbx, 0x18
mov edi, eax
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003c411
mov qword [rbx - 8], 0
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c402
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
mov qword [rbx], r13
add rbx, 0x20
sub rdi, 1
jne 0x14003c3e0
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14003c458
mov qword [rbp + 8], 0
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c43e
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rbx
call fcn.14000b480
mov rbx, r13
mov qword [rbp - 0x70], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x50], r13
mov edx, r12d
lea rcx, [rbp - 0x58]
call fcn.14002b9f0
mov eax, dword [rbp - 0x58]
lea ecx, [rax + rax*2]
shl ecx, 3
movsxd r8, ecx
xor edx, edx
mov rdi, qword [rbp - 0x50]
mov qword [rbp - 0x10], rdi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x64], r13d
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], r13
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c4b1
inc dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov ecx, 0x40000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
mov rdx, qword [0x1401b3978]
test rdx, rdx
je 0x14003c4d7
inc dword [rdx + 0xec]
mov rdx, qword [0x1401b3968]
mov ecx, 0x40
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x30], rax
mov esi, 8
mov dword [rbp + 0x2c], esi
mov qword [rax], rbx
mov dword [rbp + 0x28], r15d
mov ecx, r13d
mov dword [rsp + 0x68], ecx
mov r10d, r13d
movss xmm6, dword [0x14013c37c]
mov r12d, dword [rsp + 0x70]
test r12d, r12d
jle 0x14003c8dd
mov r9, r13
mov qword [rbp - 0x68], r13
mov rbx, qword [rbp - 0x80]
add rbx, 0x60
mov r11, qword [rsp + 0x78]
nop dword [rax]
nop word [rax + rax]
mov r8, qword [r11 + 0x70]
mov edx, dword [rbx - 0x18]
test edx, edx
je 0x14003c8bb
movsxd rax, r10d
lea rcx, [rax + rax*2]
lea rax, [rdi + rcx*8]
mov qword [rbx - 0x30], rax
add r10d, edx
mov dword [rbp - 0x30], r10d
movss xmm1, dword [r9 + r8 + 0x50]
ucomiss xmm1, xmm6
jp 0x14003c57a
jne 0x14003c57a
mov byte [rsp + 0x60], 0
jmp 0x14003c5c8
mov byte [rsp + 0x60], 1
mov r8d, r13d
lea r9, [rbp + 0x90]
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 0x14003c590
mov r9, qword [rbp - 0x68]
mov eax, dword [r11 + 0x14]
mov dword [rbp - 0x20], eax
mov r12d, r13d
mov dword [rsp + 0x6c], r13d
cmp dword [rbx], 0
jle 0x14003c8b7
xor r14d, r14d
mov r15, qword [rbx + 8]
mov edx, dword [r14 + r15 + 0x18]
mov rcx, qword [rbx - 0x48]
call fcn.140069110
test eax, eax
je 0x14003c880
mov r8d, dword [rbx - 0x3c]
mov edx, eax
mov rcx, qword [rbx - 0x48]
call fcn.14006a090
test eax, eax
jne 0x14003c880
mov rcx, qword [rbx - 0x48]
mov rdi, qword [rcx + 0x78]
test byte [rbx - 0x40], 0x20
je 0x14003c62e
mov rcx, rdi
call fcn.140072390
mov rcx, qword [rbx - 0x48]
test byte [rbx - 0x40], 0x40
je 0x14003c640
mov rcx, rdi
call fcn.140072490
mov rcx, qword [rbx - 0x48]
lea rax, [rdi + 0x30]
test rax, rax
je 0x14003c880
mov rdi, qword [rcx + 0x78]
mov edx, dword [rbx - 0x38]
mov rcx, rdi
call fcn.14006c8b0
test eax, eax
jne 0x14003c880
mov rax, qword [rbx - 0x48]
mov r10, qword [rax + 0x78]
add r10, 0x68
mov qword [rbp - 8], r10
mov r8d, dword [r10 + 4]
mov dword [r14 + r15], r8d
mov r9d, dword [r10]
mov dword [r14 + r15 + 4], r9d
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x90]
mov dword [r14 + r15 + 8], eax
mov rax, qword [rbx - 0x48]
mov rcx, qword [rax + 0x78]
mov eax, dword [rcx + 0x94]
neg eax
mov dword [r14 + r15 + 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 [r14 + r15 + 0x10], xmm0
cmp byte [r10 + 0x1a], 7
sete al
mov byte [r14 + r15 + 0x14], al
imul r9d, r8d
shl r9d, 2
mov dword [rbp - 0x18], r9d
mov edi, dword [rsp + 0x64]
lea eax, [r9 + rdi]
cmp eax, 0x40000
jle 0x14003c7f9
xor edi, edi
mov dword [rsp + 0x64], edi
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c710
inc dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov ecx, 0x40000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r12, rax
mov r8d, dword [rsp + 0x74]
cmp r8d, esi
jne 0x14003c7d3
lea edi, [r8 + 1]
test esi, esi
je 0x14003c745
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x14003c74a
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, esi
jle 0x14003c7cf
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c765
inc dword [rax + 0xec]
movsxd rcx, edi
shl rcx, 3
mov rdx, qword [0x1401b3968]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x14003c7ba
movsxd r8, dword [rsp + 0x74]
shl r8, 3
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1401b3978]
test rdx, rdx
je 0x14003c7aa
dec dword [rdx + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, qword [rbp - 0x28]
call fcn.14000b480
mov rax, rsi
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x30], rax
mov esi, edi
mov dword [rbp + 0x2c], edi
mov r8d, dword [rsp + 0x74]
mov edi, dword [rsp + 0x64]
movsxd rax, r8d
mov rcx, qword [rbp - 0x28]
mov qword [rcx + rax*8], r12
inc r8d
mov dword [rsp + 0x74], r8d
mov dword [rbp + 0x28], r8d
mov r9d, dword [rbp - 0x18]
mov r10, qword [rbp - 8]
mov r12d, dword [rsp + 0x6c]
jmp 0x14003c7fe
mov r8d, dword [rsp + 0x74]
lea eax, [r8 - 1]
cdqe
movsxd rcx, edi
mov rdx, qword [rbp - 0x28]
mov r8, qword [rdx + rax*8]
add r8, rcx
mov qword [r14 + r15 + 0x20], r8
add edi, r9d
mov dword [rsp + 0x64], edi
lea rax, [rbp + 0x90]
cmp byte [rsp + 0x60], 0
mov ecx, 0
cmove rax, rcx
mov qword [rsp + 0x20], rax
mov r9d, dword [r14 + r15]
mov rdx, r10
call fcn.14003af80
mov ecx, dword [r14 + r15]
add ecx, dword [rbp - 0x20]
mov rax, qword [rbx - 0x30]
mov dword [rax + r13 + 4], ecx
mov ecx, dword [r14 + r15 + 4]
add ecx, dword [rbp - 0x20]
mov rax, qword [rbx - 0x30]
mov dword [rax + r13 + 8], ecx
mov rcx, qword [rbx - 0x30]
mov eax, dword [rcx + r13 + 8]
imul eax, dword [rcx + r13 + 4]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov dword [rsp + 0x68], ecx
jmp 0x14003c884
mov ecx, dword [rsp + 0x68]
inc r12d
mov dword [rsp + 0x6c], r12d
add r14, 0x28
add r13, 0x18
cmp r12d, dword [rbx]
jl 0x14003c5e3
xor r13d, r13d
mov r9, qword [rbp - 0x68]
mov r10d, dword [rbp - 0x30]
mov r11, qword [rsp + 0x78]
mov r14, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x10]
jmp 0x14003c8bb
mov ecx, dword [rsp + 0x68]
add rbx, 0x70
add r9, 0x88
mov qword [rbp - 0x68], r9
sub r14, 1
mov qword [rbp - 0x78], r14
jne 0x14003c540
mov r12d, dword [rsp + 0x70]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14003c8f5
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003c8fd
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si eax, xmm0
inc eax
mov r14, qword [rsp + 0x78]
mov dword [r14 + 0x34], r13d
mov ebx, dword [r14 + 0x10]
test ebx, ebx
jg 0x14003c94f
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x14013c488]
jb 0x14003c92b
mov ebx, 0x1000
jmp 0x14003c94f
comiss xmm0, dword [0x14013c484]
jb 0x14003c93b
mov ebx, 0x800
jmp 0x14003c94f
mov ebx, 0x200
mov eax, 0x400
comiss xmm0, dword [0x14013c478]
cmovae ebx, eax
mov dword [r14 + 0x30], ebx
sub ebx, dword [r14 + 0x14]
mov qword [rbp - 8], 0
mov r15, r13
mov qword [rbp], r13
test ebx, ebx
jle 0x14003c9aa
mov edi, ebx
cmp ebx, 8
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x14003c9aa
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003c98d
inc dword [rax + 0xec]
movsxd rcx, edi
shl rcx, 4
mov rdx, qword [0x1401b3968]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r15, rax
mov qword [rbp], rax
mov dword [rbp - 4], edi
mov dword [rbp - 8], ebx
mov dword [rsp + 0x20], ebx
mov r9, r15
mov edx, dword [r14 + 0x30]
lea rcx, [rbp + 0x40]
call fcn.14003b960
mov qword [rbp - 0x68], 0
mov qword [rbp - 0x60], r13
mov edx, dword [r14 + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14002b9f0
mov esi, dword [rbp - 0x68]
lea eax, [rsi + rsi*2]
shl eax, 3
movsxd r8, eax
xor edx, edx
mov rdi, qword [rbp - 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r9d, r13d
cmp dword [r14 + 0x58], 0
jle 0x14003ca39
mov rdx, r13
lea r8, [rdi + 8]
nop word [rax + rax]
mov rax, qword [r14 + 0x60]
movzx ecx, word [rdx + rax]
mov dword [r8 - 4], ecx
mov rax, qword [r14 + 0x60]
movzx ecx, word [rdx + rax + 2]
mov dword [r8], ecx
inc r9d
lea rdx, [rdx + 0x20]
lea r8, [r8 + 0x18]
cmp r9d, dword [r14 + 0x58]
jl 0x14003ca10
mov r8d, esi
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.140023880
test esi, esi
jle 0x14003ca97
mov r8, r13
lea rdx, [rdi + 0x10]
mov r9, rsi
cmp dword [rdx + 4], 0
je 0x14003ca89
movzx ecx, word [rdx - 4]
mov rax, qword [r14 + 0x60]
mov word [r8 + rax + 4], cx
movzx ecx, word [rdx]
mov rax, qword [r14 + 0x60]
mov word [r8 + rax + 6], cx
mov ecx, dword [rdx - 8]
add ecx, dword [rdx]
cmp dword [r14 + 0x34], ecx
cmovge ecx, dword [r14 + 0x34]
mov dword [r14 + 0x34], ecx
add r8, 0x20
add rdx, 0x18
sub r9, 1
jne 0x14003ca56
test rdi, rdi
je 0x14003cabe
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003caae
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rdi
call fcn.14000b480
nop
mov rsi, qword [rbp - 0x80]
test r12d, r12d
jle 0x14003cb26
lea rbx, [rsi + 0x48]
mov edi, r12d
nop
mov r8d, dword [rbx]
test r8d, r8d
je 0x14003cb1c
mov rdx, qword [rbx - 0x18]
lea rcx, [rbp + 0x40]
call fcn.14003bb20
mov r8d, r13d
cmp dword [rbx], 0
jle 0x14003cb1c
mov rdx, r13
mov rax, qword [rbx - 0x18]
cmp dword [rax + rdx + 0x14], 0
je 0x14003cb10
mov ecx, dword [rax + rdx + 0x10]
add ecx, dword [rax + rdx + 8]
cmp dword [r14 + 0x34], ecx
cmovge ecx, dword [r14 + 0x34]
mov dword [r14 + 0x34], ecx
inc r8d
add rdx, 0x18
cmp r8d, dword [rbx]
jl 0x14003caf0
add rbx, 0x70
sub rdi, 1
jne 0x14003cad0
mov eax, dword [r14 + 0x34]
test byte [r14], 1
jne 0x14003cb55
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 [r14 + 0x34], ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm6
divss xmm1, xmm0
movsxd rax, dword [r14 + 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
movss dword [r14 + 0x38], xmm6
movss dword [r14 + 0x3c], xmm1
mov rbx, rax
movsxd rax, ecx
imul rbx, rax
mov rax, qword [0x1401b3978]
cmp byte [rsp + 0x61], 0
je 0x14003cbc5
lea rbx, [rbx*4]
test rax, rax
je 0x14003cbb0
inc dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [r14 + 0x28], rax
jmp 0x14003cbe3
test rax, rax
je 0x14003cbd0
inc dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [r14 + 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 0x14003cf32
mov rdi, r13
mov qword [rbp - 0x68], r13
lea r12, [rsi + 8]
mov esi, dword [rsp + 0x70]
mov qword [rbp - 0x18], rsi
movss xmm12, dword [0x14013c340]
nop dword [rax + rax]
cmp dword [r12 + 0x40], 0
je 0x14003cf07
mov r9, qword [r14 + 0x70]
add r9, rdi
mov qword [rbp - 0x78], r9
mov r15, qword [r9 + 0x80]
mov qword [rbp - 0x20], r15
movss xmm6, dword [r12 - 4]
movss xmm7, dword [r12]
cmp byte [r9 + 0x48], 0
jne 0x14003cc83
mov rcx, r15
call fcn.1400298d0
mov r9, qword [rbp - 0x78]
mov eax, dword [r9 + 0x14]
mov dword [r15 + 0x14], eax
mov qword [r15 + 0x48], r9
mov word [r15 + 0x50], r13w
mov qword [r15 + 0x40], r14
movss dword [r15 + 0x60], xmm6
movss dword [r15 + 0x64], xmm7
inc word [r15 + 0x50]
movss xmm11, dword [r9 + 0x2c]
movss xmm0, dword [r15 + 0x60]
addss xmm0, xmm12
cvttss2si eax, xmm0
movd xmm10, eax
cvtdq2ps xmm10, xmm10
addss xmm10, dword [r9 + 0x30]
mov r8d, dword [r14 + 0x14]
mov dword [rsp + 0x64], r8d
mov dword [rsp + 0x6c], r13d
cmp dword [r12 + 0x40], 0
jle 0x14003cf02
mov rdx, r13
mov qword [rbp - 0x30], rdx
mov rbx, r13
mov rdi, qword [r12 + 0x60]
mov rcx, qword [r12 + 0x28]
cmp dword [rdx + rcx + 4], 0
jne 0x14003ccec
cmp dword [rdx + rcx + 8], 0
je 0x14003ced9
mov esi, dword [rdx + rcx + 0xc]
add esi, r8d
mov r14d, dword [rdx + 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
mov rdx, qword [rsp + 0x78]
movd xmm0, dword [rdx + 0x30]
cvtdq2ps xmm0, xmm0
movd xmm6, esi
cvtdq2ps xmm6, xmm6
divss xmm6, xmm0
movd xmm2, dword [rdx + 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 rdx, r9
mov rcx, r15
call fcn.140029f60
movsxd rax, dword [r15 + 0x28]
lea rcx, [rax + rax*4]
mov rax, qword [r15 + 0x30]
cmp byte [rbx + rdi + 0x14], 0
je 0x14003cde8
mov byte [rsp + 0x60], 1
or dword [rax + rcx*8 - 0x28], 1
movsxd rcx, dword [rbx + rdi]
mov rax, qword [rsp + 0x78]
movsxd r15, dword [rax + 0x30]
mov r10, qword [rbx + rdi + 0x20]
mov r8, qword [rax + 0x20]
movsxd rdx, r14d
imul rdx, r15
movsxd rax, esi
add rdx, rax
mov esi, r13d
test r8, r8
je 0x14003ce69
lea r11, [rdx + r8]
cmp dword [rbx + rdi + 4], 0
jle 0x14003cec3
lea r14, [rcx*4]
nop word [rax + rax]
mov r9d, r13d
test ecx, ecx
jle 0x14003ce59
mov rdx, r11
lea r8, [r10 + 3]
nop
movzx eax, byte [r8]
mov byte [rdx], al
inc r9d
lea r8, [r8 + 4]
lea rdx, [rdx + 1]
mov ecx, dword [rbx + rdi]
cmp r9d, ecx
jl 0x14003ce40
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x14003ce30
jmp 0x14003cec3
mov r14, qword [rsp + 0x78]
mov rax, qword [r14 + 0x28]
lea r11, [rax + rdx*4]
cmp dword [rbx + rdi + 4], 0
jle 0x14003cec8
lea r15, [r15*4]
lea r14, [rcx*4]
nop dword [rax]
mov r8d, r13d
test ecx, ecx
jle 0x14003ceb5
mov rdx, r11
mov r9, r10
sub r9, r11
mov eax, dword [r9 + rdx]
mov dword [rdx], eax
inc r8d
lea rdx, [rdx + 4]
mov ecx, dword [rbx + rdi]
cmp r8d, ecx
jl 0x14003cea0
inc esi
add r11, r15
add r10, r14
cmp esi, dword [rbx + rdi + 4]
jl 0x14003ce90
mov r14, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x64]
mov r9, qword [rbp - 0x78]
mov r15, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
mov ecx, dword [rsp + 0x6c]
inc ecx
mov dword [rsp + 0x6c], ecx
add rbx, 0x28
add rdx, 0x18
mov qword [rbp - 0x30], rdx
cmp ecx, dword [r12 + 0x40]
jl 0x14003ccd0
mov rdi, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x18]
mov qword [r12 + 0x28], r13
add r12, 0x70
add rdi, 0x88
mov qword [rbp - 0x68], rdi
sub rsi, 1
mov qword [rbp - 0x18], rsi
jne 0x14003cc20
movzx eax, byte [rsp + 0x60]
mov r15, qword [rbp]
mov r12d, dword [rsp + 0x70]
mov byte [r14 + 0x1a], al
mov eax, dword [rsp + 0x74]
mov rsi, qword [rbp - 0x28]
test eax, eax
jle 0x14003cf77
mov rbx, rsi
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003cf61
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003cf61
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
add rbx, 8
sub rdi, 1
jne 0x14003cf47
test r12d, r12d
jle 0x14003cff1
mov rbx, qword [rbp - 0x80]
add rbx, 0x18
mov edi, r12d
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14003cfaf
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003cfa2
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
nop
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14003cfd7
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003cfca
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003cfe7
call fcn.140068b40
mov qword [rbx], r13
add rbx, 0x70
sub rdi, 1
jne 0x14003cf87
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14003d02e
mov qword [rbp + 0x18], 0
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003d014
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rbx
call fcn.14000b480
mov rbx, r13
mov qword [rbp - 0x80], rbx
mov qword [rbp + 0x20], rbx
mov rcx, r14
call fcn.1400294e0
mov rcx, r14
call fcn.140029620
mov edi, r13d
cmp dword [r14 + 0x58], 0
jle 0x14003d13a
mov rbx, r13
nop
mov r10, qword [r14 + 0x60]
mov r11, qword [rbx + r10 + 0x18]
test r11, r11
je 0x14003d12a
mov r8d, dword [rbx + r10 + 8]
test r8d, r8d
je 0x14003d12a
movzx eax, word [rbx + r10 + 6]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r14 + 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 [r14 + 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 [r14 + 0x38]
movd xmm5, ecx
cvtdq2ps xmm5, xmm5
mulss xmm5, dword [r14 + 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.140029f60
inc edi
add rbx, 0x20
cmp edi, dword [r14 + 0x58]
jl 0x14003d050
cmp dword [r14 + 0x48], 0
jle 0x14003d170
mov rbx, r13
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r14 + 0x50]
mov rcx, qword [rbx + rax]
cmp byte [rcx + 0x58], 0
je 0x14003d163
call fcn.140029990
inc r13d
add rbx, 8
cmp r13d, dword [r14 + 0x48]
jl 0x14003d150
mov byte [r14 + 0x19], 1
mov bl, 1
test r15, r15
je 0x14003d19e
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003d18e
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, r15
call fcn.14000b480
nop
test rsi, rsi
je 0x14003d1c5
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003d1b5
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rsi
call fcn.14000b480
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14003d1ed
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003d1e0
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14003d215
mov rax, qword [0x1401b3978]
test rax, rax
je 0x14003d208
dec dword [rax + 0xec]
mov rdx, qword [0x1401b3968]
call fcn.14000b480
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x14003d240
mov rcx, qword [0x1401b3978]
test rcx, rcx
je 0x14003d230
dec dword [rcx + 0xec]
mov rdx, qword [0x1401b3968]
mov rcx, rax
call fcn.14000b480
nop
movzx eax, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400ece80
lea r11, [rsp + 0x310]
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