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

Disassembly:
mov r11, rsp
push rbx
push rbp
push r13
sub rsp, 0xc0
mov rax, qword [0x14020b948]
xor rax, rsp
mov qword [rsp + 0x90], rax
sub rdx, rcx
movzx ebx, r8b
sar rdx, 6
mov rbp, rcx
mov r13, rdx
mov byte [rsp + 0x30], bl
sar r13, 1
mov qword [rsp + 0x40], rdx
test r13, r13
jle 0x140045636
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x20], rdi
lea rdi, [rdx - 1]
mov qword [r11 - 0x28], r12
mov r12, r13
mov qword [r11 - 0x30], r14
mov r14, rdi
shl r12, 6
sar r14, 1
add r12, 0x28
add r12, rcx
mov qword [r11 - 0x38], r15
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], r14
mov rax, qword [r12 - 0x68]
lea r12, [r12 - 0x40]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov rax, qword [r12 - 0x20]
dec r13
mov qword [r12 - 0x20], r9
mov rsi, r13
mov qword [r12 - 0x28], r9
mov r15, r13
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [r12 - 0x18]
movups xmm1, xmmword [r12 - 8]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov qword [r12 - 8], r9
mov qword [r12], 0xf
mov byte [r12 - 0x18], r9b
mov eax, dword [r12 + 8]
mov dword [rsp + 0x80], eax
mov eax, dword [r12 + 0xc]
mov dword [rsp + 0x84], eax
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x88], eax
movzx eax, byte [r12 + 0x14]
mov byte [rsp + 0x8c], al
movzx eax, byte [r12 + 0x15]
mov byte [rsp + 0x8d], al
movzx eax, byte [r12 + 0x16]
mov byte [rsp + 0x8e], al
cmp r13, r14
jge 0x140045541
mov rbx, qword [rsp + 0x38]
nop dword [rax]
lea r8, [r15 + r15]
mov rdx, r9
mov rcx, r8
shl rcx, 6
mov eax, dword [rcx + rbp + 0x78]
cmp dword [rcx + rbp + 0xb8], eax
setle dl
shl rsi, 6
add rsi, rbp
lea r15, [rdx + 1]
add r15, r8
mov r14, r15
shl r14, 6
add r14, rbp
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
mov qword [r14], r9
mov qword [r14 + 8], r9
mov qword [rsi], rax
mov rdi, qword [rsi + 8]
mov qword [rsi + 8], rcx
test rdi, rdi
je 0x1400454e1
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400454e1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400454e1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rdx, [r14 + 0x10]
lea rcx, [rsi + 0x10]
call fcn.140019510
mov eax, dword [r14 + 0x30]
mov r9d, 0
mov dword [rsi + 0x30], eax
mov eax, dword [r14 + 0x34]
mov dword [rsi + 0x34], eax
mov eax, dword [r14 + 0x38]
mov dword [rsi + 0x38], eax
movzx eax, byte [r14 + 0x3c]
mov byte [rsi + 0x3c], al
movzx eax, byte [r14 + 0x3d]
mov byte [rsi + 0x3d], al
movzx eax, byte [r14 + 0x3e]
mov byte [rsi + 0x3e], al
mov rsi, r15
cmp r15, rbx
jl 0x140045460
movzx ebx, byte [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmp rsi, r14
jne 0x140045566
test dl, 1
jne 0x140045566
shl rdx, 6
shl rsi, 6
add rdx, 0xffffffffffffffc0
add rdx, rbp
lea rcx, [rsi + rbp]
call fcn.140046cb0
mov rsi, rdi
lea r9, [rsp + 0x50]
mov byte [rsp + 0x20], bl
mov r8, r13
mov rdx, rsi
mov rcx, rbp
call fcn.1400457f0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400455ba
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400455b5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045652
call fcn.1400fc768
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400455fa
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400455fa
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400455fa
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
test r13, r13
jle 0x14004560e
mov rdx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
jmp 0x1400453ac
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400fc880
add rsp, 0xc0
pop r13
pop rbp
pop rbx
ret
call fcn.1401033e4
int3