Function at 0x48a110
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1eb8
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1eb4], eax
push ebp
push esi
mov esi, dword [esp + 0x1ec4]
xor ebp, ebp
mov dword [esp + 0x18], esi
cmp dword [esi + 0x30], ebp
jne 0x48a15a
cmp dword [0x4dbca8], 1
jne 0x48a2f0
push 0x4e79f4
push 0x4e75f4
mov ecx, esi
call fcn.00465650
push edi
push ebp
push ebp
push 0x4b1914
push 3
call fcn.00481ad0
lea ecx, [esp + 0x1ac0]
push ecx
push 0x400
mov byte [esp + 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x400
lea edx, [esp + 0x12c4]
push edx
lea eax, [esp + 0x4c8]
xor edi, edi
push eax
mov ecx, esi
mov byte [esp + 0x8cc], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call fcn.00465970
test al, al
je 0x48a546
push ebx
nop
cmp dword [0x4dc1c0], ebp
jne 0x48a53b
lea ecx, [esp + 0x4c4]
push ecx
call fcn.0044daf0
push eax
push 0x20c
call fcn.0045be10
push eax
lea edx, [esp + 0xccc]
push edx
call fcn.0049e635
add esp, 0xc
lea eax, [esp + 0xcc4]
push eax
call fcn.0047f760
call fcn.0047ff60
lea ecx, [esp + 0x1ac4]
push ecx
call fcn.004acbe8
add esp, 4
lea edx, [esp + 0x12c4]
push edx
lea eax, [esp + 0x4c8]
push eax
call fcn.0042fd20
push eax
call fcn.0042fcd0
test al, al
jne 0x48a517
inc dword [esp + 0x18]
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x4c8]
push edx
mov ecx, 0x4dff38
call fcn.0043d960
test al, al
jne 0x48a53b
cmp edi, ebp
je 0x48a26b
push 0x4b1914
call fcn.0047f8e0
lea eax, [esp + 0x4c4]
push eax
call fcn.0044daf0
push eax
call fcn.0047f8e0
push 0x264
call fcn.0045be10
push eax
call fcn.0047f8e0
call fcn.0047b3d0
push ebp
push 1
lea ecx, [esp + 0x12cc]
push ecx
lea edx, [esp + 0x4d0]
push edx
mov ecx, 0x4e0c60
xor bl, bl
call fcn.00414490
cmp eax, 1
je 0x48a32a
push 1
push ebp
push ebp
lea eax, [esp + 0x40]
push eax
push ebp
lea ecx, [esp + 0x4d8]
push ecx
mov ecx, 0x4e0c60
mov bl, 1
call fcn.00413620
mov eax, dword [esp + 0x34]
sub eax, ebp
je 0x48a320
sub eax, 1
je 0x48a316
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], 0x3f3f3f
jmp 0x48a339
push 0x30
push 0x65
call fcn.0045be10
push eax
push 0x14c
call fcn.0045be10
push eax
mov eax, dword [0x4dc210]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x48a5d9
mov dword [esp + 0x24], 0x50495a
jmp 0x48a339
mov dword [esp + 0x24], 0x524152
jmp 0x48a339
lea edx, [esp + 0x24]
push edx
mov ecx, 0x4e0c60
call fcn.00413570
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xcc8]
push str.______s
push ecx
call fcn.0049e635
add esp, 0xc
lea edx, [esp + 0xcc4]
push edx
call fcn.0047f8e0
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x48a386
cmp eax, 1
je 0x48a386
push 0x266
call fcn.0045be10
push eax
call fcn.0047f8e0
inc dword [esp + 0x10]
jmp 0x48a517
push 0x4b1914
call fcn.0047f8e0
push 0x4e75f4
lea eax, [esp + 0x4c8]
push eax
call fcn.0042fda0
push 0x4e79f4
lea ecx, [esp + 0x12c8]
push ecx
call fcn.0042fe30
mov edx, dword [esp + 0x34]
mov dword [0x4e6194], edx
test bl, bl
jne 0x48a3d8
cmp edi, ebp
je 0x48a3d8
lea eax, [esp + 0x8c4]
push eax
call fcn.004acbe8
add esp, 4
jmp 0x48a418
mov edx, dword [0x4db884]
mov eax, dword [0x4c93a8]
lea ecx, [esp + 0x4c4]
push ecx
push 0x486c90
push edx
push str.REPAIRARC
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x48a53b
lea ecx, [esp + 0x8c4]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x8c4]
mov byte [eax + 0x4e2f08], cl
inc eax
test cl, cl
jne 0x48a420
call fcn.0047ff60
mov ecx, 0x4e0c60
call fcn.00411300
mov edx, dword [str.fixed.]
mov ax, word [0x4b3994]
mov cl, byte [0x4b3996]
push 0x4e75f4
mov dword [esp + 0xc8], edx
mov word [esp + 0xcc], ax
mov byte [esp + 0xce], cl
call fcn.0044daf0
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x48a475
lea edi, [esp + 0xc4]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48a488
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
lea edx, [esp + 0xc8]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0042fc80
test al, al
jne 0x48a50b
mov eax, dword [str.rebuilt.]
mov ecx, dword [0x4b3988]
mov dl, byte [0x4b398c]
push 0x4e75f4
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov byte [esp + 0xd0], dl
call fcn.0044daf0
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a4e2
lea edi, [esp + 0xc4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48a4f3
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push 0x400
lea eax, [esp + 0x12c8]
push eax
lea ecx, [esp + 0x4cc]
push ecx
mov ecx, esi
call fcn.00465970
test al, al
jne 0x48a1c0
pop ebx
cmp edi, ebp
jne 0x48a553
cmp dword [esp + 0xc], ebp
jne 0x48a553
mov edx, dword [0x4db884]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
cmp dword [esp + 0x10], ebp
jne 0x48a57b
push 0x30
push 0x65
call fcn.0045be10
push eax
push 0x14c
call fcn.0045be10
push eax
mov eax, dword [0x4dc210]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x4db884], ebp
je 0x48a5a7
cmp dword [0x4dc1c0], ebp
je 0x48a592
push 0x271
jmp 0x48a597
push 0x270
call fcn.0045be10
push eax
call fcn.0047f8e0
call fcn.0047f980
cmp dword [0x4dbca4], ebp
jne 0x48a5d9
push ebp
push ebp
lea ecx, [esp + 0xc4]
push ecx
call fcn.0042fc80
movzx edx, al
neg edx
sbb edx, edx
lea eax, [esp + 0xc0]
and edx, eax
push edx
mov ecx, 0x4dff38
call fcn.004413b0
mov ecx, dword [esp + 0x1ebc]
pop esi
pop ebp
xor ecx, esp
call fcn.0049e626
add esp, 0x1eb8
ret 4