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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
mov eax, 0x5c92e0
call fcn.00496be4
mov dword [ebp - 0x3c], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004a4524
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.00401af8
push eax
inc dword [ebp - 0x3c]
mov edx, 0x5c1c40
lea eax, [ebp - 0x10]
call fcn.004a44ec
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0xc]
call fcn.004a44ec
inc dword [ebp - 0x3c]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0x48], 8
mov eax, dword [ebp - 4]
call fcn.0048b510
test al, al
jne 0x40bfe2
xor eax, eax
push eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a4690
pop eax
mov edx, dword [ebp - 0x58]
mov dword fs:[0], edx
jmp 0x40c1b8
mov word [ebp - 0x48], 0x20
lea eax, [ebp - 0x24]
call fcn.00401af8
push eax
inc dword [ebp - 0x3c]
mov edx, str..rar
lea eax, [ebp - 0x20]
call fcn.004a44ec
inc dword [ebp - 0x3c]
push dword [eax]
lea eax, [ebp + 8]
call fcn.00401b28
push eax
lea eax, [ebp - 0x1c]
call fcn.00401af8
push eax
inc dword [ebp - 0x3c]
call fcn.0040bc80
add esp, 8
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
pop edx
pop ecx
call fcn.0048b6d0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
call fcn.00401af8
push eax
inc dword [ebp - 0x3c]
mov edx, str._a__ep1__r0___
lea eax, [ebp - 0x14]
call fcn.004a44ec
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
call fcn.004a46e8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
call fcn.00401af8
mov ecx, eax
inc dword [ebp - 0x3c]
pop eax
pop edx
call fcn.004a46e8
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x30]
call fcn.00401af8
push eax
inc dword [ebp - 0x3c]
mov edx, 0x5c1c61
lea eax, [ebp - 0x2c]
call fcn.004a44ec
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
pop ecx
pop eax
call fcn.004a46e8
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 8]
call fcn.00401af8
push eax
inc dword [ebp - 0x3c]
lea eax, [ebp + 8]
call fcn.00401b28
push eax
lea eax, [ebp - 0x34]
call fcn.00401af8
push eax
inc dword [ebp - 0x3c]
call fcn.0040bc80
add esp, 8
lea edx, [ebp - 0x34]
pop ecx
pop eax
call fcn.004a46e8
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0x48], 8
push 0
lea eax, [ebp - 8]
call fcn.00401b28
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.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a4690
pop eax
mov edx, dword [ebp - 0x58]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret