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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.1800087e0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180017d20
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x180018618
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.1800087e0
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call fcn.18002a5f0
test eax, eax
jne 0x180018db5
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180018010
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180018010
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x1800186a5
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x24]
cmp eax, 2
jne 0x1800186a5
mov dword [rsp + 0x24], 5
jmp 0x1800186ad
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
jne 0x1800186eb
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180018570
test eax, eax
jne 0x1800186eb
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180020fd0
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x34], 1
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x14], 0
jne 0x18001871a
cmp dword [rsp + 0x24], 0
jne 0x18001871a
mov rcx, qword [rsp + 0xf0]
call fcn.18002a460
cmp eax, 7
jne 0x18001871a
mov dword [rsp + 0x24], 7
cmp dword [rsp + 0x24], 0
jne 0x18001876e
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x14], 0
jne 0x18001876e
mov rax, qword [rsp + 0xf0]
add rax, 0x10
mov r8, rax
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180020fd0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x18001876e
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x14], 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180017ff0
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180017ff0
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180018010
mov rcx, rax
call fcn.18001c0b0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
jne 0x1800187e3
cmp dword [rsp + 0x20], 5
je 0x1800187d1
mov rcx, qword [rsp + 0x40]
call fcn.18001c050
test eax, eax
je 0x1800187e3
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x1800187e3
mov dword [rsp + 0x24], 8
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.18001f970
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], 0
jmp 0x18001880c
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0xf8], 0
jl 0x180018827
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x38], eax
jge 0x1800188f9
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x30]
cmp dword [rax + 0x18], ecx
ja 0x1800188f9
cmp dword [rsp + 0x24], 0
jne 0x1800188f9
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
xor edx, edx
mov eax, dword [0x18014b5c8]
mov rcx, qword [rsp + 0xb8]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x50], eax
je 0x1800188dc
mov r9d, 2
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.180017740
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1800188dc
mov rcx, qword [rsp + 0x58]
call fcn.180017c40
xor r9d, r9d
mov r8, rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xf0]
call fcn.18002a630
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x58]
call fcn.180017780
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x18]
inc eax
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x18], eax
jmp 0x180018802
cmp dword [rsp + 0x24], 0
jne 0x180018961
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x30]
inc eax
mov rcx, qword [rsp + 0xf0]
sub eax, dword [rcx + 0x18]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x30]
cmp dword [rax + 0x18], ecx
jbe 0x180018946
mov dword [rsp + 0x24], 0x65
jmp 0x180018961
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x3c], 0
jne 0x180018961
mov rcx, qword [rsp + 0xf0]
call fcn.18002aa70
cmp dword [rsp + 0x24], 0x65
jne 0x180018d67
cmp dword [rsp + 0x30], 0
jne 0x180018990
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.18001f9c0
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x30], 1
cmp dword [rsp + 0x24], 0
je 0x18001899e
cmp dword [rsp + 0x24], 0x65
jne 0x1800189c8
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x10]
inc eax
mov r8d, eax
mov edx, 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.18002a290
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018a0e
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x1800189ed
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax]
call fcn.18006aee0
cmp dword [rsp + 0x20], 5
jne 0x180018a0e
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.18002a340
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018d67
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jge 0x180018a84
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x28]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x64]
lea eax, [rax + rcx - 1]
cdq
idiv dword [rsp + 0x64]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
xor edx, edx
mov eax, dword [0x18014b5c8]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x60], eax
jne 0x180018a82
mov eax, dword [rsp + 0x60]
dec eax
mov dword [rsp + 0x60], eax
jmp 0x180018a9a
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jge 0x180018d19
movsxd rax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x30]
imul rax, rcx
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x40]
call fcn.18001c090
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call fcn.180018e60
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x68], eax
jmp 0x180018af3
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x24], 0
jne 0x180018b85
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x68], eax
ja 0x180018b85
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
xor edx, edx
mov eax, dword [0x18014b5c8]
mov rcx, qword [rsp + 0xc8]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x68], eax
je 0x180018b80
xor r9d, r9d
lea r8, [rsp + 0x98]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call fcn.180017740
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018b80
mov rcx, qword [rsp + 0x98]
call fcn.180018ea0
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x98]
call fcn.180017780
jmp 0x180018ae9
cmp dword [rsp + 0x24], 0
jne 0x180018ba2
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.18001a850
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x18014b5c8]
add ecx, eax
mov eax, ecx
cdqe
cmp rax, qword [rsp + 0x90]
jge 0x180018bd6
mov eax, dword [rsp + 0x2c]
mov ecx, dword [0x18014b5c8]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0xd0], rax
jmp 0x180018be6
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x28]
mov ecx, dword [0x18014b5c8]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x78], rax
jmp 0x180018c22
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x24], 0
jne 0x180018ce3
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x78], rax
jge 0x180018ce3
mov qword [rsp + 0xa0], 0
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x78]
cqo
mov rcx, qword [rsp + 0xd8]
idiv rcx
inc rax
mov dword [rsp + 0xa8], eax
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call fcn.180017740
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018cd1
mov rcx, qword [rsp + 0xa0]
call fcn.180017c40
mov qword [rsp + 0xb0], rax
mov r9, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call fcn.180018e10
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xa0]
call fcn.180017780
jmp 0x180018c0d
cmp dword [rsp + 0x24], 0
jne 0x180018d00
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.18002aa10
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018d17
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.18001a770
mov dword [rsp + 0x24], eax
jmp 0x180018d3a
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.180018e80
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.18001a850
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018d67
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180028930
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x180018d67
mov dword [rsp + 0x24], 0x65
cmp dword [rsp + 0x34], 0
je 0x180018d94
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180026b40
xor edx, edx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180028930
cmp dword [rsp + 0x24], 0xc0a
jne 0x180018da6
mov dword [rsp + 0x24], 7
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0xf0]
cmp qword [rax], 0
je 0x180018dd7
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x18]
call fcn.180008850
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x28]
call fcn.180017f80
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.180008850
mov eax, dword [rsp + 0x24]
add rsp, 0xe8
ret