Function at 0x415120
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 0x4153cd
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.00406f5c
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x20]
call fcn.0040673c
mov eax, dword [ebp - 8]
call fcn.00406bdc
test al, al
je 0x4152e4
mov eax, dword [ebp - 0x20]
mov edx, 0x4153e8
call fcn.00403940
je 0x4151df
mov eax, dword [ebp - 0x20]
mov edx, 0x4153f8
call fcn.00403940
je 0x4151df
mov eax, dword [ebp - 0x20]
mov edx, 0x415408
call fcn.00403940
je 0x4151df
mov eax, dword [ebp - 0x20]
mov edx, 0x415418
call fcn.00403940
je 0x4151df
mov eax, dword [ebp - 0x20]
mov edx, 0x415428
call fcn.00403940
jne 0x4152e4
lea eax, [ebp - 0xac]
xor ecx, ecx
mov edx, 0x44
call fcn.004029a4
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 0x41523b
lea ecx, [ebp - 0xc0]
mov dl, 0x22
mov eax, dword [ebp + 0xc]
call fcn.0040fac4
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x2c]
call fcn.0040689c
mov eax, dword [ebp - 0x2c]
call fcn.004039f4
mov dword [ebp - 0x24], eax
jmp 0x415240
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.0040fac4
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, 0x415438
call fcn.00407768
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x28]
call fcn.0040689c
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.004039f4
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x415341
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb8]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x415341
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x3c
call fcn.004029a4
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.004039f4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
call fcn.004039f4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
call fcn.004039f4
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 0x415341
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415394
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.00419274
cmp dword [ebp - 0x14], 0
je 0x41536e
cmp byte [0x43c464], 0
je 0x41534c
cmp dword [ebp - 0x14], 0
jne 0x41538b
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x41538b
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 0x4153d4
lea eax, [ebp - 0xd4]
call fcn.004035b4
lea eax, [ebp - 0xc0]
call fcn.004035b4
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004035d8
lea eax, [ebp - 0x20]
call fcn.004035b4
ret