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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x18000183f
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
je 0x18000186c
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jne 0x18000187e
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov rax, qword [rsp + 0x98]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x1800018e6
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0x10]
jae 0x1800018c4
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
jmp 0x180001a82
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
jne 0x180001908
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x50], 0
jne 0x180001a26
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
imul rax, rax, 0x10
mov ecx, eax
call fcn.180001fd0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x50], rcx
cmp qword [rsp + 0x48], 0
jne 0x180001988
mov ecx, 0xe
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov dword [rsp + 0x3c], 0
jmp 0x1800019c6
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x180001a01
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx]
mov word [rax + 8], cx
jmp 0x180001992
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea r9, [0x180002ec0]
mov r8d, 0x10
mov edx, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x50]
call sub.ntdll.dll_qsort
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea rcx, [0x180002f10]
mov qword [rsp + 0x20], rcx
mov r9d, 0x10
mov r8d, eax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x98]
call sub.ntdll.dll_bsearch
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x180001a75
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x38], eax
jbe 0x180001a9f
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x180001ac9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
shl ecx, 2
mov ecx, ecx
mov eax, dword [rax + rcx]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret