Function at 0x40bee0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
mov eax, 0x5c7244
call fcn.00496c14
mov dword [ebp - 0x3c], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004a4554
inc dword [ebp - 0x3c]
mov word [ebp - 0x48], 8
push 0x104
lea edx, [ebp - 0x15c]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0x48], 0x14
lea eax, [ebp - 4]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
mov edx, 0x5bfb9c
lea eax, [ebp - 0x10]
call fcn.004a451c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x3c]
pop edx
pop ecx
call fcn.004a4718
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x48], 8
mov eax, dword [ebp - 4]
call fcn.0048b540
test al, al
jne 0x40bfc2
xor eax, eax
push eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a46c0
pop eax
mov edx, dword [ebp - 0x58]
mov dword fs:[0], edx
jmp 0x40c198
mov word [ebp - 0x48], 0x20
lea eax, [ebp - 0x24]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
mov edx, str..rar
lea eax, [ebp - 0x20]
call fcn.004a451c
inc dword [ebp - 0x3c]
push dword [eax]
lea eax, [ebp + 8]
call fcn.00401b08
push eax
lea eax, [ebp - 0x1c]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
call fcn.0040bc60
add esp, 8
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
pop edx
pop ecx
call fcn.0048b700
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
mov edx, str._a__ep1__r0___
lea eax, [ebp - 0x14]
call fcn.004a451c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
call fcn.004a4718
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
call fcn.00401ad8
mov ecx, eax
inc dword [ebp - 0x3c]
pop eax
pop edx
call fcn.004a4718
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x30]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
mov edx, 0x5bfbbd
lea eax, [ebp - 0x2c]
call fcn.004a451c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
pop ecx
pop eax
call fcn.004a4718
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 8]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
lea eax, [ebp + 8]
call fcn.00401b08
push eax
lea eax, [ebp - 0x34]
call fcn.00401ad8
push eax
inc dword [ebp - 0x3c]
call fcn.0040bc60
add esp, 8
lea edx, [ebp - 0x34]
pop ecx
pop eax
call fcn.004a4718
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x48], 8
push 0
lea eax, [ebp - 8]
call fcn.00401b08
push eax
call sub.KERNEL32.DLL_WinExec
mov al, 1
push eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a46c0
pop eax
mov edx, dword [ebp - 0x58]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret