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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov r12, rdx
mov rbx, rcx
mov edi, r15d
test rdx, rdx
je 0x1400158af
mov esi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.1400064d0
mov r14, rax
test rax, rax
je 0x1400158a5
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.1400f43c0
mov dword [r14], esi
lea rsi, [rbx + 0x60]
mov eax, dword [r12 + 0x18]
mov rcx, qword [rsi]
mov r13, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x11]
mov byte [rbx + 0x17], al
mov qword [rsp + 0x30], rcx
cmp qword [rbx + 0x118], rdi
jne 0x1400159d7
mov rax, qword [r12 + 8]
mov rbp, rcx
test rax, rax
cmovne rbp, rax
mov rax, qword [r12]
mov qword [rsi], rax
nop dword [rax]
cmp qword [rsi], rbp
jge 0x14001589c
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.1400147b0
mov edi, eax
test eax, eax
je 0x140015870
jmp 0x140015a96
lea rsi, [rbx + 0x60]
jmp 0x1400159e0
mov eax, 7
jmp 0x140015bc7
mov eax, dword [rcx + 0x24]
mov r14, r15
mov rsi, qword [rcx + 0x118]
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x11]
mov byte [rcx + 0x17], al
test rsi, rsi
je 0x1400159c7
mov eax, dword [rcx + 0x24]
mov dword [rcx + 0x20], eax
cmp byte [rsi + 0x40], dil
je 0x14001596c
mov r14d, dword [rsi + 0x58]
mov rax, qword [rsi + 0x30]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 0x48], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x58], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x68], xmm0
mov edi, dword [rsi + 0x58]
inc edi
lea ebp, [rdi + 0x1000]
nop dword [rax]
cmp edi, r14d
ja 0x14001595e
mov r8, qword [rsi + 0x30]
mov eax, ebp
sub rax, 0xfdf
shr rax, 0xc
test eax, eax
jne 0x140015935
mov rax, qword [r8]
mov edx, dword [rax + rdi*4 + 0x84]
jmp 0x14001594b
cdqe
lea edx, [rdi - 1]
add rdx, 0x22
and edx, 0xfff
mov rcx, qword [r8 + rax*8]
mov edx, dword [rcx + rdx*4]
mov rcx, rbx
call fcn.1400153e0
inc edi
inc ebp
mov r15d, eax
test eax, eax
je 0x140015910
cmp r14d, dword [rsi + 0x58]
je 0x14001596c
mov rcx, rsi
call fcn.140019c10
mov rcx, qword [rbx + 0x110]
mov rdx, qword [rcx]
test rdx, rdx
je 0x140015990
nop dword [rax + rax]
mov rax, qword [rdx + 0x38]
mov qword [rdx + 0x18], rax
mov rdx, rax
test rax, rax
jne 0x140015980
mov rcx, qword [rcx]
call fcn.140011d70
test rax, rax
je 0x1400159bf
nop dword [rax]
test r15d, r15d
jne 0x1400159bf
mov edx, dword [rax + 0x28]
mov rcx, rbx
mov rdi, qword [rax + 0x18]
call fcn.1400153e0
mov r15d, eax
mov rax, rdi
test rdi, rdi
jne 0x1400159a0
mov eax, r15d
jmp 0x140015bc7
mov rax, qword [rcx + 0x60]
lea rsi, [rcx + 0x60]
mov qword [rsp + 0x30], rax
mov r13, rax
mov qword [rsi], r15
nop word [rax + rax]
cmp qword [rsi], r13
jge 0x140015a85
lea rax, [rsp + 0x98]
mov dword [rsp + 0x90], r15d
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r8, r13
xor edx, edx
mov rcx, rbx
call fcn.140013b90
mov r12d, dword [rsp + 0x90]
mov edi, eax
test r12d, r12d
jne 0x140015a50
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rdx, qword [rsi]
cmp rax, rdx
jne 0x140015a50
mov eax, dword [rbx + 0xbc]
add eax, 8
movsxd rcx, eax
mov rax, qword [rsp + 0x30]
sub rax, rdx
cqo
idiv rcx
mov r12, rax
mov ebp, r15d
test edi, edi
jne 0x140015a85
cmp ebp, r12d
jae 0x1400159e0
cmp qword [rsi], r13
jge 0x140015a85
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.1400147b0
inc ebp
mov edi, eax
test eax, eax
je 0x140015a57
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x140015b3c
mov eax, dword [rbx + 0xbc]
mov esi, dword [r12 + 0x1c]
add eax, 4
movsxd rcx, eax
imul rcx, rsi
mov qword [rsp + 0x90], rcx
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x140015b0d
mov eax, dword [rcx + 0x88]
cmp dword [r12 + 0x2c], eax
je 0x140015ae1
mov dword [r12 + 0x20], r15d
mov eax, dword [rcx + 0x88]
mov dword [r12 + 0x2c], eax
mov esi, dword [r12 + 0x1c]
mov eax, dword [r12 + 0x20]
cmp eax, dword [rcx + 0x58]
jae 0x140015b08
mov dword [rcx + 0x58], eax
mov eax, dword [r12 + 0x24]
mov dword [rcx + 0x60], eax
mov eax, dword [r12 + 0x28]
mov dword [rcx + 0x64], eax
call fcn.140019c10
mov esi, dword [r12 + 0x1c]
mov edi, r15d
jmp 0x140015b11
test edi, edi
jne 0x140015b3c
cmp esi, dword [rbx + 0x3c]
jae 0x140015b3c
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r14
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.1400147b0
inc esi
mov edi, eax
test eax, eax
je 0x140015b11
test r14, r14
je 0x140015bbd
cmp dword [r14 + 8], r15d
je 0x140015b62
lea rsi, [r14 + 0x10]
mov ebp, 0x3e
mov rcx, qword [rsi]
call fcn.140011530
lea rsi, [rsi + 8]
sub rbp, 1
jne 0x140015b50
cmp dword [0x140124d50], r15d
je 0x140015bb4
mov rcx, qword [0x140128b48]
test rcx, rcx
je 0x140015b7d
call qword [0x140124dd8]
mov rcx, r14
call qword [0x140124d90]
dec qword [0x1401288f8]
mov rcx, r14
movsxd rdx, eax
sub qword [0x1401288b0], rdx
call qword [0x140124d80]
mov rcx, qword [0x140128b48]
test rcx, rcx
je 0x140015bbd
call qword [0x140124de8]
jmp 0x140015bbd
mov rcx, r14
call qword [0x140124d80]
test edi, edi
jne 0x140015bc5
mov qword [rbx + 0x60], r13
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret