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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14008852c
jle 0x140088528
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140088541
jle 0x14008853d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140088554
jle 0x140088551
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140088569
jle 0x140088565
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
lea rcx, [rbx + 0xf8]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
cmp rcx, rdi
je 0x140088593
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x14008858a
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.14007f890
mov byte [rbx + 0x1c], sil
cmp qword [rdi + 0x18], 7
jbe 0x1400885a1
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov edx, 0x120089
mov r8d, 7
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x1400885e5
test rcx, rcx
jle 0x1400885df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rcx, rdi
test rcx, rcx
jle 0x1400886fb
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], esi
mov r8d, 0x1000002
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rbx + 8]
mov rdi, rax
cmp rax, rcx
je 0x140088626
test rcx, rcx
jle 0x14008861f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rdi
mov rcx, rdi
xor r9d, r9d
test rcx, rcx
jle 0x14008864f
xor r8d, r8d
mov byte [rbx + 0x18], sil
mov edx, 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
lea rax, [rsp + 0x40]
jmp 0x1400886ae
mov rcx, qword [rbx]
xor edx, edx
mov qword [rsp + 0x28], rsi
mov r8d, 2
mov dword [rsp + 0x20], esi
mov byte [rbx + 0x18], 1
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rbx + 8]
mov rdi, rax
cmp rax, rcx
je 0x14008868b
test rcx, rcx
jle 0x140088684
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rdi
mov rcx, rdi
test rcx, rcx
jle 0x1400886dd
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov edx, 4
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
lea rax, [rsp + 0x48]
lea rsi, [rbx + 0x10]
cmp rax, rsi
je 0x1400886cf
mov rcx, qword [rsi]
cmp rdi, rcx
je 0x1400886dd
test rcx, rcx
jle 0x1400886ca
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rsi], rdi
jmp 0x1400886dd
test rdi, rdi
jle 0x1400886dd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp qword [rbx + 0x10], 0
je 0x1400886fb
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp 0x140088800
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, dword [rax + 0x1250]
add rsp, 0x50
pop rdi
ret
push rbx
sub rsp, 0x60
mov rax, qword [0x140229680]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r10, qword [rcx + 0x10]
mov rbx, rcx
test r10, r10
jne 0x140088839
mov eax, 0xc0000141
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f3120
add rsp, 0x60
pop rbx
ret
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x140088b31
movsxd rcx, dword [r10 + 0x3c]
add rcx, r10
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x140088b31
mov eax, 0x20b
mov qword [rsp + 0x78], rbp
mov r9, rcx
mov qword [rsp + 0x88], rdi
cmp word [rcx + 0x18], ax
jne 0x140088892
mov byte [rbx + 0x19], 1
lea rdi, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
mov r8b, 1
jmp 0x1400888a3
mov byte [rbx + 0x19], 0
lea rdi, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
xor r8b, r8b
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 [r9 + 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 r8b, r8b
je 0x1400888ec
add rcx, 0xf8
jmp 0x1400888f3
add rcx, 0xe8
mov eax, dword [rcx]
xor ebp, ebp
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
test eax, eax
je 0x140088aa0
mov r8d, eax
cmp byte [rbx + 0x18], bpl
je 0x140088955
mov rcx, qword [rbx + 0x60]
mov r9, qword [rbx + 0x68]
cmp rcx, r9
je 0x140088942
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x140088939
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x140088947
add rcx, 0x28
cmp rcx, r9
jne 0x140088927
mov rax, rbp
jmp 0x140088958
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, r10
add rax, r8
jmp 0x140088958
add rax, r10
test rax, rax
je 0x140088aa0
test byte [rax + 0x10], 1
je 0x140088aa0
sub eax, dword [rbx + 0x10]
lea rsi, [rbx + 0x138]
add eax, 0x10
mov byte [rbx + 0x1b], 1
lea rdx, [rbx + 0xf8]
mov dword [rbx + 0x58], eax
cmp rsi, rdx
je 0x1400889a1
cmp qword [rdx + 0x18], 7
mov r8, qword [rdx + 0x10]
jbe 0x140088999
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.14007f890
cmp qword [rsi + 0x30], rbp
lea r14, [rsi + 0x30]
jne 0x1400889e4
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140088aa4
lea r9, [0x1401fb480]
mov qword [rsp + 0x20], r14
xor edx, edx
lea rcx, [0x1401485d0]
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140088aa4
cmp qword [rsi + 0x38], rbp
lea r15, [rsi + 0x38]
jne 0x140088a74
cmp qword [rsi + 0x18], 7
mov rdx, rsi
mov rcx, qword [r14]
mov rax, qword [rcx]
jbe 0x140088a05
mov rdx, qword [rsi]
lea r9, [0x140148588]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp eax, 0x80131110
jne 0x140088a70
mov rcx, qword [rsi + 0x30]
lea r8, [rsp + 0x30]
mov eax, reloc.WS2_32.dll_send
mov dword [rsp + 0x38], 4
mov word [rsp + 0x30], ax
lea rdx, [0x1401fb430]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
test eax, eax
js 0x140088aa4
cmp qword [rsi + 0x18], 7
mov rdx, rsi
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
jbe 0x140088a5e
mov rdx, qword [rsi]
lea r9, [0x140148588]
mov qword [rsp + 0x20], r15
xor r8d, r8d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x140088aa4
cmp qword [rsi + 0x40], rbp
lea r8, [rsi + 0x40]
jne 0x140088a92
mov rcx, qword [rsi + 0x38]
lea rdx, [0x1401fb490]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140088aa4
lea rcx, [rbx + 0x138]
call fcn.140096530
jmp 0x140088aa4
mov byte [rbx + 0x1b], bpl
mov rax, qword [rbx + 0x20]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp bp, word [rax + 6]
jae 0x140088b07
nop dword [rax + rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x140088ae9
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 0x140088af5
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.140088c60
mov rax, qword [rbx + 0x20]
inc ebp
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp ebp, ecx
jl 0x140088ac0
mov rdi, qword [rsp + 0x88]
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f3120
add rsp, 0x60
pop rbx
ret
mov eax, 0xc000007b
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f3120
add rsp, 0x60
pop rbx
ret