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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x1e8
mov rax, qword [0x1800ee530]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
cmp byte [rcx + 0x2f], 0
mov rsi, rdx
mov rbx, rcx
je 0x18002ffb7
mov r15d, dword [rdx + 0xbc]
jmp 0x18002ffba
xor r15d, r15d
cmp byte [rcx + 0x426e9], 0
je 0x18002ffc8
call fcn.1800317f0
cmp byte [rbx + 0x2f], 0
je 0x18002ffd9
mov byte [rsp + 0x30], 0
cmp r15d, 1
jne 0x18002ffde
mov byte [rsp + 0x30], 1
lea rdi, [rbx + 0x423d0]
mov qword [rsp + 0x230], r13
lea rcx, [rdi + 0x28]
mov qword [rsp + 0x1e0], r14
mov edx, 0xffffffff
call fcn.1800645f0
test al, al
je 0x180030065
lea rcx, [rdi + 8]
call fcn.1800645e0
mov ecx, dword [rdi + 0x40]
mov rax, qword [rdi]
mov r14d, dword [rdi + 0x38]
mov rbp, qword [rax + rcx*8]
lea eax, [rcx + 1]
mov dword [rdi + 0x40], eax
cmp eax, r14d
jb 0x18003002f
sub eax, r14d
mov dword [rdi + 0x40], eax
mov r13d, dword [rdi + 0x3c]
lea rcx, [rdi + 0x18]
lea eax, [r13 - 1]
mov dword [rdi + 0x3c], eax
call fcn.180064e00
lea rcx, [rdi + 8]
call fcn.180065570
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x18003006a
cmp r13d, r14d
jne 0x18003006a
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x10]
jmp 0x18003006a
mov rbp, qword [rsp + 0x38]
mov r8, qword [rsi + 0x30]
mov rdx, rbp
mov rcx, rbx
call fcn.180026c80
mov rax, qword [rsi + 0x38]
lea rdi, [rbx + 0x42380]
lea rcx, [rdi + 0x18]
mov qword [rbp + 8], rax
xor edx, edx
call fcn.1800645f0
mov r13, qword [rsp + 0x230]
test al, al
je 0x1800300f7
lea rcx, [rdi + 8]
call fcn.1800645e0
mov ecx, dword [rdi + 0x44]
mov rax, qword [rdi]
mov qword [rax + rcx*8], rbp
mov eax, dword [rdi + 0x44]
mov ecx, dword [rdi + 0x38]
inc eax
mov dword [rdi + 0x44], eax
cmp eax, ecx
jb 0x1800300c6
sub eax, ecx
mov dword [rdi + 0x44], eax
mov ebp, dword [rdi + 0x3c]
lea rcx, [rdi + 0x28]
lea eax, [rbp + 1]
mov dword [rdi + 0x3c], eax
call fcn.180064e00
lea rcx, [rdi + 8]
call fcn.180065570
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1800300f7
test ebp, ebp
jne 0x1800300f7
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
test byte [rsi + 0x10], 0x20
je 0x180030140
test dword [rbx + 0xa39c], 0x4000
je 0x180030140
lea rcx, [rbx + 0x425f0]
mov r8d, 0xffffffff
lea rdx, [rsp + 0x38]
call fcn.18002ee60
mov rax, qword [rsi + 0x6e0]
lea rcx, [rbx + 0x425a0]
xor r8d, r8d
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
call fcn.18002b0c0
movsxd rax, r15d
mov rdx, rsi
imul r12, rax, 0xd28
mov eax, dword [rbx + 0x426c8]
mov r8d, 0xd28
imul rdi, rax, 0x1ab8
add rdi, 8
add rdi, qword [rbx + 0x426c0]
add rdi, r12
mov rcx, rdi
call fcn.18006b4f0
mov eax, dword [rbx + 0x426c8]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426c0]
mov dword [rcx + rax], 0xff
cmp qword [rdi + 0x678], 0
je 0x1800302ef
mov rdx, rsi
mov rcx, rbx
call fcn.18002a8c0
test al, al
jne 0x1800301b8
mov eax, 8
jmp 0x1800305b9
mov r9d, dword [rbx + 0x1c]
lea rdx, [rbx + 0xa3c0]
mov r8d, dword [rbx + 0x18]
add r9d, 0x1f
mov rax, qword [rbx]
add r8d, 0x1f
shr r9d, 5
mov rcx, rbx
shr r8d, 5
call qword [rax + 0xc8]
mov r9d, dword [rbx + 0x1c]
lea rdx, [rdi + 0x658]
mov r8d, dword [rbx + 0x18]
add r9d, 0x1f
mov r10, qword [rbx]
add r8d, 0x1f
shr r9d, 5
mov rcx, rbx
shr r8d, 5
mov r14, rax
call qword [r10 + 0xc8]
cmp rax, r14
jae 0x180030247
mov r9d, dword [rbx + 0x1c]
lea rdx, [rdi + 0x658]
mov r8d, dword [rbx + 0x18]
add r9d, 0x1f
mov rax, qword [rbx]
add r8d, 0x1f
shr r9d, 5
mov rcx, rbx
shr r8d, 5
call qword [rax + 0xc8]
mov rbp, rax
jmp 0x18003024a
mov rbp, r14
mov eax, dword [rbx + 0x426c8]
mov r15, qword [rdi + 0x678]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426c0]
mov rcx, qword [rcx + rax + 0x1a78]
test rbp, rbp
je 0x1800302cc
test rcx, rcx
jne 0x180030284
call fcn.18007a210
mov dword [rax], 0x16
jmp 0x1800302c7
test r15, r15
je 0x18003029b
cmp r14, rbp
jb 0x18003029b
mov r8, rbp
mov rdx, r15
call fcn.18006b4f0
jmp 0x1800302cc
mov r8, r14
xor edx, edx
call fcn.18006b2e0
test r15, r15
jne 0x1800302b7
call fcn.18007a210
mov dword [rax], 0x16
jmp 0x1800302c7
cmp r14, rbp
jae 0x1800302cc
call fcn.18007a210
mov dword [rax], 0x22
call fcn.18007a018
mov eax, dword [rbx + 0x426c8]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426c0]
mov rcx, qword [rcx + rax + 0x1a78]
mov qword [rdi + 0x678], rcx
mov rax, qword [rbx + 0xa3b0]
cmp dword [rax + 0x88], 0
je 0x180030386
mov rdx, qword [rdi + 0x6b0]
test rdx, rdx
je 0x180030386
cmp dword [rdi + 0x6b8], 0
je 0x180030386
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbx + 0x1c]
add ecx, 0x1f
add eax, 0x1f
shr ecx, 5
shr eax, 5
imul ecx, eax
cmp dword [rsi + 0x6b8], ecx
jae 0x18003033f
mov eax, 0xe
jmp 0x1800305b9
mov eax, dword [rbx + 0x426c8]
mov r8d, ecx
mov rcx, qword [rbx + 0x426c0]
imul r9, rax, 0x1ab8
mov rcx, qword [r9 + rcx + 0x1a80]
call fcn.18006b4f0
mov eax, dword [rbx + 0x426c8]
imul rcx, rax, 0x1ab8
mov rax, qword [rbx + 0x426c0]
mov rcx, qword [rcx + rax + 0x1a80]
mov qword [rdi + 0x6b0], rcx
mov eax, dword [rbx + 0x426c8]
mov r8, rdi
mov r10, qword [rbx]
mov rdx, rdi
imul r9, rax, 0x1ab8
mov rcx, rbx
add r9, qword [rbx + 0x426c0]
lea rax, [r9 + 0x1a98]
add r9, 0x1a90
mov qword [rsp + 0x20], rax
call qword [r10 + 0xa8]
test eax, eax
jne 0x1800305b9
cmp byte [rsp + 0x30], al
je 0x1800305a3
inc dword [rbx + 0x426c8]
cmp dword [rbx + 0xa2f0], eax
je 0x180030572
cmp byte [rbx + 0xa344], al
jne 0x180030572
xor edx, edx
mov rcx, rbx
call fcn.1800331e0
mov r14, rax
mov ecx, dword [rax]
cmp ecx, 3
je 0x18003041d
test ecx, 0xfffffffd
jne 0x18003056c
cmp dword [rbx + 0x4236c], 5
jb 0x18003056c
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x130
xor edi, edi
call fcn.18006b2e0
movzx r9d, byte [rbx + 0xa345]
mov eax, dword [rbx + 0x18]
mov r8d, r9d
sub r8d, dword [rbx + 0xa2f4]
mov dword [rsp + 0x158], eax
add r8d, 6
mov eax, dword [rbx + 0x1c]
lea r10d, [r9 + 1]
mov dword [rsp + 0x15c], eax
mov eax, 0xaaaaaaab
mul r8d
mov eax, 0xaaaaaaab
shr edx, 2
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub r8d, ecx
movzx ecx, byte [rbx + 0xa346]
add r10d, ecx
mul r10d
shr edx, 2
lea eax, [rdx + rdx*2]
add eax, eax
sub r10d, eax
cmp r8d, r10d
je 0x180030514
nop dword [rax + rax]
movsxd rax, r8d
imul rcx, rax, 0x1ab8
add rcx, r12
test byte [rcx + rbx + 0x1f8], 8
jne 0x180030514
mov rdx, qword [rcx + rbx + 0x210]
test rdx, rdx
je 0x1800304f5
cmp r8d, r9d
je 0x1800304f5
mov rax, qword [rbx + rdi*8 + 0xa230]
lea rcx, [rdi*8]
mov qword [rsp + rcx + 0x40], rdx
inc edi
mov qword [rsp + rcx + 0xa0], rax
mov rax, qword [rsp + rcx + 0x40]
mov qword [rsp + rcx + 0x170], rax
inc r8d
mov eax, 0x2aaaaaab
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub r8d, eax
cmp r8d, r10d
jne 0x1800304a0
mov rax, qword [r12 + r14 + 0x30]
lea r9, [rsp + 0x170]
mov qword [rsp + rdi*8 + 0x40], rax
lea r8, [rsp + 0x40]
mov rax, qword [rbx + rdi*8 + 0xa230]
mov rdx, rsi
mov qword [rsp + rdi*8 + 0xa0], rax
mov rcx, rbx
mov rax, qword [rsp + rdi*8 + 0x40]
mov qword [rsp + rdi*8 + 0x170], rax
lea eax, [rdi + 1]
mov dword [rsp + 0x160], eax
mov rax, qword [rbx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x58]
test eax, eax
jne 0x1800305b9
mov dword [rbx + 0x4236c], eax
inc dword [rbx + 0x4236c]
inc dword [rbx + 0x42360]
xor edx, edx
inc dword [rbx + 0x42364]
mov rcx, rbx
inc dword [rbx + 0x42368]
cmp byte [rbx + 0x4234b], dl
je 0x18003059c
mov rax, qword [rbx]
call qword [rax + 0xe0]
jmp 0x1800305b9
call fcn.180031000
jmp 0x1800305b9
cmp dword [rbx + 0xa394], 0
mov ecx, 0x11
cmove eax, ecx
cmp byte [rbx + 0x2f], 0
cmovne eax, ecx
mov r14, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180068690
add rsp, 0x1e8
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret