Function at 0x6d30ea78
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7944]
mov eax, 0x7944
call fcn.6d31a9b0
push 0xffffffffffffffff
push 0x6d32dd06
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x6d33e258]
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 [0x6d343750]
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.6d31a0b0
add esp, 0xc
cmp esi, ebx
je 0x6d30eb28
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x6d30eafe
xor eax, eax
jmp 0x6d30eb14
lea eax, [esi + esi]
call fcn.6d31a080
mov eax, esp
push 3
push esi
push dword [ebp - 0x14]
push eax
call fcn.6d32a027
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x6d30eb28
push 5
pop esi
jmp 0x6d30ee0d
call fcn.6d3181cf
test eax, eax
jne 0x6d30ec12
call fcn.6d32a027
test eax, eax
jne 0x6d30ec12
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 0x6d30eb22
push edi
lea eax, [ebp + 0x4141]
push ebx
push eax
mov byte [ebp + 0x4140], bl
call fcn.6d31a0b0
add esp, 0xc
call fcn.6d32a027
mov esi, 0x800
test al, al
jne 0x6d30ec9a
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 0x6d30eb20
lea eax, [ebp + 0x7140]
push eax
call fcn.6d30d9f0
pop ecx
lea ecx, [ebp]
call fcn.6d315129
push edi
lea eax, [ebp + 0x5941]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x5940], 0
call fcn.6d31a0b0
push edi
lea eax, [ebp + 0x4941]
push ebx
push eax
mov byte [ebp + 0x4940], 0
call fcn.6d31a0b0
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 0x6d331264
lea eax, [ebp + 0x5940]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
push 0x6d331268
lea eax, [ebp + 0x6140]
push 0x6d331270
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 0x6d30ed83
push ebx
call edi
push eax
lea ecx, [ebp]
call fcn.6d31324b
cmp eax, esi
jne 0x6d30ed83
lea eax, [ebp + 0x7140]
push 0x6d330e47
push eax
call fcn.6d30daba
mov esi, eax
neg esi
sbb esi, esi
pop ecx
and esi, 0xfffffffd
pop ecx
add esi, 3
jmp 0x6d30ee01
lea ecx, [ebp + 0x10a0]
call fcn.6d315129
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 0x6d30edf2
push ebx
call edi
push eax
lea ecx, [ebp + 0x10a0]
call fcn.6d31324b
cmp eax, esi
jne 0x6d30edf2
lea eax, [ebp + 0x7140]
push 0x6d330e4e
push eax
call fcn.6d30daba
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.6d3150f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.6d3150f5
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.6d31a065
add ebp, 0x7944
leave
ret