Function at 0x1008e610
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101427dc
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
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 0x1008e91b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1008e687
sub eax, edx
sar eax, 1
cmp eax, 2
jl 0x1008e91b
cmp word [esi], 0x5c
jne 0x1008e91b
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 0x1008e6ca
lea ebx, [esp + 0x1c]
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1008e6d0
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [ebx + 4]
push 0x101520e4
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
cmp eax, edi
je 0x1008e705
sub eax, ebx
sub eax, 4
sar eax, 1
add eax, 2
mov esi, eax
jmp 0x1008e732
call sub.Comn.dll_GetObjectLog
mov edi, dword [eax]
push 0x1e9
mov dword [esp + 0x14], eax
add edi, 0xc
call fcn.1008d160
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 0x1008e75b
jmp 0x1008e740
movzx ecx, word [ebx + eax*2]
cmp cx, 0x5c
je 0x1008e75b
cmp cx, 0x2e
je 0x1008e9e1
add eax, 1
cmp eax, esi
jl 0x1008e740
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 0x1008e7d5
lea eax, [ebx + 4]
push 0x101520e4
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x1008e811
call sub.Comn.dll_GetObjectLog
mov edi, eax
mov esi, dword [edi]
push 0x205
add esi, 0xc
call fcn.1008d160
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 0x101520e4
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
mov dword [esp + 0x18], eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x1008e865
call sub.Comn.dll_GetObjectLog
mov esi, eax
mov edi, dword [esi]
push 0x20b
add edi, 0xc
call fcn.1008d160
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 0x1008e850
mov esi, dword [esp + 0x10]
jmp 0x1008e87e
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 0x1008e943
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1008e8de
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20a]
lea edi, [esp + 0x310]
call fcn.1008fdf0
test al, al
jne 0x1008e979
call sub.Comn.dll_GetObjectLog
push ebx
push 0x218
mov edi, eax
mov esi, dword [edi]
add esi, 0xc
call fcn.1008d160
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.10130e50
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1008e969
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x209]
lea edi, [esp + 0x310]
call fcn.1008fdf0
test al, al
jne 0x1008e979
call sub.Comn.dll_GetObjectLog
push ebx
push 0x220
jmp 0x1008e8e9
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 0x1015ab20
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 [0x1014c4e8]
test esi, esi
je 0x1008e9c5
push esi
mov ecx, edi
call dword [0x1014c4e8]
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 0x1008e91d
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 0x1008e9c5