Function at 0x40dfc0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get file attributes
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4beb
mov eax, dword fs:[0]
push eax
sub esp, 0xccc
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0xcc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0xce0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcf4]
mov ebp, dword [esp + 0xcf0]
xor ebx, ebx
mov dword [esp + 0x38], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], cx
mov dword [esp + 0xce8], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x28]
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0xc
call fcn.0040de30
add esp, 0x10
test eax, eax
je 0x40e57d
push 0x44
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.00455040
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebx
push ebx
push ebx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x74], 0x44
mov dword [esp + 0xa0], 0x100
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [esp + 0x60], edi
cmp edi, ebx
jne 0x40e161
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], ebx
call esi
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x30], ebx
call esi
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x28], ebx
call esi
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x20], ebx
call esi
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x2c], ebx
call esi
mov dword [esp + 0x20], ebx
jmp 0x40e57d
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 1
push ebx
lea eax, [esp + 0x40]
push eax
call esi
push eax
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x40e1d4
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x1c], ebx
call esi
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x30], ebx
call esi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x28], ebx
call esi
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x20], ebx
call esi
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x2c], ebx
call esi
push edi
mov dword [esp + 0x24], ebx
call esi
jmp 0x40e57d
push 0x7fe
lea edx, [esp + 0x4e2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x4e8], cx
call fcn.00455040
add esp, 0xc
push 0x104
lea eax, [esp + 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40e21a
lea ecx, [esp + 0x2d4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x4e4]
push str._sextract.exe_l___s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x68]
push eax
push ebx
push ebx
push 0x8000200
push 1
push ebx
push ebx
lea ecx, [esp + 0x4fc]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e2c0
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x1c], ebx
call esi
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x30], ebx
call esi
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x28], ebx
call esi
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x20], ebx
call esi
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x2c], ebx
call esi
push edi
mov dword [esp + 0x24], ebx
call esi
mov edx, dword [esp + 0x34]
push edx
call esi
mov dword [esp + 0x34], ebx
jmp 0x40e57d
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], ebx
call edi
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x20], ebx
call edi
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x24], ebx
call edi
push 0x206
lea edx, [esp + 0xd2]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x64
mov dword [esp + 0x48], ebx
mov word [esp + 0xd8], cx
call fcn.00455040
add esp, 0xc
push ebx
push 0x1a
lea eax, [esp + 0xd4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0xcc]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e340
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xd0]
lea esi, [esp + 0xb4]
call fcn.004093f0
push 0xf
mov eax, str.Free_CD_Burner
mov ecx, esi
call fcn.00409310
push 1
mov eax, 0x4b60e8
mov ecx, esi
call fcn.00409310
mov eax, dword [esp + 0xb4]
mov esi, 8
cmp dword [esp + 0xc8], esi
jae 0x40e39b
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40e3e0
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0xc8], esi
jae 0x40e3be
lea eax, [esp + 0xb4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x40e3e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x40e3e0
cmp eax, 0xb7
jne 0x40e57d
push 0xe
mov eax, str.extractiso.tmp
lea ecx, [esp + 0xb4]
call fcn.00409310
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0xc8], esi
jae 0x40e40a
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0xc8], esi
jae 0x40e428
lea eax, [esp + 0xb4]
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40e57d
lea ebx, [ebx]
mov ecx, dword [esp + 0x40]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40e46c
sub dword [esp + 0x38], 1
js 0x40e4f7
mov eax, dword [ebp]
mov ecx, dword [ebp + 8]
push ebx
push ebx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x40e4f7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x40e450
cmp dword [ebp], eax
jae 0x40e4bb
mov eax, dword [ebp + 8]
push eax
call fcn.0044ec82
mov eax, dword [esp + 0x40]
push eax
mov dword [ebp], eax
call fcn.0044ed5f
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x44]
add esp, 8
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
call fcn.0040dd30
add esp, 0xc
test eax, eax
jne 0x40e4f7
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x40e4f7
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x30]
push edx
push ecx
push esi
call fcn.0040ddb0
add esp, 0xc
test eax, eax
je 0x40e450
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x40e516
push eax
call edi
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x40e521
push eax
call edi
mov ecx, dword [esp + 0x60]
push ecx
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40e533
push eax
call edi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40e53e
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x40e549
push eax
call edi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40e554
push eax
call edi
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x40e55f
push eax
call edi
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40e56a
push eax
call edi
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x40e575
push eax
call edi
mov dword [esp + 0x30], 1
cmp dword [esp + 0xc8], 8
jb 0x40e597
mov edx, dword [esp + 0xb4]
push edx
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xce0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc8]
xor ecx, esp
call fcn.0044e200
add esp, 0xcd8
ret 8