Function at 0x41fcb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4734
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2bc], ecx
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
push str.AllocateAndGetTcpExTableFromStack
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x643684], eax
push str.AllocateAndGetUdpExTableFromStack
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x643688], eax
push str.GetExtendedTcpTable
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x64368c], eax
push str.srclient.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41fd8d
push str.SRSetRestorePointW
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x643690], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x80010106
jne 0x41fd79
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x228], 0
jl 0x41fd8d
mov ecx, dword [ebp - 0x2bc]
call fcn.00420250
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5fc5a0
push 0x104
lea edx, [ebp - 0x224]
push edx
call fcn.0054eb7c
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x234]
call fcn.004b3550
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x440
call fcn.0042feb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004b3860
push str.drivers_
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.0054eb7c
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.004b3550
mov dword [ebp - 4], 1
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x440
call fcn.0042feb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004b3860
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x5fc5a0
push 0x104
lea edx, [ebp - 0x224]
push edx
call fcn.0054eb7c
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x264]
call fcn.004b3550
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x440
call fcn.0042feb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.004b3860
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x5c
lea ecx, [ebp - 0x224]
push ecx
call fcn.00404aa0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41ff1d
push 0x5c
lea edx, [ebp - 0x224]
push edx
call fcn.00404aa0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41ff2b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx], ax
cmp dword [ebp - 0x10], 0
je 0x41ff45
push 0x5c
lea edx, [ebp - 0x224]
push edx
call fcn.00404aa0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41ff5c
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx], cx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004b3550
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x440
call fcn.0042feb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.004b3860
push 0x864
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x41ffdc
mov eax, dword [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x290]
call fcn.0048b1a0
mov dword [ebp - 0x2c0], eax
jmp 0x41ffe6
mov dword [ebp - 0x2c0], 0
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x28c]
mov dword [edx + 0x278], eax
push 0x850
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x42003a
mov ecx, dword [ebp - 0x2bc]
push ecx
mov ecx, dword [ebp - 0x298]
call fcn.00401660
mov dword [ebp - 0x2c4], eax
jmp 0x420044
mov dword [ebp - 0x2c4], 0
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x294]
mov dword [eax + 0x27c], ecx
push 0x5c
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x2a0], 0
je 0x42009c
mov edx, dword [ebp - 0x2bc]
push edx
mov ecx, dword [ebp - 0x2a0]
call fcn.0049a3c0
mov dword [ebp - 0x2c8], eax
jmp 0x4200a6
mov dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2bc]
mov edx, dword [ebp - 0x29c]
mov dword [ecx + 0x284], edx
push 0x8f0
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x2a8], 0
je 0x420108
mov eax, dword [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x2a8]
call fcn.00484d80
mov dword [ebp - 0x2cc], eax
jmp 0x420112
mov dword [ebp - 0x2cc], 0
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x2a4]
mov dword [edx + 0x28c], eax
mov ecx, dword [ebp - 0x2bc]
cmp dword [ecx + 8], 0
je 0x420153
mov edx, dword [ebp - 0x2bc]
cmp dword [edx + 8], 1
jne 0x420228
push 0x278
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x2b0], 0
je 0x420190
mov eax, dword [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x2b0]
call fcn.004903a0
mov dword [ebp - 0x2d0], eax
jmp 0x42019a
mov dword [ebp - 0x2d0], 0
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x2ac]
mov dword [edx + 0x280], eax
push 0x64
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x2b8], 0
je 0x4201f9
mov ecx, dword [ebp - 0x2bc]
push ecx
mov ecx, dword [ebp - 0x2b8]
call fcn.00499310
mov dword [ebp - 0x2d4], eax
jmp 0x420203
mov dword [ebp - 0x2d4], 0
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x2b4]
mov dword [eax + 0x288], ecx
mov edx, dword [ebp - 0x2bc]
mov byte [edx + 0x158], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret