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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x501d49
push rbp
mov rbp, rsp
sub rsp, 0x70
movq qword [rsp + 0x68], xmm15
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdi
mov byte [rsp + 0x3b], 0
mov qword [rsp + 0x40], 0
mov esi, 1
lock xadd dword [rax + 0x10], esi
inc esi
test esi, esi
jge 0x501a67
lea rdx, [rax + 0xc]
xor ebx, ebx
xor ecx, ecx
mov rax, rdx
call fcn.00465700
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x98]
movups xmmword [rsp + 0x58], xmm15
lea rsi, [0x00501d80]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x58]
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x3b], 1
cmp byte [rax + 0x38], 0
jne 0x501aab
mov rax, rbx
mov rbx, rcx
mov ecx, 0xf00
nop
call fcn.00502800
mov dword [rsp + 0x3c], eax
jmp 0x501ad2
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
mov eax, dword [rsp + 0x3c]
mov ebx, eax
mov rax, qword [rsp + 0x80]
nop dword [rax]
call fcn.005018e0
mov rcx, qword [rsp + 0x98]
test rcx, rcx
sete r9b
mov edi, dword [rsp + 0x3c]
mov rsi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x80]
mov rcx, rdx
call fcn.00500800
nop
test al, al
je 0x501ace
test rcx, rcx
je 0x501d16
mov qword [rsp + 0x48], rcx
lea rsi, [rcx + 0x20]
mov qword [rsp + 0x50], rsi
xor eax, eax
mov edi, 1
lock cmpxchg dword [rcx + 0x20], edi
sete dil
test dil, dil
jne 0x501b62
mov rax, rsi
call fcn.00470d00
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp qword [rcx + 0x30], 0
jne 0x501c24
mov rdx, qword [rsp + 0x98]
test rdx, rdx
jne 0x501bd7
nop
mov ebx, 0xffffffff
lock xadd dword [rcx + 0x20], ebx
dec ebx
test ebx, ebx
je 0x501b98
mov rax, rsi
call fcn.00470fe0
mov rcx, qword [rsp + 0x48]
nop
mov esi, 0xffffffff
lock xadd dword [rcx + 0x40], esi
dec esi
test esi, esi
jne 0x501bb4
mov rax, qword [rcx]
mov rbx, rcx
call fcn.00501960
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
mov rax, qword [rdx]
call rax
mov rsi, qword [rsp + 0x48]
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rbx
cmp dword [0x0072fee0], 0
je 0x501c02
call fcn.00469a40
mov qword [r11], rcx
mov rdi, qword [rsi + 0x38]
mov qword [r11 + 8], rdi
mov qword [rsi + 0x38], rcx
test rbx, rbx
je 0x501caf
mov rcx, qword [rsp + 0x80]
lock xadd dword [rcx + 0x24], eax
mov rcx, rsi
mov rsi, qword [rsp + 0x50]
nop
mov ebx, 0xffffffff
lock xadd dword [rcx + 0x20], ebx
dec ebx
test ebx, ebx
je 0x501c42
mov rax, rsi
call fcn.00470fe0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rdx + 0x28]
test rsi, rsi
je 0x501c62
mov rax, qword [rdx + 0x30]
mov rdx, qword [rsi + 0x48]
mov rbx, rcx
nop
call rdx
lea rax, [0x0054f2a0]
call fcn.0040e820
cmp dword [0x0072fee0], 0
jne 0x501c80
mov rcx, qword [rsp + 0x48]
jmp 0x501c8d
call fcn.00469a20
mov rcx, qword [rsp + 0x48]
mov qword [r11], rcx
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
mov qword [rsi + 0x28], 0
nop
mov ebx, 0xffffffff
lock xadd dword [rsi + 0x20], ebx
dec ebx
test ebx, ebx
je 0x501cd7
mov rax, qword [rsp + 0x50]
call fcn.00470fe0
mov rsi, qword [rsp + 0x48]
nop
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x40], ecx
dec ecx
test ecx, ecx
jne 0x501cf3
mov rax, qword [rsi]
mov rbx, rsi
call fcn.00501960
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x68]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x40]
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop dword [rax]
call fcn.00467b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005019e0