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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x88], 5
jle 0x18001dccf
mov dword [rsp + 0x3c], 1
cmp dword [rsp + 0x88], 0x64
jle 0x18001dc96
mov eax, 0xf
jmp 0x18001e07a
cmp dword [rsp + 0x88], 0xa
jl 0x18001dcbe
mov eax, dword [rsp + 0x88]
sub eax, 9
mov ecx, dword [rsp + 0x88]
sub ecx, 9
imul eax, ecx
imul eax, eax, 0x27
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.18001e090
cmp dword [rsp + 0x80], 0
jne 0x18001dd92
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x46]
test eax, eax
jne 0x18001dcfd
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.18001e110
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jne 0x18001dd5f
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
cmp qword [rax], 0
jne 0x18001dd1d
mov dword [rsp + 0x20], 0xffffffff
jmp 0x18001dd5f
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.18001e0c0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001dd50
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.18001da20
mov dword [rsp + 0x20], 0xffffffff
jmp 0x18001dd5f
cmp dword [rsp + 0x20], 5
jne 0x18001dd5f
mov dword [rsp + 0x20], 0x105
cmp dword [rsp + 0x20], 0
je 0x18001dd71
mov eax, dword [rsp + 0x20]
jmp 0x18001e07a
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x46]
test eax, eax
je 0x18001dd92
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.18001ef10
jmp 0x18001e07a
mov rcx, qword [rsp + 0x70]
call fcn.18001da00
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x80], 0
jne 0x18001de57
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x58]
jne 0x18001de57
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.18001e0c0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
call fcn.18001d090
cmp dword [rsp + 0x20], 0
jne 0x18001de47
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x70]
call fcn.18001cb70
mov r8d, 0x30
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x18001de33
mov edx, 3
mov rcx, qword [rsp + 0x70]
call fcn.18001da20
mov eax, 0xffffffff
jmp 0x18001e07a
mov rax, qword [rsp + 0x70]
mov word [rax + 0x3c], 0
xor eax, eax
jmp 0x18001e07a
cmp dword [rsp + 0x20], 5
je 0x18001de57
mov eax, dword [rsp + 0x20]
jmp 0x18001e07a
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 1
jmp 0x18001de87
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x18001dec6
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x38], eax
ja 0x18001dec4
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x40], eax
ja 0x18001dec4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
jmp 0x18001de7d
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x42]
and eax, 2
test eax, eax
jne 0x18001df82
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jb 0x18001deef
cmp dword [rsp + 0x2c], 0
jne 0x18001df82
mov dword [rsp + 0x24], 1
jmp 0x18001df03
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x18001df82
mov eax, dword [rsp + 0x24]
add eax, 3
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.18001dab0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18001df6d
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4 + 4], edx
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
add eax, 3
mov r8d, 1
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.18001db10
jmp 0x18001df82
cmp dword [rsp + 0x20], 5
je 0x18001df7d
mov eax, dword [rsp + 0x20]
jmp 0x18001e07a
jmp 0x18001def9
cmp dword [rsp + 0x2c], 0
jne 0x18001dfab
cmp dword [rsp + 0x20], 5
jne 0x18001df9a
mov dword [rsp + 0x50], 0xffffffff
jmp 0x18001dfa2
mov dword [rsp + 0x50], 0x508
mov eax, dword [rsp + 0x50]
jmp 0x18001e07a
mov eax, dword [rsp + 0x2c]
add eax, 3
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.18001e0c0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x18001dfeb
cmp dword [rsp + 0x20], 5
jne 0x18001dfda
mov dword [rsp + 0x54], 0xffffffff
jmp 0x18001dfe2
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
jmp 0x18001e07a
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x78], eax
mov rcx, qword [rsp + 0x70]
call fcn.18001d090
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4 + 4]
cmp eax, dword [rsp + 0x38]
jne 0x18001e04c
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.18001cb70
mov r8d, 0x30
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x18001e068
mov eax, dword [rsp + 0x2c]
add eax, 3
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.18001da20
mov eax, 0xffffffff
jmp 0x18001e07a
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x2c]
mov word [rax + 0x3c], cx
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret