Function at 0x4c1216
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x518e22
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x573080]
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.004ba305
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp + 0x4c]
push 0x52cf5c
call fcn.00404285
mov byte [ebp - 4], 1
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00468590
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c1282
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00412200
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x34]
call fcn.0040569b
mov edi, 0x53dffc
push edi
call fcn.004dbc76
pop ecx
push eax
push edi
lea ecx, [ebp + 0x4c]
call fcn.00412200
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 0x536530
push dword [ebp + 0x14]
call fcn.0041fbea
mov eax, dword [ebp + 0x14]
push esi
cmp dword [ebp + 0x18], eax
je 0x4c12ee
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 0x4c12fa
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 0x4c1316
mov ecx, eax
call fcn.00404285
mov eax, dword [ebp + 0x14]
add eax, 0x18
mov dword [ebp + 0x14], eax
jmp 0x4c1322
push eax
lea ecx, [ebp + 0x10]
call fcn.0041fbea
mov eax, dword [ebp + 0x14]
push 0x5365cc
cmp dword [ebp + 0x18], eax
je 0x4c1339
mov ecx, eax
call fcn.00404285
add dword [ebp + 0x14], 0x18
jmp 0x4c1342
push eax
lea ecx, [ebp + 0x10]
call fcn.0041fbea
lea edx, [ebp + 0x10]
lea ecx, [ebp + 0x34]
call fcn.00479950
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c135b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00412200
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.004d99d0
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.00468590
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 0x4c13b5
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 0x4c13e8
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.004d5b75
add ebp, 0x68
leave
ret 4