Function at 0x48c324
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x533f45
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x458]
mov ecx, dword [esp + 0x454]
mov edi, dword [esp + 0x468]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x45c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x464]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x48c3a0
or eax, 0xffffffff
jmp 0x48c613
push dword [esp + 0x460]
mov ecx, ebx
call fcn.0048c68f
lea esi, [ebx + 0x10]
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x44c], 0
push 0xb8
call fcn.00502508
pop ecx
mov dword [esp + 0x18], eax
xor ecx, ecx
inc ecx
mov byte [esp + 0x44c], cl
test eax, eax
je 0x48c3ef
mov ecx, eax
call fcn.0048d55d
xor ecx, ecx
mov edx, eax
inc ecx
jmp 0x48c3f1
xor edx, edx
mov byte [esp + 0x44c], 0
mov dword [ebx + 4], edx
test edx, edx
jne 0x48c41a
cmp dword [0x59535c], edx
je 0x48c4a8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___download_mgr_is_null
jmp 0x48c496
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0xa4], eax
mov eax, dword [ebx + 4]
push edi
mov byte [eax + 0x9c], cl
lea ecx, [esp + 0x1c]
call fcn.00450b9d
mov edi, dword [ebx + 4]
lea eax, [esp + 0x18]
mov byte [esp + 0x44c], 2
push eax
lea ecx, [edi + 0xa8]
call fcn.0044f7f0
lea ecx, [edi + 0xa8]
call fcn.00490c90
mov byte [esp + 0x44c], 0
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.00450c64
mov edi, 0x280c
push edi
call fcn.00502508
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x48c4b0
cmp dword [0x59535c], eax
je 0x48c4a8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___node_is_null
xor edi, edi
inc edi
push edi
push dword [0x59535c]
call fcn.0047fca4
add esp, 0x10
or edi, 0xffffffff
jmp 0x48c60a
push edi
push 0
push ebp
call fcn.00506ab0
mov eax, dword [ebx + 4]
xor edx, edx
xor edi, edi
mov dword [ebp], eax
add esp, 0xc
mov dword [ebp + 0x2808], edx
mov ecx, dword [ebx + 0xc]
inc edi
lea eax, [ecx + 0x2808]
cmp dword [eax], edx
je 0x48c4df
mov ecx, dword [eax]
inc edi
jmp 0x48c4d0
push dword [esp + 0x14]
mov dword [ecx + 0x2808], ebp
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x464]
mov eax, dword [eax]
inc dword [eax]
mov eax, dword [ebx + 4]
mov dword [eax + 0xa0], ecx
lea ecx, [esp + 0x18]
call fcn.00450b9d
mov byte [esp + 0x44c], 3
mov ecx, dword [ebx + 4]
push eax
add ecx, 0xb0
call fcn.0044f7f0
mov byte [esp + 0x44c], 0
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450c64
push dword [esp + 0x1c]
mov eax, dword [esp + 0x464]
mov dword [ebp + 0x2804], eax
lea eax, [ebp + 4]
push 0x800
push eax
call fcn.00505f45
mov ecx, dword [esp + 0x30]
add esp, 0xc
test ecx, ecx
jne 0x48c59f
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x34], ax
lea eax, [esp + 0x36]
push eax
call fcn.00506ab0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x410
ja 0x48c4a8
test eax, eax
je 0x48c4a8
lea ecx, [esp + 0x2c]
push ecx
lea eax, [ebp + 0x1004]
push 0x800
push eax
call fcn.00505f45
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x48c5d5
push eax
lea eax, [ebp + 0x2004]
push 0x400
push eax
call fcn.00505f45
mov eax, dword [esp + 0x2c]
add esp, 0xc
push dword [esp + 0x46c]
push ecx
push ecx
mov ecx, dword [esp + 0x46c]
push ecx
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp + 0x1004]
push eax
push dword [esp + 0x34]
call fcn.0048dadd
mov dword [ebx + 8], edi
or edi, 0xffffffff
test al, al
cmovne edi, dword [esp + 0x460]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00501f3e
add esp, 0x43c
ret 0x1c