Function at 0x5226d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x5226d8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c0c
xor eax, eax
push ebp
push 0x522a16
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414f90]
call fcn.0040394c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5229dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409308
test al, al
je 0x522998
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x522a2c
call fcn.00409fbc
mov eax, dword [ebp - 0x18]
mov edx, 0x522a48
call fcn.005212ac
pop ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x522847
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov al, byte [0x522a50]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
push eax
mov al, byte [0x522a54]
push eax
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x318]
call fcn.0040d4e4
mov eax, dword [ebp - 0x30]
mov ecx, 0x522a60
mov edx, 0x522a6c
call fcn.0040dcc0
mov ecx, dword [ebp - 0x2c]
mov edx, 0x522a78
pop eax
call fcn.0040dcc0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov al, byte [0x522a50]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x318]
mov ecx, 1
mov edx, 1
call fcn.00404c7c
mov ecx, dword [ebp - 0x3c]
mov edx, 0x522a8c
pop eax
call fcn.0040dcc0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x20]
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x52277c
lea eax, [ebp - 0x10]
mov ecx, 0x522a9c
mov edx, dword [ebp - 4]
call fcn.00404a70
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x10
call fcn.00403230
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
xor ecx, ecx
mov edx, 0x44
call fcn.00403230
mov eax, dword [ebp + 8]
mov dword [eax - 0x30], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [eax - 0x5c], 0x44
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov edx, 0x522aac
call fcn.00404a70
mov eax, dword [ebp - 0x40]
call fcn.00404c1c
push eax
lea eax, [ebp - 0x48]
call fcn.004836a4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040d4a4
lea eax, [ebp - 0x44]
mov edx, 0x522ac0
call fcn.00404a2c
mov eax, dword [ebp - 0x44]
call fcn.00404c1c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x52294f
push 0x522ad4
push dword [ebp - 4]
push 0x522aec
call sub.kernel32.dll_GetLastError_1
test eax, eax
jns 0x522923
call fcn.004038bc
lea edx, [ebp - 0x50]
call fcn.0040c148
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404ae4
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x407f84]
call fcn.0040c93c
call fcn.00404148
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x522b00
call fcn.00409fbc
mov eax, dword [ebp - 0x54]
mov edx, 0x522a48
call fcn.005212ac
pop ecx
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00484ad8
jmp 0x5229c6
push 0x522b20
push dword [ebp - 4]
push 0x522b34
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404ae4
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x407f84]
call fcn.0040c93c
call fcn.00404148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5229e3
mov eax, dword [ebp - 8]
call fcn.0040397c
ret