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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.1800252a0
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180066e50
mov rax, qword [rsp + 0xe0]
cmp qword [rax], 0
je 0x18002be98
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.1800252a0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call fcn.18004af30
test eax, eax
jne 0x18002c615
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.1800695f0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.1800695f0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xe0]
cmp qword [rax], 0
je 0x18002bf28
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x24]
cmp eax, 2
jne 0x18002bf28
mov dword [rsp + 0x20], 5
jmp 0x18002bf30
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x18002bf6e
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180067fd0
test eax, eax
jne 0x18002bf6e
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180065880
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x14], 0
jne 0x18002bf9d
cmp dword [rsp + 0x20], 0
jne 0x18002bf9d
mov rcx, qword [rsp + 0xe0]
call fcn.18005fff0
cmp eax, 7
jne 0x18002bf9d
mov dword [rsp + 0x20], 7
cmp dword [rsp + 0x20], 0
jne 0x18002bff1
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x14], 0
jne 0x18002bff1
mov rax, qword [rsp + 0xe0]
add rax, 0x10
mov r8, rax
mov edx, 2
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.180065880
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002bff1
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180067170
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.180067170
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.1800695f0
mov rcx, rax
call fcn.180085c80
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c058
cmp dword [rsp + 0x48], 5
jne 0x18002c058
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
je 0x18002c058
mov dword [rsp + 0x20], 8
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180068140
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 0
jmp 0x18002c081
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0xe8], 0
jl 0x18002c09c
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0x38], eax
jge 0x18002c171
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x28]
cmp dword [rax + 0x18], ecx
ja 0x18002c171
cmp dword [rsp + 0x20], 0
jne 0x18002c171
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
xor edx, edx
mov eax, dword [0x18039dfa4]
mov rcx, qword [rsp + 0xa0]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x3c], eax
je 0x18002c154
mov r9d, 2
lea r8, [rsp + 0x78]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x90]
call fcn.180085c20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c154
mov rcx, qword [rsp + 0x78]
call fcn.180085c60
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xe0]
call fcn.180030520
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x78]
call fcn.180087a40
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x18], eax
jmp 0x18002c077
cmp dword [rsp + 0x20], 0
jne 0x18002c1d9
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x28]
inc eax
mov rcx, qword [rsp + 0xe0]
sub eax, dword [rcx + 0x18]
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x28]
cmp dword [rax + 0x18], ecx
jbe 0x18002c1be
mov dword [rsp + 0x20], 0x65
jmp 0x18002c1d9
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x3c], 0
jne 0x18002c1d9
mov rcx, qword [rsp + 0xe0]
call fcn.18002fea0
cmp dword [rsp + 0x20], 0x65
jne 0x18002c5c7
cmp dword [rsp + 0x28], 0
jne 0x18002c208
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.180068a60
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
cmp dword [rsp + 0x20], 0
je 0x18002c216
cmp dword [rsp + 0x20], 0x65
jne 0x18002c240
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x10]
inc eax
mov r8d, eax
mov edx, 1
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.18006a290
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c286
mov rax, qword [rsp + 0xe0]
cmp qword [rax], 0
je 0x18002c265
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
call fcn.18008ed80
cmp dword [rsp + 0x48], 5
jne 0x18002c286
mov edx, 2
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.18006a010
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c5c7
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jge 0x18002c2fc
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x24]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x4c]
lea eax, [rax + rcx - 1]
cdq
idiv dword [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa8], rax
xor edx, edx
mov eax, dword [0x18039dfa4]
mov rcx, qword [rsp + 0xa8]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x30], eax
jne 0x18002c2fa
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x18002c312
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jge 0x18002c579
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x28]
imul rax, rcx
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x40]
call fcn.180085b30
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.180086b90
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
jmp 0x18002c368
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c3f7
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x34], eax
ja 0x18002c3f7
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
xor edx, edx
mov eax, dword [0x18039dfa4]
mov rcx, qword [rsp + 0xb0]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x34], eax
je 0x18002c3f2
xor r9d, r9d
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
call fcn.180085c20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c3f2
mov rcx, qword [rsp + 0x80]
call fcn.180087b60
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x80]
call fcn.180087a40
jmp 0x18002c35e
cmp dword [rsp + 0x20], 0
jne 0x18002c414
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1800856f0
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x18039dfa4]
add ecx, eax
mov eax, ecx
cdqe
cmp rax, qword [rsp + 0x70]
jge 0x18002c445
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x18039dfa4]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x88], rax
jmp 0x18002c452
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [0x18039dfa4]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x58], rax
jmp 0x18002c48e
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x20], 0
jne 0x18002c543
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x58], rax
jge 0x18002c543
mov qword [rsp + 0x68], 0
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
cqo
mov rcx, qword [rsp + 0xc0]
idiv rcx
inc rax
mov dword [rsp + 0x64], eax
xor r9d, r9d
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x90]
call fcn.180085c20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c534
mov rcx, qword [rsp + 0x68]
call fcn.180085c60
mov qword [rsp + 0xc8], rax
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x98]
call fcn.180084d90
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x68]
call fcn.180087a40
jmp 0x18002c479
cmp dword [rsp + 0x20], 0
jne 0x18002c560
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
call fcn.1800307c0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c577
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.180087970
mov dword [rsp + 0x20], eax
jmp 0x18002c59a
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.180087a20
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1800856f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c5c7
xor edx, edx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call fcn.180066220
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002c5c7
mov dword [rsp + 0x20], 0x65
cmp dword [rsp + 0x50], 0
je 0x18002c5f4
xor edx, edx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180066160
xor edx, edx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180066220
cmp dword [rsp + 0x20], 0xc0a
jne 0x18002c606
mov dword [rsp + 0x20], 7
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0xe0]
cmp qword [rax], 0
je 0x18002c637
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.180025300
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x28]
call fcn.180068160
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.180025300
mov eax, dword [rsp + 0x20]
add rsp, 0xd8
ret