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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
mov eax, 0x5c42dc
call fcn.00496b84
mov dword [ebp - 0x3c], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004a44c4
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.00401ab4
push eax
inc dword [ebp - 0x3c]
mov edx, 0x5bcc1c
lea eax, [ebp - 0x10]
call fcn.004a448c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x3c]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x48], 8
mov eax, dword [ebp - 4]
call fcn.0048b4b0
test al, al
jne 0x40bf72
xor eax, eax
push eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a4630
pop eax
mov edx, dword [ebp - 0x58]
mov dword fs:[0], edx
jmp 0x40c148
mov word [ebp - 0x48], 0x20
lea eax, [ebp - 0x24]
call fcn.00401ab4
push eax
inc dword [ebp - 0x3c]
mov edx, str..rar
lea eax, [ebp - 0x20]
call fcn.004a448c
inc dword [ebp - 0x3c]
push dword [eax]
lea eax, [ebp + 8]
call fcn.00401ae4
push eax
lea eax, [ebp - 0x1c]
call fcn.00401ab4
push eax
inc dword [ebp - 0x3c]
call fcn.0040bc10
add esp, 8
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
pop edx
pop ecx
call fcn.0048b670
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
call fcn.00401ab4
push eax
inc dword [ebp - 0x3c]
mov edx, str._a__ep1__r0___
lea eax, [ebp - 0x14]
call fcn.004a448c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
call fcn.004a4688
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
call fcn.00401ab4
mov ecx, eax
inc dword [ebp - 0x3c]
pop eax
pop edx
call fcn.004a4688
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x30]
call fcn.00401ab4
push eax
inc dword [ebp - 0x3c]
mov edx, 0x5bcc3d
lea eax, [ebp - 0x2c]
call fcn.004a448c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
pop ecx
pop eax
call fcn.004a4688
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 8]
call fcn.00401ab4
push eax
inc dword [ebp - 0x3c]
lea eax, [ebp + 8]
call fcn.00401ae4
push eax
lea eax, [ebp - 0x34]
call fcn.00401ab4
push eax
inc dword [ebp - 0x3c]
call fcn.0040bc10
add esp, 8
lea edx, [ebp - 0x34]
pop ecx
pop eax
call fcn.004a4688
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x48], 8
push 0
lea eax, [ebp - 8]
call fcn.00401ae4
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.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a4630
pop eax
mov edx, dword [ebp - 0x58]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret