Function at 0x443640
Capabilities:
Get common file path
Initialize winsock library
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4c0980]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x443699
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x443686
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x443680
shr eax, 8
cmp al, 2
je 0x443699
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret
call fcn.00462940
test eax, eax
jne 0x44387b
push esi
push edi
push 0x4a2c38
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x198], eax
test eax, eax
jne 0x4436d0
mov dword [0x4c1d9c], esi
jmp 0x443801
push ebx
push str.LoadLibraryExA
push eax
call edi
push 0x4a6f48
push str.iphlpapi.dll
mov ebx, eax
call fcn.0047f81a
add esp, 8
test eax, eax
je 0x443719
test ebx, ebx
je 0x443707
push 8
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x4437e5
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
jmp 0x4437e5
test ebx, ebx
je 0x443743
push str.AddDllDirectory
push dword [ebp - 0x198]
call edi
test eax, eax
je 0x443743
push 0x800
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x4437e5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x198], eax
test eax, eax
je 0x4437e5
lea ecx, [eax + 0xd]
push ecx
call dword [0x4c0510]
mov edi, eax
add esp, 4
test edi, edi
je 0x4437d5
push dword [ebp - 0x198]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4437d5
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443784
sub ecx, edx
mov eax, 0x5c
mov word [ecx + edi], ax
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4437a0
sub ecx, edx
mov edx, str.iphlpapi.dll
sub ecx, edx
add ecx, edi
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4437b2
test ebx, ebx
je 0x4437cc
push 8
push 0
push edi
call ebx
jmp 0x4437d3
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push edi
call dword [0x4c0514]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x4c1d9c], esi
pop ebx
test esi, esi
je 0x443801
push str.if_nametoindex
push esi
call edi
test eax, eax
je 0x443801
mov dword [0x4c1d8c], eax
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x443839
push str.FreeAddrInfoExW
push esi
call edi
push str.GetAddrInfoExCancel
push esi
mov dword [0x4c1d90], eax
call edi
push str.GetAddrInfoExW
push esi
mov dword [0x4c1d94], eax
call edi
mov dword [0x4c1d98], eax
push 3
push 2
push 0
push 0
push 6
call fcn.00462560
push 3
push 2
push 0
test al, al
push 2
push 6
setne byte [0x4c2d29]
call fcn.00462560
add esp, 0x28
test al, al
setne byte [0x4c2d28]
push 0x4c2d30
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca44
mov esp, ebp
pop ebp
ret