Function at 0x408980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
mov eax, 0x462630
push ebx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x1c], edx
call fcn.004533cc
push 0x100
lea edx, [ebp - 0x148]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebx + 0x10], 0x14
lea edx, [ebp - 0x148]
lea eax, [ebp - 0xc]
call fcn.0045d380
inc dword [ebx + 0x1c]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
call fcn.0044be44
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0045d450
mov word [ebx + 0x10], 8
lea eax, [ebp - 0x148]
push eax
call fcn.00452664
pop ecx
mov edx, str.AS_Debug.txt
mov word [ebx + 0x10], 0x20
lea eax, [ebp - 0x10]
call fcn.0045d380
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 8]
call fcn.0045d4a8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0045d450
mov word [ebx + 0x10], 8
mov eax, dword [ebp - 8]
call fcn.004487b4
test al, al
je 0x408b04
mov eax, dword [ebp - 8]
call fcn.0045d2c8
test al, al
jne 0x408b04
mov word [ebx + 0x10], 0x2c
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov eax, str.Cant_remove
call fcn.0045d97c
lea eax, [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042e0b0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0045d450
mov word [ebx + 0x10], 0x38
mov edx, 0x45ffc4
lea eax, [ebp - 0x18]
call fcn.0045d380
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0045d480
mov eax, dword [ebp - 0x1c]
mov edx, 2
mov word [ebx + 0x10], 0x44
push eax
lea eax, [ebp - 0x18]
dec dword [ebx + 0x1c]
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0045d450
pop eax
mov word [ebx + 0x10], 0x38
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x408c16
mov eax, dword [ebp - 8]
call fcn.004486bc
mov word [ebx + 0x10], 8
cmp eax, 1
jge 0x408bc3
mov word [ebx + 0x10], 0x50
xor edx, edx
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x20]
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov eax, str.Cant_create
call fcn.0045d97c
lea eax, [ebp - 0x20]
mov eax, dword [eax]
call fcn.0042e0b0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0045d450
mov word [ebx + 0x10], 0x5c
mov edx, 0x45ffd3
lea eax, [ebp - 0x24]
call fcn.0045d380
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.0045d480
mov eax, dword [ebp - 0x1c]
mov edx, 2
mov word [ebx + 0x10], 0x68
push eax
lea eax, [ebp - 0x24]
dec dword [ebx + 0x1c]
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0045d450
pop eax
mov word [ebx + 0x10], 0x5c
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x408c16
call fcn.00448744
mov word [ebx + 0x10], 0x74
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.0045d480
mov eax, dword [ebp - 0x1c]
mov edx, 2
mov word [ebx + 0x10], 0x80
push eax
lea eax, [ebp - 8]
dec dword [ebx + 0x1c]
call fcn.0045d450
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0045d450
pop eax
mov word [ebx + 0x10], 0x74
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret