Function at 0x140001000
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x210
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x200], rax
xor ebp, ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
lea rcx, str.outlook.com
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov r8d, 0x100
mov qword [rsp + 0x20], rax
lea edx, [rbp + 1]
mov ebx, ebp
call qword [sym.imp.DNSAPI.dll_DnsQuery_W]
mov r14d, 0x1388
test eax, eax
je 0x1400010c3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001075
mov edx, 1
call qword [sym.imp.DNSAPI.dll_DnsFree]
cmp rbx, 3
je 0x140001111
mov ecx, 0x3e8
cmp rbx, 2
cmovae ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
mov edx, 1
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rcx, str.outlook.com
mov r8d, 0x100
inc rbx
call qword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
jne 0x140001060
mov qword [rsp + 0x220], rsi
mov esi, 2
mov qword [rsp + 0x228], rdi
mov word [rsp + 0x48], si
lea ecx, [rsi + 0x4e]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x30]
mov word [rsp + 0x4a], ax
xor eax, eax
mov qword [rsp + 0x50], rax
mov rax, rcx
test rcx, rcx
je 0x140001122
nop
cmp word [rax + 0x10], 1
je 0x14000111b
mov rax, qword [rax]
test rax, rax
jne 0x140001100
jmp 0x140001122
mov eax, 0xfffffffe
jmp 0x1400011cb
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x4c], eax
mov edx, 1
call qword [sym.imp.DNSAPI.dll_DnsFree]
mov ecx, 0x101
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 1
mov ecx, esi
mov rdi, rbp
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011b6
nop word [rax + rax]
mov r8d, 0x10
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
mov rcx, rbx
test eax, eax
je 0x1400011f8
call qword [sym.imp.WS2_32.dll_closesocket]
cmp rdi, 3
je 0x1400011f1
mov ecx, 0x3e8
cmp rdi, rsi
cmovae ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
mov ecx, esi
inc rdi
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001160
mov eax, 0xfffffffd
mov rsi, qword [rsp + 0x220]
mov rdi, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400012a0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov eax, 0xfffffffc
jmp 0x1400011bb
mov edx, esi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x38]
lea r9, [0x140017940]
mov qword [rsp + 0x20], rax
lea rcx, [0x140010380]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
test rcx, rcx
je 0x140001274
mov dword [rsp + 0x40], ebp
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rdx, str.Microsoft.OutlookForWindows_8wekyb3d8bbwe_Microsoft.OutlookforWindows
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
sar ebx, 0x1f
mov eax, ebx
jmp 0x1400011bb