Function at 0x401a60
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f37c
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x417008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0040a610
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.WirelessMedia
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004035e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push str.WirelessMediaMain.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004035e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x401b1d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea edx, [ebp - 0x218]
mov ecx, 0x71
call fcn.004018a0
push 0x38
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b4], 0x3c
push 0
push eax
call fcn.0040a610
push dword [0x41957c]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a8], str.open
mov dword [ebp - 0x2b0], pe_nt_image_headers32
mov dword [ebp - 0x2a4], eax
call fcn.0040364c
push 0x4156a8
mov esi, eax
call fcn.0040364c
add esp, 0x14
cmp esi, eax
jne 0x401c5a
mov edx, dword [0x41957c]
xor eax, eax
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [edx], ax
jne 0x401bbb
xor ecx, ecx
jmp 0x401bcf
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401bc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00402530
lea edx, [ebp - 0x248]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00401700
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x401c00
mov eax, dword [eax]
push eax
push str.110sei.lpParameters___s
push 0
call fcn.004017e0
add esp, 0xc
cmp dword [ebp - 0x24c], 0x10
jb 0x401c27
push dword [ebp - 0x260]
call fcn.00403266
add esp, 4
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
jb 0x401d10
push dword [ebp - 0x248]
jmp 0x401d08
push 1
xor eax, eax
mov dword [ebp - 0x2a0], 0x4156cc
push 0x4156cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00402530
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.00401700
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x401cb7
mov eax, dword [eax]
push eax
push str.120_sei.lpParameters___s
push 0
call fcn.004017e0
add esp, 0xc
cmp dword [ebp - 0x264], 0x10
jb 0x401cde
push dword [ebp - 0x278]
call fcn.00403266
add esp, 4
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jb 0x401d10
push dword [ebp - 0x230]
call fcn.00403266
add esp, 4
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402ab0
mov esp, ebp
pop ebp
ret