Function at 0x140089c20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x140278ec8]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor esi, esi
mov r13, rdx
mov rdi, rcx
lea rdx, [rbp + 0x100]
mov ebx, esi
mov ecx, 0x202
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x2e
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140089cdb
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140089cd3
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2ba
lea rcx, [rbp - 0x20]
call fcn.1400c7000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Couldnt_initialize_socket_library.Error_Code:
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050530
mov rcx, rax
lea rdx, [0x14020ab28]
call fcn.1400025c0
mov ebx, 1
test bl, 1
jmp 0x140089e2c
mov rdx, qword [rdi + 8]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
xorps xmm1, xmm1
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 6
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
test rdx, rdx
je 0x140089d52
mov r8, qword [rdx + 8]
test r8, r8
je 0x140089d52
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
movdqa xmm0, xmmword [0x14020c440]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
call fcn.1400258a0
cmp qword [rbp + 0xf8], 8
lea rcx, [rbp + 0xe0]
cmovae rcx, qword [rbp + 0xe0]
jmp 0x140089d70
movdqa xmm0, xmmword [0x14020c440]
lea rcx, [rbp + 0xe0]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [0x14020baac]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov rdx, qword [rbp + 0xf8]
mov edi, eax
cmp rdx, 8
jb 0x140089dcf
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089dca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008a13d
call fcn.140157a40
test edi, edi
je 0x140089e3e
call qword [sym.imp.WS2_32.dll_WSACleanup]
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140089e29
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2c6
lea rcx, [rbp - 0x20]
call fcn.1400c7000
lea rdx, str.Host_resoultion_failed_with
lea rcx, [rax + 8]
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050530
mov rcx, rax
lea rdx, [0x14020ab28]
call fcn.1400025c0
mov ebx, 2
test bl, 2
je 0x140089e37
lea rcx, [rbp - 0x20]
call fcn.1400c7360
xor al, al
jmp 0x14008a11a
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x460], r12
mov qword [rsp + 0x418], r14
mov qword [rsp + 0x410], r15
test rdi, rdi
je 0x14008a0ef
mov edx, dword [rdi + 0x10]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi + 0x20]
lea r9, [rbp + 0x2a0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAAddressToStringW]
test eax, eax
je 0x140089ff1
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140089fce
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2d0
lea rcx, [rbp - 0x20]
or ebx, 4
call fcn.1400c7000
lea rdx, str.WSAAddressToString_failed_with
lea rcx, [rax + 8]
call fcn.1400025c0
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r14, rax
mov r15d, esi
call fcn.140006e10
cmp byte [rsp + 0x58], 0
je 0x140089f87
mov rcx, qword [r14]
movsxd rdx, dword [rcx + 4]
mov rcx, qword [rdx + r14 + 0x40]
mov rsi, qword [rcx + 8]
mov rcx, rsi
mov qword [rbp - 0x68], rsi
mov rdx, qword [rsi]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x70]
call fcn.140004bf0
mov r12, rax
test rsi, rsi
je 0x140089f2e
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
test rax, rax
je 0x140089f2e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [r14]
lea r8, [rbp - 0x60]
mov r10, qword [r12]
lea rdx, [rbp - 0x50]
mov byte [rsp + 0x40], 0
mov rcx, r12
movsxd r9, dword [rax + 4]
add r9, r14
mov rax, qword [r9 + 0x48]
mov qword [rsp + 0x48], rax
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
movaps xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x28], rax
movzx eax, byte [r9 + 0x58]
mov byte [rsp + 0x20], al
movdqa xmmword [rbp - 0x60], xmm0
call qword [r10 + SafeArrayPutElement]
cmp byte [rbp - 0x50], 0
mov eax, 4
cmovne r15d, eax
xor esi, esi
mov rax, qword [r14]
movsxd rdx, dword [rax + 4]
add rdx, r14
mov eax, dword [rdx + 0x10]
or eax, r15d
mov ecx, eax
or ecx, 4
cmp qword [rdx + 0x48], 0
cmovne ecx, eax
mov eax, dword [rdx + 0x14]
and ecx, 0x17
mov dword [rdx + 0x10], ecx
and eax, ecx
jne 0x14008a143
lea rcx, [rsp + 0x50]
call fcn.1400086e0
lea rdx, [0x14020ab28]
mov rcx, r14
call fcn.1400025c0
test bl, 4
je 0x140089fdf
and ebx, 0xfffffffb
lea rcx, [rbp - 0x20]
call fcn.1400c7360
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140089e64
jmp 0x14008a0ef
mov qword [rbp + 0xf0], rsi
lea rax, [rbp + 0x2a0]
mov qword [rbp + 0xf8], 7
mov r8, 0xffffffffffffffff
mov word [rbp + 0xe0], si
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008a020
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0xe0]
call fcn.1400258a0
mov rdx, qword [rbp + 0xf0]
mov r8, qword [r13 + 8]
test rdx, rdx
jne 0x14008a05d
test r8, r8
je 0x14008a0ad
mov rcx, r8
call sub.libcef.dll_cef_string_utf16_clear
jmp 0x14008a0ad
test r8, r8
jne 0x14008a08b
lea ecx, [r8 + 0x18]
call fcn.140157a04
mov qword [r13 + 8], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov r8, qword [r13 + 8]
mov rdx, qword [rbp + 0xf0]
mov byte [r13 + 0x10], 1
cmp qword [rbp + 0xf8], 8
lea rcx, [rbp + 0xe0]
mov r9d, 1
cmovae rcx, qword [rbp + 0xe0]
call sub.libcef.dll_cef_string_utf16_set
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x14008a0ef
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a0ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008a137
call fcn.140157a40
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov r14, qword [rsp + 0x418]
mov al, 1
mov r12, qword [rsp + 0x460]
mov r15, qword [rsp + 0x410]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140157ae0
add rsp, 0x420
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140195efc
int3
call fcn.140195efc
int3
test al, 4
je 0x14008a150
lea rbx, str.ios_base::badbit_set
jmp 0x14008a164
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0xe0]
call fcn.140015b80
mov r8, rax
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.140006cc0
mov rcx, rax
call fcn.140012fe0
int3