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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x18
mov esi, dword [rsp + 0x98]
mov rbx, qword [rsp + 0xa8]
mov r11d, dword [rsp + 0xa0]
cmp esi, 3
mov r14, qword [rbx]
mov rbx, qword [rsp + 0xb0]
mov r15d, edx
sete dl
cmp esi, 6
mov dword [rsp + 0x70], r8d
sete al
mov dword [rsp + 0x78], r9d
mov r13, qword [rbx]
or dl, al
mov byte [rsp + 7], dl
je 0x53c118
mov rbx, r14
mov rax, r13
mov ebp, 1
test rax, rax
je 0x53c09a
test rbx, rbx
je 0x53c09a
mov edi, dword [rsp + 0x90]
mov dword [rsp + 0x68], r15d
pxor xmm0, xmm0
and edi, 0x1f
mov dword [rsp + 8], edi
mov edi, dword [rsp + 0x90]
and edi, 0x20
mov dword [rsp + 0xc], edi
nop dword [rax]
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
test ebp, ebp
mov r10, qword [rax]
mov r9, rdx
mov rdi, rdx
mov r12, r8
cmovne r9, r8
test r11d, r11d
js 0x53bf70
cmp dword [r10 + 0x44], r11d
jne 0x53bf58
cmp esi, 1
je 0x53c048
cmp esi, 4
je 0x53c0c8
cmp esi, 3
je 0x53c170
cmp byte [rsp + 7], 0
jne 0x53c1c0
cmp esi, 2
je 0x53c128
nop dword [rax]
cmp rbx, rax
je 0x53c09a
test r9, r9
je 0x53c09a
mov rax, r9
jmp 0x53bf00
test ecx, ecx
je 0x53bf7a
cmp dword [r10 + 0x18], ecx
jne 0x53bf58
mov r15d, dword [rsp + 0x68]
test r15d, r15d
je 0x53bf8f
mov r15d, dword [rsp + 0x68]
test dword [r10 + 0x1c], r15d
je 0x53bf58
mov r15d, dword [rsp + 0x70]
test r15d, r15d
je 0x53bfa4
mov r15d, dword [r10 + 0x20]
test dword [rsp + 0x70], r15d
je 0x53bf58
mov r15d, dword [rsp + 0x78]
test r15d, r15d
je 0x53bfb9
mov r15d, dword [r10 + 0x24]
test dword [rsp + 0x78], r15d
je 0x53bf58
mov r15d, dword [rsp + 0x80]
test r15d, r15d
je 0x53bfd4
mov r15d, dword [r10 + 0x28]
test dword [rsp + 0x80], r15d
je 0x53bf58
mov r15d, dword [rsp + 0x88]
test r15d, r15d
je 0x53bff3
mov r15d, dword [rsp + 0x88]
cmp dword [r10 + 0x2c], r15d
jne 0x53bf58
mov r15d, dword [rsp + 8]
test r15d, r15d
je 0x53c013
mov r15d, dword [rsp + 0x90]
and r15d, dword [r10 + 0x3c]
and r15d, 0x1f
je 0x53bf58
mov r15d, dword [rsp + 0xc]
test r15d, r15d
je 0x53bf25
mov r15d, dword [rsp + 0x90]
and r15d, dword [r10 + 0x3c]
mov r10d, r15d
and r10d, 0x20
je 0x53bf58
cmp esi, 1
jne 0x53bf2e
nop dword [rax + rax]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x53bf58
cmp rax, r13
je 0x53c08a
cmp rax, r14
cmove r14, rdx
test r8, r8
je 0x53c06e
mov qword [r8 + 0x10], rdx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x53c077
mov qword [rdx + 0x18], r8
mov qword [r13 + 0x10], rax
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], r13
mov r13, rax
mov dword [rax + 8], 1
cmp rbx, rax
jne 0x53bf61
mov rax, qword [rsp + 0xa8]
mov qword [rax], r14
mov rax, qword [rsp + 0xb0]
mov qword [rax], r13
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r12d, dword [rax + 8]
test r12d, r12d
je 0x53bf58
cmp rax, r13
je 0x53bf58
cmp rax, r14
cmove r14, rdx
test r8, r8
je 0x53c0f2
mov qword [r8 + 0x10], rdx
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x53c0fb
mov qword [rdi + 0x18], r8
mov qword [r13 + 0x10], rax
mov qword [rax + 0x18], r13
mov r13, rax
mov qword [rax + 0x10], 0
jmp 0x53bf58
mov rbx, r13
mov rax, r14
xor ebp, ebp
jmp 0x53bec5
cmp rax, r14
je 0x53c20c
mov qword [r8 + 0x10], rdx
mov rdi, qword [rax + 0x10]
cmp rax, r13
mov dword [rax + 8], 0
cmove r13, r8
test rdi, rdi
je 0x53c154
mov qword [rdi + 0x18], r8
mov r12, qword [rax + 0x18]
test r12, r12
je 0x53c15e
mov qword [r12 + 0x10], rdi
movups xmmword [rax + 0x10], xmm0
jmp 0x53bf58
mov edi, dword [rax + 8]
test edi, edi
je 0x53bf58
cmp rax, r14
je 0x53c1b0
cmp rax, r13
cmove r13, r8
test rdx, rdx
je 0x53c194
mov qword [rdx + 0x18], r8
mov r8, qword [rax + 0x18]
test r8, r8
je 0x53c19d
mov qword [r8 + 0x10], rdx
mov qword [r14 + 0x18], rax
mov qword [rax + 0x18], 0
mov qword [rax + 0x10], r14
mov r14, rax
mov dword [rax + 8], 0
jmp 0x53bf58
mov r10d, dword [rax + 8]
test r10d, r10d
je 0x53bf58
cmp rax, r14
je 0x53bf58
cmp rax, r13
cmove r13, r8
test rdx, rdx
je 0x53c1ea
mov qword [rdx + 0x18], r8
mov r12, qword [rax + 0x18]
test r12, r12
je 0x53c1f4
mov qword [r12 + 0x10], rdx
mov qword [r14 + 0x18], rax
mov qword [rax + 0x10], r14
mov r14, rax
mov qword [rax + 0x18], 0
jmp 0x53bf58
mov r14, rdx
jmp 0x53c139