Function at 0x14006c690
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14006c6c9
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x14006c6c9
test rcx, rcx
jle 0x14006c6c5
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rdi
mov rdx, qword [rbx + 0x10]
test rdx, rdx
jne 0x14006c6dc
mov eax, 0xc0000141
jmp 0x14006c9b0
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14006c9ab
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x14006c9ab
mov eax, 0x20b
mov qword [rsp + 0x90], rsi
mov r10, rcx
cmp word [rcx + 0x18], ax
jne 0x14006c72f
mov byte [rbx + 0x19], 1
lea rdi, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
mov r9b, 1
jmp 0x14006c740
mov byte [rbx + 0x19], 0
lea rdi, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
xor r9b, r9b
mov qword [rbx + 0x30], rax
mov eax, dword [rcx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rcx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rcx + 0x28]
mov dword [rbx + 0x3c], eax
mov eax, 0x5e
movzx r11d, word [rcx + 0x5c]
mov dword [rbx + 0x54], r11d
movzx eax, word [r10 + rax]
mov dword [rbx + 0x5c], eax
movzx eax, word [rcx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rbx + 0x1a], al
test r9b, r9b
je 0x14006c789
add rcx, 0xf8
jmp 0x14006c790
add rcx, 0xe8
mov eax, dword [rcx]
xor esi, esi
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x60], r15
test eax, eax
je 0x14006c92e
mov r8d, eax
cmp byte [rbx + 0x18], sil
je 0x14006c7f6
mov rcx, qword [rbx + 0x60]
mov r9, qword [rbx + 0x68]
cmp rcx, r9
je 0x14006c7e2
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x14006c7d9
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x14006c7e7
add rcx, 0x28
cmp rcx, r9
jne 0x14006c7c7
mov rax, rsi
jmp 0x14006c7f9
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, r8
add rax, qword [rbx + 0x10]
jmp 0x14006c7f9
add rax, rdx
test rax, rax
je 0x14006c92e
test byte [rax + 0x10], 1
je 0x14006c92e
sub eax, dword [rbx + 0x10]
lea r14, [rbx + 0x138]
add eax, 0x10
mov byte [rbx + 0x1b], 1
lea rdx, [rbx + 0xf8]
mov dword [rbx + 0x58], eax
mov rcx, r14
call fcn.140063ab0
cmp qword [r14 + 0x30], rsi
lea r15, [r14 + 0x30]
jne 0x14006c872
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14006c932
lea r9, [0x140183630]
mov qword [rsp + 0x20], r15
xor edx, edx
lea rcx, [0x140183610]
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14006c932
cmp qword [r14 + 0x38], rsi
lea rbp, [r14 + 0x38]
jne 0x14006c902
cmp qword [r14 + 0x18], 7
mov rdx, r14
mov rcx, qword [r15]
mov rax, qword [rcx]
jbe 0x14006c893
mov rdx, qword [r14]
lea r9, [0x140183600]
mov qword [rsp + 0x20], rbp
xor r8d, r8d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp eax, 0x80131110
jne 0x14006c8fe
mov rcx, qword [r14 + 0x30]
lea r8, [rsp + 0x38]
mov eax, reloc.WS2_32.dll_send
mov dword [rsp + 0x40], 4
mov word [rsp + 0x38], ax
lea rdx, [0x140183620]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
js 0x14006c932
cmp qword [r14 + 0x18], 7
mov rdx, r14
mov rcx, qword [r14 + 0x30]
mov rax, qword [rcx]
jbe 0x14006c8ec
mov rdx, qword [r14]
lea r9, [0x140183600]
mov qword [rsp + 0x20], rbp
xor r8d, r8d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14006c932
cmp qword [r14 + 0x40], rsi
lea r8, [r14 + 0x40]
jne 0x14006c920
mov rcx, qword [r14 + 0x38]
lea rdx, [0x140183640]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14006c932
lea rcx, [rbx + 0x138]
call fcn.14008e420
jmp 0x14006c932
mov byte [rbx + 0x1b], sil
mov rax, qword [rbx + 0x20]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x98]
cmp si, word [rax + 6]
jae 0x14006c997
nop dword [rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x14006c979
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rdi + 0x20]
movsd qword [rdx + 0x20], xmm0
add qword [rbx + 0x68], 0x28
jmp 0x14006c985
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.14006dd20
mov rax, qword [rbx + 0x20]
inc esi
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x14006c950
mov rsi, qword [rsp + 0x90]
xor eax, eax
mov rbp, qword [rsp + 0x88]
jmp 0x14006c9b0
mov eax, 0xc000007b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f79b0
add rsp, 0x68
pop rdi
pop rbx
ret