Function at 0x6d30e197
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xa104]
mov eax, 0xa104
call fcn.6d31a9b0
push 0xffffffffffffffff
push 0x6d32dc95
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6d33e258]
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 [0x6d343750]
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.6d31a0b0
add esp, 0xc
cmp edi, ebx
je 0x6d30e225
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d30e229
xor eax, eax
jmp 0x6d30e23f
lea eax, [edi + edi]
call fcn.6d31a080
mov eax, esp
push 3
push edi
push dword [ebp - 0x1c]
push eax
call fcn.6d32a027
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
neg eax
sbb eax, eax
inc eax
je 0x6d30e86d
call fcn.6d3181cf
test eax, eax
jne 0x6d30e267
call fcn.6d32a027
mov byte [ebp - 0xd], bl
test eax, eax
je 0x6d30e26b
mov byte [ebp - 0xd], 1
call fcn.6d318243
mov byte [ebp - 0x15], al
cmp byte [ebp - 0xd], bl
je 0x6d30e791
cmp al, bl
je 0x6d30e791
push esi
lea eax, [ebp + 0x5901]
push ebx
push eax
mov byte [ebp + 0x5900], bl
call fcn.6d31a0b0
add esp, 0xc
call fcn.6d32a027
mov edi, 0x800
cmp al, bl
jne 0x6d30e30c
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 0x6d30e86d
lea eax, [ebp + 0x7100]
push eax
call fcn.6d30d9f0
pop ecx
test eax, eax
js 0x6d30e86d
lea ecx, [ebp + 0x1060]
call fcn.6d315129
push esi
lea eax, [ebp + 0x4101]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x4100], bl
call fcn.6d31a0b0
push esi
lea eax, [ebp + 0x6901]
push ebx
push eax
mov byte [ebp + 0x6900], bl
call fcn.6d31a0b0
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 0x6d331100
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.6d32a027
cmp eax, ebx
jge 0x6d30e3af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1060]
call fcn.6d3150f5
jmp 0x6d30e86d
push 0x4000
push ebx
push 0x6d33f6a0
call fcn.6d31a0b0
push esi
lea eax, [ebp + 0x8901]
push ebx
push eax
mov byte [ebp + 0x8900], bl
call fcn.6d31a0b0
push esi
lea eax, [ebp + 0x8101]
push ebx
push eax
mov byte [ebp + 0x8100], bl
call fcn.6d31a0b0
push esi
lea eax, [ebp + 0x4901]
push ebx
push eax
mov byte [ebp + 0x4900], bl
call fcn.6d31a0b0
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.6d30cd2b
add esp, 0x44
cmp dword [ebp + 0xa114], ebx
jne 0x6d30e46f
cmp eax, ebx
je 0x6d30e46f
cmp eax, 1
jne 0x6d30e39b
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], 0x6d3312bc
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x44]
call fcn.6d30f66b
cmp dword [ebp - 0x30], ebx
je 0x6d30e39b
push dword [ebp - 0x30]
call fcn.6d32a027
jmp 0x6d30e39b
mov cl, byte [ebp + 0x8900]
lea eax, [ebp + 0x8900]
cmp cl, bl
je 0x6d30e487
inc eax
mov cl, byte [eax]
cmp cl, 0x2d
jne 0x6d30e47b
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.6d31a0b0
push esi
lea eax, [ebp + 0x6101]
push ebx
push eax
mov byte [ebp + 0x6100], bl
call fcn.6d31a0b0
push esi
lea eax, [ebp + 0x5101]
push ebx
push eax
mov byte [ebp + 0x5100], bl
call fcn.6d31a0b0
push 0x6d331104
lea eax, [ebp + 0x5100]
push str._s.0
push eax
call fcn.6d30ee35
add esp, 0x30
call fcn.6d32a027
test eax, eax
jne 0x6d30e59f
push esi
lea eax, [ebp + 0x9901]
push ebx
push eax
mov byte [ebp + 0x9900], bl
call fcn.6d31a0b0
lea eax, [ebp + 0x9900]
push edi
push eax
call fcn.6d30c36c
lea eax, [ebp + 0x6100]
push eax
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x5100]
push eax
call fcn.6d30cb58
add esp, 0x20
cmp byte [ebp + 0x9900], bl
je 0x6d30e571
cmp byte [ebp + 0x9100], bl
je 0x6d30e59f
lea esi, [ebp + 0x9100]
lea eax, [ebp + 0x9900]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d30e568
cmp cl, bl
je 0x6d30e564
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d30e568
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d30e548
xor eax, eax
jmp 0x6d30e56d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d30e59f
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 0x6d30e61d
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.6d30cb58
add esp, 0xc
cmp byte [ebp + 0x9100], bl
je 0x6d30e61d
lea esi, [ebp + 0x9100]
lea eax, [ebp + 0x8900]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d30e604
cmp cl, bl
je 0x6d30e600
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d30e604
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d30e5e4
xor eax, eax
jmp 0x6d30e609
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d30e61d
call fcn.6d32a027
test eax, eax
jne 0x6d30e61d
mov dword [ebp - 0x1c], 1
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], ebx
je 0x6d30e6a3
lea ecx, [ebp]
call fcn.6d3174bc
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.6d32a027
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x828]
push edi
push eax
call fcn.6d32a027
add esp, 0x18
push ebx
call esi
push eax
lea ecx, [ebp]
call fcn.6d3132f6
cmp eax, 1
je 0x6d30e68b
mov dword [ebp - 0x20], ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.6d3174a8
cmp dword [ebp - 0x20], ebx
jne 0x6d30e6a3
mov dword [ebp - 0x24], ebx
jmp 0x6d30e39b
cmp dword [ebp + 0xa114], ebx
je 0x6d30e6d1
lea eax, [ebp + 0x7100]
push eax
lea eax, [ebp + 0x8100]
push eax
lea ecx, [ebp + 0x1060]
call fcn.6d32a027
cmp eax, ebx
jge 0x6d30e763
jmp 0x6d30e39b
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 [0x6d343750]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [ebp - 0x14], ebx
jne 0x6d30e71c
lea eax, [ebp + 0x8900]
push eax
lea eax, [ebp + 0x9900]
push eax
push 0x6d33114c
jmp 0x6d30e72f
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x9900]
push eax
push 0x6d331154
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.6d31324b
cmp eax, 1
jne 0x6d30e39b
lea eax, [ebp + 0x4900]
push eax
lea eax, [ebp + 0x7100]
push eax
call fcn.6d30daba
pop ecx
pop ecx
test eax, eax
je 0x6d30e39b
mov dword [ebp - 0x24], 1
call fcn.6d30c85e
jmp 0x6d30e39b
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 0x6d30e7f3
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 0x6d30e81e
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.6d31a065
add ebp, 0xa104
leave
ret