Function at 0x48a6b0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1404]
mov eax, 0x1404
call fcn.0049e430
push 0xffffffffffffffff
push 0x4af88e
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4c0390]
xor eax, ebp
mov dword [ebp + 0x1400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x140c]
mov dword [ebp - 0x20], eax
cmp byte [ebp + 0x1414], 0
je 0x48a70c
mov byte [0x4e284a], 1
push 0x66
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp + 0x1410]
cmp eax, 0x12f
jg 0x48aa7a
je 0x48aa85
cmp eax, 0xd
je 0x48aa85
cmp eax, 0x12d
jne 0x48abe3
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x1b8]
call fcn.00465890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465890
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x98], 8
mov dword [ebp - 0x88], 2
lea ecx, [ebp - 0x98]
push ecx
push esi
push 0x1005
mov edi, dword [ebp - 0x24]
push edi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
test eax, eax
jne 0x48a923
cmp dword [ebp - 0x188], eax
jne 0x48a830
cmp dword [ebp - 0x280], eax
jne 0x48a830
cmp dword [ebp - 0x18], eax
jne 0x48a830
push 0x30
push 0x65
call fcn.0045bde0
push eax
push 0x14c
call fcn.0045bde0
push eax
mov edx, dword [0x4dc1c8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0046f520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465510
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00465510
jmp 0x48ac36
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040ae40
mov byte [ebp + 0x800], 0
cmp dword [0x4db83c], 0
sete al
movzx ecx, al
push ecx
mov esi, 1
push esi
lea edx, [ebp + 0x800]
push edx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
push 0
push esi
call fcn.00483b20
cmp dword [ebp - 0x18], esi
jbe 0x48a8ed
cmp byte [ebp + 0x800], 0
je 0x48a8ed
push 0
push 0
lea edx, [ebp + 0x800]
push edx
call fcn.00430250
lea eax, [ebp + 0x800]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a8a0
sub eax, edx
mov byte [ebp + eax + 0x801], cl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 2
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], ecx
lea edx, [ebp + 0x800]
mov dword [ebp - 0x64], edx
xor eax, eax
mov word [ebp - 0x60], ax
cmp dword [0x4e5744], esi
jne 0x48a8e3
mov ecx, 0x10
mov word [ebp - 0x60], cx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0046f520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465510
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00465510
mov dword [ebp - 4], 0xffffffff
jmp 0x48abe3
test byte [ebp - 0x8c], 2
je 0x48aa5b
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0x400
lea eax, [ebp + 0x400]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xc0]
push ecx
push ebx
push 0x102d
push edi
call esi
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x38], 0x400
lea edx, [ebp + 0xc00]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x102d
push edi
call esi
push 0
lea ecx, [ebp + 0xc00]
push ecx
call fcn.0042f9f0
push eax
call fcn.0042f9a0
test al, al
je 0x48aa37
lea ecx, [ebp + 0xc00]
lea edx, [ebp + 0x1000]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x48a9b0
lea edx, [ebp + 0x1000]
push edx
call fcn.0044dfb0
lea eax, [ebp + 0x400]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a9d0
sub eax, edx
lea edi, [ebp + 0x1000]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48a9e0
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x1000]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48aa01
sub eax, edx
lea esi, [eax + 1]
mov edi, dword [ebp - 0x18]
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401190
push esi
lea eax, [ebp + 0x1000]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, edi
push ecx
call fcn.0049e4e0
add esp, 0xc
inc ebx
xor esi, esi
jmp 0x48a786
lea edx, [ebp + 0xc00]
push edx
lea ecx, [ebp - 0x1b8]
call fcn.00465910
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00465910
inc ebx
xor esi, esi
jmp 0x48a786
cmp eax, 0x13b
jne 0x48abe3
push 1
push 0xffffffffffffffff
push 0x100c
push ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x48abe3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0x400
lea ecx, [ebp + 0x400]
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0x50]
push edx
push esi
push 0x102d
push ebx
call edi
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x38], 0x400
lea eax, [ebp + 0xc00]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x50]
push ecx
push esi
push 0x102d
push ebx
call edi
push 0
lea edx, [ebp + 0xc00]
push edx
call fcn.0042f9f0
push eax
call fcn.0042f9a0
test al, al
je 0x48ab14
mov ecx, 0x4dfee0
call fcn.00440a40
lea eax, [ebp + 0xc00]
jmp 0x48ab5e
push 0
lea ecx, [ebp + 0xc00]
push ecx
mov ecx, 0x4dfee0
call fcn.00442ce0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax + 0x400]
mov byte [ebp + eax + 0x1000], cl
inc eax
test cl, cl
jne 0x48ab30
lea edx, [ebp + 0x1000]
push edx
call fcn.0044e070
cmp byte [ebp + 0x1000], 0
je 0x48ab6b
lea eax, [ebp + 0x1000]
push 0
push eax
mov ecx, 0x4dfee0
call fcn.004427d0
push 0
lea ecx, [ebp + 0x400]
push ecx
call fcn.0044db30
push eax
mov ecx, 0x4dfee0
call fcn.00440b60
mov eax, dword [ebp + 0x1410]
cmp eax, 0x12f
jne 0x48abbb
mov ecx, dword [0x4f85c4]
lea eax, [ecx + 0x2e8]
cmp byte [eax], 0
je 0x48abb5
movzx edx, byte [ecx + 0x6eb]
push edx
push eax
mov ecx, 0x4dc1cc
call fcn.004959a0
push 1
push 0
jmp 0x48abd9
cmp eax, 0x13b
jne 0x48abd0
mov eax, dword [0x4f85c4]
mov byte [eax + 0x6ef], 1
jmp 0x48abe3
cmp eax, 0xd
jne 0x48abe3
push 0
push 1
mov ecx, 0x4dfee0
call fcn.00442e90
cmp byte [0x4f856d], 0
je 0x48abf8
lea ecx, [ebp]
push ecx
call fcn.004ac458
add esp, 4
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [0x4f856c], 0
je 0x48ac2f
push 0
push 0x6f
push 0x111
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [0x4f856c], 0
mov byte [0x4e284a], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1400]
xor ecx, ebp
call fcn.0049dea6
add ebp, 0x1404
mov esp, ebp
pop ebp
ret 0xc