Function at 0x140089c40
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 0x140089cfb
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140089cf3
xor r9d, r9d
lea rdx, str.D:uworkspace03_28cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2ba
lea rcx, [rbp - 0x20]
call fcn.1400c74b0
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.140050550
mov rcx, rax
lea rdx, [0x14020ab28]
call fcn.1400025c0
mov ebx, 1
test bl, 1
jmp 0x140089e4c
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 0x140089d72
mov r8, qword [rdx + 8]
test r8, r8
je 0x140089d72
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 0x140089d90
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 0x140089def
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089dea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008a15d
call fcn.140157ef0
test edi, edi
je 0x140089e5e
call qword [sym.imp.WS2_32.dll_WSACleanup]
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140089e49
xor r9d, r9d
lea rdx, str.D:uworkspace03_28cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2c6
lea rcx, [rbp - 0x20]
call fcn.1400c74b0
lea rdx, str.Host_resoultion_failed_with
lea rcx, [rax + 8]
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050550
mov rcx, rax
lea rdx, [0x14020ab28]
call fcn.1400025c0
mov ebx, 2
test bl, 2
je 0x140089e57
lea rcx, [rbp - 0x20]
call fcn.1400c7810
xor al, al
jmp 0x14008a13a
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x460], r12
mov qword [rsp + 0x418], r14
mov qword [rsp + 0x410], r15
test rdi, rdi
je 0x14008a10f
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 0x14008a011
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140089fee
xor r9d, r9d
lea rdx, str.D:uworkspace03_28cefwinauto_srcquery_handler_win.cc
mov r8d, 0x2d0
lea rcx, [rbp - 0x20]
or ebx, 4
call fcn.1400c74b0
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 0x140089fa7
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 0x140089f4e
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
test rax, rax
je 0x140089f4e
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 0x14008a163
lea rcx, [rsp + 0x50]
call fcn.1400086e0
lea rdx, [0x14020ab28]
mov rcx, r14
call fcn.1400025c0
test bl, 4
je 0x140089fff
and ebx, 0xfffffffb
lea rcx, [rbp - 0x20]
call fcn.1400c7810
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140089e84
jmp 0x14008a10f
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 0x14008a040
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 0x14008a07d
test r8, r8
je 0x14008a0cd
mov rcx, r8
call sub.libcef.dll_cef_string_utf16_clear
jmp 0x14008a0cd
test r8, r8
jne 0x14008a0ab
lea ecx, [r8 + 0x18]
call fcn.140157eb4
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 0x14008a10f
mov rcx, qword [rbp + 0xe0]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a10a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008a157
call fcn.140157ef0
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.140157f90
add rsp, 0x420
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401963ac
int3
call fcn.1401963ac
int3
test al, 4
je 0x14008a170
lea rbx, str.ios_base::badbit_set
jmp 0x14008a184
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