Function at 0x48aabc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff154
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, 0x4b5e24
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x48ab25
cmp dword [0x4d27d8], 1
jne 0x48aafd
mov ecx, 0x4c7c88
mov edx, 0x4c7888
mov eax, dword [ebp - 4]
call fcn.004107c0
jmp 0x48ab25
push 0x30
mov eax, 0x65
call fcn.00413388
push eax
mov eax, 0x14c
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
jmp 0x48af00
push 0
lea edx, [edi + 4]
xor ecx, ecx
mov eax, 3
call fcn.00476300
mov byte [ebp - 0x410], 0
lea edx, [ebp - 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov byte [ebp - 0xc10], 0
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
jmp 0x48ae36
lea eax, [ebp - 0x1010]
call fcn.0040c4d0
push eax
mov eax, 0x20c
call fcn.00413388
push eax
lea edx, [ebp - 0x1e10]
push edx
call fcn.004a2e18
add esp, 0xc
lea eax, [ebp - 0x1e10]
call fcn.004781d0
call fcn.004774b8
lea edx, [ebp - 0x810]
push edx
call fcn.004a186c
pop ecx
lea edx, [ebp - 0x1810]
lea eax, [ebp - 0x1010]
call fcn.0040ad8c
call fcn.0040aa90
test al, al
jne 0x48ae36
inc dword [ebp - 8]
lea ecx, [ebp - 0xd]
lea edx, [ebp - 0x1010]
mov eax, 0x4cfe48
call fcn.0045e634
test al, al
jne 0x48ae60
test esi, esi
je 0x48abf1
lea eax, [edi + 4]
call fcn.00478308
lea eax, [ebp - 0x1010]
call fcn.0040c4d0
call fcn.00478308
mov eax, 0x264
call fcn.00413388
call fcn.00478308
call fcn.0044b01c
xor ebx, ebx
push 1
push 0
lea ecx, [ebp - 0x1810]
lea edx, [ebp - 0x1010]
mov eax, 0x4d0b94
call fcn.00457674
dec eax
je 0x48acb8
mov bl, 1
lea eax, [ebp - 0x1e9c]
push eax
push 0
push 0
push 1
lea edx, [ebp - 0x1010]
mov eax, 0x4d0b94
xor ecx, ecx
call fcn.00458e40
mov edx, dword [ebp - 0x1e9c]
sub edx, 1
jb 0x48ac68
je 0x48ac80
jmp 0x48ac98
lea eax, [edi + 0xa31]
push eax
lea edx, [ebp - 0x1eac]
push edx
call fcn.0049fdd4
add esp, 8
jmp 0x48acc8
lea ecx, [edi + 0xa35]
push ecx
lea eax, [ebp - 0x1eac]
push eax
call fcn.0049fdd4
add esp, 8
jmp 0x48acc8
xor edx, edx
mov dword [ebp - 0x1e9c], edx
lea ecx, [edi + 0xa39]
push ecx
lea eax, [ebp - 0x1eac]
push eax
call fcn.0049fdd4
add esp, 8
jmp 0x48acc8
lea edx, [ebp - 0x1eac]
mov eax, 0x4d0b94
call fcn.00458d98
lea edx, [ebp - 0x1eac]
push edx
lea ecx, [edi + 0xa3d]
push ecx
lea eax, [ebp - 0x1e10]
push eax
call fcn.004a2e18
add esp, 0xc
lea eax, [ebp - 0x1e10]
call fcn.00478308
cmp dword [ebp - 0x1e9c], 0
je 0x48ad19
cmp dword [ebp - 0x1e9c], 1
je 0x48ad19
mov eax, 0x266
call fcn.00413388
call fcn.00478308
inc dword [ebp - 0xc]
jmp 0x48ae36
lea eax, [edi + 4]
call fcn.00478308
mov edx, 0x4c7888
lea eax, [ebp - 0x1010]
call fcn.0040adf8
mov edx, 0x4c7c88
lea eax, [ebp - 0x1810]
call fcn.0040ae48
mov edx, dword [ebp - 0x1e9c]
test bl, bl
mov dword [0x4c6438], edx
jne 0x48ad55
test esi, esi
jne 0x48ad94
lea ecx, [ebp - 0x1010]
lea eax, [edi + 0xa45]
push ecx
push 0x48601f
push dword [0x4cfe40]
push eax
push dword [0x4bb918]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x48ae60
lea edx, [ebp - 0xc10]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x48ada1
lea ecx, [ebp - 0xc10]
push ecx
call fcn.004a186c
pop ecx
lea eax, [ebp - 0xc10]
push eax
push 0x4c3198
call fcn.0049fdd4
add esp, 8
call fcn.004774b8
mov eax, 0x4d0b94
call fcn.00455380
lea edx, [edi + 0xa4f]
push edx
lea ecx, [ebp - 0x410]
push ecx
call fcn.0049fdd4
add esp, 8
mov eax, 0x4c7888
call fcn.0040c4d0
push eax
lea edx, [ebp - 0x410]
push edx
call fcn.0049fcf8
add esp, 8
lea eax, [ebp - 0x410]
xor edx, edx
call fcn.0040a918
test al, al
jne 0x48ae35
lea ecx, [edi + 0xa56]
push ecx
lea eax, [ebp - 0x410]
push eax
call fcn.0049fdd4
add esp, 8
mov eax, 0x4c7888
call fcn.0040c4d0
push eax
lea edx, [ebp - 0x410]
push edx
call fcn.0049fcf8
add esp, 8
inc esi
push 0x400
lea ecx, [ebp - 0x1810]
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
call fcn.0041085c
test al, al
je 0x48ae60
cmp dword [0x4d27e4], 0
je 0x48ab66
test esi, esi
jne 0x48ae75
cmp dword [ebp - 0xc], 0
jne 0x48ae75
push dword [0x4cfe40]
call sub.USER32.DLL_DestroyWindow
cmp dword [ebp - 8], 0
jne 0x48ae9e
push 0x30
mov eax, 0x65
call fcn.00413388
push eax
mov eax, 0x14c
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4cfe40], 0
je 0x48aed0
cmp dword [0x4d27e4], 0
je 0x48aebc
mov eax, 0x271
call fcn.00413388
jmp 0x48aec6
mov eax, 0x270
call fcn.00413388
call fcn.00478308
call fcn.004783ac
cmp dword [0x4d27d4], 0
jne 0x48af00
lea eax, [ebp - 0x410]
xor edx, edx
call fcn.0040a918
test al, al
je 0x48aef2
lea edx, [ebp - 0x410]
jmp 0x48aef4
xor edx, edx
mov eax, 0x4cfe48
xor ecx, ecx
call fcn.0045b204
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret