Function at 0x523ad4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x523adc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c0c
xor eax, eax
push ebp
push 0x523e1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x414fc4]
call fcn.0040394c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x523de0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409318
test al, al
je 0x523d9c
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, 0x523e30
call fcn.00409fcc
mov eax, dword [ebp - 0x18]
mov edx, 0x523e4c
call fcn.005226b0
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 0x523c4b
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov al, byte [0x523e54]
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 [0x523e58]
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.0040d508
mov eax, dword [ebp - 0x30]
mov ecx, 0x523e64
mov edx, 0x523e70
call fcn.0040dce4
mov ecx, dword [ebp - 0x2c]
mov edx, 0x523e7c
pop eax
call fcn.0040dce4
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 [0x523e54]
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, 0x523e90
pop eax
call fcn.0040dce4
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 0x523b80
lea eax, [ebp - 0x10]
mov ecx, 0x523ea0
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, 0x523eb0
call fcn.00404a70
mov eax, dword [ebp - 0x40]
call fcn.00404c1c
push eax
lea eax, [ebp - 0x48]
call fcn.00483b20
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040d4c8
lea eax, [ebp - 0x44]
mov edx, 0x523ec4
call fcn.00404a2c
mov eax, dword [ebp - 0x44]
call fcn.00404c1c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x523d53
push 0x523ed8
push dword [ebp - 4]
push 0x523ef0
call sub.kernel32.dll_GetLastError_1
test eax, eax
jns 0x523d27
call fcn.004038bc
lea edx, [ebp - 0x50]
call fcn.0040c16c
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 [0x407f94]
call fcn.0040c960
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, 0x523f04
call fcn.00409fcc
mov eax, dword [ebp - 0x54]
mov edx, 0x523e4c
call fcn.005226b0
pop ecx
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00485234
jmp 0x523dca
push 0x523f24
push dword [ebp - 4]
push 0x523f38
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404ae4
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x407f94]
call fcn.0040c960
call fcn.00404148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523de7
mov eax, dword [ebp - 8]
call fcn.0040397c
ret