Function at 0x410fac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
lea ebx, [ebp - 0x50]
mov eax, 0x499110
call fcn.00473c74
cmp byte [0x4a5844], 0
je 0x411097
mov word [ebx + 0x10], 8
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
mov eax, dword [0x4a5490]
mov eax, dword [eax]
call fcn.0044a2a8
lea eax, [ebp - 4]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebx + 0x1c]
call fcn.0046923c
lea eax, [ebp - 8]
push eax
mov edx, str.ascd_dbg.ini
lea eax, [ebp - 0xc]
call fcn.004914e8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x10]
pop eax
call fcn.00491654
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.0049162c
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x14
push eax
lea eax, [ebp - 0x10]
dec dword [ebx + 0x1c]
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004915fc
pop eax
mov word [ebx + 0x10], 8
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x411204
mov word [ebx + 0x10], 0x20
xor ecx, ecx
mov dword [ebp - 0x14], ecx
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 0x2c
push 0xff
lea eax, [ebp - 0x150]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x150]
push edx
call fcn.00473a38
pop ecx
cmp eax, 3
jne 0x411147
mov word [ebx + 0x10], 0x38
mov edx, str.ascd_tmp.ini
lea eax, [ebp - 0x1c]
call fcn.004914e8
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x18]
call fcn.004914e8
inc dword [ebx + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
inc dword [ebx + 0x1c]
pop edx
call fcn.00491654
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.0049162c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004915fc
jmp 0x4111be
mov word [ebx + 0x10], 0x44
mov edx, str._ascd_tmp.ini
lea eax, [ebp - 0x28]
call fcn.004914e8
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x24]
call fcn.004914e8
inc dword [ebx + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
inc dword [ebx + 0x1c]
pop edx
call fcn.00491654
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.0049162c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004915fc
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004915fc
mov word [ebx + 0x10], 0x50
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.0049162c
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x5c
push eax
lea eax, [ebp - 0x14]
dec dword [ebx + 0x1c]
call fcn.004915fc
pop eax
mov word [ebx + 0x10], 0x50
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x411204
pop ebx
mov esp, ebp
pop ebp
ret