Function at 0x453cb0
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51869d
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
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
xor ebx, ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], ebx
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
push eax
push ebx
mov dword [ebp - 0x34], ebx
call esi
cmp eax, 0x6f
jne 0x45411d
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004b9040
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
lea edx, [ebp - 0x34]
push edx
push edi
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x454110
lea eax, [ebp - 0xf8]
push eax
call fcn.00402bd0
lea ecx, [edi + 0x110]
push ecx
push ecx
lea edx, [ebp - 0xe8]
push str.DNS_Server:
push edx
mov byte [ebp - 4], 1
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413190
add esp, 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xf8]
call fcn.00402c70
push eax
push 3
mov byte [ebp - 4], 2
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0x18], 8
jb 0x453d87
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], bl
call fcn.00401820
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x454110
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0xe0]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xf8], 0x534e40
mov dword [ebp - 0xe8], 0x537b70
mov byte [ebp - 4], 3
or dword [ebp - 0x3c], 1
lea esi, [ebp - 0x98]
mov dword [ebp - 0x98], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
call fcn.00407980
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xe0]
push ecx
mov ecx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
call fcn.00407eb0
push eax
mov dword [ebp - 4], 6
call fcn.00407840
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
add esp, 4
cmp eax, ebx
je 0x453e6c
push ebx
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.004b8637
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x453e4b
cmp eax, 0xffffffff
jae 0x453e4b
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x48]
and esi, edi
call fcn.004b865f
cmp esi, ebx
je 0x453e6c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0x20
call eax
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x60], ebx
jne 0x453e97
mov eax, dword [ebp - 0x8c]
or eax, 4
push ebx
push eax
lea ecx, [ebp - 0x98]
call fcn.00408060
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xf8], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp + eax - 0xf8], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00403fb0
mov edi, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov edx, dword [ebp - 0x38]
add edx, 4
push edx
push ecx
lea eax, [ebp - 0xe8]
push str.DNS_Server:
push eax
mov byte [ebp - 4], 0xb
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413190
add esp, 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0xf8]
call fcn.00402c70
mov esi, eax
mov byte [ebp - 4], 0xc
test byte [0x58bd9c], 1
jne 0x453f9f
or dword [0x58bd9c], 1
mov byte [ebp - 4], 0xd
call fcn.004691b0
xor ecx, ecx
push 0x520680
mov dword [0x58be6c], 7
mov dword [0x58be68], ebx
mov word [0x58be58], cx
mov dword [0x58be78], ebx
mov dword [0x58be7c], ebx
mov dword [0x58be80], ebx
mov dword [0x58be84], ebx
mov dword [0x58be74], 3
call fcn.004d4f6b
add esp, 4
mov byte [ebp - 4], 0xc
push esi
push 3
mov ecx, 0x58bda0
call fcn.004688b0
cmp dword [ebp - 0x18], 8
jb 0x453fbe
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00469e1a
add esp, 4
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xf8], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test byte [ebp - 0xa0], 1
mov dword [ebp - 0xe0], edi
je 0x453ff2
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx]
push eax
call fcn.00469e1a
add esp, 4
mov eax, dword [ebp - 0xd0]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc0]
mov dword [ecx], ebx
mov edx, dword [ebp - 0xb0]
mov dword [edx], ebx
mov eax, dword [ebp - 0xcc]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], ebx
mov edx, dword [ebp - 0xac]
mov dword [edx], ebx
and dword [ebp - 0xa0], 0xfffffffe
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xe0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x454096
mov edi, dword [eax]
cmp edi, ebx
je 0x45408a
push ebx
lea ecx, [ebp - 0x40]
call fcn.004b8637
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x454069
cmp eax, 0xffffffff
jae 0x454069
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x40]
and esi, edi
call fcn.004b865f
cmp esi, ebx
je 0x45408a
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
call fcn.004b8690
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - 0xf8], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - 0xe8], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x98]
mov dword [ebp + eax - 0xf8], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.004b8502
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
add esp, 4
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x453dbe
mov edi, dword [ebp - 0x44]
cmp edi, ebx
je 0x45411d
push edi
call fcn.00469e1a
add esp, 4
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