Function at 0x40d4e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x483c47
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4ace78]
xor eax, esp
mov dword [esp + 0x21c], eax
push edi
mov eax, dword [0x4ace78]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, dword [esp + 0x238]
mov dword [esp + 0x10], 0
test byte [0x4ae2e4], 1
jne 0x40d56f
or dword [0x4ae2e4], 1
call fcn.0044ba42
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d551
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x48a8e0
mov dword [0x4ae2e0], eax
call fcn.0046cdba
add esp, 4
mov eax, dword [0x4ae2e0]
cmp dword [eax - 0xc], 0
je 0x40d590
add eax, 0xfffffff0
push eax
call fcn.00401630
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x40d73b
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
call fcn.00401ba0
push str._qupdater_
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x23c], 0
call fcn.00403d00
add esp, 0xc
push 0x48bf08
push 0x48bf00
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 1
call fcn.00403690
push str.ListURL
lea edx, [esp + 0x18]
push str.UPDATEINFO
push edx
call fcn.0040cbf0
push str.9999999999
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x248], 2
call fcn.00403d00
mov eax, dword [eax]
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x250], 3
call fcn.0040a810
add esp, 0x20
mov eax, dword [eax]
push eax
push 0x48cbbc
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 4
call fcn.00403690
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x230], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d674
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x230], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d69c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 8]
push ecx
mov ecx, 0x4ae2e0
call fcn.00401a80
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401630
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x230], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d6e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d73b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0046b9a8
add esp, 0x22c
ret