Function at 0x140061db0
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 0x140061e00
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
cmp qword [rax + 8], rcx
jne 0x140061e00
mov dword [rsp + 0x14], 1
jmp 0x140061e08
mov dword [rsp + 0x14], 0
movzx eax, byte [rsp + 0x14]
mov byte [rsp + 8], al
movzx eax, byte [rsp + 8]
test eax, eax
je 0x140061e1f
jmp 0x140062042
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 0x140061e80
mov dword [rsp + 0x18], 0xffffffff
jmp 0x140061e88
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 0x140061f14
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 0x140062042
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
mov byte [rsp + 9], 0
movzx eax, byte [rsp + 9]
test eax, eax
je 0x140061f75
jmp 0x140061f5c
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
je 0x140061f73
mov rax, qword [rsp]
mov ecx, dword [rsp + 0xc]
mov dword [rax], ecx
jmp 0x140061f50
jmp 0x140061fdf
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 0x140061fb3
mov dword [rsp + 0x24], 0xffffffff
jmp 0x140061fbb
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0xa], al
movzx eax, byte [rsp + 0xa]
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 0x140062042
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