Function at 0x410f40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x484339
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4ace78]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace78]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
mov edi, dword [esp + 0x24c]
mov ebp, dword [esp + 0x250]
lea eax, [esp + 0x1c]
push eax
call fcn.0040aca0
push str._qupdater_.ini
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x250], 0
call fcn.00403d00
push edi
push esi
mov byte [esp + 0x258], 1
call fcn.0040c3f0
add esp, 0x18
test eax, eax
je 0x411144
push 0x208
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0046be40
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411000
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
call fcn.00401810
push str._qupdater_.ini
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403d00
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 2
call fcn.00401a80
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x240], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41106f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.ListURL
lea ecx, [esp + 0x1c]
push str.UPDATEINFO
push ecx
call fcn.0040cbf0
push str.9999999999
push eax
lea edx, [esp + 0x38]
mov bl, 3
push edx
mov byte [esp + 0x258], bl
call fcn.00403d00
mov eax, dword [eax]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x260], 4
call fcn.0040a810
add esp, 0x20
mov eax, dword [eax]
push eax
push 0x48cbbc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 5
call fcn.00403690
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x240], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x240], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41111c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411144
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48bf08
push 0x48bf00
lea ecx, [esp + 0x1c]
call fcn.00403690
mov ecx, dword [0x4ae27c]
push ecx
push 0x48cbbc
lea ecx, [esp + 0x1c]
call fcn.00403690
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x411346
cmp byte [0x4ae25c], 0
jne 0x411346
call fcn.0044ba42
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4111b0
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov ebx, 6
push str.Cant_write_to_file_n_s_nRequest_run_as_administrator._nRestart_program_now_
mov byte [esp + 0x24c], bl
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.MAIN
mov byte [esp + 0x250], 7
call fcn.00401ba0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x250], bl
call fcn.004163c0
add esp, 0xc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x24c], 8
call fcn.00403ae0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 0xc
mov byte [esp + 0x240], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
push 0
push 4
push edi
call fcn.00450c37
cmp eax, ebx
je 0x4112c9
lea eax, [edi - 0x10]
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x240], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x240], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jmp 0x41143e
push 0
call fcn.0040e740
add esp, 4
call fcn.00452284
test eax, eax
je 0x41132a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
test esi, esi
je 0x41132a
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x64
push 2
push 0
push 0
push 0x11
push edx
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x10
push eax
call ebx
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x12
push ecx
call ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x240], 1
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x411279
push esi
lea ecx, [esp + 0x28]
call fcn.00401ba0
push edi
push eax
lea ecx, [esp + 0x20]
mov bl, 9
push ecx
mov byte [esp + 0x24c], bl
call fcn.00403d00
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x4ae260
mov byte [esp + 0x244], 0xa
call fcn.00452139
test ebp, ebp
jne 0x411385
xor edx, edx
jmp 0x41139f
mov edx, ebp
lea ecx, [edx + 2]
lea ebx, [ebx]
mov si, word [edx]
add edx, 2
test si, si
jne 0x411390
sub edx, ecx
sar edx, 1
push edx
push ebp
mov ecx, eax
call fcn.00401810
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x240], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4113cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x240], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41141f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41144a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0046b9a8
add esp, 0x230
ret