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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx ebp, byte [rsp + 0x90]
lea rax, [0x1402a4698]
mov qword [rcx], rax
mov rax, qword [rdx]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x10], eax
mov rax, r8
shr rax, 0x20
jne 0x140151fc0
mov eax, edi
mov dword [rsi + 0x14], eax
test rbx, rbx
mov rax, rbx
cmove rax, rdi
mov rcx, rax
shr rcx, 0x20
jne 0x140151fc8
mov dword [rsi + 0x18], eax
call fcn.1401167c0
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x28], bpl
mov byte [rsi + 0x29], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], 0
mov rax, qword [r14]
test rax, rax
je 0x140151fd0
lea rcx, [rdi - 0x40]
cmp rcx, 0x3fffffc0
ja 0x140151fd0
and eax, 7
jne 0x140151fd0
test dil, 7
je 0x140151d0a
test bpl, bpl
je 0x140151fd0
test rbx, rbx
je 0x140151d3e
mov rax, rdi
or rax, rbx
shr rax, 0x20
je 0x140151d2a
mov rax, rdi
xor edx, edx
div rbx
test rdx, rdx
jne 0x140151d35
jmp 0x140151d3e
mov eax, edi
xor edx, edx
div ebx
test rdx, rdx
je 0x140151d3e
test bpl, bpl
je 0x140151fd0
mov rax, qword [rsi + 8]
mov ecx, dword [rax]
cmp ecx, 0x408305dc
jne 0x140151de4
cmp dword [rax + 4], 0
je 0x140151d7b
cmp dword [rax + 0xc], 2
jne 0x140151d7b
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x140151d7b
mov eax, dword [rax + 0x2c]
test eax, eax
je 0x140151d7b
mov rax, qword [rsi + 8]
cmp dword [rax + 0x34], 0
je 0x140151d7b
mov eax, dword [rax + 0x3c]
test eax, eax
jne 0x140151d83
mov rcx, rsi
call fcn.140151b10
test bpl, bpl
jne 0x140151f8c
mov rcx, qword [rsi + 8]
mov edx, dword [rcx + 4]
mov eax, dword [rsi + 0x14]
cmp edx, eax
jae 0x140151d9f
mov dword [rsi + 0x14], edx
mov eax, edx
mov edx, dword [rcx + 8]
mov ecx, dword [rsi + 0x18]
cmp edx, ecx
jae 0x140151dae
mov dword [rsi + 0x18], edx
mov ecx, edx
mov rbp, qword [r14]
test rbp, rbp
je 0x140151de9
mov edx, eax
lea rbx, [rdx - 0x40]
cmp rbx, 0x3fffffc0
ja 0x140151de9
and ebp, 7
jne 0x140151de9
and edx, 7
jne 0x140151de9
test ecx, ecx
je 0x140151f8c
xor edx, edx
div ecx
test edx, edx
jne 0x140151de9
jmp 0x140151f8c
test bpl, bpl
je 0x140151df6
mov rcx, rsi
call fcn.140151b10
jmp 0x140151f8c
mov r15, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
test ecx, ecx
jne 0x140151e63
cmp dword [rax + 4], 0
jne 0x140151e63
cmp dword [rax + 0xc], 0
jne 0x140151e63
mov ecx, dword [rax + 0x28]
test ecx, ecx
jne 0x140151e63
mov ecx, dword [rax + 0x24]
test ecx, ecx
jne 0x140151e63
cmp qword [rax + 0x10], 0
jne 0x140151e63
cmp dword [rax + 0x18], 0
jne 0x140151e63
mov ecx, dword [rax + 0x2c]
test ecx, ecx
jne 0x140151e63
mov rcx, qword [rsi + 8]
cmp dword [rcx + 0x34], 0
jne 0x140151e63
mov ecx, dword [rcx + 0x3c]
test ecx, ecx
jne 0x140151e63
cmp dword [rax + 0x40], 0
jne 0x140151e63
cmp dword [rax + 0x44], 0
jne 0x140151e63
mov ecx, dword [rax + 0x48]
test ecx, ecx
jne 0x140151e63
mov eax, dword [rax + 0x4c]
test eax, eax
je 0x140151e6b
mov rcx, rsi
call fcn.140151b10
mov rax, qword [rsi + 8]
mov dword [rax], 0x408305dc
mov eax, dword [rsi + 0x14]
mov rcx, qword [rsi + 8]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x18]
mov rcx, qword [rsi + 8]
mov dword [rcx + 8], eax
mov rax, qword [rsi + 8]
mov dword [rax + 0xc], 2
mov rax, qword [rsi + 8]
mov qword [rax + 0x10], rdi
mov rax, qword [rsi + 8]
mov dword [rax + 0x28], 0x40
mov rax, qword [rsi + 8]
mov dword [rax + 0x30], 0x10
mov rax, qword [rsi + 8]
mov dword [rax + 0x34], 1
mov rax, qword [rsi + 8]
mov dword [rax + 0x3c], 0x30
mov rax, qword [rsi + 8]
mov dword [rax + 0x2c], 0x30
mov rbp, qword [r15 + 8]
test rbp, rbp
je 0x140151f84
lea rbx, [rbp + 1]
xor r12d, r12d
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401524a0
mov edi, eax
mov rcx, qword [rsi + 0x30]
test eax, eax
je 0x140151f09
test rcx, rcx
je 0x140151f1e
mov r12d, ebx
jmp 0x140151f0e
test rcx, rcx
je 0x140151f1e
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
mov edx, r12d
call qword [case.0x140112150.0]
mov rax, qword [rsi + 8]
mov dword [rax + 0x18], edi
mov rax, qword [rsi + 8]
mov edx, dword [rax + 0x18]
cmp rdx, 0x40
jb 0x140151f84
mov ecx, edx
and ecx, 7
jne 0x140151f84
lea rcx, [rdx + rbp]
add rcx, 0x11
mov ebx, dword [rsi + 0x14]
cmp rcx, rbx
ja 0x140151f84
mov ecx, dword [rax + rdx + 4]
cmp ecx, 0xc8799269
jne 0x140151f84
add rbp, 0x11
add rax, rdx
mov ecx, dword [rax]
cmp rbp, rcx
ja 0x140151f84
add edx, dword [rax]
xor ecx, ecx
cmp edx, ebx
cmovbe rcx, rax
test rcx, rcx
je 0x140151f84
add rcx, 0x10
je 0x140151f84
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
call fcn.140258c70
mov rax, qword [rsi + 8]
mov byte [rax + 0x20], 1
mov rcx, qword [r14]
mov rax, qword [0x1403102a0]
and rax, rcx
cmp rax, qword [0x140310288]
jne 0x140151fa7
call fcn.1400fa610
mov qword [r14], 0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
int3
int3