Function at 0x4c60f2
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x5210ea
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x57c080]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x1c]
push eax
call fcn.004bf237
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp + 0x4c]
push 0x53611c
call fcn.00404285
mov byte [ebp - 4], 1
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0046d460
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c615e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00412210
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x34]
call fcn.0040569b
mov edi, 0x547148
push edi
call fcn.004e09b6
pop ecx
push eax
push edi
lea ecx, [ebp + 0x4c]
call fcn.00412210
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x10]
push 0x53f6f0
push dword [ebp + 0x14]
call fcn.0041fbea
mov eax, dword [ebp + 0x14]
push esi
cmp dword [ebp + 0x18], eax
je 0x4c61ca
mov ecx, eax
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
call fcn.00404b8e
mov eax, dword [ebp + 0x14]
add eax, 0x18
mov dword [ebp + 0x14], eax
jmp 0x4c61d6
push eax
lea ecx, [ebp + 0x10]
call fcn.00404906
mov eax, dword [ebp + 0x14]
push str.AI_CLEAR_TEMP1
cmp dword [ebp + 0x18], eax
je 0x4c61f2
mov ecx, eax
call fcn.00404285
mov eax, dword [ebp + 0x14]
add eax, 0x18
mov dword [ebp + 0x14], eax
jmp 0x4c61fe
push eax
lea ecx, [ebp + 0x10]
call fcn.0041fbea
mov eax, dword [ebp + 0x14]
push 0x53f78c
cmp dword [ebp + 0x18], eax
je 0x4c6215
mov ecx, eax
call fcn.00404285
add dword [ebp + 0x14], 0x18
jmp 0x4c621e
push eax
lea ecx, [ebp + 0x10]
call fcn.0041fbea
lea edx, [ebp + 0x10]
lea ecx, [ebp + 0x34]
call fcn.0047e970
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c6237
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00412210
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x34]
call fcn.0040569b
push 0x40
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x44
push ebx
push eax
call fcn.004de710
xor eax, eax
lea edi, [ebp]
stosd dword es:[edi], eax
lea ecx, [ebp + 0x1c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x34]
push eax
call fcn.0046d460
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x4c]
cmp dword [ebp + 0x60], 8
cmovae ecx, dword [ebp + 0x4c]
cmp dword [eax + 0x14], 8
jb 0x4c6291
mov eax, dword [eax]
lea edx, [ebp]
push edx
lea edx, [ebp - 0x50]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x34]
call fcn.0040569b
test esi, esi
je 0x4c62c4
push 0xffffffffffffffff
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.004042c7
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x4c]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0040569b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.004da8b4
add ebp, 0x68
leave
ret 4