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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x180016142
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jle 0x180016207
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0xc0], rax
jle 0x180016207
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x180016213
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xe0]
call fcn.1800343d0
movzx eax, byte [rsp + 0xe8]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x18001625a
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x1800164ef
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
and eax, 0x1c0
cmp eax, 0x40
je 0x180016358
jmp 0x18001629a
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x180016358
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x98], rax
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
movzx eax, byte [rcx + rax + 0x58]
mov byte [rsp + 0x20], al
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
call fcn.18007d630
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], 0xffffffff
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
jne 0x180016335
mov dword [rsp + 0x38], 1
jmp 0x18001633d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x180016353
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x180016358
jmp 0x18001628d
cmp dword [rsp + 0x24], 0
jne 0x1800163cc
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x78]
call qword [rsp + reloc.WLDAP32.dll_Ordinal_208]
cmp rax, qword [rsp + 0x48]
je 0x1800163cc
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1800164a4
jmp 0x1800163e6
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x1800164a4
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
movzx eax, byte [rcx + rax + 0x58]
mov byte [rsp + 0x21], al
movzx edx, byte [rsp + 0x21]
mov rcx, qword [rsp + 0xa0]
call fcn.18007d630
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], 0xffffffff
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x68], eax
jne 0x180016481
mov dword [rsp + 0x3c], 1
jmp 0x180016489
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x18001649f
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x1800164a4
jmp 0x1800163d9
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xa8]
mov qword [rax + 0x28], 0
jmp 0x1800164ef
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x2a], 0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x48], 0
je 0x180016541
mov dword [rsp + 0x44], 0
jmp 0x180016549
mov dword [rsp + 0x44], 4
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x70]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x44]
movzx r8d, byte [rsp + 0x2a]
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.180062fe0
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xe0]
call fcn.180035910
mov rax, qword [rsp + 0xd8]
add rsp, 0x118
ret