Function at 0x4097b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x4c], eax
mov eax, 0x465aa4
call fcn.004566f8
push 0x100
lea edx, [ebp - 0x150]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0x38], 0x14
lea eax, [ebp - 4]
call fcn.00401a24
push eax
inc dword [ebp - 0x2c]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.004607d0
inc dword [ebp - 0x2c]
mov eax, dword [eax]
pop edx
call fcn.0044ef60
dec dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0x38], 8
lea ecx, [ebp - 0x150]
push ecx
call fcn.00455914
pop ecx
mov word [ebp - 0x38], 0x20
lea eax, [ebp - 8]
call fcn.00401a24
push eax
inc dword [ebp - 0x2c]
mov edx, str.AS_Debug.txt
lea eax, [ebp - 0x10]
call fcn.004607d0
inc dword [ebp - 0x2c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
pop ecx
call fcn.004608f8
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0x38], 8
mov eax, dword [ebp - 8]
call fcn.0044b888
test al, al
je 0x409942
mov eax, dword [ebp - 8]
call fcn.00460744
test al, al
jne 0x409942
mov word [ebp - 0x38], 0x2c
lea eax, [ebp - 0x14]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0x2c]
lea edx, [ebp - 8]
mov eax, str.Cant_remove
call fcn.00460d80
lea eax, [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042fa70
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0x38], 0x38
mov edx, 0x4630d5
lea eax, [ebp - 0x18]
call fcn.004607d0
inc dword [ebp - 0x2c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.004608d0
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x38], 0x44
push eax
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop eax
mov word [ebp - 0x38], 0x38
inc dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword fs:[0], edx
jmp 0x409a5f
mov eax, dword [ebp - 8]
call fcn.0044b790
mov dword [ebp - 0x50], eax
mov word [ebp - 0x38], 8
cmp dword [ebp - 0x50], 1
jge 0x409a08
mov word [ebp - 0x38], 0x50
lea eax, [ebp - 0x20]
call fcn.00401a24
mov ecx, eax
inc dword [ebp - 0x2c]
lea edx, [ebp - 8]
mov eax, str.Cant_create
call fcn.00460d80
lea eax, [ebp - 0x20]
mov eax, dword [eax]
call fcn.0042fa70
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004608a0
mov word [ebp - 0x38], 0x5c
mov edx, 0x4630e4
lea eax, [ebp - 0x24]
call fcn.004607d0
inc dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.004608d0
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x38], 0x68
push eax
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop eax
mov word [ebp - 0x38], 0x5c
inc dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword fs:[0], edx
jmp 0x409a5f
mov eax, dword [ebp - 0x50]
call fcn.0044b818
mov word [ebp - 0x38], 0x74
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.004608d0
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x38], 0x80
push eax
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004608a0
dec dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004608a0
pop eax
mov word [ebp - 0x38], 0x74
inc dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret