Function at 0x48d970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x644
mov eax, dword [0x53ffd0]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.00403260
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov dword [ebp - 4], 0
jl 0x48d9dc
push 0x50c8b4
push eax
call fcn.004b775f
add esp, 8
test eax, eax
je 0x48d9dc
sub eax, dword [ebp + 8]
sar eax, 1
test eax, eax
je 0x48da15
push esi
mov ecx, edi
call fcn.0048d300
mov bl, al
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48dc31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, bl
jmp 0x48dc45
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004e5215
mov eax, dword [ebp + 8]
push 0
push 0
push 0x20000002
push 1
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004e5b56
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
mov byte [ebp - 4], 3
je 0x48db38
lea eax, [ebp - 0x250]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov ecx, dword [ebp + 8]
push 0x2f
push ecx
call fcn.004b77bd
add esp, 8
test eax, eax
jne 0x48da82
or eax, 0xffffffff
jmp 0x48da87
sub eax, dword [ebp + 8]
sar eax, 1
inc eax
push eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp + 8]
call fcn.00406f90
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x20]
mov bl, 4
push ecx
mov byte [ebp - 4], bl
call fcn.00410b30
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00406f20
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48dadb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48dafc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x30]
call fcn.004d6a42
mov eax, dword [ebp + 8]
push 0
push 0x9021
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004d6c93
test eax, eax
jne 0x48db71
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004d6a81
mov edx, dword [edi]
push 1
mov ecx, edi
mov byte [ebp - 4], 2
call dword [edx + 4]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004e58aa
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48dc43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x48dc43
xor esi, esi
mov eax, dword [edi]
push 0x400
lea ecx, [ebp - 0x650]
push ecx
mov ecx, edi
call dword [eax + 0x34]
cmp eax, 0x400
jne 0x48dba9
add esi, eax
cmp esi, 0x100000
jge 0x48dbad
push eax
lea edx, [ebp - 0x650]
push edx
lea ecx, [ebp - 0x30]
call fcn.004d678f
jmp 0x48db73
test eax, eax
jle 0x48dbbd
push eax
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x30]
call fcn.004d678f
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp + 8]
lea esi, [ebx + 0x1c]
push ecx
mov ecx, esi
call fcn.00406f20
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004d6a81
mov eax, dword [edi]
push 1
mov ecx, edi
mov byte [ebp - 4], 2
call dword [eax + 4]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004e58aa
mov eax, dword [esi]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0048d300
mov bl, al
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48dc31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, bl
jmp 0x48dc45
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp + 4]
call fcn.004b8f56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4