Function at 0x6d1fe197
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xa104]
mov eax, 0xa104
call fcn.6d20a9b0
push 0xffffffffffffffff
push 0x6d21dc95
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6d22e258]
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 [0x6d233750]
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.6d20a0b0
add esp, 0xc
cmp edi, ebx
je 0x6d1fe225
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1fe229
xor eax, eax
jmp 0x6d1fe23f
lea eax, [edi + edi]
call fcn.6d20a080
mov eax, esp
push 3
push edi
push dword [ebp - 0x1c]
push eax
call fcn.6d212a5d
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
neg eax
sbb eax, eax
inc eax
je 0x6d1fe86d
call fcn.6d2081cf
test eax, eax
jne 0x6d1fe267
call fcn.6d212a5d
mov byte [ebp - 0xd], bl
test eax, eax
je 0x6d1fe26b
mov byte [ebp - 0xd], 1
call fcn.6d208243
mov byte [ebp - 0x15], al
cmp byte [ebp - 0xd], bl
je 0x6d1fe791
cmp al, bl
je 0x6d1fe791
push esi
lea eax, [ebp + 0x5901]
push ebx
push eax
mov byte [ebp + 0x5900], bl
call fcn.6d20a0b0
add esp, 0xc
call fcn.6d212a5d
mov edi, 0x800
cmp al, bl
jne 0x6d1fe30c
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 0x6d1fe86d
lea eax, [ebp + 0x7100]
push eax
call fcn.6d1fd9f0
pop ecx
test eax, eax
js 0x6d1fe86d
lea ecx, [ebp + 0x1060]
call fcn.6d205129
push esi
lea eax, [ebp + 0x4101]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x4100], bl
call fcn.6d20a0b0
push esi
lea eax, [ebp + 0x6901]
push ebx
push eax
mov byte [ebp + 0x6900], bl
call fcn.6d20a0b0
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 0x6d221100
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.6d212a5d
cmp eax, ebx
jge 0x6d1fe3af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1060]
call fcn.6d2050f5
jmp 0x6d1fe86d
push 0x4000
push ebx
push 0x6d22f6a0
call fcn.6d20a0b0
push esi
lea eax, [ebp + 0x8901]
push ebx
push eax
mov byte [ebp + 0x8900], bl
call fcn.6d20a0b0
push esi
lea eax, [ebp + 0x8101]
push ebx
push eax
mov byte [ebp + 0x8100], bl
call fcn.6d20a0b0
push esi
lea eax, [ebp + 0x4901]
push ebx
push eax
mov byte [ebp + 0x4900], bl
call fcn.6d20a0b0
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.6d1fcd2b
add esp, 0x44
cmp dword [ebp + 0xa114], ebx
jne 0x6d1fe46f
cmp eax, ebx
je 0x6d1fe46f
cmp eax, 1
jne 0x6d1fe39b
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], 0x6d2212bc
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x44]
call fcn.6d1ff66b
cmp dword [ebp - 0x30], ebx
je 0x6d1fe39b
push dword [ebp - 0x30]
call fcn.6d212a5d
jmp 0x6d1fe39b
mov cl, byte [ebp + 0x8900]
lea eax, [ebp + 0x8900]
cmp cl, bl
je 0x6d1fe487
inc eax
mov cl, byte [eax]
cmp cl, 0x2d
jne 0x6d1fe47b
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.6d20a0b0
push esi
lea eax, [ebp + 0x6101]
push ebx
push eax
mov byte [ebp + 0x6100], bl
call fcn.6d20a0b0
push esi
lea eax, [ebp + 0x5101]
push ebx
push eax
mov byte [ebp + 0x5100], bl
call fcn.6d20a0b0
push 0x6d221104
lea eax, [ebp + 0x5100]
push str._s.0
push eax
call fcn.6d1fee35
add esp, 0x30
call fcn.6d212a5d
test eax, eax
jne 0x6d1fe59f
push esi
lea eax, [ebp + 0x9901]
push ebx
push eax
mov byte [ebp + 0x9900], bl
call fcn.6d20a0b0
lea eax, [ebp + 0x9900]
push edi
push eax
call fcn.6d1fc36c
lea eax, [ebp + 0x6100]
push eax
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x5100]
push eax
call fcn.6d1fcb58
add esp, 0x20
cmp byte [ebp + 0x9900], bl
je 0x6d1fe571
cmp byte [ebp + 0x9100], bl
je 0x6d1fe59f
lea esi, [ebp + 0x9100]
lea eax, [ebp + 0x9900]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d1fe568
cmp cl, bl
je 0x6d1fe564
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d1fe568
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d1fe548
xor eax, eax
jmp 0x6d1fe56d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d1fe59f
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 0x6d1fe61d
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.6d1fcb58
add esp, 0xc
cmp byte [ebp + 0x9100], bl
je 0x6d1fe61d
lea esi, [ebp + 0x9100]
lea eax, [ebp + 0x8900]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d1fe604
cmp cl, bl
je 0x6d1fe600
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d1fe604
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d1fe5e4
xor eax, eax
jmp 0x6d1fe609
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jge 0x6d1fe61d
call fcn.6d212a5d
test eax, eax
jne 0x6d1fe61d
mov dword [ebp - 0x1c], 1
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], ebx
je 0x6d1fe6a3
lea ecx, [ebp]
call fcn.6d2074bc
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.6d212a5d
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x828]
push edi
push eax
call fcn.6d212a5d
add esp, 0x18
push ebx
call esi
push eax
lea ecx, [ebp]
call fcn.6d2032f6
cmp eax, 1
je 0x6d1fe68b
mov dword [ebp - 0x20], ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.6d2074a8
cmp dword [ebp - 0x20], ebx
jne 0x6d1fe6a3
mov dword [ebp - 0x24], ebx
jmp 0x6d1fe39b
cmp dword [ebp + 0xa114], ebx
je 0x6d1fe6d1
lea eax, [ebp + 0x7100]
push eax
lea eax, [ebp + 0x8100]
push eax
lea ecx, [ebp + 0x1060]
call fcn.6d212a5d
cmp eax, ebx
jge 0x6d1fe763
jmp 0x6d1fe39b
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 [0x6d233750]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [ebp - 0x14], ebx
jne 0x6d1fe71c
lea eax, [ebp + 0x8900]
push eax
lea eax, [ebp + 0x9900]
push eax
push 0x6d22114c
jmp 0x6d1fe72f
lea eax, [ebp + 0x9100]
push eax
lea eax, [ebp + 0x9900]
push eax
push 0x6d221154
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.6d20324b
cmp eax, 1
jne 0x6d1fe39b
lea eax, [ebp + 0x4900]
push eax
lea eax, [ebp + 0x7100]
push eax
call fcn.6d1fdaba
pop ecx
pop ecx
test eax, eax
je 0x6d1fe39b
mov dword [ebp - 0x24], 1
call fcn.6d1fc85e
jmp 0x6d1fe39b
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 0x6d1fe7f3
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 0x6d1fe81e
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.6d20a065
add ebp, 0xa104
leave
ret