Function at 0x14004c2d0
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 0x14004c320
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
cmp qword [rax + 8], rcx
jne 0x14004c320
mov dword [rsp + 0x18], 1
jmp 0x14004c328
mov dword [rsp + 0x18], 0
movzx eax, byte [rsp + 0x18]
mov byte [rsp], al
movzx eax, byte [rsp]
movzx eax, al
test eax, eax
je 0x14004c340
jmp 0x14004c53b
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov ecx, 0xffffffff
mov dword [rsp + 0x30], ecx
movzx ecx, al
mov eax, dword [rsp + 0x30]
shl eax, cl
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
not eax
mov dword [rsp + 0x24], eax
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x14004c3a2
mov dword [rsp + 0x1c], 0xffffffff
jmp 0x14004c3aa
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 0x14], eax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 8], rax
jne 0x14004c439
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 + 0x34], ecx
movzx ecx, al
mov eax, dword [rsp + 0x34]
shr eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
not eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x10]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax]
and eax, ecx
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x14]
and edx, ecx
mov ecx, edx
or eax, ecx
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
jmp 0x14004c53b
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax]
and eax, ecx
mov ecx, dword [rsp + 0x10]
mov edx, dword [rsp + 0x14]
and edx, ecx
mov ecx, edx
or eax, ecx
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
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 0x14004c4a8
mov dword [rsp + 0x28], 0xffffffff
jmp 0x14004c4b0
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cdqe
mov rdi, qword [rsp + 8]
mov rcx, qword [rsp + 0x68]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 8], 0
je 0x14004c53b
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 + 0x44], ecx
movzx ecx, al
mov eax, dword [rsp + 0x44]
shr eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
not eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 8]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax]
and eax, ecx
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x14]
and edx, ecx
mov ecx, edx
or eax, ecx
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
add rsp, 0x70
pop rdi
ret