Function at 0x48a0ec
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x113c]
mov eax, 0x11bc
call fcn.004985e0
mov eax, dword [0x4f4de0]
xor eax, ebp
mov dword [ebp + 0x1138], eax
mov eax, dword [ebp + 0x1144]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], eax
call fcn.00488668
lea esi, [edi + 0x5c]
push dword [esi]
lea ecx, [ebp - 0x20]
call fcn.0048fbd1
push 0x1f7
push str.FILE
lea ecx, [ebp - 0x20]
call fcn.00491aac
cmp byte [0x4faa30], 0
je 0x48a1e4
push str.QHActiveDefense.exe
lea ecx, [ebp - 0x28]
call fcn.00404050
call fcn.0048034e
call fcn.004792e6
xor ebx, ebx
mov dword [ebp - 0x30], ebx
jmp 0x48a179
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
ja 0x48a18f
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
call fcn.00489255
add esp, 0xc
cmp eax, 1
je 0x48a168
push 1
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
call fcn.00489255
add esp, 0xc
test eax, eax
je 0x48a1d9
push dword [ebp - 0x24]
mov ecx, edi
call fcn.004854fe
push 1
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call fcn.00489255
add esp, 0xc
test eax, eax
je 0x48a1d9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x48a1b3
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00404d30
lea eax, [ebp - 0x2c]
push eax
call fcn.0041c110
pop ecx
push 1
push dword [eax]
lea ecx, [ebp - 0x20]
call fcn.004902cf
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00404d30
cmp byte [0x4faa30], 0
je 0x48a215
push esi
call fcn.00489131
pop ecx
mov ebx, dword [edi + 0x44]
sub ebx, dword [edi + 0x40]
and dword [ebp - 0x30], 0
and dword [ebp - 0x28], 0
sar ebx, 2
test ebx, ebx
jbe 0x48a345
and dword [ebp - 0x24], 0
xor eax, eax
push 0x206
push eax
mov word [ebp + 0xf30], ax
lea eax, [ebp + 0xf32]
push eax
call fcn.00497680
add esp, 0xc
push dword [ebp - 0x28]
lea ecx, [edi + 0x34]
call fcn.00426e40
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push str.temp_files
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004067a0
add esp, 0xc
push dword [ebp - 0x2c]
push dword [eax]
lea eax, [ebp + 0xf30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00404d30
xor eax, eax
push 0x206
push eax
mov word [ebp + 0xd28], ax
lea eax, [ebp + 0xd2a]
push eax
call fcn.00497680
add esp, 0xc
push dword [ebp - 0x28]
lea ecx, [edi + 0x34]
call fcn.00426e40
push dword [eax]
lea eax, [ebp + 0xd28]
push dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0xf30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48a2e4
mov dword [edi + 0x60], 0x6e
lea eax, [ebp + 0xd28]
push eax
lea eax, [ebp + 0xf30]
push eax
mov ecx, edi
call fcn.004878f5
test eax, eax
je 0x48a300
inc dword [ebp - 0x30]
cmp byte [0x4faa30], 0
je 0x48a31e
push ecx
lea eax, [ebp + 0xd28]
mov ecx, esp
push eax
call fcn.00404050
call fcn.0048784a
pop ecx
cmp dword [edi + 0x50], 0
je 0x48a335
mov eax, dword [ebp - 0x24]
xor edx, edx
div ebx
push 0x46
mov ecx, edi
push eax
call fcn.0048556a
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 0x46
cmp dword [ebp - 0x28], ebx
jb 0x48a232
mov ecx, edi
call fcn.0048815b
push 0x46
push 0x46
mov ecx, edi
call fcn.0048556a
mov eax, dword [edi + 0x60]
xor ebx, ebx
cmp eax, ebx
jne 0x48a61d
mov ecx, edi
call fcn.004872bf
mov ecx, edi
call fcn.00488015
push 0x5f
pop ebx
push ebx
push 0x48
mov ecx, edi
call fcn.0048556a
mov ecx, 0x4faa60
call fcn.004786e5
call fcn.004776c6
push dword [esi]
call fcn.0041ab20
pop ecx
push ebx
push 0x4a
mov ecx, edi
call fcn.0048556a
push dword [esi]
call fcn.0041acc0
pop ecx
push ebx
push 0x4c
mov ecx, edi
call fcn.0048556a
push dword [esi]
call fcn.0041a7f0
pop ecx
push ebx
push 0x4e
mov ecx, edi
call fcn.0048556a
push dword [esi]
call fcn.0041a520
pop ecx
push ebx
push 0x50
mov ecx, edi
call fcn.0048556a
call fcn.004852fb
push dword [esi]
call fcn.0041a990
pop ecx
push ebx
push 0x52
mov ecx, edi
call fcn.0048556a
push dword [esi]
call fcn.0041a8b0
pop ecx
push ebx
push 0x54
mov ecx, edi
call fcn.0048556a
call fcn.0041bd40
push dword [esi]
call fcn.0041a6a0
pop ecx
mov ecx, edi
call fcn.00489bc4
push ebx
push 0x56
mov ecx, edi
call fcn.0048556a
mov ecx, edi
call fcn.004866fc
push ebx
push 0x58
mov ecx, edi
call fcn.0048556a
xor eax, eax
push eax
push eax
push eax
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push str.updatecfg.ini
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.004067a0
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.00475439
push 0x1f9
push str.FILE
lea ecx, [ebp - 0x80]
call fcn.00483c6b
mov ebx, dword [ebp - 0x70]
sub ebx, dword [ebp - 0x74]
and dword [ebp - 0x24], 0
sar ebx, 2
test ebx, ebx
jle 0x48a526
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x80]
call fcn.00487cdd
push 0
push 0x4cf738
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.0047752f
push 0
push str.path
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x80]
call fcn.0047752f
lea ecx, [ebp - 0x34]
call fcn.004050f0
push dword [esi]
lea ecx, [ebp - 0x34]
push str._productpath_
call fcn.00410220
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 0x4cf738
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push str.path
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00404d30
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00404d30
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], ebx
jl 0x48a47f
push 0x5f
pop ebx
push ebx
push 0x5a
mov ecx, edi
call fcn.0048556a
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], 1
call fcn.00492acd
push dword [esi]
lea ecx, [ebp - 0x44]
call fcn.00492b0a
test eax, eax
je 0x48a56d
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], esi
call fcn.00492c29
test eax, eax
je 0x48a56d
cmp dword [ebp - 0x2c], esi
je 0x48a56d
mov dword [ebp - 0x24], esi
push dword [ebp - 0x24]
call fcn.00418b50
pop ecx
lea ecx, [ebp - 0x44]
call fcn.00492ada
push ebx
push 0x5d
mov ecx, edi
call fcn.0048556a
mov ecx, edi
call fcn.00489788
test al, al
jne 0x48a59d
mov dword [0x4fb1e0], 1
push ebx
push ebx
mov ecx, edi
mov dword [ebp - 0x24], ebx
call fcn.0048556a
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x3e8
push ebx
call esi
push str.QHActiveDefense.exe
lea ecx, [ebp - 0x2c]
call fcn.00404050
and dword [ebp - 0x34], 0
push 1
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
call fcn.00489255
add esp, 0xc
cmp eax, 1
je 0x48a5fb
inc dword [ebp - 0x24]
push 0x64
push dword [ebp - 0x24]
mov ecx, edi
call fcn.0048556a
push ebx
call esi
mov eax, dword [ebp - 0x24]
add eax, 0xffffffa1
cmp eax, 5
jl 0x48a5c8
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00404d30
lea ecx, [ebp - 0x80]
call fcn.00473cd0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00404d30
xor ebx, ebx
jmp 0x48a651
cmp eax, 0x6c
jne 0x48a651
cmp dword [ebp - 0x30], ebx
jle 0x48a651
cmp byte [0x4faa30], bl
jne 0x48a651
push 0x4faa18
lea ecx, [ebp - 0x2c]
call fcn.00404530
mov esi, dword [ebp - 0x2c]
push ebx
push esi
lea ecx, [ebp - 0x20]
call fcn.004902cf
lea ecx, [esi - 0x10]
call fcn.00404d30
push 0x1f7
push str.FILE
lea ecx, [ebp - 0x20]
call fcn.00491628
cmp dword [edi + 0x60], ebx
jne 0x48a670
cmp dword [ebp - 0x38], ebx
je 0x48a670
call dword [ebp - 0x38]
cmp dword [edi + 0x50], ebx
je 0x48a680
push 0x64
push 0x64
mov ecx, edi
call fcn.0048556a
cmp dword [edi + 0x60], ebx
lea ecx, [ebp - 0x20]
sete bl
call fcn.0048fc54
mov ecx, dword [ebp + 0x1138]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00497941
add ebp, 0x113c
leave
ret 4