Function at 0x6d1fea78
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7944]
mov eax, 0x7944
call fcn.6d20a9b0
push 0xffffffffffffffff
push 0x6d21dd06
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x6d22e258]
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 [0x6d233750]
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.6d20a0b0
add esp, 0xc
cmp esi, ebx
je 0x6d1feb28
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x6d1feafe
xor eax, eax
jmp 0x6d1feb14
lea eax, [esi + esi]
call fcn.6d20a080
mov eax, esp
push 3
push esi
push dword [ebp - 0x14]
push eax
call fcn.6d21d181
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x6d1feb28
push 5
pop esi
jmp 0x6d1fee0d
call fcn.6d2081cf
test eax, eax
jne 0x6d1fec12
call fcn.6d21d181
test eax, eax
jne 0x6d1fec12
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 0x6d1feb22
push edi
lea eax, [ebp + 0x4141]
push ebx
push eax
mov byte [ebp + 0x4140], bl
call fcn.6d20a0b0
add esp, 0xc
call fcn.6d21d181
mov esi, 0x800
test al, al
jne 0x6d1fec9a
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 0x6d1feb20
lea eax, [ebp + 0x7140]
push eax
call fcn.6d1fd9f0
pop ecx
lea ecx, [ebp]
call fcn.6d205129
push edi
lea eax, [ebp + 0x5941]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x5940], 0
call fcn.6d20a0b0
push edi
lea eax, [ebp + 0x4941]
push ebx
push eax
mov byte [ebp + 0x4940], 0
call fcn.6d20a0b0
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 0x6d221264
lea eax, [ebp + 0x5940]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
push 0x6d221268
lea eax, [ebp + 0x6140]
push 0x6d221270
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 0x6d1fed83
push ebx
call edi
push eax
lea ecx, [ebp]
call fcn.6d20324b
cmp eax, esi
jne 0x6d1fed83
lea eax, [ebp + 0x7140]
push 0x6d220e47
push eax
call fcn.6d1fdaba
mov esi, eax
neg esi
sbb esi, esi
pop ecx
and esi, 0xfffffffd
pop ecx
add esi, 3
jmp 0x6d1fee01
lea ecx, [ebp + 0x10a0]
call fcn.6d205129
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 0x6d1fedf2
push ebx
call edi
push eax
lea ecx, [ebp + 0x10a0]
call fcn.6d20324b
cmp eax, esi
jne 0x6d1fedf2
lea eax, [ebp + 0x7140]
push 0x6d220e4e
push eax
call fcn.6d1fdaba
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.6d2050f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.6d2050f5
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.6d20a065
add ebp, 0x7944
leave
ret