Function at 0x415590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41583d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.00407274
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x20]
call fcn.00406a28
mov eax, dword [ebp - 8]
call fcn.00406f40
test al, al
je 0x415754
mov eax, dword [ebp - 0x20]
mov edx, 0x415858
call fcn.004039c8
je 0x41564f
mov eax, dword [ebp - 0x20]
mov edx, 0x415868
call fcn.004039c8
je 0x41564f
mov eax, dword [ebp - 0x20]
mov edx, 0x415878
call fcn.004039c8
je 0x41564f
mov eax, dword [ebp - 0x20]
mov edx, 0x415888
call fcn.004039c8
je 0x41564f
mov eax, dword [ebp - 0x20]
mov edx, 0x415898
call fcn.004039c8
jne 0x415754
lea eax, [ebp - 0xac]
xor ecx, ecx
mov edx, 0x44
call fcn.00402994
mov dword [ebp - 0xac], 0x44
mov dword [ebp - 0x80], 1
mov ax, word [ebp + 8]
mov word [ebp - 0x7c], ax
cmp dword [ebp + 0xc], 0
je 0x4156ab
lea ecx, [ebp - 0xc0]
mov dl, 0x22
mov eax, dword [ebp + 0xc]
call fcn.0040fee8
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x2c]
call fcn.00406b88
mov eax, dword [ebp - 0x2c]
call fcn.00403a7c
mov dword [ebp - 0x24], eax
jmp 0x4156b0
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd4]
mov dl, 0x22
mov eax, dword [ebp - 8]
call fcn.0040fee8
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0xcc], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0xc4], 0xb
lea edx, [ebp - 0xd0]
mov ecx, 1
mov eax, 0x4158a8
call fcn.00407a2c
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x28]
call fcn.00406b88
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00403a7c
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x4157b1
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb8]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4157b1
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402994
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x40
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
call fcn.00403a7c
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
call fcn.00403a7c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
call fcn.00403a7c
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x68]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x4157b1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415804
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x64
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov dword [ebp - 0x14], eax
call fcn.0041a308
cmp dword [ebp - 0x14], 0
je 0x4157de
cmp byte [0x448474], 0
je 0x4157bc
cmp dword [ebp - 0x14], 0
jne 0x4157fb
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x4157fb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415844
lea eax, [ebp - 0xd4]
call fcn.0040363c
lea eax, [ebp - 0xc0]
call fcn.0040363c
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403660
lea eax, [ebp - 0x20]
call fcn.0040363c
ret