Function at 0x486540
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x414
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push 0x4ae3b8
xor ebp, ebp
mov dword [0x4d1d24], eax
call esi
push 0x4ae3cc
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48658a
test ebx, ebx
jne 0x4866f2
call fcn.00466600
push 0x208
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00487630
push 0x208
lea edx, [esp + 0x228]
push 0
push edx
call fcn.00487630
add esp, 0x18
push 0x104
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.00466120
lea ecx, [esp + 0x218]
lea edx, [esp + 0x10]
push ecx
test eax, eax
je 0x48665a
push 0x4ae3e4
push 0x104
push edx
call fcn.00466960
lea eax, [esp + 0x20]
push eax
push 0x4ae41c
push 0x1b
call fcn.004666c0
lea ecx, [esp + 0x234]
push ecx
push str._sSysWOW64wpcap.dll
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.00466960
lea eax, [esp + 0x3c]
push eax
push 0x4ae458
push 0x18
call fcn.004666c0
lea ecx, [esp + 0x250]
push ecx
push str._sSysWOW64Packet.dll
lea edx, [esp + 0x50]
push 0x104
push edx
call fcn.00466960
add esp, 0x48
lea eax, [esp + 0x10]
push eax
push 0x4ae498
push 0x17
jmp 0x4866d3
push str._sSystem32wpcap.dll
push 0x104
push edx
call fcn.00466960
lea eax, [esp + 0x20]
push eax
push 0x4ae4d4
push 0x15
call fcn.004666c0
lea ecx, [esp + 0x234]
push ecx
push str._sSystem32Packet.dll
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.00466960
lea eax, [esp + 0x3c]
push eax
push 0x4ae514
push 0x14
call fcn.004666c0
lea ecx, [esp + 0x250]
push ecx
push str._sSystem32drivers_npf.sys
lea edx, [esp + 0x50]
push 0x104
push edx
call fcn.00466960
add esp, 0x48
lea eax, [esp + 0x10]
push eax
push str.RC_DATA
push 0x16
call fcn.004666c0
add esp, 0xc
call fcn.00466660
push 0x4ae56c
call esi
push str.Packet.dll
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48687c
test ebx, ebx
je 0x48687c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ae598
push edi
call esi
mov dword [0x4d1d28], eax
test eax, eax
je 0x48687c
push 0x4ae5ac
push edi
call esi
mov dword [0x4d1d2c], eax
test eax, eax
je 0x48687c
push 0x4ae5b8
push edi
call esi
mov dword [0x4d1d30], eax
test eax, eax
je 0x48687c
push 0x4ae5c8
push edi
call esi
mov dword [0x4d1d34], eax
test eax, eax
je 0x48687c
push 0x4ae5d8
push edi
call esi
mov dword [0x4d1d38], eax
test eax, eax
je 0x48687c
push 0x4ae5e8
push edi
call esi
mov dword [0x4d1d3c], eax
test eax, eax
je 0x48687c
push 0x4ae5f8
push edi
call esi
mov dword [0x4d1d40], eax
test eax, eax
je 0x48687c
push 0x4ae60c
push edi
call esi
mov dword [0x4d1d44], eax
test eax, eax
je 0x48687c
push 0x4ae618
push ebx
call esi
mov dword [0x4d1d48], eax
test eax, eax
je 0x48687c
push 0x4ae62c
push ebx
call esi
mov dword [0x4d1d4c], eax
test eax, eax
je 0x48687c
push 0x4ae640
push ebx
call esi
mov dword [0x4d1d50], eax
test eax, eax
je 0x48687c
push 0x4ae654
push ebx
call esi
mov dword [0x4d1d54], eax
test eax, eax
je 0x48687c
push 0x4ae66c
push ebx
call esi
mov dword [0x4d1d58], eax
test eax, eax
je 0x48687c
push 0x4ae680
push ebx
call esi
mov dword [0x4d1d5c], eax
test eax, eax
je 0x48687c
push 0x4ae690
push ebx
call esi
mov dword [0x4d1d60], eax
test eax, eax
je 0x48687c
push 0x4ae6a8
push ebx
call esi
mov dword [0x4d1d64], eax
test eax, eax
je 0x48687c
push 0x4ae6bc
push ebx
call esi
mov dword [0x4d1d68], eax
test eax, eax
je 0x48687c
push 0x4ae6d0
push ebx
call esi
mov dword [0x4d1d6c], eax
test eax, eax
je 0x48687c
push 0x4ae6e4
push ebx
call esi
mov dword [0x4d1d70], eax
test eax, eax
je 0x48687c
mov ebp, 1
mov ecx, dword [esp + 0x420]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x414
ret