Function at 0x6d6a0a3c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7944]
mov eax, 0x7944
call fcn.6d6a89f0
push 0xffffffffffffffff
push 0x6d6d0f6c
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x6d6e05c8]
xor eax, ebp
mov dword [ebp + 0x7940], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6d6e7214]
mov esi, dword [ebp + 0x794c]
mov edi, 0x7ff
push edi
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [ebp + 0x7141]
push ebx
push eax
mov dword [ebp - 0x14], esi
mov byte [ebp + 0x7140], 0
call fcn.6d6a8a20
add esp, 0xc
cmp esi, ebx
je 0x6d6a0aec
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x6d6a0ac2
xor eax, eax
jmp 0x6d6a0ad8
lea eax, [esi + esi]
call fcn.6d6a99c0
mov eax, esp
push 3
push esi
push dword [ebp - 0x14]
push eax
call fcn.6d6c1900
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x6d6a0aec
push 5
pop esi
jmp 0x6d6a0dd1
call fcn.6d6a6182
test eax, eax
jne 0x6d6a0bd6
call fcn.6d6c1900
test eax, eax
jne 0x6d6a0bd6
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov esi, 0x800
push esi
lea eax, [ebp + 0x3140]
push eax
push 0x7e5
push dword [ebp - 0x10]
call edi
lea eax, [ebp + 0x3140]
push eax
lea eax, [ebp + 0x6940]
mov byte [ebp + 0x6940], bl
mov ebx, dword [sym.imp.kernel32.dll_lstrcatA]
push eax
call ebx
push esi
lea eax, [ebp + 0x2140]
push eax
push 0x7df
push dword [ebp - 0x10]
call edi
lea eax, [ebp + 0x2140]
push eax
lea eax, [ebp + 0x6940]
push eax
call ebx
push esi
lea eax, [ebp + 0x2940]
push eax
push 0x7e0
push dword [ebp - 0x10]
call edi
lea eax, [ebp + 0x2940]
push eax
lea eax, [ebp + 0x6940]
push eax
call ebx
push esi
lea eax, [ebp + 0x3940]
push eax
push 0x7e7
push dword [ebp - 0x10]
call edi
lea eax, [ebp + 0x3940]
push eax
lea eax, [ebp + 0x6940]
push eax
call ebx
push esi
lea eax, [ebp + 0x5140]
push eax
push 0x7d4
push dword [ebp - 0x10]
call edi
push 0x10
lea eax, [ebp + 0x5140]
push eax
lea eax, [ebp + 0x6940]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 4
jmp 0x6d6a0ae6
push edi
lea eax, [ebp + 0x4141]
push ebx
push eax
mov byte [ebp + 0x4140], bl
call fcn.6d6a8a20
add esp, 0xc
call fcn.6d6c1900
mov esi, 0x800
test al, al
jne 0x6d6a0c5e
push esi
lea eax, [ebp + 0x5140]
push eax
push 0x7e1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp + 0x5140]
push eax
lea eax, [ebp + 0x4140]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
push esi
lea eax, [ebp + 0x3940]
push eax
push 0x7d6
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x130
lea eax, [ebp + 0x3940]
push eax
lea eax, [ebp + 0x4140]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x6d6a0ae4
lea eax, [ebp + 0x7140]
push eax
call fcn.6d69ef1a
pop ecx
lea ecx, [ebp]
call fcn.6d6a2f57
push edi
lea eax, [ebp + 0x5941]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x5940], 0
call fcn.6d6a8a20
push edi
lea eax, [ebp + 0x4941]
push ebx
push eax
mov byte [ebp + 0x4940], 0
call fcn.6d6a8a20
add esp, 0x18
lea eax, [ebp + 0x5940]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea eax, [ebp + 0x4940]
push eax
push ebx
push 0x6d6d3ecc
lea eax, [ebp + 0x5940]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
push 0x6d6d3ed0
lea eax, [ebp + 0x6140]
push 0x6d6d3ed8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [ebp + 0x7140]
xor esi, esi
mov dword [ebp + 0x28], ecx
inc esi
add esp, 0xc
lea ecx, [ebp + 0x6140]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], esi
cmp eax, ebx
je 0x6d6a0d47
push ebx
call edi
push eax
lea ecx, [ebp]
call fcn.6d6a0059
cmp eax, esi
jne 0x6d6a0d47
lea eax, [ebp + 0x7140]
push 0x6d6d3aaf
push eax
call fcn.6d69f430
mov esi, eax
neg esi
sbb esi, esi
pop ecx
and esi, 0xfffffffd
pop ecx
add esi, 3
jmp 0x6d6a0dc5
lea ecx, [ebp + 0x10a0]
call fcn.6d6a2f57
mov eax, dword [ebp + 0x7950]
lea ecx, [ebp + 0x7140]
mov dword [ebp + 0x10c8], ecx
lea ecx, [ebp + 0x6140]
mov byte [ebp - 4], 1
mov dword [ebp + 0x10cc], eax
mov dword [ebp + 0x1114], ecx
mov dword [ebp + 0x113c], esi
cmp eax, ebx
je 0x6d6a0db6
push ebx
call edi
push eax
lea ecx, [ebp + 0x10a0]
call fcn.6d6a0059
cmp eax, esi
jne 0x6d6a0db6
lea eax, [ebp + 0x7140]
push 0x6d6d3ab6
push eax
call fcn.6d69f430
mov esi, eax
neg esi
sbb esi, esi
pop ecx
and esi, 0xfffffffd
pop ecx
add esi, 3
lea ecx, [ebp + 0x10a0]
mov byte [ebp - 4], 0
call fcn.6d6a2c17
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.6d6a2c17
mov eax, esi
lea esp, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7940]
xor ecx, ebp
call fcn.6d6a886c
add ebp, 0x7944
leave
ret