Function at 0x403d60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x230], 0
cmp byte [edi + 4], 0
jne 0x403da4
mov eax, dword [edi]
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x44], vtable.LString.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0xf
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.msg.xinbowei.cn
call fcn.00409940
mov dword [ebp - 4], 1
lea eax, [ebp - 0x6c]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x230], eax
xor eax, eax
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x6c], vtable.LString.0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00409940
mov eax, 0xa
mov byte [ebp - 4], 3
test esi, esi
mov dword [ebp - 0x50], 0x1b16
cmovle esi, eax
lea eax, [ebp - 0x22c]
push eax
push 0x202
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x403f1d
push dword [ebp - 0x50]
mov eax, 2
mov word [ebp - 0x7c], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x7a], ax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLook.exe_class_LString___cdecl_LNetwork::get_ip_by_host_name_class_LString_const__
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x230], 1
call sym.XNewLook.exe_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
cmp edx, 0x10
jb 0x403f00
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403ef6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403f5b
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [edi + 0xc]
push eax
push dword [edi + 8]
lea ecx, [ebp - 0x80]
call fcn.00404060
lea ecx, [ebp - 0x6c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3