Function at 0x46d7bd
Capabilities:
Check if file exists

Disassembly:
push 0xc4
mov eax, 0x5e9e69
call fcn.0059bbd7
lea ebx, [ecx + 0x35c]
mov ecx, ebx
mov dword [ebp - 0xd0], ebx
call fcn.0046d0d3
call fcn.004d4bdf
test al, al
je 0x46d804
push 0x190
push str.HealthMgr::CheckClearAppVideoInfo
push str.__s__d___CheckClearAppVideoInfo_cancel_when_screen_wnd_exist
call fcn.0040a649
add esp, 0xc
jmp 0x46daf7
push str.app_v_config.dat
mov edx, ebx
lea ecx, [ebp - 0x8c]
call fcn.00411559
pop ecx
lea eax, [ebp - 0x8c]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], ebx
call fcn.005373c0
push 0xf
pop esi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x74], bl
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00537460
pop ecx
pop ecx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
push 0x633200
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.004045aa
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00538630
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00404812
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xcc]
push 0x18
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
mov edi, eax
cmovae ecx, dword [ebp - 0x8c]
push edi
push ecx
push 0x19a
push str.HealthMgr::CheckClearAppVideoInfo
push str.__s__d___CheckClearAppVideoInfo_app_video_config__s_size_:__d
mov dword [ebp - 0xc0], edi
call fcn.0040a649
add esp, 0x14
cmp edi, 0x64
jbe 0x46dace
push 0x19d
push str.HealthMgr::CheckClearAppVideoInfo
push str.__s__d___do_clear_video
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], bl
mov edi, ebx
mov byte [ebp - 4], 5
cmp dword [ebp - 0xc0], edi
jbe 0x46daab
mov esi, ebx
cmp edi, 0x14
jae 0x46da5e
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0040b155
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0xcc]
push 0xfde9
lea edx, [esi + edx]
call fcn.00426ce7
pop ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0040b220
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x2c]
je 0x46da3c
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x1a6
push str.HealthMgr::CheckClearAppVideoInfo
push str.__s__d___do_Delete__s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xbc]
push eax
call fcn.005373c0
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.00537930
pop ecx
pop ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
mov bl, al
call fcn.00537400
test bl, bl
jne 0x46da24
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x1a8
push str.HealthMgr::CheckClearAppVideoInfo
push str.__s__d___do_DeleteAfterReboot__s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xbc]
push eax
call fcn.005373c0
push eax
mov byte [ebp - 4], 9
call fcn.00537cd0
pop ecx
lea ecx, [ebp - 0xbc]
call fcn.00537400
xor ebx, ebx
lea ecx, [ebp - 0x5c]
call fcn.0040b67e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040b67e
jmp 0x46da95
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x1ac
push str.HealthMgr::CheckClearAppVideoInfo
push str.__s__d____s_not_exist
call fcn.0040a649
add esp, 0x10
jmp 0x46da26
mov eax, dword [ebp - 0xcc]
add eax, esi
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x46da70
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004043c3
push 0x633200
call fcn.005b69b0
pop ecx
push eax
push 0x633200
lea ecx, [ebp - 0x44]
call fcn.004043c3
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0xc0]
jb 0x46d91b
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
cmp esi, 0x10
lea eax, [ebp - 0x44]
push ebx
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00537e40
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.00404812
lea ecx, [ebp - 0xcc]
call fcn.00405a31
lea ecx, [ebp - 0x74]
call fcn.00404812
lea ecx, [ebp - 0xa4]
call fcn.00537400
lea ecx, [ebp - 0x8c]
call fcn.0040b67e
call fcn.0059bb81
ret