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

Disassembly:
push 0x38c
mov eax, 0x5e33f1
call fcn.0059bbd7
xor ebx, ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.00425588
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 0x4291d2
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x88]
call fcn.0041e71d
push ebx
call fcn.005c35ca
pop ecx
push eax
call fcn.005c3539
pop ecx
call fcn.005c3518
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00420ed4
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.0042adda
add esp, 0xc
push str..cab
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0041152a
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 0x42928b
push 0xa7b
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.00425c92
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x429395
lea ecx, [ebp - 0x140]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 8
call fcn.0059a7c1
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.00435a2c
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.00435a2c
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 0x429381
push eax
push 0xa87
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 0x42975f
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 7
call fcn.0040ba62
mov esi, str.RenderEngineOp::DownloadRenderEngineDllImpl
lea ecx, [ebp - 0x100]
call fcn.00425588
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 0x633b6c
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041152a
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 0x42942f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00425c92
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x429451
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0041e71d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
jne 0x42948a
push 0xa95
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.00425f44
push 0xfffffffffffffffe
jmp 0x4294be
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00425e7a
test eax, eax
jne 0x4294c4
push 0xaa0
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.00425f44
push 0xfffffffffffffffd
pop ebx
jmp 0x429757
lea ecx, [ebp - 0xb8]
call fcn.00428f7e
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.00428c95
test al, al
jne 0x42951f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
push eax
push 0xaa9
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.00425f44
push 0xfffffffffffffffc
pop ebx
jmp 0x42974c
mov esi, 0x633b64
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040b220
push 0x6335fc
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 0x4295a4
push 0xab4
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.00425f44
push 0xfffffffffffffffb
pop ebx
jmp 0x429741
test byte [ebp - 0x390], 0x10
je 0x4295b7
cmp word [ebp - 0x364], 0x2e
jne 0x4295cb
lea eax, [ebp - 0x390]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4295a4
jmp 0x4295eb
lea eax, [ebp - 0x364]
push eax
call fcn.005c2f90
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.004261ea
pop ecx
pop ecx
test eax, eax
jne 0x429673
lea eax, [ebp - 0xa0]
mov edx, edi
push eax
push esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00426479
pop ecx
pop ecx
test eax, eax
jne 0x429712
push 0xac7
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.00425f44
push 0xfffffffffffffffa
jmp 0x42970f
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.004275c6
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.004290b7
add esp, 0x18
test al, al
je 0x4296cc
cmp al, 1
jne 0x429712
cmp byte [ebp - 0x391], al
jne 0x429712
lea eax, [ebp - 0xa0]
mov edx, edi
push eax
push esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.00426479
pop ecx
pop ecx
test eax, eax
jne 0x429712
push 0xad1
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.00425f44
push 0xfffffffffffffff9
pop ebx
jmp 0x429739
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00425f44
push 0xad8
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.0059bb81
ret