Function at 0x1008e2b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013c6dc
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x628]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor edi, edi
push 0x206
lea ecx, [esp + 0x41a]
push edi
push ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x420], di
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, edi
je 0x1008e5bb
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1008e327
sub eax, edx
sar eax, 1
cmp eax, 2
jl 0x1008e5bb
cmp word [esi], 0x5c
jne 0x1008e5bb
push esi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x630], edi
cmp dword [esp + 0x30], 8
mov ebx, dword [esp + 0x1c]
jae 0x1008e36a
lea ebx, [esp + 0x1c]
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1008e370
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [ebx + 4]
push 0x1014bdb4
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
cmp eax, edi
je 0x1008e3a5
sub eax, ebx
sub eax, 4
sar eax, 1
add eax, 2
mov esi, eax
jmp 0x1008e3d2
call sub.Comn.dll_GetObjectLog
mov edi, dword [eax]
push 0x1e9
mov dword [esp + 0x14], eax
add edi, 0xc
call fcn.1008ce00
mov edx, dword [esp + 0x14]
add esp, 4
push eax
mov eax, dword [edi]
push str._s:_the_unc_path_is_error
push edx
call eax
add esp, 0xc
mov eax, 2
cmp esi, eax
jle 0x1008e3fb
jmp 0x1008e3e0
movzx ecx, word [ebx + eax*2]
cmp cx, 0x5c
je 0x1008e3fb
cmp cx, 0x2e
je 0x1008e681
add eax, 1
cmp eax, esi
jl 0x1008e3e0
push 0x103
lea ecx, [esp + 0x311]
push 0
push ecx
mov byte [esp + 0x318], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x103
lea edx, [esp + 0x209]
push 0
push edx
mov byte [esp + 0x210], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3e
lea eax, [esp + 0x1ca]
push 0
push eax
mov word [esp + 0x1d0], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp word [ebx + 2], 0x5c
jne 0x1008e475
lea eax, [ebx + 4]
push 0x1014bdb4
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x1008e4b1
call sub.Comn.dll_GetObjectLog
mov edi, eax
mov esi, dword [edi]
push 0x205
add esi, 0xc
call fcn.1008ce00
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_the_unc_path_is_error
push edi
call ecx
add esp, 0xc
lea eax, [ebx + 2]
push 0x1014bdb4
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
mov dword [esp + 0x18], eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x1008e505
call sub.Comn.dll_GetObjectLog
mov esi, eax
mov edi, dword [esi]
push 0x20b
add edi, 0xc
call fcn.1008ce00
mov edx, dword [edi]
add esp, 4
push eax
push str._s:_the_unc_path_is_error
push esi
call edx
lea edx, [esp + 0x420]
add esp, 0xc
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1008e4f0
mov esi, dword [esp + 0x10]
jmp 0x1008e51e
mov eax, esi
sub eax, ebx
sar eax, 1
push eax
lea ecx, [esp + 0x418]
push ebx
push ecx
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
push 0x104
lea edx, [esp + 0x418]
push edx
lea eax, [esp + 0x20c]
push eax
call dword [sym.imp.MSVCR80.dll_wcstombs]
add esp, 0xc
cmp byte [esp + 0x205], 0x5c
lea ecx, [esp + 0x34]
push ecx
push 0x202
jne 0x1008e5e3
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1008e57e
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20a]
lea edi, [esp + 0x310]
call fcn.1008fa90
test al, al
jne 0x1008e619
call sub.Comn.dll_GetObjectLog
push ebx
push 0x218
mov edi, eax
mov esi, dword [edi]
add esi, 0xc
call fcn.1008ce00
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_GetHostAddr:__s_n
push edi
call eax
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x630], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1008e609
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x209]
lea edi, [esp + 0x310]
call fcn.1008fa90
test al, al
jne 0x1008e619
call sub.Comn.dll_GetObjectLog
push ebx
push 0x220
jmp 0x1008e589
push 0x104
lea ecx, [esp + 0x310]
push ecx
lea edx, [esp + 0x1cc]
push edx
call dword [sym.imp.MSVCR80.dll_mbstowcs]
mov edi, dword [esp + 0x20]
add esp, 0xc
push 0x101547f0
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [esp + 0x1c4]
push eax
mov ecx, edi
call dword [0x101464cc]
test esi, esi
je 0x1008e665
push esi
mov ecx, edi
call dword [0x101464cc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x630], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
jmp 0x1008e5bd
mov ecx, dword [esp + 0x14]
push ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
jmp 0x1008e665