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

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push r13
push r14
push r15
sub rsp, 0x50
mov r15, qword [rcx]
mov r10, r9
mov qword [rsp + 0x30], r15
mov r13, r8
movsxd rbp, edx
mov r14, rcx
test r9, r9
je 0x1400a4be8
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
mov rcx, r15
call fcn.14004c0d0
mov r10, qword [rsp + 0x98]
mov rsi, rax
jmp 0x1400a4bea
xor esi, esi
cmp byte [r15 + 0x67], 0
mov qword [rsp + 0x20], rsi
jne 0x1400a4e0d
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x88], rbx
xor ebx, ebx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov qword [rsp + 0x40], r12
mov r8, qword [rax + 0x20]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x80], r8
mov r12, qword [rax + 0x20]
movzx eax, word [r13 + 0x3c]
mov qword [rsp + 0x28], r12
cmp ebp, eax
jge 0x1400a4d76
movups xmm0, xmmword [0x140138d00]
mov rsi, qword [rsp + 0x28]
lea r12, [rbp*8]
movups xmm1, xmmword [0x140138cf0]
mov rax, qword [r13 + 0x48]
mov rcx, qword [r12 + rax]
cmp qword [rcx], r10
jne 0x1400a4d54
movsxd r15, dword [rcx + 0x24]
shl r15, 5
mov rcx, qword [r15 + r8 - 0x18]
test rcx, rcx
je 0x1400a4d54
test rdi, rdi
jne 0x1400a4c9f
mov rdx, rcx
mov rcx, qword [r14]
call fcn.14004d120
movups xmm0, xmmword [0x140138d00]
mov rdi, rax
movups xmm1, xmmword [0x140138cf0]
jmp 0x1400a4cd2
movsxd rax, dword [rdi]
lea r8d, [rax + 1]
cmp dword [rdi + 4], r8d
jge 0x1400a4cbc
mov r8, rcx
mov rdx, rdi
mov rcx, qword [r14]
call fcn.14004d200
jmp 0x1400a4c8c
shl rax, 5
mov dword [rdi], r8d
movups xmmword [rax + rdi + 8], xmm1
movups xmmword [rax + rdi + 0x18], xmm0
mov qword [rax + rdi + 8], rcx
mov r8, qword [rsp + 0x80]
mov qword [r15 + r8 - 0x18], 0
mov rcx, qword [r15 + rsi - 0x18]
test rbx, rbx
jne 0x1400a4d13
mov rdx, rcx
mov rcx, qword [r14]
call fcn.14004d120
movups xmm0, xmmword [0x140138d00]
mov r8, qword [rsp + 0x80]
mov rbx, rax
movups xmm1, xmmword [0x140138cf0]
jmp 0x1400a4d43
movsxd rax, dword [rbx]
lea edx, [rax + 1]
cmp dword [rbx + 4], edx
jge 0x1400a4d2e
mov r8, rcx
mov rdx, rbx
mov rcx, qword [r14]
call fcn.14004d200
jmp 0x1400a4cf8
shl rax, 5
mov dword [rbx], edx
movups xmmword [rax + rbx + 8], xmm1
movups xmmword [rax + rbx + 0x18], xmm0
mov qword [rax + rbx + 8], rcx
mov r10, qword [rsp + 0x98]
mov qword [r15 + rsi - 0x18], 0
movzx eax, word [r13 + 0x3c]
inc ebp
add r12, 8
cmp ebp, eax
jl 0x1400a4c55
mov rsi, qword [rsp + 0x20]
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
test r8, r8
je 0x1400a4d86
mov rdx, r8
mov rcx, r15
call fcn.14004d700
test r12, r12
je 0x1400a4d96
mov rdx, r12
mov rcx, r15
call fcn.14004d700
mov rax, qword [rsi + 0x10]
xor ebp, ebp
mov r12, qword [rsp + 0x40]
mov qword [rax + 0x20], rbx
mov rax, qword [rsi + 0x20]
mov qword [rax + 0x20], rdi
test rbx, rbx
je 0x1400a4dd4
cmp dword [rbx], 1
jne 0x1400a4dd4
mov rdi, qword [rbx + 8]
mov qword [rbx + 8], rbp
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1400a4dd0
mov rcx, r15
call fcn.14004bde0
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 0x20]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1400a4e0d
cmp dword [rdx], 0
mov ecx, ebp
jle 0x1400a4e0d
lea rax, [rdx + 0x20]
nop dword [rax]
mov word [rax], bp
lea rax, [rax + 0x20]
inc ecx
cmp ecx, dword [rdx]
jl 0x1400a4e00
mov rax, rsi
add rsp, 0x50
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret