Function at 0x409420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ecx, 0x409bb0
mov ebp, esp
push edi
lea eax, [ebp - 0x18]
push esi
mov esi, 0x473640
push ebx
sub esp, 0x20c
mov ebx, 0x4b4c58
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1b4]
mov dword [esp], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], esp
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], ebx
call fcn.0047f180
mov dword [esp + 8], 0x4093c0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x48]
mov dword [esp], edx
mov edx, 0xffffffff
mov dword [esp + 4], eax
mov dword [ebp - 0x1b0], edx
call fcn.00457c10
mov eax, dword [ebp + 0xc]
sub esp, 4
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0x10
mov dword [ebp - 0x1b0], eax
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0xf
mov dword [esp + 8], 0x4093c2
mov dword [esp + 4], edx
mov dword [ebp - 0x1b0], eax
call fcn.00457c10
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
mov eax, 0x10
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea eax, [ebp - 0x48]
mov edi, 0xe
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1b0], eax
call fcn.00456470
mov dword [ebp - 0x1b0], edi
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.00457590
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll__access
test eax, eax
je 0x4099bf
mov edx, dword [ebp + 0x10]
mov esi, 0xe
mov dword [ebp - 0x1b0], esi
mov dword [esp], edx
call fcn.00457590
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00457590
mov dword [ebp - 0x1c0], eax
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.00457590
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1bc]
mov dword [esp], 0x4093c7
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x1c0]
mov dword [esp + 8], edx
call fcn.00433d70
mov dword [esp + 4], 0x4093dd
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00456350
lea edx, [ebp - 0x28]
mov ebx, 0xd
lea eax, [ebp - 0x38]
mov dword [esp + 8], edx
lea edx, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0x1b0], ebx
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x48]
mov ecx, 0xc
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [ebp - 0x1b0], ecx
call fcn.004269d0
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xd
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0xe
mov dword [ebp - 0x1b0], eax
call fcn.00456470
mov dword [esp], 0x10
call fcn.00475ba0
mov dword [ebp - 0x1c4], eax
mov dword [esp], eax
mov eax, 0xb
mov byte [ebp - 0x1c5], 1
mov dword [ebp - 0x1b0], eax
call fcn.00456130
mov byte [ebp - 0x1c5], 0
mov eax, dword [ebp - 0x1c4]
mov dword [esp], 0x10
mov dword [ebp - 0x48], eax
mov eax, 0xa
mov dword [ebp - 0x1b0], eax
call fcn.00475ba0
mov dword [ebp - 0x1cc], eax
mov dword [esp], eax
mov eax, 9
mov byte [ebp - 0x1cd], 1
mov dword [ebp - 0x1b0], eax
call fcn.00456130
cmp dword [0x4be330], 2
mov byte [ebp - 0x1cd], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x38], eax
je 0x4099eb
mov dword [esp + 4], 0x104
lea edx, [ebp - 0x168]
mov ebx, 8
mov dword [esp], edx
mov dword [ebp - 0x1b0], ebx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
sub esp, 8
lea eax, [ebp - 0x178]
mov dword [esp + 4], 0x4093e5
mov dword [esp], eax
call fcn.00456350
lea edx, [ebp - 0x168]
mov ecx, 6
lea eax, [ebp - 0x188]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x1b0], ecx
call fcn.00456350
lea edx, [ebp - 0x178]
lea eax, [ebp - 0x188]
mov dword [esp + 8], edx
lea edx, [ebp - 0x58]
mov dword [esp], edx
mov edx, 5
mov dword [esp + 4], eax
mov dword [ebp - 0x1b0], edx
call fcn.00457b60
mov eax, dword [ebp - 0x58]
sub esp, 4
inc dword [eax]
mov eax, dword [ebp - 0x48]
mov edx, eax
mov dword [ebp - 0x1dc], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x40976f
mov dword [esp], edx
mov eax, 4
mov dword [ebp - 0x1b0], eax
call fcn.00456230
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov eax, 5
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea eax, [ebp - 0x188]
mov dword [esp], eax
mov eax, 6
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea edx, [ebp - 0x178]
mov eax, 8
mov dword [esp], edx
mov dword [ebp - 0x1b0], eax
call fcn.00456470
mov dword [esp + 4], 0x4093f2
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00456350
mov dword [esp + 8], 0x4093fd
lea edx, [ebp - 0x58]
mov edi, 3
mov dword [esp + 4], edx
lea eax, [ebp - 0x178]
mov dword [esp], eax
mov dword [ebp - 0x1b0], edi
call fcn.00457c10
mov edx, dword [ebp + 0x10]
sub esp, 4
lea eax, [ebp - 0x178]
mov dword [esp + 4], eax
mov esi, 2
mov dword [ebp - 0x1b0], esi
mov dword [esp + 8], edx
lea edx, [ebp - 0x188]
mov dword [esp], edx
call fcn.00457b60
mov eax, dword [ebp - 0x188]
sub esp, 4
inc dword [eax]
mov eax, dword [ebp - 0x38]
mov edx, eax
mov dword [ebp - 0x1e0], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x409865
mov dword [esp], edx
mov ebx, 1
mov dword [ebp - 0x1b0], ebx
call fcn.00456230
mov eax, dword [ebp - 0x1e0]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x188]
mov edx, 2
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x188]
mov dword [esp], eax
call fcn.00456470
lea eax, [ebp - 0x178]
mov dword [esp], eax
mov eax, 3
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov eax, 8
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 8
mov dword [ebp - 0x1b0], eax
call fcn.00457590
mov dword [ebp - 0x1e4], eax
mov dword [esp], 0x4be3d0
call fcn.00457590
mov dword [ebp - 0x1e8], eax
lea edx, [ebp - 0x38]
mov dword [esp], edx
call fcn.00457590
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00457590
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [esp], 0x4093ff
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x1e8]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x1ec]
mov dword [esp + 8], edx
call fcn.00433d70
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00457590
mov dword [ebp - 0x1f0], eax
mov dword [esp], 0x4be3d0
call fcn.00457590
mov dword [ebp - 0x1f4], eax
lea edx, [ebp - 0x38]
mov dword [esp], edx
call fcn.00457590
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00457590
mov dword [esp], eax
mov edx, dword [ebp - 0x1f0]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x1f4]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x1f8]
mov dword [esp + 4], edx
call fcn.00431bb0
lea eax, [ebp - 0x38]
mov edi, 0xa
mov dword [esp], eax
mov dword [ebp - 0x1b0], edi
call fcn.00456470
lea eax, [ebp - 0x48]
mov ebx, 0xe
mov dword [esp], eax
mov dword [ebp - 0x1b0], ebx
call fcn.00456470
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x1b0], eax
call fcn.00456470
lea eax, [ebp - 0x1b4]
mov dword [esp], eax
call fcn.0047f230
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
inc dword [eax]
mov eax, dword [ebp - 0x48]
mov edx, eax
mov dword [ebp - 0x1d4], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x409a27
mov dword [esp], edx
mov eax, 8
mov dword [ebp - 0x1b0], eax
call fcn.00456230
mov eax, dword [ebp - 0x1d4]
mov dword [esp], eax
call fcn.00475b80
mov edx, dword [ebp + 0x10]
mov edi, 8
mov eax, dword [edx]
mov dword [esp + 4], 0x4093fd
mov dword [ebp - 0x1b0], edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00456350
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
inc dword [eax]
mov dword [ebp - 0x1d8], edx
mov eax, dword [edx]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x409a85
mov dword [esp], edx
mov esi, 7
mov dword [ebp - 0x1b0], esi
call fcn.00456230
mov eax, dword [ebp - 0x1d8]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
jmp 0x4098a0