Function at 0x4c7040
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x581600
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x80]
test eax, eax
jl 0x4c72c5
mov edx, dword [ecx + 0x58]
cmp eax, edx
jge 0x4c7084
mov ecx, dword [ecx + 0x54]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
jmp 0x4c7099
sub eax, edx
js 0x4c7097
cmp eax, dword [ecx + 0x6c]
jge 0x4c7097
mov edx, dword [ecx + 0x68]
lea eax, [edx + eax*4]
mov eax, dword [eax]
jmp 0x4c7099
xor eax, eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4c70a8
cmp ecx, 3
jne 0x4c72c5
mov edi, dword [eax + 4]
test edi, edi
je 0x4c72c5
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4c70cd
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4c70ff
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4c712e
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x2c], 2
mov eax, dword [edi + 0x44]
push 0x5f27f8
call fcn.004d3f80
cmp eax, 0xffffffff
jne 0x4c71f0
push 0
push 0
push 0x5b054c
call fcn.00539414
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c718d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c71b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c72cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
jne 0x4c7208
push str._html___html_
lea ecx, [esp + 0x14]
call fcn.004021d0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x4c716c
lea esi, [esp + 0x14]
call fcn.00467a70
push str._text1.txt
mov ecx, esi
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401ba0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call fcn.00402310
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c7268
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x14]
mov edx, esi
call fcn.0045fed0
add esp, 4
test eax, eax
je 0x4c716c
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
call fcn.004a4690
lea ecx, [esp + 0x14]
call fcn.004a4690
lea ecx, [esp + 0x10]
call fcn.004a4690
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret