Function at 0x4c7c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536e90
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x59a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push 0
push ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 0
call fcn.00401c70
mov ecx, eax
call fcn.004ca190
lea eax, [ebp - 0x28]
push eax
call fcn.00401c70
mov ecx, eax
call fcn.00401be0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4c7ca4
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4c7cc6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov word [ebp - 0x28], ax
or edi, 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp dword [eax - 0xc], 0
jne 0x4c7cf8
mov dword [ebp - 0x38], 3
jmp 0x4c80c0
push 0x5542b4
lea ecx, [ebp - 0x34]
call fcn.00401ff0
mov edx, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004c8120
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402320
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7d5a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7d56
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7d5a
mov ecx, edx
call esi
push 0x5542e4
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
call fcn.00401d60
push 0x5542d8
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00401d60
push dword [ebp - 0x40]
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00401d60
push 0x5542c4
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.00401d60
push dword [ebp - 0x30]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.00401d60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00401e60
add esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov dword [ebp - 0x30], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x4c7e0e
cmp dword [ecx + 0xc], 0
jl 0x4c7e02
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4c7e02
mov ecx, esi
call fcn.004021e0
mov ecx, dword [ebp - 0x30]
mov esi, eax
call fcn.00402e90
lea eax, [esi + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x4c7e0e
push dword [edx - 0xc]
lea ecx, [ebp - 0x2c]
push edx
call fcn.00402d50
mov byte [ebp - 4], 9
mov eax, edi
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7e43
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7e3f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7e43
mov ecx, edx
call esi
mov byte [ebp - 4], 8
mov eax, edi
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7e78
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7e74
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7e78
mov ecx, edx
call esi
mov byte [ebp - 4], 7
mov eax, edi
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7ead
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7ea9
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7ead
mov ecx, edx
call esi
mov byte [ebp - 4], 6
mov eax, edi
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7ee2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7ede
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7ee2
mov ecx, edx
call esi
mov byte [ebp - 4], 5
mov eax, edi
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7f17
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7f13
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7f17
mov ecx, edx
call esi
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7f4c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c7f48
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c7f4c
mov ecx, edx
call esi
push 0x40
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 0x44
push 0
push eax
call fcn.0049e130
mov eax, dword [ebp - 0x2c]
mov esi, 1
mov edx, esi
add esp, 0xc
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x4c7f8a
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402c70
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push 0
push 0
push 0x1000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
push dword [ecx - 8]
push ecx
call fcn.004a4fb5
mov edx, eax
add esp, 8
test edx, edx
js 0x4c80a7
mov ecx, dword [ebp - 0x2c]
cmp edx, dword [ecx - 8]
jg 0x4c80a7
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov word [eax + edx*2], cx
cmp dword [ebp - 0x30], ecx
jne 0x4c805e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4c80b1
mov eax, dword [ebp - 0x2c]
sub esi, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, esi
jge 0x4c800f
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402c70
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.004a4fb5
mov edx, eax
add esp, 8
test edx, edx
js 0x4c80a7
mov ecx, dword [ebp - 0x2c]
cmp edx, dword [ecx - 8]
jg 0x4c80a7
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov word [eax + edx*2], cx
test esi, esi
je 0x4c80b1
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x60]
push dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ecx], eax
call esi
push dword [ebp - 0x64]
call esi
mov byte [ebp - 4], 2
mov eax, edi
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c80c0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c80bc
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c80c0
push 0x80070057
call fcn.00401b40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
jmp 0x4c8076
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x4c80f6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c80f2
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x4c80f6
mov ecx, edx
call esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aa22
mov esp, ebp
pop ebp
ret