Function at 0x452e40
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51885f
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x580b30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x250]
push eax
xor ebx, ebx
push 0x202
mov esi, ecx
mov dword [ebp - 0x254], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x452f10
lea ecx, [ebp - 0x300]
push ecx
call fcn.00402bd0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc0]
push edx
push ecx
lea eax, [ebp - 0x2f0]
push str.WSAStartup___failed_with_return_code:
push eax
call fcn.004050c0
add esp, 0xc
mov ecx, eax
call fcn.004197e0
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x300]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0x18], 8
jb 0x452efd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], bl
call fcn.00401820
jmp 0x453486
lea edx, [ebp - 0x9c]
push esi
push edx
call fcn.00467383
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x9c]
mov edi, 0x10
cmp dword [ebp - 0x88], edi
jae 0x452f3d
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
mov dword [ebp - 0x258], esi
cmp esi, ebx
jne 0x452ff1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x300]
push eax
call fcn.00402bd0
push esi
push ecx
lea ecx, [ebp - 0x2f0]
push str.gethostbyname___with_error:
push ecx
mov byte [ebp - 4], 4
call fcn.004050c0
add esp, 0xc
mov ecx, eax
call fcn.004197e0
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x300]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0x18], 8
jb 0x452fbc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 3
call fcn.00401820
cmp dword [ebp - 0x88], edi
jb 0x452fe2
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00469e1a
add esp, 4
mov dword [ebp - 0x88], 0xf
jmp 0x45347a
mov edi, 0xf
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 6
push 8
push str.Domain__
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.0040a3b0
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 7
call fcn.00425920
add esp, 0xc
push str.__resolved_to:__n
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 8
call fcn.00429250
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.00407b10
cmp dword [ebp - 0x34], 0x10
jb 0x453071
mov edx, dword [ebp - 0x48]
push edx
call fcn.00469e1a
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x453092
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00469e1a
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x6c], 0x10
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
jb 0x4530ba
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00469e1a
add esp, 4
mov esi, dword [esi]
mov eax, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4530d0
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.0040a3b0
mov byte [ebp - 4], 0xa
push 8
push str.Server:
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.0040a3b0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00454a40
add esp, 0xc
push 0x53d314
push eax
lea edx, [ebp - 0xb8]
push edx
mov byte [ebp - 4], 0xc
call fcn.00429250
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.00407b10
mov esi, 0x10
cmp dword [ebp - 0xa4], esi
jb 0x45315c
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00469e1a
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x18], esi
jb 0x45317f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00469e1a
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x6c], esi
jb 0x453199
mov edx, dword [ebp - 0x80]
push edx
call fcn.00469e1a
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], esi
jb 0x4531b7
mov eax, dword [ebp - 0x48]
push eax
call fcn.00469e1a
add esp, 4
mov esi, dword [ebp - 0x258]
movzx eax, word [esi + 8]
cmp ax, 2
jne 0x4532c4
push 0x10
push str.IPv4_Addresses:
lea ecx, [ebp - 0x64]
call fcn.00407c00
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
je 0x4532b3
xor ecx, ecx
jmp 0x4531f6
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + eax]
mov eax, dword [edx]
add ecx, 4
push eax
mov dword [ebp - 0x254], ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edi, [ecx + 1]
jmp 0x453220
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x453220
sub ecx, edi
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.0040a3b0
push 0x537ad0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00429250
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.00407b10
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x453272
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00469e1a
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x453294
mov eax, dword [ebp - 0x48]
push eax
call fcn.00469e1a
add esp, 4
mov ecx, dword [ebp - 0x258]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x254]
mov edi, 0xf
cmp dword [edx + eax], ebx
jne 0x4531f0
mov esi, ecx
push 1
push 0x53d314
lea ecx, [ebp - 0x64]
call fcn.00407c00
jmp 0x4532d8
cmp ax, 0x17
jne 0x4532d8
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x9c]
call fcn.004534b0
push 9
push str.Aliases:
lea ecx, [ebp - 0x64]
call fcn.00407c00
mov esi, dword [esi + 4]
mov al, 1
cmp dword [esi], ebx
je 0x453331
cmp al, bl
jne 0x453303
push 2
push 0x53d344
lea ecx, [ebp - 0x64]
call fcn.00407c00
mov edi, dword [esi]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x453310
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.00407c00
add esi, 4
xor al, al
cmp dword [esi], ebx
jne 0x4532f0
mov edi, 0xf
push 1
push 0x53d314
lea ecx, [ebp - 0x64]
call fcn.00407c00
mov dword [ebp - 0x300], 0x534e40
mov dword [ebp - 0x2f0], 0x537b70
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x10
push ecx
mov dword [ebp - 0x254], 1
call fcn.004034a0
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x300]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x2e8]
push ecx
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00403fb0
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.00467249
add esp, 4
push eax
lea eax, [ebp - 0x2f0]
push eax
mov byte [ebp - 4], 0x14
call fcn.00413550
mov esi, 8
add esp, 8
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x18], esi
jb 0x4533fd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x300]
call fcn.00402c70
push eax
push 3
mov byte [ebp - 4], 0x15
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0x18], esi
jb 0x45342f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 6
call fcn.00401820
mov esi, 0x10
cmp dword [ebp - 0x50], esi
jb 0x453454
mov eax, dword [ebp - 0x64]
push eax
call fcn.00469e1a
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x88], esi
jb 0x453474
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00469e1a
add esp, 4
mov dword [ebp - 0x88], edi
mov byte [ebp - 0x9c], bl
mov dword [ebp - 0x8c], ebx
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret