Function at 0x48b3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x3cd
push 0
push 0
dec ecx
jne 0x48b3e9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x1d31]
push ecx
mov ecx, 0x749
rep movsd dword es:[edi], dword [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x48b758
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48b726
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x423b88]
call fcn.00423c88
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1e38]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x1e38]
mov edx, ebx
call fcn.00409cec
cmp byte [ebp - 0x447], 0
jne 0x48b465
call fcn.00404568
jmp 0x48b72d
lea edx, [ebp - 0x1e44]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x1e44]
lea edx, [ebp - 0x1e40]
call fcn.00409cec
push dword [ebp - 0x1e40]
push 0x48b770
push 0x48b77c
lea eax, [ebp - 0x1e3c]
mov edx, 3
call fcn.00404ebc
mov eax, dword [ebp - 0x1e3c]
call fcn.00409978
test al, al
je 0x48b55a
lea edx, [ebp - 0x1e50]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x1e50]
lea edx, [ebp - 0x1e4c]
call fcn.00409cec
push dword [ebp - 0x1e4c]
push 0x48b770
push 0x48b78c
lea eax, [ebp - 0x1e48]
mov edx, 3
call fcn.00404ebc
mov eax, dword [ebp - 0x1e48]
call fcn.00409978
test al, al
je 0x48b55a
lea edx, [ebp - 0x1e5c]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x1e5c]
lea edx, [ebp - 0x1e58]
call fcn.00409cec
push dword [ebp - 0x1e58]
push 0x48b770
push 0x48b798
lea eax, [ebp - 0x1e54]
mov edx, 3
call fcn.00404ebc
mov eax, dword [ebp - 0x1e54]
call fcn.00409978
test al, al
je 0x48b55a
call fcn.00404568
jmp 0x48b72d
xor edx, edx
push ebp
push 0x48b706
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00423d28
movzx eax, word [ebp - 0x45f]
cmp ax, 1
jne 0x48b61b
lea edx, [ebp - 0x1e60]
mov eax, 0x48b7a4
call fcn.00488b18
mov edx, dword [ebp - 0x1e60]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00423d8c
test al, al
je 0x48b5c2
lea ecx, [ebp - 4]
mov edx, 0x48b7f0
mov eax, dword [ebp - 0xc]
call fcn.00424258
mov eax, dword [ebp - 0xc]
call fcn.00423cf8
cmp dword [ebp - 4], 0
jne 0x48b66e
lea edx, [ebp - 0x1e64]
mov eax, 0x48b800
call fcn.00488b18
mov edx, dword [ebp - 0x1e64]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00423d8c
test al, al
je 0x48b66e
lea edx, [ebp - 0x1e68]
mov eax, 0x48b83c
call fcn.00488b18
mov edx, dword [ebp - 0x1e68]
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00424258
mov eax, dword [ebp - 0xc]
call fcn.00423cf8
jmp 0x48b66e
cmp ax, 5
jne 0x48b66e
lea edx, [ebp - 0x1e6c]
mov eax, 0x48b858
call fcn.00488b18
mov edx, dword [ebp - 0x1e6c]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00423d8c
test al, al
je 0x48b66e
lea edx, [ebp - 0x1e70]
mov eax, 0x48b83c
call fcn.00488b18
mov edx, dword [ebp - 0x1e70]
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00424258
mov eax, dword [ebp - 0xc]
call fcn.00423cf8
dec esi
je 0x48b679
dec esi
je 0x48b6de
jmp 0x48b6fc
movzx eax, word [ebp - 0x45f]
cmp ax, 1
jne 0x48b6af
mov eax, dword [ebp - 4]
call fcn.00409978
test al, al
je 0x48b6fc
mov edx, dword [ebp - 4]
mov eax, 0x48b894
call fcn.00405104
test eax, eax
jle 0x48b6fc
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b7c
jmp 0x48b6fc
cmp ax, 5
jne 0x48b6fc
mov eax, dword [ebp - 8]
call fcn.00409978
test al, al
je 0x48b6fc
mov edx, dword [ebp - 8]
mov eax, 0x48b894
call fcn.00405104
test eax, eax
jle 0x48b6fc
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404b7c
jmp 0x48b6fc
lea eax, [ebp - 0x1e31]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x1e31]
call fcn.0040a0ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48b710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b72d
mov eax, dword [ebp - 0xc]
call fcn.00403c48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b75f
lea eax, [ebp - 0x1e70]
mov edx, 0xf
call fcn.00404b4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b4c
ret