Function at 0x434a90
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x59da54]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x434ae9
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x434ad6
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x434ad0
shr eax, 8
cmp al, 2
je 0x434ae9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret
call fcn.00459c50
test eax, eax
jne 0x434d05
push esi
push edi
push str.kernel32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x434b16
mov dword [0x59f3c4], esi
jmp 0x434c55
push ebx
push str.LoadLibraryExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ea190
push str.iphlpapi.dll
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbspbrk]
add esp, 8
test eax, eax
je 0x434b64
test ebx, ebx
je 0x434b52
push 8
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x434c2d
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
jmp 0x434c2d
test ebx, ebx
je 0x434b8d
push str.AddDllDirectory
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434b8d
push 0x800
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x434c2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x198], eax
test eax, eax
je 0x434c2d
lea ecx, [eax + 0xd]
push ecx
call dword [0x59d488]
mov edi, eax
add esp, 4
test edi, edi
je 0x434c23
push dword [ebp - 0x198]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x434c23
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434bd0
sub ecx, edx
mov eax, 0x5c
mov word [ecx + edi], ax
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434be7
sub ecx, edx
mov edx, str.iphlpapi.dll
sub ecx, edx
add ecx, edi
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x434c00
test ebx, ebx
je 0x434c1a
push 8
push 0
push edi
call ebx
jmp 0x434c21
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push edi
call dword [0x59d48c]
add esp, 4
mov dword [0x59f3c4], esi
pop ebx
test esi, esi
je 0x434c55
push str.if_nametoindex
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x59f3c0]
test eax, eax
cmovne ecx, eax
mov dword [0x59f3c0], ecx
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
mov dword [ebp - 0x9c], 6
mov dword [ebp - 0x98], 0
push 3
push 2
push 0
push 0
mov dword [ebp - 0x90], 2
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 0x20
push edx
push eax
call esi
push 3
push 0x10
push edx
push eax
call esi
push 1
push 8
push edx
push eax
call esi
push edx
push eax
push 0x33
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
pop edi
pop esi
test eax, eax
je 0x434cfc
push 0x5a24b0
mov byte [0x5a24ac], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret
mov byte [0x5a24ac], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493440
mov esp, ebp
pop ebp
ret