Function at 0x4044e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4566c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push 0
push str._runonce
push esi
mov dword [edi], 1
call fcn.00403330
test eax, eax
je 0x40453c
push 0
push str._second
push esi
call fcn.00403330
test eax, eax
je 0x404553
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret
push 0
mov dword [edi], 0
call fcn.00419d60
add esp, 4
cmp eax, 1
mov ecx, esi
jle 0x404587
push 0
push 1
call fcn.00404720
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret
call fcn.00404bd0
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4045a6
push str.Starting_new_Instance__This_instance_will_be_terminated_
push 1
push eax
call fcn.00417320
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call fcn.00404f70
add esp, 4
mov dword [esp + 0x58], 0
call fcn.0042d67b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4045d5
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x58], 1
mov ecx, dword [esi + 0x48]
push ecx
lea edx, [esp + 0x14]
push str._s__second
push edx
call fcn.0040f030
add esp, 0xc
push 0x38
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0043f900
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4046ba
mov esi, dword [esi + 0xb0]
test esi, esi
je 0x40465a
push str.Failed_to_start_another_instance__this_instance_will_continue_
push 1
push esi
call fcn.00417320
add esp, 0xc
lea eax, [edi - 0x10]
mov byte [esp + 0x58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40467b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4046a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret
lea eax, [edi - 0x10]
mov byte [esp + 0x58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4046db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret