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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x90]
mov dword [rax], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xa
ja case.0x18001dddd.3
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x1e19c]
add rax, rcx
jmp rax
mov r9d, dword [rsp + 0x98]
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001de2d
mov edx, dword [rsp + 0x24]
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax]
call fcn.180019440
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
cmp dword [rsp + 0x20], 0
jne 0x18001de53
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne case.0x18001dddd.7
jmp 0x18001e191
mov dword [rsp + 0x3c], 0
mov r9d, dword [rsp + 0x98]
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001def5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x18001def5
mov r9d, dword [rsp + 0x98]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001def3
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x24], eax
je 0x18001def3
mov dword [rsp + 0x3c], 1
jmp 0x18001de8a
cmp dword [rsp + 0x20], 0
jne 0x18001df2f
cmp dword [rsp + 0x3c], 0
je 0x18001df21
cmp dword [rsp + 0x98], 1
jne 0x18001df17
mov dword [rsp + 0x20], 0xfffffffe
jmp 0x18001df1f
mov dword [rsp + 0x20], 0xffffffff
jmp 0x18001df2f
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
jmp 0x18001e191
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x40], rax
jae 0x18001dfad
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
call qword [0x180140010]
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
jmp 0x18001df4f
jmp 0x18001e191
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
cmp dword [rax + 0x10], ecx
jne 0x18001e01c
mov r9d, dword [rsp + 0x98]
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 8]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001e01a
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x10]
mov ecx, dword [rsp + 0x24]
call fcn.180019490
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
jmp 0x18001e024
mov dword [rsp + 0x20], 0xffffffff
jmp 0x18001e191
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
and eax, 0x80
test eax, eax
jne 0x18001e06c
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
jmp 0x18001e074
mov dword [rsp + 0x20], 0xffffffff
jmp 0x18001e191
mov rax, qword [rsp + 0x90]
mov dword [rax], 1
jmp 0x18001e191
mov rax, qword [rsp + 0x90]
mov dword [rax], 1
jmp 0x18001e191
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 1
je 0x18001e0da
cmp dword [rsp + 0x28], 2
je 0x18001e15b
cmp dword [rsp + 0x28], 4
je 0x18001e15b
jmp 0x18001e185
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
and eax, 4
test eax, eax
je 0x18001e0fd
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x2c]
mov dword [rax], ecx
jmp 0x18001e159
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001e159
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
or eax, 4
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
jmp 0x18001e185
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
call fcn.18001dd70
mov dword [rsp + 0x20], eax
jmp 0x18001e191
jmp 0x18001e191
mov dword [rsp + 0x20], 0xffffffff
mov eax, dword [rsp + 0x20]
add rsp, 0x78
ret