Function at 0x428c96
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x38c
mov eax, 0x5d9831
call fcn.00592017
xor ebx, ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.004250d3
mov byte [ebp - 4], 1
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x88]
push eax
call edi
test eax, eax
jne 0x428ced
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x88]
call fcn.0041e4f1
push ebx
call fcn.005b9a0a
pop ecx
push eax
call fcn.005b9979
pop ecx
call fcn.005b9958
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00420c6f
push eax
mov edx, str.hbenginedll_
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.0040c61f
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040b67b
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004296fd
add esp, 0xc
push str..cab
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0041151c
pop ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.0040b67b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
mov esi, str.RenderEngineOp::DownloadRenderEngineDllImpl
test eax, eax
je 0x428da6
push 0xa77
push esi
push str.__s__d___DownloadRenderEngineDll_cab_file_exist__delete_it
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
call fcn.004257ca
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x428eb0
lea ecx, [ebp - 0x140]
call fcn.0040ba44
push 0x170
mov byte [ebp - 4], 8
call fcn.00590c07
pop ecx
mov dword [ebp - 0x398], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040b6ae
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov esi, eax
lea eax, [ebp + 8]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x58]
call fcn.00430a1c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.0040b8c8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00404812
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x58]
call fcn.00430a1c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0040b9f1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d1
push esi
call fcn.0040bde0
test eax, eax
je 0x428e9c
push eax
push 0xa83
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_failed__code_:__d
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x140]
call fcn.0040ba5f
or ebx, 0xffffffff
jmp 0x42927a
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 7
call fcn.0040ba5f
mov esi, str.RenderEngineOp::DownloadRenderEngineDllImpl
lea ecx, [ebp - 0x100]
call fcn.004250d3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 8
push dword [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.0040b220
mov byte [ebp - 0x398], bl
lea ecx, [ebp - 0x58]
push dword [ebp - 0x398]
mov dword [ebp - 0x48], ebx
push eax
mov dword [ebp - 0x44], ebx
call fcn.0040b62f
push 0x628a24
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041151c
pop ecx
lea ecx, [ebp - 0x58]
call fcn.0040b67b
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x10
call fcn.0040b67b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x428f4a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.004257ca
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x428f6c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0041e4f1
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x428fa5
push 0xa91
push esi
push str.__s__d___DownloadRenderEngineDll_dll_is_not_exist
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xfffffffffffffffe
jmp 0x428fd9
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00425995
test eax, eax
jne 0x428fdf
push 0xa9c
push esi
push str.__s__d___DownloadRenderEngineDll_UncompressCabFile_false
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xfffffffffffffffd
pop ebx
jmp 0x429272
lea ecx, [ebp - 0xb8]
call fcn.00428a99
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004287b0
test al, al
jne 0x42903a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0xaa5
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_CopyFolder_err_d
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xfffffffffffffffc
pop ebx
jmp 0x429267
mov esi, 0x628a1c
push esi
call fcn.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040b220
push 0x6284b4
lea ecx, [ebp - 0xa0]
call fcn.0040b0d5
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x390]
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push ecx
cmovae eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4290bf
push 0xab0
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_INVALID_HANDLE_VALUE
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xfffffffffffffffb
pop ebx
jmp 0x42925c
test byte [ebp - 0x390], 0x10
je 0x4290d2
cmp word [ebp - 0x364], 0x2e
jne 0x4290e6
lea eax, [ebp - 0x390]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4290bf
jmp 0x429106
lea eax, [ebp - 0x364]
push eax
call fcn.005b93d0
pop ecx
push eax
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040b566
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x13
push eax
mov esi, str.HB_render_engine_ver
mov edi, str.Software360360huabaohuabao
push esi
mov edx, edi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d05
pop ecx
pop ecx
test eax, eax
jne 0x42918e
lea eax, [ebp - 0xa0]
mov edx, edi
push eax
push esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425f94
pop ecx
pop ecx
test eax, eax
jne 0x42922d
push 0xac3
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_SetRegValue_failed
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xfffffffffffffffa
jmp 0x42922a
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xa0]
cmovae edx, dword [ebp - 0x70]
cmp dword [ebp - 0x8c], 8
cmovae ecx, dword [ebp - 0xa0]
call fcn.004270e1
test eax, eax
lea eax, [ebp - 0x70]
setne byte [ebp - 0x391]
sub esp, 0x18
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
call fcn.00428bd2
add esp, 0x18
test al, al
je 0x4291e7
cmp al, 1
jne 0x42922d
cmp byte [ebp - 0x391], al
jne 0x42922d
lea eax, [ebp - 0xa0]
mov edx, edi
push eax
push esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425f94
pop ecx
pop ecx
test eax, eax
jne 0x42922d
push 0xacd
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_SetRegValue_cover_failed
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xfffffffffffffff9
pop ebx
jmp 0x429254
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a5f
push 0xad4
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_finish
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.0040b67b
lea ecx, [ebp - 0xa0]
call fcn.0040b67b
lea ecx, [ebp - 0xb8]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0xd0]
call fcn.0040b67b
lea ecx, [ebp - 0x88]
call fcn.0040b67b
lea ecx, [ebp + 8]
call fcn.0040b67b
mov eax, ebx
call fcn.00591fc1
ret