Function at 0x100de7b
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x1041a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2a0]
push eax
mov edi, 0x1001390
push edi
push 0x1001cfc
xor esi, esi
push 0x32
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x2a8], esi
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::constructor_unsigned_long_int__char_const__const__char_const__const__long_int_const__
push 0x228
push esi
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2a4]
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x100dee4
sub eax, ecx
sar eax, 1
cmp eax, 0x106
jb 0x100df2e
push 0x1001ce8
mov eax, 0x80070057
push eax
push dword [ebp - 0x2b8]
mov dword [ebp - 0x2a0], eax
push 1
push 0x121
push edi
push 0x10012a4
lea eax, [ebp - 0x2b8]
push 1
push eax
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char__
add esp, 0x24
cmp dword [ebp - 0x2a0], esi
jl 0x100e10e
mov eax, dword [ebp - 0x2a4]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x100df43
push esi
push esi
push 0x107
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x10c]
push ecx
inc eax
push eax
push dword [ebp - 0x2a4]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, 0x80004005
test eax, eax
jne 0x100dfa8
push 0x1001ccc
push esi
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x2b8]
push 1
push 0x130
push edi
push 0x10012a4
push 1
push eax
mov dword [ebp - 0x2a0], esi
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char__
add esp, 0x24
cmp dword [ebp - 0x2a0], 0
jl 0x100e10e
lea eax, [ebp - 0x29c]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100dff8
push 0x1001cb8
push esi
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x2b8]
push 1
push 0x138
push edi
push 0x10012a4
push 1
push eax
mov dword [ebp - 0x2a0], esi
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char__
add esp, 0x24
xor eax, eax
cmp dword [ebp - 0x2a0], eax
jl 0x100e10e
lea ecx, [ebp - 0x2a8]
push ecx
push eax
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x100e052
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x2b8]
push 1
push 0x141
push edi
push 0x1001c80
push 1
push eax
mov dword [ebp - 0x2a0], esi
call sym.diskraid.exe_public:_void___cdecl_CDrCallTracer::LogMessage_unsigned_long_int__char__
add esp, 0x24
cmp dword [ebp - 0x2a0], 0
jl 0x100e108
mov eax, dword [ebp - 0x2a8]
jmp 0x100e082
mov ecx, dword [eax + 0x18]
movzx ecx, word [ecx]
push 2
pop edx
mov esi, edx
cmp si, cx
je 0x100e088
push 0x17
pop esi
cmp si, cx
je 0x100e0a6
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x100e067
jmp 0x100e0d4
mov dword [ebx], 1
mov ecx, dword [eax + 0x18]
movzx ecx, word [ecx + 2]
mov dword [ebx + 0x224], ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
jmp 0x100e0d4
mov dword [ebx], edx
mov ecx, dword [eax + 0x18]
movzx ecx, word [ecx + 2]
mov dword [ebx + 0x224], ecx
mov esi, dword [eax + 0x18]
add esi, 8
lea edi, [ebx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x18], ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx]
cmp eax, 1
je 0x100e0fc
cmp eax, 2
je 0x100e0fc
and dword [ebx], 0
push 0x107
push dword [ebp - 0x2a4]
add ebx, 0x20
push 0x101
push ebx
call fcn.0100ddcd
push dword [ebp - 0x2a8]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x2b8]
call sym.diskraid.exe_public:_void___thiscall_CDrCallTracer::destructor_void_
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0103fbbb
leave
ret 8