Function at 0x1400829d0
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 [0x14026fe68]
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 0x140082a8b
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082a83
xor r9d, r9d
lea rdx, str.C:uworkspace03_21cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2ba
lea rcx, [rbp - 0x20]
call fcn.1400bf370
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.140002560
mov rcx, rax
mov edx, edi
call fcn.140049d70
mov rcx, rax
lea rdx, [0x140202ab8]
call fcn.140002560
mov ebx, 1
test bl, 1
jmp 0x140082bdc
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 0x140082b02
mov r8, qword [rdx + 8]
test r8, r8
je 0x140082b02
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
movdqa xmm0, xmmword [0x140204350]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
call fcn.140025540
cmp qword [rbp + 0xf8], 8
lea rcx, [rbp + 0xe0]
cmovae rcx, qword [rbp + 0xe0]
jmp 0x140082b20
movdqa xmm0, xmmword [0x140204350]
lea rcx, [rbp + 0xe0]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [0x140203a10]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov rdx, qword [rbp + 0xf8]
mov edi, eax
cmp rdx, 8
jb 0x140082b7f
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082b7a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082eed
call fcn.14014f3b8
test edi, edi
je 0x140082bee
call qword [sym.imp.WS2_32.dll_WSACleanup]
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082bd9
xor r9d, r9d
lea rdx, str.C:uworkspace03_21cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2c6
lea rcx, [rbp - 0x20]
call fcn.1400bf370
lea rdx, str.Host_resoultion_failed_with
lea rcx, [rax + 8]
call fcn.140002560
mov rcx, rax
mov edx, edi
call fcn.140049d70
mov rcx, rax
lea rdx, [0x140202ab8]
call fcn.140002560
mov ebx, 2
test bl, 2
je 0x140082be7
lea rcx, [rbp - 0x20]
call fcn.1400bf6d0
xor al, al
jmp 0x140082eca
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x460], r12
mov qword [rsp + 0x418], r14
mov qword [rsp + 0x410], r15
test rdi, rdi
je 0x140082e9f
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 0x140082da1
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082d7e
xor r9d, r9d
lea rdx, str.C:uworkspace03_21cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2d0
lea rcx, [rbp - 0x20]
or ebx, 4
call fcn.1400bf370
lea rdx, str.WSAAddressToString_failed_with
lea rcx, [rax + 8]
call fcn.140002560
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r14, rax
mov r15d, esi
call fcn.140006d90
cmp byte [rsp + 0x58], 0
je 0x140082d37
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.140004b90
mov r12, rax
test rsi, rsi
je 0x140082cde
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
test rax, rax
je 0x140082cde
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 0x140082ef3
lea rcx, [rsp + 0x50]
call fcn.140008620
lea rdx, [0x140202ab8]
mov rcx, r14
call fcn.140002560
test bl, 4
je 0x140082d8f
and ebx, 0xfffffffb
lea rcx, [rbp - 0x20]
call fcn.1400bf6d0
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140082c14
jmp 0x140082e9f
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 0x140082dd0
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0xe0]
call fcn.140025540
mov rdx, qword [rbp + 0xf0]
mov r8, qword [r13 + 8]
test rdx, rdx
jne 0x140082e0d
test r8, r8
je 0x140082e5d
mov rcx, r8
call sub.libcef.dll_cef_string_utf16_clear
jmp 0x140082e5d
test r8, r8
jne 0x140082e3b
lea ecx, [r8 + 0x18]
call fcn.14014f37c
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 0x140082e9f
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e9a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082ee7
call fcn.14014f3b8
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.14014f460
add rsp, 0x420
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14018d87c
int3
call fcn.14018d87c
int3
test al, 4
je 0x140082f00
lea rbx, str.ios_base::badbit_set
jmp 0x140082f14
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.140015820
mov r8, rax
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.140006c40
mov rcx, rax
call fcn.140012c80
int3