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

Disassembly:
push 0x38c
mov eax, 0x5db321
call fcn.00593b07
xor ebx, ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.004250d6
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 0x428cf0
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x88]
call fcn.0041e4f4
push ebx
call fcn.005bb4fa
pop ecx
push eax
call fcn.005bb469
pop ecx
call fcn.005bb448
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00420c72
push eax
mov edx, str.hbenginedll_
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.0040c622
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040b67e
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00429700
add esp, 0xc
push str..cab
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0041151f
pop ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
call fcn.0040b67e
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 0x428da9
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.004257cd
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x428eb3
lea ecx, [ebp - 0x140]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 8
call fcn.005926f7
pop ecx
mov dword [ebp - 0x398], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040b6b1
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.00430a1f
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.0040b8cb
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.00430a1f
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0040b9f4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d4
push esi
call fcn.0040bde3
test eax, eax
je 0x428e9f
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.0040ba62
or ebx, 0xffffffff
jmp 0x42927d
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 7
call fcn.0040ba62
mov esi, str.RenderEngineOp::DownloadRenderEngineDllImpl
lea ecx, [ebp - 0x100]
call fcn.004250d6
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.0040b632
push 0x62aa1c
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041151f
pop ecx
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x10
call fcn.0040b67e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
je 0x428f4d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.004257cd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x428f6f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0041e4f4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x428fa8
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.00425a62
push 0xfffffffffffffffe
jmp 0x428fdc
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00425998
test eax, eax
jne 0x428fe2
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.00425a62
push 0xfffffffffffffffd
pop ebx
jmp 0x429275
lea ecx, [ebp - 0xb8]
call fcn.00428a9c
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004287b3
test al, al
jne 0x42903d
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.00425a62
push 0xfffffffffffffffc
pop ebx
jmp 0x42926a
mov esi, 0x62aa14
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040b220
push 0x62a4ac
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 0x4290c2
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.00425a62
push 0xfffffffffffffffb
pop ebx
jmp 0x42925f
test byte [ebp - 0x390], 0x10
je 0x4290d5
cmp word [ebp - 0x364], 0x2e
jne 0x4290e9
lea eax, [ebp - 0x390]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4290c2
jmp 0x429109
lea eax, [ebp - 0x364]
push eax
call fcn.005baec0
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.00425d08
pop ecx
pop ecx
test eax, eax
jne 0x429191
lea eax, [ebp - 0xa0]
mov edx, edi
push eax
push esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425f97
pop ecx
pop ecx
test eax, eax
jne 0x429230
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.00425a62
push 0xfffffffffffffffa
jmp 0x42922d
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.004270e4
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.00428bd5
add esp, 0x18
test al, al
je 0x4291ea
cmp al, 1
jne 0x429230
cmp byte [ebp - 0x391], al
jne 0x429230
lea eax, [ebp - 0xa0]
mov edx, edi
push eax
push esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425f97
pop ecx
pop ecx
test eax, eax
jne 0x429230
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.00425a62
push 0xfffffffffffffff9
pop ebx
jmp 0x429257
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00425a62
push 0xad4
push str.RenderEngineOp::DownloadRenderEngineDllImpl
push str.__s__d___DownloadRenderEngineDll_finish
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0xa0]
call fcn.0040b67e
lea ecx, [ebp - 0xb8]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0xd0]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
call fcn.0040b67e
lea ecx, [ebp + 8]
call fcn.0040b67e
mov eax, ebx
call fcn.00593ab1
ret