Function at 0x10000b238
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x100057110]
xor rax, rsp
mov qword [rsp + 0x330], rax
xor r12d, r12d
mov rbx, rdx
mov rbp, rcx
lea rax, [rsp + 0x50]
lea r14, [0x1000019f4]
lea r8, [0x100001aa8]
lea edx, [r12 + 0x32]
lea rcx, [rsp + 0x60]
mov r9, r14
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x20], rax
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::constructor_unsigned_long_int__char_const__const___ptr64__char_const__const___ptr64__long_int_const____ptr64____ptr64
xor edx, edx
mov r8d, 0x228
mov rcx, rbx
call sub.msvcrt.dll_memset
mov rsi, qword [rsp + 0x60]
or r15, 0xffffffffffffffff
xor eax, eax
mov rcx, r15
mov rdi, rbp
repne scasw ax, word [rdi]
lea r13d, [r12 + 1]
not rcx
sub rcx, r13
cmp rcx, 0x106
jb 0x10000b318
mov ecx, 0x80070057
lea rax, [0x100001ac0]
lea r8, [0x1000018d8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x60]
mov r9, r14
mov edx, r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0x121
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char____ptr64____ptr64
mov edi, dword [rsp + 0x50]
cmp edi, r12d
jl 0x10000b565
xor eax, eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov rcx, r15
mov rdi, rbp
mov r8, rbp
repne scasw ax, word [rdi]
lea rax, [rsp + 0x220]
xor edx, edx
not rcx
mov dword [rsp + 0x28], 0x107
mov qword [rsp + 0x20], rax
sub rcx, r13
lea r9d, [r13 + rcx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r15d, 0x80004005
cmp eax, r12d
jne 0x10000b3b1
lea rax, [0x100001ad8]
lea r8, [0x1000018d8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rsi
mov r9, r14
mov edx, r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0x130
mov dword [rsp + 0x50], r15d
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char____ptr64____ptr64
mov edi, dword [rsp + 0x50]
cmp edi, r12d
jl 0x10000b565
mov r14d, 2
lea rdx, [rsp + 0x80]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, r12d
je 0x10000b41d
lea rax, [0x100001af8]
lea r9, [0x1000019f4]
lea r8, [0x1000018d8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x60]
mov edx, r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0x138
mov dword [rsp + 0x50], r15d
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char____ptr64____ptr64
mov edi, dword [rsp + 0x50]
cmp edi, r12d
jl 0x10000b565
lea r9, [rsp + 0x58]
lea rcx, [rsp + 0x220]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, r12d
je 0x10000b488
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [0x1000019f4]
lea r8, [0x100001b10]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x60]
mov edx, r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 0x141
mov dword [rsp + 0x50], r15d
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char____ptr64____ptr64
cmp dword [rsp + 0x50], r12d
jl 0x10000b55b
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
cmp rdi, r12
je 0x10000b50f
mov rax, qword [rdx + 0x20]
cmp r14w, word [rax]
je 0x10000b4f4
mov ecx, 0x17
cmp cx, word [rax]
je 0x10000b4bf
mov rdx, qword [rdx + 0x28]
cmp rdx, r12
jne 0x10000b4a0
jmp 0x10000b50f
mov dword [rbx], r14d
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 2]
mov dword [rbx + 0x224], ecx
mov rax, qword [rdx + 0x20]
movdqu xmm0, xmmword [rax + 8]
movdqu xmmword [rbx + 8], xmm0
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + 4]
mov dword [rbx + 0x18], ecx
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + 0x18]
mov dword [rbx + 0x1c], ecx
jmp 0x10000b50f
mov dword [rbx], r13d
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 2]
mov dword [rbx + 0x224], ecx
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + 4]
mov dword [rbx + 4], ecx
cmp dword [rbx], r13d
je 0x10000b552
cmp dword [rbx], r14d
je 0x10000b552
lea rdx, [rbx + 0x20]
mov dword [rbx], r12d
mov ecx, 0x101
sub rbp, rdx
lea rax, [rcx + 6]
cmp rax, r12
je 0x10000b546
movzx eax, word [rdx + rbp]
cmp ax, r12w
je 0x10000b546
mov word [rdx], ax
add rdx, r14
sub rcx, r13
jne 0x10000b528
cmp rcx, r12
jne 0x10000b54e
sub rdx, r14
mov word [rdx], r12w
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov edi, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::destructor_void____ptr64
mov eax, edi
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.100053c90
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret