Function at 0x140082900
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 [0x14026de28]
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 0x1400829bb
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x1400829b3
xor r9d, r9d
lea rdx, str.C:uworkspace03_20cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2ba
lea rcx, [rbp - 0x20]
call fcn.1400be000
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.140002500
mov rcx, rax
mov edx, edi
call fcn.140049cc0
mov rcx, rax
lea rdx, [0x140200a88]
call fcn.140002500
mov ebx, 1
test bl, 1
jmp 0x140082b0c
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 0x140082a32
mov r8, qword [rdx + 8]
test r8, r8
je 0x140082a32
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
movdqa xmm0, xmmword [0x1402022e0]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
call fcn.140025490
cmp qword [rbp + 0xf8], 8
lea rcx, [rbp + 0xe0]
cmovae rcx, qword [rbp + 0xe0]
jmp 0x140082a50
movdqa xmm0, xmmword [0x1402022e0]
lea rcx, [rbp + 0xe0]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], si
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [0x1402019a0]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov rdx, qword [rbp + 0xf8]
mov edi, eax
cmp rdx, 8
jb 0x140082aaf
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082aaa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082e1d
call fcn.14014e088
test edi, edi
je 0x140082b1e
call qword [sym.imp.WS2_32.dll_WSACleanup]
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082b09
xor r9d, r9d
lea rdx, str.C:uworkspace03_20cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2c6
lea rcx, [rbp - 0x20]
call fcn.1400be000
lea rdx, str.Host_resoultion_failed_with
lea rcx, [rax + 8]
call fcn.140002500
mov rcx, rax
mov edx, edi
call fcn.140049cc0
mov rcx, rax
lea rdx, [0x140200a88]
call fcn.140002500
mov ebx, 2
test bl, 2
je 0x140082b17
lea rcx, [rbp - 0x20]
call fcn.1400be360
xor al, al
jmp 0x140082dfa
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x460], r12
mov qword [rsp + 0x418], r14
mov qword [rsp + 0x410], r15
test rdi, rdi
je 0x140082dcf
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 0x140082cd1
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082cae
xor r9d, r9d
lea rdx, str.C:uworkspace03_20cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2d0
lea rcx, [rbp - 0x20]
or ebx, 4
call fcn.1400be000
lea rdx, str.WSAAddressToString_failed_with
lea rcx, [rax + 8]
call fcn.140002500
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r14, rax
mov r15d, esi
call fcn.140006d30
cmp byte [rsp + 0x58], 0
je 0x140082c67
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.140004b30
mov r12, rax
test rsi, rsi
je 0x140082c0e
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
test rax, rax
je 0x140082c0e
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 0x140082e23
lea rcx, [rsp + 0x50]
call fcn.1400085c0
lea rdx, [0x140200a88]
mov rcx, r14
call fcn.140002500
test bl, 4
je 0x140082cbf
and ebx, 0xfffffffb
lea rcx, [rbp - 0x20]
call fcn.1400be360
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140082b44
jmp 0x140082dcf
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 0x140082d00
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0xe0]
call fcn.140025490
mov rdx, qword [rbp + 0xf0]
mov r8, qword [r13 + 8]
test rdx, rdx
jne 0x140082d3d
test r8, r8
je 0x140082d8d
mov rcx, r8
call sub.libcef.dll_cef_string_utf16_clear
jmp 0x140082d8d
test r8, r8
jne 0x140082d6b
lea ecx, [r8 + 0x18]
call fcn.14014e04c
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 0x140082dcf
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082dca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082e17
call fcn.14014e088
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.14014e130
add rsp, 0x420
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14018c54c
int3
call fcn.14018c54c
int3
test al, 4
je 0x140082e30
lea rbx, str.ios_base::badbit_set
jmp 0x140082e44
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.1400157c0
mov r8, rax
lea rcx, [rbp - 0x40]
mov rdx, rbx
call fcn.140006be0
mov rcx, rax
call fcn.140012c20
int3