Function at 0x40bf40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0c2c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x66a074]
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 esi, ecx
mov eax, dword [0x674ec0]
xor bl, bl
mov byte [ebp - 0x29], bl
test al, 1
jne 0x40bfa6
or eax, 1
mov dword [0x674ec0], eax
mov dword [ebp - 4], 0
call fcn.004e5d70
push 0x602870
mov byte [ebp - 4], bl
call fcn.005b797d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x674ec4
call fcn.00492290
push 0x26
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.doctor_2345explorer.named_mutex.signal
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409060
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.004c9de0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00408ff0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], 0
je 0x40c05c
cmp byte [ebp - 0x2f], 0
je 0x40c05c
push 0x61d680
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x40c03d
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [0x673629], 0
je 0x40c113
push 0x61d694
call fcn.00407e20
add esp, 4
jmp 0x40c113
mov ecx, esi
call fcn.00494430
test al, al
jne 0x40c085
cmp byte [0x673629], al
je 0x40c113
push 0x61d6b0
call fcn.00407e20
add esp, 4
jmp 0x40c113
push 5
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.YS_01
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409060
mov byte [ebp - 4], 9
mov eax, dword [0x674ec0]
test al, 1
jne 0x40c0e9
or eax, 1
mov dword [0x674ec0], eax
mov byte [ebp - 4], 0xa
call fcn.004e5d70
push 0x602870
mov byte [ebp - 4], 0xa
call fcn.005b797d
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov ecx, 0x674ec4
push eax
call fcn.00492680
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00408ff0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0040abd0
mov bl, 1
mov byte [ebp - 0x29], bl
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.004c9e00
mov eax, dword [0x674ec0]
test al, 1
jne 0x40c157
or eax, 1
mov dword [0x674ec0], eax
mov dword [ebp - 4], 0x10
call fcn.004e5d70
push 0x602870
mov byte [ebp - 4], 0x10
call fcn.005b797d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [0x674ec4]
push ecx
call fcn.004f4a30
add esp, 4
mov ecx, eax
call fcn.004f56a0
mov eax, dword [0x674ec0]
test al, 1
jne 0x40c1a2
or eax, 1
mov dword [0x674ec0], eax
mov dword [ebp - 4], 0x12
call fcn.004e5d70
push 0x602870
mov byte [ebp - 4], 0x12
call fcn.005b797d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x674ec4]
cmp byte [esi], 0
je 0x40c1c6
call fcn.004f4a30
push esi
mov ecx, eax
call fcn.004f4cb0
push 0
mov ecx, esi
call fcn.004ebad0
mov byte [esi], 0
cmp byte [0x673629], 0
je 0x40c1dc
push 0x61d6d8
call fcn.00407e20
add esp, 4
mov eax, dword [0x674e84]
test al, 1
jne 0x40c231
or eax, 1
mov dword [0x674e84], eax
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x30], 0x674e88
mov dword [0x674e88], 0
mov dword [0x674e8c], 0
call fcn.00409fd0
mov dword [0x674e88], eax
push 0x6024b0
mov byte [ebp - 4], 0x14
call fcn.005b797d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, dword [0x674e88]
mov esi, dword [edi]
cmp esi, edi
je 0x40c2a5
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esi + 0x10], 0
jne 0x40c260
push 0
push 0
push str._r__t_0
push str.shutdown.exe
push str.open
push 0
call ebx
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x40c286
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40c282
cmp esi, dword [eax + 8]
jne 0x40c282
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40c272
mov esi, eax
jmp 0x40c29c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40c29c
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x40c290
cmp esi, edi
jne 0x40c243
mov al, byte [ebp - 0x29]
jmp 0x40c2a7
mov al, bl
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.005b75ab
mov esp, ebp
pop ebp
ret