Function at 0x49dbe2
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8043
mov eax, dword fs:[0]
push eax
mov eax, 0x1440
call fcn.004b4f50
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
sub esp, 0x1c
inc ebx
mov dword [ebp - 0x1410], eax
mov dword [0x53fee0], ebx
lea esi, [edi + 0x80]
mov eax, dword [esi]
mov ecx, esp
mov dword [ebp - 0x1400], esp
push eax
call fcn.0042b420
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call fcn.0049da7d
add esp, 0x1c
mov ecx, edi
call fcn.00498664
lea eax, [edi + 0x7c]
push str.temp_files
push eax
lea eax, [ebp - 0x1400]
push eax
call fcn.00445250
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x13f4]
call fcn.004713bf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1400]
call fcn.0040d610
push 0x1f7
push str.FILE
lea ecx, [ebp - 0x13f4]
call fcn.00475974
cmp byte [0x53fe3c], 0
je 0x49dcc9
mov ecx, edi
call fcn.0049312d
test eax, eax
je 0x49dcc2
mov dword [0x53fed0], ebx
mov ecx, edi
call fcn.0049b5a5
lea eax, [ebp - 0x1400]
push eax
mov dword [0x53fee0], 0xa
call fcn.00455acf
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x13f4]
call fcn.004722ff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1400]
call fcn.0040d610
push 2
call fcn.004936f8
mov ecx, eax
call fcn.00465410
push ebx
push 2
call fcn.004936f8
mov ecx, eax
call fcn.00465aa1
push ebx
call fcn.004936f8
mov ecx, eax
call fcn.00465410
push ebx
push ebx
call fcn.004936f8
mov ecx, eax
call fcn.00465aa1
cmp byte [0x53fe3c], 0
mov dword [0x53fee0], 0x14
je 0x49dd54
push esi
call fcn.00499ddd
pop ecx
mov ecx, edi
mov dword [0x53fee0], 0x1e
call fcn.0049710f
and dword [ebp - 0x13fc], 0
mov dword [0x53fee0], 0x28
mov eax, dword [edi + 0x48]
sub eax, dword [edi + 0x44]
sar eax, 2
mov dword [ebp - 0x1408], eax
test eax, eax
jbe 0x49deee
and dword [ebp - 0x1404], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004b47e0
push str.temp_files
lea eax, [edi + 0x7c]
push eax
lea eax, [ebp - 0x13f8]
push eax
call fcn.00445250
add esp, 0x18
mov dword [ebp - 0x1400], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x13fc]
lea ecx, [edi + 0x38]
call fcn.0047e29b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1400]
mov ecx, dword [ecx]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13f8]
call fcn.0040d610
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.004b47e0
add esp, 0xc
push dword [ebp - 0x13fc]
lea ecx, [edi + 0x38]
call fcn.0047e29b
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49de5f
mov dword [edi + 0x84], 0x6e
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00496d16
cmp byte [0x53fe3c], 0
je 0x49dea0
push ecx
lea eax, [ebp - 0x420]
mov ecx, esp
mov dword [ebp - 0x1400], esp
push eax
call fcn.0044bc85
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
call fcn.00496c4d
pop ecx
cmp dword [edi + 0x74], 0
je 0x49decc
cmp dword [edi + 0x498], 0
jne 0x49decc
mov eax, dword [ebp - 0x1404]
xor edx, edx
div dword [ebp - 0x1408]
push 0x46
mov ecx, edi
push eax
mov dword [0x53fee0], eax
call fcn.004933d4
inc dword [ebp - 0x13fc]
mov eax, dword [ebp - 0x13fc]
add dword [ebp - 0x1404], 0x46
cmp eax, dword [ebp - 0x1408]
jb 0x49dd9a
xor ebx, ebx
inc ebx
cmp dword [edi + 0x84], 0
jne 0x49e3c5
call fcn.0049d157
mov ecx, edi
call fcn.00497f3b
push 0x46
pop eax
push eax
push eax
mov ecx, edi
mov dword [0x53fee0], eax
call fcn.004933d4
mov ecx, edi
call fcn.00499f85
mov ecx, edi
call fcn.0049507a
cmp byte [edi + 0x49c], 0
je 0x49df56
and dword [ebp - 0x13f8], 0
push 4
lea eax, [ebp - 0x13f8]
push eax
push 4
push str.HvmUserAction
push 0x4f8adc
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [0x53fe98], ebx
je 0x49df73
push 0
push 0
call fcn.00447055
mov ecx, eax
call fcn.0046d07f
cmp eax, 2
jne 0x49df95
and dword [ebp - 0x13f8], 0
lea eax, [ebp - 0x13f8]
push eax
call fcn.00462435
pop ecx
test al, al
jne 0x49df95
push ebx
push 0x10
call fcn.0046255f
pop ecx
pop ecx
cmp byte [0x53fe3d], 0
jne 0x49dfa5
mov ecx, edi
call fcn.0049689d
mov ecx, edi
call fcn.00497dcc
push 0x5f
pop ebx
push ebx
push 0x48
mov ecx, edi
call fcn.004933d4
mov ecx, 0x53f3f0
mov dword [0x53fee0], 0x48
call fcn.0046d468
call fcn.004806c9
push dword [esi]
call fcn.0043c5f1
pop ecx
push ebx
push 0x4a
mov ecx, edi
call fcn.004933d4
mov dword [0x53fee0], 0x4a
push dword [esi]
call fcn.0043c733
pop ecx
push ebx
push 0x4c
mov ecx, edi
call fcn.004933d4
mov dword [0x53fee0], 0x4c
push dword [esi]
call fcn.0043c368
pop ecx
push ebx
push 0x4e
mov ecx, edi
call fcn.004933d4
mov dword [0x53fee0], 0x4e
push dword [esi]
call fcn.0043c197
pop ecx
push ebx
push 0x50
mov ecx, edi
call fcn.004933d4
mov dword [0x53fee0], 0x50
push dword [esi]
call fcn.0043c806
call fcn.004930cb
push dword [esi]
call fcn.0043c3fb
pop ecx
pop ecx
push ebx
push 0x52
mov ecx, edi
call fcn.004933d4
mov dword [0x53fee0], 0x52
push dword [esi]
call fcn.00447b63
pop ecx
push ebx
push 0x54
mov ecx, edi
call fcn.004933d4
mov dword [0x53fee0], 0x54
call fcn.004558d5
push dword [esi]
call fcn.0043c206
pop ecx
mov ecx, edi
call fcn.0049c4a4
push ebx
push 0x56
mov ecx, edi
call fcn.004933d4
mov ecx, edi
mov dword [0x53fee0], 0x56
call fcn.004958b6
push ebx
push 0x58
pop ebx
push ebx
mov ecx, edi
call fcn.004933d4
xor eax, eax
push eax
push eax
push eax
push 0x8000000
mov dword [0x53fee0], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0x5047ac
lea eax, [ebp - 0x1408]
push esi
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144c]
call fcn.00475205
mov byte [ebp - 4], 8
push 0x1f9
push str.FILE
lea ecx, [ebp - 0x144c]
call fcn.00474c54
mov ebx, dword [ebp - 0x143c]
sub ebx, dword [ebp - 0x1440]
and dword [ebp - 0x1404], 0
sar ebx, 2
test ebx, ebx
jle 0x49e22b
push dword [ebp - 0x1404]
lea eax, [ebp - 0x13fc]
push eax
lea ecx, [ebp - 0x144c]
call fcn.004979ce
mov byte [ebp - 4], 9
push 0
push 0x504dec
push dword [ebp - 0x13fc]
lea eax, [ebp - 0x13f8]
push eax
lea ecx, [ebp - 0x144c]
call fcn.004804f3
mov byte [ebp - 4], 0xa
push 0
push 0x4fbb9c
push dword [ebp - 0x13fc]
lea eax, [ebp - 0x140c]
push eax
lea ecx, [ebp - 0x144c]
call fcn.004804f3
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x140c]
call fcn.00445121
push dword [esi]
lea ecx, [ebp - 0x140c]
push str._productpath_
call fcn.00444fa5
push dword [ebp - 0x1408]
push dword [ebp - 0x13f8]
push 0x504dec
push dword [ebp - 0x13fc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x1408]
push dword [ebp - 0x140c]
push 0x4fbb9c
push dword [ebp - 0x13fc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140c]
call fcn.0040d610
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x13f8]
call fcn.0040d610
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x13fc]
call fcn.0040d610
inc dword [ebp - 0x1404]
cmp dword [ebp - 0x1404], ebx
jl 0x49e133
mov ecx, edi
call fcn.00494fbb
push 0x5f
pop ebx
push ebx
push 0x5a
pop esi
push esi
mov ecx, edi
call fcn.004933d4
push 1
mov dword [0x53fee0], esi
call fcn.0043a432
pop ecx
push ebx
push 0x5d
pop esi
push esi
mov ecx, edi
call fcn.004933d4
mov ecx, edi
mov dword [0x53fee0], esi
call fcn.00495129
push str.10.0.16299
call fcn.0045bba3
pop ecx
test al, al
je 0x49e27e
mov ecx, edi
call fcn.0049667b
mov ecx, edi
call fcn.0049b4d5
test al, al
jne 0x49e293
mov dword [0x53fed0], 1
push ebx
push ebx
mov ecx, edi
call fcn.004933d4
mov esi, 0x3e8
push esi
mov dword [0x53fee0], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.QHActiveDefense.exe
lea ecx, [ebp - 0x1400]
call fcn.0044bc85
mov byte [ebp - 4], 0xc
and dword [ebp - 0x13f8], 0
push 1
lea eax, [ebp - 0x13f8]
push eax
push dword [ebp - 0x1400]
call fcn.0049ae91
add esp, 0xc
cmp eax, 1
je 0x49e305
inc ebx
push 0x64
push ebx
mov ecx, edi
mov dword [0x53fee0], ebx
call fcn.004933d4
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebx - 0x5f]
cmp eax, 5
jl 0x49e2c9
cmp byte [edi + 0x49c], 0
je 0x49e346
and dword [ebp - 0x13f8], 0
push 0
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x49e346
lea ecx, [ebp - 0x13f8]
push ecx
push esi
push 1
push 0x168
push 0xce
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov esi, 0x1f7
push esi
mov ebx, str.FILE
push ebx
lea ecx, [ebp - 0x13f4]
call fcn.004753bf
push esi
push ebx
lea ecx, [ebp - 0x13f4]
call fcn.004748bb
cmp dword [ebp - 0x1410], 0
push 0x64
pop esi
mov dword [0x53fee0], esi
je 0x49e382
call dword [ebp - 0x1410]
cmp dword [edi + 0x74], 0
je 0x49e391
push esi
push esi
mov ecx, edi
call fcn.004933d4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1400]
call fcn.0040d610
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x144c]
call fcn.00475065
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1408]
call fcn.0040d610
cmp dword [edi + 0x84], 0
sete bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13f4]
call fcn.004714b6
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b48bf
leave
ret 4