Function at 0x4326a0
Capabilities:
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], ecx
xor edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], eax
call fcn.004345a0
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x432717
mov dword [ebp - 4], edi
xor eax, eax
nop dword [eax + eax]
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
call dword [sym.imp.IPHLPAPI.DLL_GetPerAdapterInfo]
cmp eax, 0x6f
jne 0x432707
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x4328c6
inc esi
cmp esi, 0x64
jl 0x4326d0
jmp 0x4328ad
test eax, eax
mov eax, dword [ebp - 8]
jne 0x4328ad
lea esi, [eax + 0xc]
jmp 0x43276c
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], 0x248
test edi, edi
je 0x43272f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 4]
push 0x40
call ebx
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4328c6
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
cmp eax, 0x6f
jne 0x43275e
inc esi
cmp esi, 0x64
jl 0x432724
jmp 0x4328bb
test eax, eax
jne 0x4328bb
lea esi, [edi + 0x10c]
test esi, esi
je 0x4328ad
mov edi, dword [ebp - 0xc]
mov ecx, 0x17
nop dword [eax]
lea eax, [ebp - 0xc]
mov word [ebp - 0x50], cx
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0xc], 0x1c
push eax
push 0
push 0x17
lea ebx, [esi + 4]
push ebx
call dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
test eax, eax
jne 0x4327f0
mov ax, word [ebp - 0x50]
cmp ax, 2
jne 0x4327c1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], eax
jmp 0x43286c
cmp ax, 0x17
jne 0x432885
cmp byte [ebp - 0x48], 0xfe
mov dword [ebp - 0x34], 6
jne 0x4327e7
mov al, byte [ebp - 0x47]
and al, 0xc0
cmp al, 0x80
jne 0x4327e7
xor eax, eax
mov word [ebp - 0x46], ax
movups xmm0, xmmword [ebp - 0x48]
jmp 0x432868
mov eax, 2
mov dword [ebp - 0xc], 0x10
mov word [ebp - 0x20], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 2
push ebx
call dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
test eax, eax
je 0x432829
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
test eax, eax
je 0x432898
call ebx
test eax, eax
jne 0x432898
mov ax, word [ebp - 0x20]
cmp ax, 2
jne 0x432842
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x30], eax
jmp 0x43286c
cmp ax, 0x17
jne 0x432885
cmp byte [ebp - 0x18], 0xfe
mov dword [ebp - 0x34], 6
jne 0x432864
mov al, byte [ebp - 0x17]
and al, 0xc0
cmp al, 0x80
jne 0x432864
xor eax, eax
mov word [ebp - 0x16], ax
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x30], xmm0
movzx eax, word [0x43d928]
sub esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, edi
call fcn.0041de50
jmp 0x432898
movzx eax, ax
push eax
push str.SetupAddr_invalid_sa_family__d
push 0
call fcn.0041dc40
add esp, 0xc
mov esi, dword [esi]
mov ecx, 0x17
test esi, esi
jne 0x432780
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4328bb
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test edi, edi
je 0x4328c6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret