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

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x140027730
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
cmp qword [rax + 8], rcx
jne 0x140027730
mov dword [rsp + 0x14], 1
jmp 0x140027738
mov dword [rsp + 0x14], 0
movzx eax, byte [rsp + 0x14]
test eax, eax
je 0x140027746
jmp 0x140027961
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov ecx, 0xffffffff
mov dword [rsp + 0x38], ecx
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
not eax
mov dword [rsp + 0x20], eax
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1400277a7
mov dword [rsp + 0x18], 0xffffffff
jmp 0x1400277af
mov dword [rsp + 0x18], 0
mov eax, dword [rsp + 0x18]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jne 0x14002783b
mov rax, qword [rsp + 0x88]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
sub rcx, qword [rax + 8]
mov rax, rcx
mov ecx, 0xffffffff
mov dword [rsp + 0x3c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shr eax, cl
mov dword [rsp + 0x1c], eax
mov eax, dword [rsp + 0x1c]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1c]
mov ecx, dword [rsp + 0x10]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rax]
and eax, ecx
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0xc]
and edx, ecx
mov ecx, edx
or eax, ecx
mov rcx, qword [rsp]
mov dword [rcx], eax
jmp 0x140027961
mov rax, qword [rsp]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax]
and eax, ecx
mov ecx, dword [rsp + 0x10]
mov edx, dword [rsp + 0xc]
and edx, ecx
mov ecx, edx
or eax, ecx
mov rcx, qword [rsp]
mov dword [rcx], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
xor eax, eax
test eax, eax
je 0x140027894
jmp 0x14002787b
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
je 0x140027892
mov rax, qword [rsp]
mov ecx, dword [rsp + 0xc]
mov dword [rax], ecx
jmp 0x14002786f
jmp 0x1400278fe
mov rax, qword [rsp]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1400278d2
mov dword [rsp + 0x24], 0xffffffff
jmp 0x1400278da
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 8], al
movzx eax, byte [rsp + 8]
cdqe
mov rdi, qword [rsp]
mov rcx, qword [rsp + 0x68]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x140027961
mov rax, qword [rsp + 0x88]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
sub rcx, qword [rax + 8]
mov rax, rcx
mov ecx, 0xffffffff
mov dword [rsp + 0x4c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shr eax, cl
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
not eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp]
mov ecx, dword [rsp + 0x50]
mov eax, dword [rax]
and eax, ecx
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0xc]
and edx, ecx
mov ecx, edx
or eax, ecx
mov rcx, qword [rsp]
mov dword [rcx], eax
add rsp, 0x70
pop rdi
ret