Function at 0x48a820
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1404]
mov eax, 0x1404
call fcn.0049ebb0
push 0xffffffffffffffff
push 0x4affee
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4c03a0]
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 0x48a87c
mov byte [0x4e28a2], 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 0x48abea
je 0x48abf5
cmp eax, 0xd
je 0x48abf5
cmp eax, 0x12d
jne 0x48ad7e
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x1b8]
call fcn.004658e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.004658e0
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 0x48aa93
cmp dword [ebp - 0x188], eax
jne 0x48a9a0
cmp dword [ebp - 0x280], eax
jne 0x48a9a0
cmp dword [ebp - 0x18], eax
jne 0x48a9a0
push 0x30
push 0x65
call fcn.0045be10
push eax
push 0x14c
call fcn.0045be10
push eax
mov edx, dword [0x4dc210]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0042add0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00465560
jmp 0x48add1
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040aec0
mov byte [ebp + 0x800], 0
cmp dword [0x4db884], 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.00483bf0
cmp dword [ebp - 0x18], esi
jbe 0x48aa5d
cmp byte [ebp + 0x800], 0
je 0x48aa5d
push 0
push 0
lea edx, [ebp + 0x800]
push edx
call fcn.00430590
lea eax, [ebp + 0x800]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48aa10
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 [0x4e579c], esi
jne 0x48aa53
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.0042add0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00465560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b8]
call fcn.00465560
mov dword [ebp - 4], 0xffffffff
jmp 0x48ad7e
test byte [ebp - 0x8c], 2
je 0x48abcb
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.0042fd20
push eax
call fcn.0042fcd0
test al, al
je 0x48aba7
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 0x48ab20
lea edx, [ebp + 0x1000]
push edx
call fcn.0044df70
lea eax, [ebp + 0x400]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48ab40
sub eax, edx
lea edi, [ebp + 0x1000]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48ab50
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 0x48ab71
sub eax, edx
lea esi, [eax + 1]
mov edi, dword [ebp - 0x18]
push esi
lea ecx, [ebp - 0x1c]
call fcn.00413cc0
push esi
lea eax, [ebp + 0x1000]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, edi
push ecx
call fcn.0049ec60
add esp, 0xc
inc ebx
xor esi, esi
jmp 0x48a8f6
lea edx, [ebp + 0xc00]
push edx
lea ecx, [ebp - 0x1b8]
call fcn.00465960
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00465960
inc ebx
xor esi, esi
jmp 0x48a8f6
cmp eax, 0x13b
jne 0x48ad7e
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 0x48ad7e
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.0042fd20
push eax
call fcn.0042fcd0
test al, al
je 0x48ac84
mov ecx, 0x4dff38
call fcn.00440db0
lea eax, [ebp + 0xc00]
jmp 0x48acce
push 0
lea ecx, [ebp + 0xc00]
push ecx
mov ecx, 0x4dff38
call fcn.004430d0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax + 0x400]
mov byte [ebp + eax + 0x1000], cl
inc eax
test cl, cl
jne 0x48aca0
lea edx, [ebp + 0x1000]
push edx
call fcn.0044e030
cmp byte [ebp + 0x1000], 0
je 0x48acdb
lea eax, [ebp + 0x1000]
push 0
push eax
mov ecx, 0x4dff38
call fcn.00442bc0
push 0
lea ecx, [ebp + 0x400]
push ecx
call fcn.0044daf0
push eax
mov ecx, 0x4dff38
call fcn.00440ed0
mov eax, dword [ebp + 0x1410]
cmp eax, 0x12f
jne 0x48ad55
mov ecx, dword [0x4f823c]
lea eax, [ecx + 0x2e8]
cmp byte [eax], 0
je 0x48ad4f
cmp byte [ecx + 0x6ed], 0
je 0x48ad3c
lea edx, [ebp + 0x1000]
push edx
push eax
call fcn.004651c0
mov byte [ebp + eax + 0x1000], 0
lea eax, [ebp + 0x1000]
mov ecx, dword [0x4f823c]
movzx ecx, byte [ecx + 0x6eb]
push ecx
push eax
mov ecx, 0x4dc214
call fcn.004960a0
push 1
push 0
jmp 0x48ad74
cmp eax, 0x13b
jne 0x48ad6b
mov edx, dword [0x4f823c]
mov byte [edx + 0x6ef], 1
jmp 0x48ad7e
cmp eax, 0xd
jne 0x48ad7e
push 0
push 1
mov ecx, 0x4dff38
call fcn.00443280
cmp byte [0x4f81e5], 0
je 0x48ad93
lea eax, [ebp]
push eax
call fcn.004acbe8
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 [0x4f81e4], 0
je 0x48adca
push 0
push 0x6f
push 0x111
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [0x4f81e4], 0
mov byte [0x4e28a2], 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.0049e626
add ebp, 0x1404
mov esp, ebp
pop ebp
ret 0xc