Function at 0x4486b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a2211
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0x83c], eax
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0x84c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x860]
mov edi, dword [esp + 0x86c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call fcn.00468b49
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x448725
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
cmp dword [0x4d7df0], 0
mov dword [esp + 0x854], 0
jne 0x448890
mov esi, dword [esp + 0x85c]
test esi, esi
jle 0x448886
push 0x410
lea edx, [esp + 0x2c]
xor ecx, ecx
push edx
mov word [esp + 0x30], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov word [esp + 0x846], ax
call fcn.00468b49
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x448797
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 1
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x860], 1
call fcn.00443f20
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x2c]
push str.__swevtutil__qe_System__q:__System_Provider__NameMicrosoft_Windows_Power_Troubleshooter______rd:true__c:_d__f:text__uni:true
push eax
mov byte [esp + 0x870], 2
call fcn.00404580
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [esp + 0x854], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x86c]
push 0xffffffffffffffff
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push edi
push ecx
push esi
call fcn.004312d0
add esp, 0x1c
test eax, eax
jne 0x448860
mov edi, dword [esp + 0x864]
test edi, edi
je 0x448858
push 0x200e
lea ecx, [esp + 0x10]
call fcn.004038f0
lea edx, [esp + 0xc]
push edi
push edx
call fcn.0043f520
add esp, 8
mov dword [esp + 0x14], 1
lea eax, [esi - 0x10]
mov byte [esp + 0x854], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448898
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x448898
mov dword [esp + 0x10], 0x57
jmp 0x448898
mov dword [esp + 0x10], 0x78
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4488aa
lea edx, [esp + 0xc]
push edx
call fcn.00401a50
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x854], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4488e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x83c]
xor ecx, esp
call fcn.00482b5f
add esp, 0x84c
ret