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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x28c
mov eax, dword [ebp + 0x78]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp + 0x58], ebx
je 0x1001c759
mov dx, word [eax]
cmp dx, bx
je 0x1001c759
cmp word [eax + 2], 0x3a
jne 0x1001c759
mov cx, word [eax + 4]
cmp cx, bx
je 0x1001c756
cmp cx, 0x5c
jne 0x1001c759
cmp word [eax + 6], bx
jne 0x1001c759
mov dword [ebp + 0x58], edx
push dword [ebp + 0x7c]
mov word [ebp + 0x60], 0xff
mov word [ebp + 0x62], 0x3a
mov word [ebp + 0x64], bx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x22]
add eax, 0x28
push eax
lea ecx, [ebp + 0x54]
call fcn.10045fcc
mov eax, dword [ebp + 0x54]
push 0x10
pop ecx
mov dword [ebp + 0x68], eax
xor eax, eax
mov dword [ebp - 0x18], 0x44
lea edi, [ebp - 0x14]
rep stosd dword es:[edi], eax
or dword [ebp + 0x14], 1
mov esi, str..D:
lea edi, [ebp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.ImDiskFormat
movsd dword es:[edi], dword [esi]
push ebx
push ebx
mov word [ebp + 0x18], bx
mov dword [ebp + 0x5c], 8
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 0x58]
cmp si, bx
mov dword [ebp + 0x50], eax
je 0x1001c7d2
mov word [ebp + 0x60], si
jmp 0x1001c7fe
push dword [ebp + 0x78]
call fcn.10013ab7
cmp eax, ebx
pop ecx
mov dword [ebp + 0x74], eax
jge 0x1001c7f4
lea ecx, [ebp + 0x54]
call fcn.1003f96c
mov eax, dword [ebp + 0x74]
neg eax
jmp 0x1001c9dc
call dword [0x100e3074]
mov word [ebp + 0x60], ax
push dword [ebp + 0x74]
lea eax, [ebp - 0x220]
push str.DeviceImDisk_u
push 0x103
push eax
call fcn.100b46b8
add esp, 0x10
cmp word [ebp + 0x60], bx
je 0x1001c840
cmp si, bx
jne 0x1001c84c
push ebx
push 1
push ebx
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10054b6b
add esp, 0x14
test eax, eax
jne 0x1001c84c
mov dword [ebp + 0x5c], 8
jmp 0x1001c9b8
push str.format.com
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x68]
call esi
push 0x100c7598
push dword [ebp + 0x68]
call esi
mov edi, dword [ebp + 0x7c]
cmp word [edi], 0x22
jne 0x1001c896
inc edi
inc edi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jle 0x1001c896
lea eax, [edi + eax*2 - 2]
cmp word [eax], 0x22
jne 0x1001c896
mov word [eax], bx
push edi
push dword [ebp + 0x68]
call esi
push 0x100ca974
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1001c8b6
push 0x100ca968
push dword [ebp + 0x68]
call esi
push 0x100ca974
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1001c8d0
push 0x100ca95c
push dword [ebp + 0x68]
call esi
mov ax, word [ebp + 0x60]
mov word [ebp + 0x34], ax
mov edi, 0x12b
mov esi, 0x100e3108
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1001c90c
push ebx
push ebx
push 0x64
mov ecx, esi
call fcn.10011621
dec edi
jns 0x1001c8e2
jmp 0x1001c913
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1d
mov dword [ebp + 0x4c], 2
pop edi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push dword [ebp + 0x68]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1001c947
dec dword [ebp + 0x4c]
jns 0x1001c97f
push 8
pop esi
jmp 0x1001c9d2
push dword [ebp + 0x40]
mov dword [ebp + 0x78], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x78]
push eax
push dword [ebp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 0x78]
push dword [ebp + 0x3c]
mov dword [ebp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x78], ebx
je 0x1001c98d
push ebx
push ebx
push 0x64
mov ecx, esi
call fcn.10011621
dec edi
jns 0x1001c91d
cmp word [ebp + 0x58], bx
jne 0x1001c9a6
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp + 0x60]
push eax
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push ebx
push 0x10000
push ebx
push dword [ebp + 0x74]
call fcn.10014031
add esp, 0x10
cmp dword [ebp + 0x50], ebx
je 0x1001c9cf
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x5c]
lea ecx, [ebp + 0x54]
call fcn.1003f96c
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret