Function at 0x4c310c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4c3114
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c3652
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 0x1c4]
cmp esi, dword [ebp - 4]
jne 0x4c328d
mov eax, dword [ebx + 0x1c4]
mov eax, dword [eax + 0x120]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, eax
dec edi
mov eax, esi
call fcn.0063cd0c
cmp edi, eax
jne 0x4c328d
mov eax, dword [ebx + 0x218]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x4c3199
mov eax, dword [ebx + 0x218]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
cmp byte [eax + 4], 0
je 0x4c3193
mov edx, esi
mov eax, dword [ebx + 0x1c4]
call fcn.0063cd28
jmp 0x4c3199
dec esi
cmp esi, 0xffffffff
jne 0x4c3172
call fcn.00501d74
mov esi, eax
mov edi, dword [esi + 0x194]
mov byte [edi + 0x5a], 5
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x4c328d
mov al, byte [0x4c3660]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0x194]
call fcn.006371a0
mov edx, dword [ebp - 0x24]
mov cl, 6
mov eax, dword [ebx + 0x1ec]
call fcn.005d7b3c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c328d
mov eax, dword [ebx + 0x218]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + edx*4 - 8]
cmp dword [edi + 0x18], 0
jne 0x4c3232
mov dl, 1
mov eax, dword [0x4b70dc]
call fcn.00402898
mov edi, eax
mov eax, dword [ebx + 0x218]
mov edx, dword [eax + 0x18]
dec edx
mov ecx, edi
call fcn.00656c9c
mov eax, dword [ebx + 0x1c4]
mov eax, dword [eax + 0x120]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0x194]
call fcn.006371a0
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0x18]
call fcn.004038bc
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, edi
call fcn.004c3db8
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x218]
mov edx, dword [eax + 0x18]
sub edx, 2
mov eax, dword [ebx + 0x1c4]
call fcn.0063cd28
mov eax, dword [ebx + 0x1c4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x1ec]
call fcn.005fd17c
mov esi, dword [ebx + 0x1c8]
cmp esi, dword [ebp - 4]
jne 0x4c32d9
mov eax, dword [0x672428]
and word [eax + 0x208], 0xfbff
mov eax, esi
call fcn.0063e0c8
test al, al
je 0x4c32bf
mov eax, dword [0x672428]
or word [eax + 0x208], 0x400
mov eax, dword [0x672428]
test byte [eax + 0x209], 4
setne dl
mov eax, dword [ebx + 0x1cc]
call fcn.00646650
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x1cc]
jne 0x4c32e9
call fcn.004b6a90
mov esi, dword [ebx + 0x1d0]
cmp esi, dword [ebp - 4]
jne 0x4c3321
mov eax, esi
call fcn.0063cd0c
mov edx, dword [0x672428]
mov byte [edx + 0x234], al
mov eax, dword [0x672428]
cmp byte [eax + 0x234], 2
sete dl
mov eax, dword [ebx + 0x1d4]
call fcn.00646614
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x1d4]
jne 0x4c34d2
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b36e4]
call fcn.0062c4f4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
mov edx, dword [eax + 0x120]
mov eax, dword [0x67256c]
mov eax, dword [eax]
call fcn.0062d5d4
lea edx, [ebp - 0x24]
mov eax, dword [0x672428]
mov eax, dword [eax + 0x235]
call fcn.00623444
mov eax, dword [ebp - 0x24]
call fcn.006562e4
mov edi, eax
mov esi, dword [edi + 0x24]
dec esi
cmp esi, 0
jl 0x4c33c6
mov eax, dword [edi + 0x20]
lea eax, [eax + esi*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
mov eax, dword [eax + 0x120]
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc eax
jne 0x4c33c0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
mov eax, dword [eax + 0x120]
mov ecx, dword [eax]
call dword [ecx + 0x30]
dec esi
cmp esi, 0xffffffff
jne 0x4c3382
mov dl, 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
call fcn.0063eb64
mov esi, dword [edi + 0x24]
dec esi
cmp esi, 0
jl 0x4c3411
mov eax, dword [edi + 0x18]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
mov eax, dword [eax + 0x120]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, eax
mov cl, 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
call fcn.00456430
dec esi
cmp esi, 0xffffffff
jne 0x4c33df
mov eax, edi
call fcn.004028c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
call fcn.004568b4
mov eax, dword [ebp - 0x14]
call fcn.00642fd0
dec eax
jne 0x4c34ca
call fcn.006562d0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
mov eax, dword [eax + 0x120]
mov edx, dword [eax]
call dword [edx + 0xc]
dec eax
test eax, eax
jl 0x4c349a
inc eax
mov dword [ebp - 0x20], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
call fcn.00456418
cmp al, 1
jne 0x4c3494
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x19c]
mov eax, dword [eax + 0x120]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x14]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
inc esi
dec dword [ebp - 0x20]
jne 0x4c345c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.00657348
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.006234ac
mov edx, dword [ebp - 0x24]
mov eax, dword [0x672428]
add eax, 0x235
call fcn.004038bc
mov eax, dword [ebp - 0x1c]
call fcn.004028c0
mov eax, dword [ebp - 0x14]
call fcn.004028c0
mov esi, dword [ebx + 0x1d8]
cmp esi, dword [ebp - 4]
jne 0x4c3504
mov eax, dword [0x672428]
and word [eax + 0x208], 0xf7ff
mov eax, esi
call fcn.0063e0c8
test al, al
je 0x4c3504
mov eax, dword [0x672428]
or word [eax + 0x208], 0x800
mov esi, dword [ebx + 0x1dc]
cmp esi, dword [ebp - 4]
jne 0x4c3536
mov eax, dword [0x672428]
and word [eax + 0x208], 0xefff
mov eax, esi
call fcn.0063e0c8
test al, al
je 0x4c3536
mov eax, dword [0x672428]
or word [eax + 0x208], 0x1000
mov esi, dword [ebx + 0x1e0]
cmp esi, dword [ebp - 4]
jne 0x4c3564
mov eax, dword [0x672428]
and dword [eax + 0x10], 0xffffff7f
mov eax, esi
call fcn.0063e0c8
test al, al
je 0x4c3564
mov eax, dword [0x672428]
or dword [eax + 0x10], 0x80
mov esi, dword [ebx + 0x1e4]
cmp esi, dword [ebp - 4]
jne 0x4c3592
mov eax, dword [0x672428]
and dword [eax + 0xc], 0xffffbfff
mov eax, esi
call fcn.0063e0c8
test al, al
je 0x4c3592
mov eax, dword [0x672428]
or dword [eax + 0xc], 0x4000
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x1e8]
jne 0x4c3621
mov eax, ebx
call fcn.004c3800
test al, al
je 0x4c3621
lea edx, [ebp - 0xc]
mov eax, 0x4c3668
call fcn.00626580
mov eax, ebx
call fcn.004c3aa0
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.004c396c
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x1ec]
call fcn.004c1a10
cmp byte [ebp - 0xd], 0
je 0x4c35fc
mov dl, 1
mov eax, dword [ebx + 0x1ec]
call fcn.005ce840
mov eax, dword [ebx + 0x1ec]
call fcn.005cee2c
push 5
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x4c3674
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x4c3621
mov eax, 0x4c3680
call fcn.00629668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3659
lea eax, [ebp - 0x50]
mov edx, dword [0x4b6dc0]
call fcn.00403f10
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0xc]
call fcn.00403880
ret