Function at 0x4a4bd0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
mov esi, ecx
push eax
call fcn.004a44f0
test eax, eax
jne 0x4a4bf1
pop esi
add esp, 0x104
ret 4
mov ecx, dword [esi + 0x294]
push ebx
push ebp
push edi
lea edi, [esi + 0x294]
push ecx
push edi
push 0x663da0
mov ecx, esi
call fcn.00497930
mov eax, dword [esi + 0x28c]
test eax, eax
je 0x4a4c28
mov eax, dword [edi]
cmp eax, 2
jg 0x4a4c24
mov eax, 2
mov dword [edi], eax
jmp 0x4a4c2e
mov dword [edi], 1
mov edx, dword [esi + 0x298]
lea edi, [esi + 0x298]
push edx
push edi
push 0x663d90
mov ecx, esi
call fcn.00497930
mov eax, dword [esi + 0x28c]
test eax, eax
jne 0x4a4c58
mov dword [edi], 1
mov ecx, dword [esi + 0x29c]
lea eax, [esi + 0x29c]
push ecx
push eax
push 0x663d80
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2a0]
lea eax, [esi + 0x2a0]
push edx
push eax
push 0x663d70
mov ecx, esi
call fcn.00497930
mov eax, dword [esi + 0x2a4]
lea edi, [esi + 0x2a4]
push eax
push edi
push 0x663d60
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x2a8]
lea eax, [esi + 0x2a8]
push ecx
push eax
push 0x663d4c
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2ac]
lea eax, [esi + 0x2ac]
push edx
push eax
push 0x663d3c
mov ecx, esi
call fcn.00497930
mov eax, dword [esi + 0x2b8]
lea ebx, [esi + 0x2b8]
push eax
push ebx
push 0x663d28
mov ecx, esi
call fcn.00497930
mov ecx, dword [ebx]
push ecx
push ebx
push 0x663d18
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2bc]
lea eax, [esi + 0x2bc]
push edx
push eax
push 0x663d08
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x2c0]
lea eax, [esi + 0x2c0]
push ecx
push eax
push 0x663cfc
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2c4]
lea eax, [esi + 0x2c4]
push edx
push eax
push 0x663ce8
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x2cc]
lea eax, [esi + 0x2cc]
push ecx
push eax
push 0x663cdc
mov ecx, esi
call fcn.00497930
lea edx, [esp + 0x10]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x663ccc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0055b320
add esp, 8
test eax, eax
jne 0x4a4da9
mov dword [esi + 0x2c8], 1
mov dl, byte [esi + 0x2d8]
lea eax, [esi + 0x2d8]
push edx
push eax
push 0x663cc0
mov ecx, esi
call fcn.00497a00
mov ecx, dword [esi + 0x2d0]
lea eax, [esi + 0x2d0]
push ecx
push eax
push 0x663cb0
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2d4]
lea eax, [esi + 0x2d4]
push edx
push eax
push 0x663ca0
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x2dc]
lea eax, [esi + 0x2dc]
push ecx
push eax
push 0x663c90
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2e0]
lea eax, [esi + 0x2e0]
push edx
push eax
push 0x663c80
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x2b0]
lea eax, [esi + 0x2b0]
push ecx
push eax
push 0x663c6c
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2f0]
lea eax, [esi + 0x2f0]
push edx
push eax
push 0x663c60
mov ecx, esi
call fcn.00497930
lea eax, [esi + 0x2f4]
push 0x20
push eax
push eax
push 0x663c50
mov ecx, esi
call fcn.00497850
mov ecx, dword [esi + 0x3a0]
lea eax, [esi + 0x3a0]
push ecx
push eax
push 0x663c3c
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x3a4]
lea eax, [esi + 0x3a4]
push edx
push eax
push 0x663c28
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x3a8]
lea eax, [esi + 0x3a8]
push ecx
push eax
push 0x663c1c
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x3ac]
lea eax, [esi + 0x3ac]
push edx
push eax
push 0x663c0c
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x3b0]
lea eax, [esi + 0x3b0]
push ecx
push eax
push 0x663bfc
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x3b8]
lea eax, [esi + 0x3b8]
push edx
push eax
push 0x663bec
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x3bc]
lea eax, [esi + 0x3bc]
push ecx
push eax
push 0x663bd8
mov ecx, esi
call fcn.00497930
mov edx, dword [edi]
mov ecx, esi
push edx
push edi
push 0x663bc8
call fcn.00497930
mov ecx, dword [esi + 0x2e4]
lea eax, [esi + 0x2e4]
push ecx
push eax
push 0x663bb4
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x2e8]
lea eax, [esi + 0x2e8]
push edx
push eax
push 0x663ba0
mov ecx, esi
call fcn.00497930
mov cl, byte [esi + 0x2ec]
lea eax, [esi + 0x2ec]
push ecx
push eax
push 0x663b8c
mov ecx, esi
call fcn.00497a00
mov dl, byte [esi + 0x2ed]
lea eax, [esi + 0x2ed]
push edx
push eax
push 0x663b7c
mov ecx, esi
call fcn.00497a00
lea edi, [esi + 0x315]
push 0xff
push edi
push edi
push 0x663b6c
mov ecx, esi
call fcn.00497850
mov eax, dword [esi + 0x338]
lea ebx, [esi + 0x338]
push eax
push ebx
push 0x663b5c
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x33c]
lea ebp, [esi + 0x33c]
push ecx
push ebp
push 0x663b4c
mov ecx, esi
call fcn.00497930
lea eax, [esi + 0x340]
push 0xff
push eax
push eax
push 0x663b3c
mov ecx, esi
call fcn.00497850
mov edx, dword [esi + 0x364]
lea eax, [esi + 0x364]
push edx
push eax
push 0x663b2c
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x368]
lea eax, [esi + 0x368]
push ecx
push eax
push 0x663b1c
mov ecx, esi
call fcn.00497930
lea eax, [esi + 0x36c]
push 0xff
push eax
push eax
push 0x663b0c
mov ecx, esi
call fcn.00497850
mov edx, dword [esi + 0x390]
lea eax, [esi + 0x390]
push edx
push eax
push 0x663afc
mov ecx, esi
call fcn.00497930
mov ecx, dword [esi + 0x394]
lea eax, [esi + 0x394]
push ecx
push eax
push 0x663aec
mov ecx, esi
call fcn.00497930
push 0xff
push edi
push edi
push 0x663b6c
mov ecx, esi
call fcn.00497850
mov edx, dword [ebx]
mov ecx, esi
push edx
push ebx
push 0x663b5c
call fcn.00497930
mov eax, dword [ebp]
mov ecx, esi
push eax
push ebp
push 0x663b4c
call fcn.00497930
mov ecx, dword [esi + 0x2b4]
lea eax, [esi + 0x2b4]
push ecx
push eax
push 0x663adc
mov ecx, esi
call fcn.00497930
mov dl, byte [esi + 0x3b4]
lea eax, [esi + 0x3b4]
push edx
push eax
push 0x663acc
mov ecx, esi
call fcn.00497a00
mov ecx, dword [esi + 0x398]
lea eax, [esi + 0x398]
push ecx
push eax
push 0x663abc
mov ecx, esi
call fcn.00497930
mov edx, dword [esi + 0x39c]
lea eax, [esi + 0x39c]
push edx
push eax
push 0x663aac
mov ecx, esi
call fcn.00497930
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x104
ret 4