Function at 0x45e0f0
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x63074
call fcn.004beaf0
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x23f
mov ebx, ecx
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push 0x5102a0
mov dword [ebp - 0x63054], ebx
call fcn.0041f720
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.0040e9e0
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x90]
push eax
call edi
test eax, eax
jne 0x45e168
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x90]
cmovae ecx, dword [ebp - 0x90]
call fcn.0040f420
push 0
call fcn.004c82ab
add esp, 4
push eax
call fcn.004cd8a1
add esp, 4
call fcn.004cd880
mov ecx, eax
lea esi, [ebp - 6]
test ecx, ecx
jns 0x45e1c0
neg ecx
nop dword [eax + eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x45e190
add esi, 0xfffffffe
mov eax, 0x2d
mov word [esi], ax
jmp 0x45e1e0
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x45e1c0
xor eax, eax
mov dword [ebp - 0x6305c], 0
mov word [ebp - 0x6306c], ax
lea eax, [ebp - 6]
mov dword [ebp - 0x63058], 7
cmp esi, eax
je 0x45e215
sub eax, esi
lea ecx, [ebp - 0x6306c]
sar eax, 1
push eax
push esi
call fcn.00403e30
push 0xc
push str.hbenginedll_
push 0
lea ecx, [ebp - 0x6306c]
call fcn.004057c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x63058]
movq qword [ebp - 0xe0], xmm0
cmp edx, 8
jb 0x45e293
mov ecx, dword [ebp - 0x6306c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eb52
push edx
push ecx
call fcn.004bdd39
add esp, 8
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x6306c]
call fcn.004195e0
mov esi, eax
add esp, 4
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x45e2fb
lea eax, [ecx + 4]
mov ebx, esi
mov dword [ebp - 0x63070], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x45e2d4
mov ebx, dword [esi]
push 8
lea eax, [ebx + ecx*2]
push str..cab
push eax
call fcn.004c0040
mov eax, dword [ebp - 0x63070]
add esp, 0xc
xor ecx, ecx
mov word [ebx + eax*2], cx
mov ebx, dword [ebp - 0x63054]
jmp 0x45e31a
push 4
push str..cab
mov byte [ebp - 0x63054], 0
mov ecx, esi
push dword [ebp - 0x63054]
push 4
call fcn.00404fc0
mov esi, eax
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x63058]
cmp edx, 8
jb 0x45e38c
mov ecx, dword [ebp - 0x6306c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e382
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eb57
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call edi
test eax, eax
je 0x45e3c5
push 0x249
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_cab_file_exist__delete_it
call fcn.0041f720
add esp, 0xc
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
call fcn.0040f030
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call edi
test eax, eax
jne 0x45e511
push 0x62cf8
push eax
lea eax, [ebp - 0x63050]
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [ebp - 0x63050]
call fcn.0042fec0
lea ecx, [ebp - 0x63050]
call fcn.004306e0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp - 0x5b20]
push 0x1048
push 0
lea esi, [ebp + 8]
mov dword [ebp - 0x60be8], 1
cmovae esi, dword [ebp + 8]
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x5b20]
push esi
push 0x505268
push 0x823
push eax
call fcn.00434370
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x5f30]
push 0x208
push 0
lea esi, [ebp - 0x48]
mov dword [ebp - 0x609a8], 0x493e0
cmovae esi, dword [ebp - 0x48]
push eax
call fcn.004c05c0
add esp, 0x1c
lea eax, [ebp - 0x5f30]
push esi
push 0x505268
push 0x103
push eax
call fcn.00419550
add esp, 0x10
lea ecx, [ebp - 0x63050]
call fcn.004305f0
mov eax, dword [ebp - 0x63044]
test eax, eax
je 0x45e4b1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x63044]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push dword [ebp - 0x60bec]
mov dword [ebp - 0x63044], 0
call esi
push 0xa
mov dword [ebp - 0x60bec], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x60bec]
test eax, eax
je 0x45e4ef
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x258
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_downloading
call fcn.0041f720
add esp, 0xc
lea ecx, [ebp - 0x63050]
call fcn.00430260
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call edi
test eax, eax
jne 0x45e542
push 0x25c
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_cab_id_not_exist
call fcn.0041f720
add esp, 0xc
or esi, 0xffffffff
jmp 0x45eb17
cmp dword [ebp - 0x34], 8
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
push esi
call edi
test eax, eax
je 0x45e575
push 0x505270
push esi
call fcn.004cd974
add esp, 8
test eax, eax
je 0x45e575
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.00437c90
jmp 0x45e5a2
push 0
push 0x50102d
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00404000
add ebx, 0xa8
lea ecx, [ebp - 0xc0]
mov edx, ebx
call fcn.0045fc00
test al, al
je 0x45e6d0
sub esp, 0x18
lea eax, [ebp - 0xc0]
mov ecx, esp
push eax
call fcn.004032f0
lea ecx, [ebp - 0x20]
call fcn.00402070
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x45e5e3
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.004032f0
lea ecx, [ebp - 0x6306c]
call fcn.00402070
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x45e604
mov eax, dword [eax]
push esi
push eax
push 0x265
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___enginedll_md5_not_matching__m_strEngineMd5:__s__GetFileMd5:__s
call fcn.0041f720
mov edx, dword [ebp - 0x63058]
add esp, 0x14
cmp edx, 8
jb 0x45e65d
mov ecx, dword [ebp - 0x6306c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e653
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eb5c
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x6305c], 0
mov dword [ebp - 0x63058], 7
mov word [ebp - 0x6306c], ax
cmp edx, 8
jb 0x45e6b4
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e6aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eb5c
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0xfffffffe
jmp 0x45eb0c
lea eax, [ebp - 0xf0]
push 0x5010bc
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e9e0
mov edx, eax
lea ecx, [ebp - 0x6306c]
call fcn.004047f0
add esp, 4
lea ecx, [ebp - 0x60]
mov edx, eax
call fcn.00404850
mov edx, dword [ebp - 0x63058]
add esp, 4
cmp edx, 8
jb 0x45e741
mov ecx, dword [ebp - 0x6306c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e737
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eb61
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x6305c], 0
mov dword [ebp - 0x63058], 7
mov word [ebp - 0x6306c], ax
cmp edx, 8
jb 0x45e798
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e78e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eb61
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call edi
test eax, eax
je 0x45e7ca
cmp dword [ebp - 0x4c], 8
lea esi, [ebp - 0x60]
cmovae esi, dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45e7ca
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call edi
test eax, eax
jne 0x45e7ec
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x60]
call fcn.0040f420
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x48]
call fcn.0040f540
test eax, eax
jne 0x45e831
push 0x274
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_UncompressCabFile_false
call fcn.0041f720
sub esp, 0xc
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
mov esi, 0xfffffffd
jmp 0x45eb04
lea ecx, [ebp - 0x108]
call fcn.00413a70
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x60]
call fcn.004023c0
test al, al
jne 0x45e88f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0x27c
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_CopyFolder_err_d
call fcn.0041f720
sub esp, 8
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
mov esi, 0xfffffffc
jmp 0x45eaf9
push 0x5010c0
lea ecx, [ebp - 0x60]
call fcn.00402e10
push eax
lea ecx, [ebp - 0xd8]
call fcn.00402f60
push 0x5010a0
lea ecx, [ebp - 0xa8]
call fcn.00402f10
cmp dword [ebp - 0xc4], 8
lea ecx, [ebp - 0x358]
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e917
push 0x287
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_INVALID_HANDLE_VALUE
call fcn.0041f720
sub esp, 0xc
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
mov esi, 0xfffffffb
jmp 0x45eae3
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
test byte [ebp - 0x358], 0x10
je 0x45e933
cmp word [ebp - 0x32c], 0x2e
jne 0x45e943
lea eax, [ebp - 0x358]
push eax
push esi
call edi
test eax, eax
jne 0x45e920
jmp 0x45e972
lea ecx, [ebp - 0x32c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e950
sub ecx, edx
lea eax, [ebp - 0x32c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403e30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
mov edx, str.Software360360huabaohuabao
lea eax, [ebp - 0x78]
mov dword [ebp - 0x64], 7
push eax
push str.HB_render_engine_ver
mov ecx, SysReAllocString
call fcn.0040ffe0
add esp, 8
test eax, eax
jne 0x45ea08
lea eax, [ebp - 0xa8]
mov edx, str.Software360360huabaohuabao
push eax
push str.HB_render_engine_ver
mov ecx, SysReAllocString
call fcn.004100f0
add esp, 8
test eax, eax
jne 0x45eaa8
push 0x29a
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_SetRegValue_failed
call fcn.0041f720
sub esp, 0xc
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
mov esi, 0xfffffffa
jmp 0x45eadb
cmp dword [ebp - 0x64], 8
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xa8]
cmovae edx, dword [ebp - 0x78]
cmp dword [ebp - 0x94], 8
cmovae ecx, dword [ebp - 0xa8]
call fcn.00410930
test eax, eax
lea eax, [ebp - 0x78]
setne bl
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402f60
call fcn.00413be0
add esp, 0x18
test al, al
je 0x45ea53
cmp al, 1
jne 0x45eaa8
cmp bl, al
jne 0x45eaa8
lea eax, [ebp - 0xa8]
mov edx, str.Software360360huabaohuabao
push eax
push str.HB_render_engine_ver
mov ecx, SysReAllocString
call fcn.004100f0
add esp, 8
test eax, eax
jne 0x45eaa8
push 0x2a4
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_SetRegValue_cover_failed
call fcn.0041f720
sub esp, 0xc
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
mov esi, 0xfffffff9
jmp 0x45eadb
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
call fcn.00413e90
push 0x2ae
push str.UpgradeMgr::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_finish
call fcn.0041f720
add esp, 0x24
xor esi, esi
lea ecx, [ebp - 0x78]
call fcn.00402e70
lea ecx, [ebp - 0xa8]
call fcn.00402e70
lea ecx, [ebp - 0xd8]
call fcn.00402e70
lea ecx, [ebp - 0x108]
call fcn.00402e70
lea ecx, [ebp - 0x60]
call fcn.00402e70
lea ecx, [ebp - 0xc0]
call fcn.004031a0
lea ecx, [ebp - 0x48]
call fcn.00402e70
lea ecx, [ebp - 0xf0]
call fcn.00402e70
lea ecx, [ebp - 0x90]
call fcn.00402e70
lea ecx, [ebp + 8]
call fcn.00402e70
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 0x18
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3