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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4e8
movaps xmmword [rsp + 0x4d0], xmm6
mov r15, r8
mov qword [rsp + 0x48], rdx
mov r14, rcx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x4c8], rax
mov rax, qword [r8 + 0x48]
test rax, rax
je 0x1400d03cf
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rcx
mov rdi, qword [rax + 0x20]
lea r12, [rsp + 0x3c0]
mov r8d, 0x108
mov rcx, r12
mov dl, 0xaa
call fcn.140112e60
mov rcx, r12
call fcn.1400ccb30
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
mov rdx, qword [r14 + 0x18]
mov qword [rax + rcx + 8], rdx
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
mov rdx, qword [r15]
mov qword [rax + rcx + 0x10], rdx
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
mov dword [rax + rcx + 0x3c], 0
movaps xmm6, xmmword [0x1401e7a90]
movups xmmword [rsp + 0x3b0], xmm6
movups xmmword [rsp + 0x3a0], xmm6
mov qword [rsp + 0x398], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
test rdi, rdi
jne 0x1400d0182
xor eax, eax
mov qword [rsp + 0x28], rax
xor r12d, r12d
cmp qword [r15 + 0x58], 0
jne 0x1400d041a
mov rsi, qword [rsp + 0x88]
sub rsi, qword [rsp + 0x80]
movabs rax, 0x7fffffff9
cmp rsi, rax
jae 0x1400d03dd
shr rsi, 3
inc esi
cmp esi, 2
jae 0x1400d0454
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
mov dword [rax + rcx + 0x1c], esi
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
mov edx, dword [r15 + 0x58]
mov dword [rax + rcx + 0x18], edx
cmp qword [r15 + 0x30], 1
jne 0x1400d02a2
mov rax, qword [r14 + 0x10]
mov rcx, qword [r15 + 0x10]
cmp rcx, qword [rax + 0x50]
jne 0x1400d02a2
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
movups xmm0, xmmword [r15 + 0x18]
movups xmmword [rax + rcx + 0x20], xmm0
mov rcx, r15
call fcn.1400ce4e0
lea rcx, [rsp + 0x3c0]
mov edx, 4
mov r8, rdi
call fcn.1400c9710
mov rcx, qword [rsp + 0x478]
movzx edx, byte [rcx]
cmp qword [rsp + 0x480], rdx
jbe 0x1400d03dd
mov dword [rcx + rdx + 0x34], eax
lea rcx, [rsp + 0x3c0]
mov edx, 0x70
mov r8, r12
call fcn.1400c9710
mov rcx, qword [rsp + 0x478]
movzx edx, byte [rcx]
cmp qword [rsp + 0x480], rdx
jbe 0x1400d03dd
mov dword [rcx + rdx + 0x38], eax
mov rax, qword [rsp + 0x478]
mov rdx, qword [rsp + 0x480]
movzx r9d, byte [rax]
cmp rdx, r9
jbe 0x1400d03dd
mov r10d, dword [rax + r9 + 0x30]
xor ecx, ecx
mov r8d, 0
test r10, r10
jne 0x1400cfc5a
mov r10d, dword [rax + r9 + 0x34]
xor ebx, ebx
mov r11d, 0
mov qword [rsp + 0x38], r11
test r10, r10
jne 0x1400cfc0b
mov r9d, dword [rax + r9 + 0x38]
xor ebp, ebp
mov r13d, 0
test r9, r9
jne 0x1400cfc2a
test r8, r8
jne 0x1400cfc48
movups xmmword [rsp + 0x388], xmm6
movups xmmword [rsp + 0x378], xmm6
mov qword [rsp + 0x370], 0
cmp r12, 5
mov qword [rsp + 0x50], rbp
jae 0x1400d0002
test r12, r12
jne 0x1400cfeb5
lea rcx, [rsp + 0x1a8]
mov r8d, 0x1c0
mov dl, 0xaa
call fcn.140112e60
xor esi, esi
xor eax, eax
add rsi, rax
mov qword [rsp + 0x1a0], rsi
shr rsi, 1
imul r8, rsi, 0x70
test r8, r8
jne 0x1400cfd75
test rdi, rdi
jne 0x1400cfd99
mov rax, qword [rsp + 0x1a0]
cmp rax, 2
jae 0x1400cfc74
test byte [rsp + 0x28], 1
jne 0x1400d02db
mov rcx, qword [rsp + 0x398]
mov rax, rcx
shr rax, 1
test cl, 1
jne 0x1400d03c2
lea rcx, [rsp + 0x3a0]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x3c0]
lea rdx, [rsp + 0x98]
lea r8, [rsp + 0x58]
call fcn.1400c9940
mov rax, qword [rsp + 0x478]
movzx ecx, byte [rax]
cmp qword [rsp + 0x480], rcx
jbe 0x1400d03dd
mov rdx, qword [rsp + 0x98]
mov qword [rax + rcx + 0x40], rdx
mov rcx, qword [r14 + 0x10]
lea rdx, [rsp + 0x3c0]
call fcn.1400cb3f0
mov rax, qword [rsp + 0x370]
cmp rax, 2
jae 0x1400cfce6
test rdi, rdi
jne 0x1400cfc9b
test byte [rsp + 0x1a0], 1
jne 0x1400cff99
cmp qword [rsp + 0x370], 0
jne 0x1400cfbfc
mov rdi, qword [rsp + 0x80]
test rdi, rdi
jne 0x1400d03df
cmp qword [rsp + 0x398], 0
jne 0x1400cfd63
lea rcx, [rsp + 0x3c0]
call fcn.1400ccb80
mov rcx, qword [rsp + 0x4c8]
xor rcx, rsp
call fcn.140110d20
movaps xmm6, xmmword [rsp + 0x4d0]
add rsp, 0x4e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x370]
call fcn.1400d07a0
jmp 0x1400cfba3
cmp rdx, r10
jbe 0x1400d03dd
lea rbx, [rax + r10]
add rbx, 8
mov r10d, dword [rbx - 4]
mov qword [rsp + 0x38], r10
jmp 0x1400cfa48
cmp rdx, r9
jbe 0x1400d03dd
lea r13, [rax + r9]
add r13, 8
mov ebp, dword [r13 - 4]
test r8, r8
je 0x1400cfa67
mov rdx, qword [r15 + 0x38]
mov r8, qword [r15 + 0x40]
call fcn.1401127b0
jmp 0x1400cfa67
cmp rdx, r10
jbe 0x1400d03dd
lea rcx, [rax + r10]
add rcx, 8
mov r8d, dword [rcx - 4]
jmp 0x1400cfa2d
lea rdx, [rsp + 0x1a8]
test al, 1
je 0x1400cfc88
mov rdx, qword [rsp + 0x1a8]
imul r8, qword [rsp + 0x50], 0x70
mov rcx, r13
call fcn.1401127b0
jmp 0x1400cfaea
movabs rsi, 0xaaaaaaaaaaaaaaaa
shl rdi, 3
lea rbx, [rsp + 0x98]
mov qword [rsp + 0x98], rsi
mov rcx, rbx
mov r14, qword [rsp + 0x30]
mov rdx, r14
call fcn.1400d8bf0
mov rcx, rbx
call fcn.1400d8d00
add r14, 8
mov qword [rsp + 0x30], r14
add rdi, 0xfffffffffffffff8
je 0x1400cfb8a
jmp 0x1400cfcb1
lea rsi, [rsp + 0x378]
xor ebx, ebx
xor r15d, r15d
mov rcx, qword [rsp + 0x1a0]
mov rdx, rcx
shr rdx, 1
cmp rdx, r15
jbe 0x1400d03dd
mov rdx, rsi
test al, 1
je 0x1400cfd19
mov rdx, qword [rsp + 0x378]
lea r9, [rsp + 0x1a8]
test cl, 1
je 0x1400cfd2e
mov r9, qword [rsp + 0x1a8]
mov rcx, qword [rdx + r15*8]
add r9, rbx
mov r8, qword [r14 + 0x10]
mov rdx, qword [rsp + 0x48]
call fcn.1400d7850
inc r15
mov rax, qword [rsp + 0x370]
mov rcx, rax
shr rcx, 1
add rbx, 0x70
cmp r15, rcx
jae 0x1400cfb81
jmp 0x1400cfcf3
lea rcx, [rsp + 0x398]
call fcn.1400ca9d0
jmp 0x1400cfbc3
lea rcx, [rsp + 0x1a8]
test al, 1
je 0x1400cfd89
mov rcx, qword [rsp + 0x1a8]
xor edx, edx
call fcn.140112e60
test rdi, rdi
je 0x1400cfad8
mov rax, qword [rsp + 0x28]
and al, 1
movzx eax, al
inc eax
mov dword [rsp + 0x40], eax
xor r12d, r12d
xor esi, esi
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + r12*8]
mov eax, dword [rdx + 0x10]
cmp eax, 1
jne 0x1400cff6a
cmp qword [rsp + 0x38], r12
jbe 0x1400d03dd
mov dword [rbx + r12*4], 0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x98], rax
test rdx, rdx
je 0x1400d004a
cmp dword [rdx + 0x10], 1
jne 0x1400d004a
add rdx, 0x20
lea rcx, [rsp + 0x98]
call fcn.1400d8c90
mov rax, qword [rsp + 0x1a0]
mov rcx, rax
shr rcx, 1
cmp rcx, rsi
jbe 0x1400d03dd
lea rdx, [rsp + 0x1a8]
test al, 1
je 0x1400cfe37
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x98]
imul r9, rsi, 0x70
add r9, rdx
mov r8, qword [r14 + 0x10]
mov rdx, qword [rsp + 0x48]
call fcn.1400d72e0
mov rax, qword [rsp + 0x370]
mov rcx, rax
shr rcx, 1
cmp rcx, rsi
jbe 0x1400d03dd
mov rbp, r14
lea rcx, [rsp + 0x378]
test al, 1
je 0x1400cfe82
mov rcx, qword [rsp + 0x378]
lea rcx, [rcx + rsi*8]
lea r14, [rsp + 0x98]
mov rdx, r14
call fcn.1400d8c10
inc rsi
mov rcx, r14
call fcn.1400d8d00
mov r14, rbp
inc r12
cmp rdi, r12
je 0x1400cfad8
jmp 0x1400cfdae
lea rax, [rsp + 0x378]
mov rcx, r12
test rax, rax
je 0x1400d0428
mov qword [rax], 0
add rax, 8
dec rcx
jne 0x1400cfec0
lea rsi, [r12 + r12]
add qword [rsp + 0x370], rsi
lea rbp, [rsp + 0x1a8]
mov r8d, 0x1c0
mov rcx, rbp
mov dl, 0xaa
call fcn.140112e60
mov qword [rbp - 8], 0
cmp r12, 5
jae 0x1400cffab
test r12, r12
je 0x1400cfab0
xorps xmm0, xmm0
test rbp, rbp
je 0x1400d0428
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0xffffffffffffffff
mov qword [rbp + 0x18], 0
movups xmmword [rbp + 0x58], xmm0
add rbp, 0x70
dec r12
jne 0x1400cff1b
mov rax, qword [rsp + 0x1a0]
jmp 0x1400cfab4
cmp eax, 2
jne 0x1400cfea4
mov rax, qword [rdx + 0x40]
cmp rax, 1
jne 0x1400d0051
cmp qword [rsp + 0x38], r12
jbe 0x1400d03dd
mov eax, dword [rsp + 0x40]
mov dword [rbx + r12*4], eax
jmp 0x1400cfea4
mov rcx, qword [rsp + 0x1a8]
call fcn.14010f794
jmp 0x1400cfb98
cmp r12, 9
mov ecx, 8
cmovae rcx, r12
movabs rax, 0x24924924924924a
cmp rcx, rax
jae 0x1400d04e7
mov qword [rsp + 0x40], rcx
imul rcx, rcx, 0x70
call fcn.14010f758
mov rbp, rax
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1a0], 1
jmp 0x1400cff18
cmp r12, 9
mov esi, 8
cmovae rsi, r12
mov rax, rsi
shr rax, 0x3d
jne 0x1400d04e7
lea rcx, [rsi*8]
call fcn.14010f758
mov qword [rsp + 0x378], rax
mov qword [rsp + 0x380], rsi
mov qword [rsp + 0x370], 1
jmp 0x1400cfebd
xor edx, edx
jmp 0x1400cfdfb
test rax, rax
je 0x1400cfea4
add rax, 0xfffffffffffffffe
cmp rax, 2
jae 0x1400d007c
cmp qword [rsp + 0x38], r12
jbe 0x1400d03dd
mov dword [rbx + r12*4], 3
jmp 0x1400cfea4
call fcn.14014d610
cmp rax, 3
jne 0x1400d007c
add r13, 0x18
mov rbp, qword [rsp + 0x88]
cmp rbp, qword [rsp + 0x90]
jae 0x1400d028d
test rbp, rbp
je 0x1400d0428
mov rcx, rbp
mov rdx, r13
call fcn.1400d8bf0
add rbp, 8
mov qword [rsp + 0x88], rbp
jmp 0x1400d01ab
test rax, rax
je 0x1400d01ab
cmp rax, 2
jne 0x1400d0081
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x1a0]
mov qword [rbp + 0x20], rax
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
add r13, 0x18
mov rcx, rbp
mov rdx, r13
call fcn.140042a90
mov rcx, rbp
call fcn.14014f090
test al, al
je 0x1400d04d5
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x1a0]
lea rdx, [rsp + 0x98]
call fcn.14014f0e0
mov r13, qword [rsp + 0x88]
cmp r13, qword [rsp + 0x90]
jae 0x1400d0273
test r13, r13
je 0x1400d0428
lea rdx, [rsp + 0x98]
mov rcx, r13
call fcn.1400d8bf0
add r13, 8
mov qword [rsp + 0x88], r13
lea rcx, [rsp + 0x98]
call fcn.1400d8d00
lea rcx, [rsp + 0x1a0]
call fcn.140042ac0
jmp 0x1400d01ab
lea rbx, [rdi*8]
xor esi, esi
xor r12d, r12d
xor eax, eax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov r13, qword [rax + rsi]
mov eax, dword [r13 + 0x10]
cmp eax, 1
jne 0x1400d01ba
inc r12
add rsi, 8
cmp rbx, rsi
je 0x1400cf8d3
jmp 0x1400d0196
cmp eax, 2
jne 0x1400d01ab
mov rax, qword [r13 + 0x40]
cmp rax, 1
jne 0x1400d00c6
lea rbp, [r13 + 0x18]
mov rax, qword [r14 + 0x10]
mov rdx, qword [rax + 0x48]
mov rcx, rbp
call fcn.1400c8960
cmp qword [r13 + 0x40], 1
jne 0x1400d0423
mov rcx, qword [rsp + 0x28]
movzx ecx, cl
test al, al
mov eax, 1
cmove ecx, eax
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x398]
mov edx, 2
test al, 1
je 0x1400d021c
mov rdx, qword [rsp + 0x3a8]
mov rcx, rax
shr rcx, 1
cmp rcx, rdx
je 0x1400d025e
lea rdx, [rsp + 0x3a0]
test al, 1
je 0x1400d023b
mov rdx, qword [rsp + 0x3a0]
shl rcx, 4
add rcx, rdx
je 0x1400d0428
mov rdx, rbp
call fcn.1400c88f0
add qword [rsp + 0x398], 2
jmp 0x1400d01ab
lea rcx, [rsp + 0x398]
mov rdx, rbp
call fcn.1400451e0
jmp 0x1400d01ab
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x98]
call fcn.140155280
jmp 0x1400d0166
lea rcx, [rsp + 0x80]
mov rdx, r13
call fcn.140155280
jmp 0x1400d01ab
mov r8, qword [r15 + 0x40]
lea r13, [rsp + 0x3c0]
mov edx, 1
mov rcx, r13
call fcn.1400c9710
mov rcx, qword [r13 + 0xb8]
movzx edx, byte [rcx]
cmp qword [r13 + 0xc0], rdx
jbe 0x1400d03dd
mov dword [rcx + rdx + 0x30], eax
jmp 0x1400cf996
lea r12, [rsp + 0x98]
mov r8d, 0x108
mov rcx, r12
mov dl, 0xaa
call fcn.140112e60
mov rcx, r12
call fcn.14004f8a0
mov rax, qword [r12 + 0xb8]
movzx ecx, byte [rax]
cmp qword [r12 + 0xc0], rcx
jbe 0x1400d03dd
mov rdx, qword [r14 + 0x18]
mov qword [rax + rcx + 8], rdx
mov rax, qword [rsp + 0x150]
movzx ecx, byte [rax]
cmp qword [rsp + 0x158], rcx
jbe 0x1400d03dd
mov rdx, qword [r15]
mov qword [rax + rcx + 0x10], rdx
mov rcx, qword [rsp + 0x398]
mov rax, rcx
shr rax, 1
test cl, 1
je 0x1400d035b
mov rcx, qword [rsp + 0x3a0]
jmp 0x1400d0363
lea rcx, [rsp + 0x3a0]
lea r8, [rsp + 0x68]
mov qword [r8], rcx
mov qword [r8 + 8], rax
lea r15, [rsp + 0x98]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.1400c9940
mov rax, qword [r15 + 0xb8]
movzx ecx, byte [rax]
cmp qword [r15 + 0xc0], rcx
jbe 0x1400d03dd
mov rdx, qword [rsp + 0x78]
mov qword [rax + rcx + 0x18], rdx
mov rcx, qword [r14 + 0x10]
lea r15, [rsp + 0x98]
mov rdx, r15
call fcn.1400cb3f0
mov rcx, r15
call fcn.14004f7b0
jmp 0x1400cfb5e
mov rcx, qword [rsp + 0x3a0]
jmp 0x1400cfb14
xor eax, eax
mov qword [rsp + 0x30], rax
xor edi, edi
jmp 0x1400cf802
ud2
mov rsi, qword [rsp + 0x88]
mov rcx, rdi
cmp rsi, rdi
je 0x1400d0408
add rsi, 0xfffffffffffffff8
mov rcx, rsi
call fcn.1400d8d00
cmp rsi, rdi
jne 0x1400d03ef
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rdi
call fcn.14010f794
jmp 0x1400cfbb4
mov esi, dword [r15 + 0x50]
jmp 0x1400cf910
call fcn.140158830
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.14014d6e0
lea rbx, [rsi - 1]
xor r13d, r13d
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
sar rcx, 3
cmp rcx, r13
jbe 0x1400d04a9
mov rax, qword [rax + r13*8]
inc r13
lea r8, [rax + 0x18]
mov rcx, qword [r15]
mov qword [rax + 0x18], rcx
mov qword [rax + 0x68], rsi
mov qword [rax + 0x70], r13
mov rcx, r14
mov rdx, qword [rsp + 0x48]
call fcn.1400cf7b0
cmp rbx, r13
je 0x1400cf910
jmp 0x1400d045b
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5b7
call fcn.14014d6e0
lea rcx, [rsp + 0x1a0]
call fcn.140042ac0
jmp 0x1400cfba3
call fcn.14014b030
int3