Function at 0x6d6a015b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xa104]
mov eax, 0xa104
call fcn.6d6a89f0
push 0xffffffffffffffff
push 0x6d6d0efb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0xa100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xa10c]
mov edi, dword [ebp + 0xa110]
mov dword [ebp - 0x20], eax
mov eax, dword [0x6d6e7214]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x7101]
push ebx
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0x7100], bl
call fcn.6d6a8a20
add esp, 0xc
cmp edi, ebx
je 0x6d6a01e9
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d6a01ed
xor eax, eax
jmp 0x6d6a0203
lea eax, [edi + edi]
call fcn.6d6a99c0
mov eax, esp
push 3
push edi
push dword [ebp - 0x1c]
push eax
call fcn.6d6b3ceb
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
neg eax
sbb eax, eax
inc eax
je 0x6d6a0831
call fcn.6d6a6182
test eax, eax
jne 0x6d6a022b
call fcn.6d6b3ceb
mov byte [ebp - 0xd], bl
test eax, eax
je 0x6d6a022f
mov byte [ebp - 0xd], 1
call fcn.6d6a61f6
mov byte [ebp - 0x15], al
cmp byte [ebp - 0xd], bl
je 0x6d6a0755
cmp al, bl
je 0x6d6a0755
push esi
lea eax, [ebp + 0x5901]
push ebx
push eax
mov byte [ebp + 0x5900], bl
call fcn.6d6a8a20
add esp, 0xc
call fcn.6d6b3ceb
mov edi, 0x800
cmp al, bl
jne 0x6d6a02d0
push edi
lea eax, [ebp + 0x7900]
push eax
push 0x7e1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp + 0x7900]
push eax
lea eax, [ebp + 0x5900]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
push edi
lea eax, [ebp + 0x9900]
push eax
push 0x7d6
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x130
lea eax, [ebp + 0x9900]
push eax
lea eax, [ebp + 0x5900]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x6d6a0831
lea eax, [ebp + 0x7100]
push eax
call fcn.6d69ef1a
pop ecx
test eax, eax
js 0x6d6a0831
lea ecx, [ebp + 0x1060]
call fcn.6d6a2f57
push esi
lea eax, [ebp + 0x4101]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x4100], bl
call fcn.6d6a8a20
push esi
lea eax, [ebp + 0x6901]
push ebx
push eax
mov byte [ebp + 0x6900], bl
call fcn.6d6a8a20
add esp, 0x18
lea eax, [ebp + 0x4100]
push eax
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea eax, [ebp + 0x6900]
push eax
push ebx
push 0x6d6d3d68
lea eax, [ebp + 0x4100]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
lea eax, [ebp + 0x6900]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x1060]
call fcn.6d6b3ceb
cmp eax, ebx
jge 0x6d6a0373
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1060]
call fcn.6d6a2c17
jmp 0x6d6a0831
push 0x4000
push ebx
push 0x6d6e2360
call fcn.6d6a8a20
push esi
lea eax, [ebp + 0x8901]
push ebx
push eax
mov byte [ebp + 0x8900], bl
call fcn.6d6a8a20
push esi
lea eax, [ebp + 0x8101]
push ebx
push eax
mov byte [ebp + 0x8100], bl
call fcn.6d6a8a20
push esi
lea eax, [ebp + 0x4901]
push ebx
push eax
mov byte [ebp + 0x4900], bl
call fcn.6d6a8a20
lea eax, [ebp + 0x4900]
push eax
lea eax, [ebp + 0x8100]
push eax
lea eax, [ebp + 0x8900]
push eax
push dword [ebp - 0x20]
lea eax, [ebp + 0x6900]
push eax
call fcn.6d698253
add esp, 0x44
cmp dword [ebp + 0xa114], ebx
jne 0x6d6a0433
cmp eax, ebx
je 0x6d6a0433
cmp eax, 1
jne 0x6d6a035f
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], vtable.ATL::CSimpleDialog_107__1_.0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x44]
call fcn.6d699bfc
cmp dword [ebp - 0x30], ebx
je 0x6d6a035f
push dword [ebp - 0x30]
call fcn.6d6b3ceb
jmp 0x6d6a035f
mov cl, byte [ebp + 0x8900]
lea eax, [ebp + 0x8900]
cmp cl, bl
je 0x6d6a044b
inc eax
mov cl, byte [eax]
cmp cl, 0x2d
jne 0x6d6a043f
push esi
mov byte [eax], bl
lea eax, [ebp + 0x9101]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x9100], bl
call fcn.6d6a8a20
push esi
lea eax, [ebp + 0x6101]
push ebx
push eax
mov byte [ebp + 0x6100], bl
call fcn.6d6a8a20
push esi
lea eax, [ebp + 0x5101]
push ebx
push eax
mov byte [ebp + 0x5100], bl
call fcn.6d6a8a20
push 0x6d6d3d6c
lea eax, [ebp + 0x5100]
push str._s.0
push eax
call fcn.6d698e6c
add esp, 0x30
call fcn.6d6b3ceb
test eax, eax
jne 0x6d6a0563
push esi
lea eax, [ebp + 0x9901]
push ebx
push eax
mov byte [ebp + 0x9900], bl
call fcn.6d6a8a20
lea eax, [ebp + 0x9900]
push edi
push eax
call fcn.6d6976ae
lea eax, [ebp + 0x6100]
push eax
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x5100]
push eax
call fcn.6d698080
add esp, 0x20
cmp byte [ebp + 0x9900], bl
je 0x6d6a0535
cmp byte [ebp + 0x9100], bl
je 0x6d6a0563
lea esi, [ebp + 0x9100]
lea eax, [ebp + 0x9900]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d6a052c
cmp cl, bl
je 0x6d6a0528
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d6a052c
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d6a050c
xor eax, eax
jmp 0x6d6a0531
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d6a0563
lea eax, [ebp + 0x6100]
push eax
push str.http:__java.sun.com_webapps_download_AutoDL
lea eax, [ebp + 0x8100]
push str._s_BundleId_s
push eax
mov byte [ebp + 0x8100], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
jne 0x6d6a05e1
lea eax, [ebp + 0x6100]
push eax
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x8900]
push eax
mov byte [ebp + 0x9100], bl
mov byte [ebp + 0x6100], bl
call fcn.6d698080
add esp, 0xc
cmp byte [ebp + 0x9100], bl
je 0x6d6a05e1
lea esi, [ebp + 0x9100]
lea eax, [ebp + 0x8900]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d6a05c8
cmp cl, bl
je 0x6d6a05c4
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d6a05c8
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d6a05a8
xor eax, eax
jmp 0x6d6a05cd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d6a05e1
call fcn.6d6b3ceb
test eax, eax
jne 0x6d6a05e1
mov dword [ebp - 0x1c], 1
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], ebx
je 0x6d6a0667
lea ecx, [ebp]
call fcn.6d6a5576
lea eax, [ebp + 0x8900]
push eax
lea eax, [ebp + 0x28]
push edi
push eax
mov byte [ebp - 4], 1
mov dword [ebp + 0x1028], 0x1388
mov dword [ebp + 0x102c], 0x1389
call fcn.6d6b3ceb
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x828]
push edi
push eax
call fcn.6d6b3ceb
add esp, 0x18
push ebx
call esi
push eax
lea ecx, [ebp]
call fcn.6d6a0104
cmp eax, 1
je 0x6d6a064f
mov dword [ebp - 0x20], ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.6d6a543e
cmp dword [ebp - 0x20], ebx
jne 0x6d6a0667
mov dword [ebp - 0x24], ebx
jmp 0x6d6a035f
cmp dword [ebp + 0xa114], ebx
je 0x6d6a0695
lea eax, [ebp + 0x7100]
push eax
lea eax, [ebp + 0x8100]
push eax
lea ecx, [ebp + 0x1060]
call fcn.6d6b3ceb
cmp eax, ebx
jge 0x6d6a0727
jmp 0x6d6a035f
lea eax, [ebp + 0x8100]
mov dword [ebp + 0x108c], eax
lea eax, [ebp + 0x7100]
push edi
mov dword [ebp + 0x1088], eax
lea eax, [ebp + 0x9900]
push eax
push 0xfac
push dword [0x6d6e7214]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [ebp - 0x14], ebx
jne 0x6d6a06e0
lea eax, [ebp + 0x8900]
push eax
lea eax, [ebp + 0x9900]
push eax
push 0x6d6d3db4
jmp 0x6d6a06f3
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x9900]
push eax
push 0x6d6d3dbc
lea eax, [ebp + 0x7900]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp + 0x7900]
push ebx
mov dword [ebp + 0x10d4], eax
call esi
push eax
lea ecx, [ebp + 0x1060]
call fcn.6d6a0059
cmp eax, 1
jne 0x6d6a035f
lea eax, [ebp + 0x4900]
push eax
lea eax, [ebp + 0x7100]
push eax
call fcn.6d69f430
pop ecx
pop ecx
test eax, eax
je 0x6d6a035f
mov dword [ebp - 0x24], 1
call fcn.6d697d86
jmp 0x6d6a035f
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov edi, 0x800
push edi
lea eax, [ebp + 0x7900]
push eax
push 0x7e5
push dword [ebp - 0x14]
call esi
lea eax, [ebp + 0x7900]
push eax
lea eax, [ebp + 0x9900]
push eax
mov byte [ebp + 0x9900], bl
call dword [sym.imp.kernel32.dll_lstrcatA]
cmp byte [ebp - 0xd], bl
jne 0x6d6a07b7
push edi
lea eax, [ebp + 0x3900]
push eax
push 0x7df
push dword [ebp - 0x14]
call esi
lea eax, [ebp + 0x3900]
push eax
lea eax, [ebp + 0x9900]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
cmp byte [ebp - 0x15], bl
jne 0x6d6a07e2
push edi
lea eax, [ebp + 0x3100]
push eax
push 0x7e0
push dword [ebp - 0x14]
call esi
lea eax, [ebp + 0x3100]
push eax
lea eax, [ebp + 0x9900]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
push edi
lea eax, [ebp + 0x2900]
push eax
push 0x7e7
push dword [ebp - 0x14]
call esi
lea eax, [ebp + 0x2900]
push eax
lea eax, [ebp + 0x9900]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
push edi
lea eax, [ebp + 0x2100]
push eax
push 0x7d4
push dword [ebp - 0x14]
call esi
push 0x10
lea eax, [ebp + 0x2100]
push eax
lea eax, [ebp + 0x9900]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa100]
xor ecx, ebp
call fcn.6d6a886c
add ebp, 0xa104
leave
ret