Function at 0x48dc10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609110
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
call fcn.00462d50
test eax, eax
je 0x48ddf6
lea eax, [ebp - 0x1c]
push eax
lea ebx, [ebp + 8]
mov ecx, 0x6b5338
mov dword [ebp - 0x1c], 0
call fcn.00466a90
test eax, eax
je 0x48dc71
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48dc8b
push 0x80004005
call fcn.004012a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x48dcc5
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00401320
mov edi, dword [ebp - 0x18]
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test edi, edi
jne 0x48dcd9
xor eax, eax
jmp 0x48dcf1
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x48dce0
sub eax, edx
js 0x48df33
cmp eax, dword [edi - 8]
jg 0x48df33
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
call fcn.00564d6e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48dd1b
push 0x80004005
call fcn.004012a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x48dd52
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00401320
mov esi, dword [ebp - 0x14]
push esi
push 0
push 0x64b5e8
push edi
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test esi, esi
jne 0x48dd69
xor eax, eax
jmp 0x48dd81
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x48dd70
sub eax, edx
js 0x48df33
cmp eax, dword [esi - 8]
jg 0x48df33
push 0
push 0x4000100
push 2
push 0
push 0
push 0xc0000000
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x1c], ebx
jne 0x48de0c
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ddd3
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ddf6
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00589924
push 0
push 0x1000
push 0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0057e47d
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 4
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x80]
push eax
call edx
lea ecx, [ebp - 0x80]
call fcn.0057deff
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0057e43f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00589aad
lea eax, [ebp + 8]
mov ecx, 0x6b5338
mov dword [ebp - 4], 1
call fcn.00466bd0
mov dword [eax], ebx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48de9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48debd
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.004012a0
int3