Function at 0x48a2c0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1404]
mov eax, 0x1404
call fcn.0049e650
push 0xffffffffffffffff
push 0x4afabe
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 0x48a31c
mov byte [0x4e285a], 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 0x48a68a
je 0x48a695
cmp eax, 0xd
je 0x48a695
cmp eax, 0x12d
jne 0x48a81e
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x1b8]
call fcn.004653d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.004653d0
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 0x48a533
cmp dword [ebp - 0x188], eax
jne 0x48a440
cmp dword [ebp - 0x280], eax
jne 0x48a440
cmp dword [ebp - 0x18], eax
jne 0x48a440
push 0x30
push 0x65
call fcn.0045b8f0
push eax
push 0x14c
call fcn.0045b8f0
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.0046e580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00465050
jmp 0x48a871
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040aeb0
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.004836b0
cmp dword [ebp - 0x18], esi
jbe 0x48a4fd
cmp byte [ebp + 0x800], 0
je 0x48a4fd
push 0
push 0
lea edx, [ebp + 0x800]
push edx
call fcn.004301a0
lea eax, [ebp + 0x800]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a4b0
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 [0x4e5754], esi
jne 0x48a4f3
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.0046e580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00465050
mov dword [ebp - 4], 0xffffffff
jmp 0x48a81e
test byte [ebp - 0x8c], 2
je 0x48a66b
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.0042f940
push eax
call fcn.0042f8e0
test al, al
je 0x48a647
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 0x48a5c0
lea edx, [ebp + 0x1000]
push edx
call fcn.0044d9b0
lea eax, [ebp + 0x400]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a5e0
sub eax, edx
lea edi, [ebp + 0x1000]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48a5f0
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 0x48a611
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.0049e700
add esp, 0xc
inc ebx
xor esi, esi
jmp 0x48a396
lea edx, [ebp + 0xc00]
push edx
lea ecx, [ebp - 0x1b8]
call fcn.00465450
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00465450
inc ebx
xor esi, esi
jmp 0x48a396
cmp eax, 0x13b
jne 0x48a81e
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 0x48a81e
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.0042f940
push eax
call fcn.0042f8e0
test al, al
je 0x48a724
mov ecx, 0x4dfef0
call fcn.004409b0
lea eax, [ebp + 0xc00]
jmp 0x48a76e
push 0
lea ecx, [ebp + 0xc00]
push ecx
mov ecx, 0x4dfef0
call fcn.00442c50
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax + 0x400]
mov byte [ebp + eax + 0x1000], cl
inc eax
test cl, cl
jne 0x48a740
lea edx, [ebp + 0x1000]
push edx
call fcn.0044da70
cmp byte [ebp + 0x1000], 0
je 0x48a77b
lea eax, [ebp + 0x1000]
push 0
push eax
mov ecx, 0x4dfef0
call fcn.00442740
push 0
lea ecx, [ebp + 0x400]
push ecx
call fcn.0044d530
push eax
mov ecx, 0x4dfef0
call fcn.00440ad0
mov eax, dword [ebp + 0x1410]
cmp eax, 0x12f
jne 0x48a7f5
mov ecx, dword [0x4f81f4]
lea eax, [ecx + 0x2e8]
cmp byte [eax], 0
je 0x48a7ef
cmp byte [ecx + 0x6ed], 0
je 0x48a7dc
lea edx, [ebp + 0x1000]
push edx
push eax
call fcn.00464cb0
mov byte [ebp + eax + 0x1000], 0
lea eax, [ebp + 0x1000]
mov ecx, dword [0x4f81f4]
movzx ecx, byte [ecx + 0x6eb]
push ecx
push eax
mov ecx, 0x4dc1cc
call fcn.00495b40
push 1
push 0
jmp 0x48a814
cmp eax, 0x13b
jne 0x48a80b
mov edx, dword [0x4f81f4]
mov byte [edx + 0x6ef], 1
jmp 0x48a81e
cmp eax, 0xd
jne 0x48a81e
push 0
push 1
mov ecx, 0x4dfef0
call fcn.00442e00
cmp byte [0x4f819d], 0
je 0x48a833
lea eax, [ebp]
push eax
call fcn.004ac688
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 [0x4f819c], 0
je 0x48a86a
push 0
push 0x6f
push 0x111
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [0x4f819c], 0
mov byte [0x4e285a], 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.0049e0c6
add ebp, 0x1404
mov esp, ebp
pop ebp
ret 0xc