Function at 0x40e5d0
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4a4bab
mov eax, dword fs:[0]
push eax
sub esp, 0xb94
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0xb90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0xba8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xbbc]
mov ebp, dword [esp + 0xbb8]
push 0x206
xor ebx, ebx
lea edx, [esp + 0x1a2]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 1
mov word [esp + 0x1a8], cx
call fcn.00455040
add esp, 0xc
push ebx
push 0x1a
lea eax, [esp + 0x1a4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
lea eax, [esp + 0x19c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e676
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1a0]
lea esi, [esp + 0x2c]
call fcn.004093f0
push 0xf
mov eax, str.Free_CD_Burner
mov ecx, esi
mov dword [esp + 0xbb4], ebx
call fcn.00409310
push 1
mov eax, 0x4b60e8
mov ecx, esi
call fcn.00409310
push 0xe
mov eax, str.extractiso.tmp
mov ecx, esi
call fcn.00409310
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x40e6d6
lea eax, [esp + 0x2c]
push 0x4b6b3c
push eax
call fcn.0044f175
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x40e8db
push edi
lea edx, [esp + 0x3a8]
push 0x800
push edx
mov dword [esp + 0x28], ebx
call fcn.0044f18c
add esp, 0xc
test eax, eax
je 0x40e8df
push str._____________________________________________________________________________
cmp dword [esp + 0x20], ebx
je 0x40e75c
lea eax, [esp + 0x3a8]
push eax
call fcn.0044e5d0
add esp, 8
test eax, eax
jne 0x40e8df
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e740
sub eax, edx
mov esi, eax
cmp esi, 1
jne 0x40e781
push 0x5c
lea edx, [esp + 0x3dd]
push edx
jmp 0x40e7a5
lea ecx, [esp + 0x3a8]
push ecx
call fcn.0044e5d0
add esp, 8
test eax, eax
je 0x40e8bb
mov dword [esp + 0x1c], 1
jmp 0x40e8bb
push esi
lea eax, [esp + 0x3dd]
push eax
push ebp
call fcn.0049de93
add esp, 0xc
test eax, eax
jne 0x40e8bb
push 0x5c
lea ecx, [esp + esi + 0x3dd]
push ecx
call fcn.0044e670
add esp, 8
test eax, eax
jne 0x40e8bb
mov edx, dword [esp + 0x3a4]
mov eax, dword [esp + 0x3a8]
mov ecx, dword [esp + 0x3ac]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x3b0]
mov dword [esp + 0x64], edx
xor edx, edx
cmp byte [esp + 0x3b8], 0x44
mov dword [esp + 0x5c], eax
mov ax, word [esp + 0x3b4]
sete dl
mov word [esp + 0x68], ax
mov dword [esp + 0x60], ecx
mov cl, byte [esp + 0x3b6]
lea eax, [esp + 0x3be]
push eax
mov byte [esp + 0x6e], cl
mov byte [esp + 0x6f], bl
mov dword [esp + 0x48], edx
call fcn.0044f099
lea ecx, [esp + 0x3cf]
add esp, 4
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
call fcn.0044f099
mov dword [esp + 0x54], eax
lea eax, [esp + 0x3dd]
mov dword [esp + 0x58], edx
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e848
sub eax, edx
cmp eax, 1
jl 0x40e869
cmp byte [esp + eax + 0x3d8], 0xa
lea eax, [esp + eax + 0x3d8]
jne 0x40e869
mov byte [eax], bl
lea eax, [esp + 0x3d9]
cmp esi, 1
je 0x40e890
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e880
sub eax, edx
lea eax, [esp + eax + 0x3d9]
lea edx, [esp + 0x98]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x40e8a0
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x44]
call fcn.00410c30
mov edi, dword [esp + 0x20]
push edi
lea edx, [esp + 0x3a8]
push 0x800
push edx
call fcn.0044f18c
add esp, 0xc
test eax, eax
jne 0x40e714
jmp 0x40e8df
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x40], 8
jb 0x40e8f3
mov eax, dword [esp + 0x2c]
push eax
call fcn.00442977
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xba8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb90]
xor ecx, esp
call fcn.0044e200
add esp, 0xba0
ret 8