Function at 0x42ba61
Capabilities:
Check if file exists

Disassembly:
push 0x14c
mov eax, 0x48ff70
call fcn.0045b4ca
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ebx, [edi + 0x10]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0041dbd5
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041d1c3
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041df23
add esp, 0x18
mov esi, dword [edi]
mov byte [ebp - 4], 2
jmp 0x42bafb
cmp dword [esi + 0x14], 0x10
jb 0x42bacd
mov eax, dword [esi]
jmp 0x42bacf
mov eax, esi
push eax
lea ecx, [ebp - 0x58]
call fcn.00412690
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042c55f
neg eax
lea ecx, [ebp - 0x58]
push 0
sbb al, al
push 1
add al, 1
jne 0x42bb32
call fcn.0041bcd8
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x42bac3
xor ebx, ebx
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.0041bcd8
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00405750
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00405750
mov eax, esi
call fcn.0045b485
ret 8
call fcn.0041bcd8
push ebx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0042b72b
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x42bb6e
push ebx
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0042b899
push eax
lea ecx, [ebp - 0x28]
call fcn.004071f0
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00405750
cmp dword [edi + 0x38], 0
push 8
pop esi
jbe 0x42bd83
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bbf7
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push str.CCloudMemDll::LoadCloudHModule::No_Find_DownDllToLocal__s___s_
call fcn.00413ec0
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407270
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0042b3f8
test al, al
jne 0x42bbf7
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push str.CCloudMemDll::LoadCloudHModule::No_Find_DownDllToLocal__s___s__Down_Fail
call fcn.00413ec0
add esp, 0xc
xor ebx, ebx
jmp 0x42beb9
lea esi, [edi + 0x28]
push esi
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407270
mov ecx, edi
call fcn.0042b257
test al, al
jne 0x42bceb
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0041dbd5
mov edx, eax
pop ecx
pop ecx
cmp dword [edx + 0x14], 8
jb 0x42bc2e
mov edx, dword [edx]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edx
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push str.CCloudMemDll::LoadCloudHModule::DownDllToLocal__s___s__MD5:_s__MD5Error
call fcn.00413ec0
add esp, 0x10
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.00405750
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407270
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0042b3f8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42bceb
push esi
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407270
mov ecx, edi
call fcn.0042b257
test al, al
jne 0x42bceb
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0041dbd5
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x42bcbf
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push str.CCloudMemDll::LoadCloudHModule::CheckFileMD5__s__MD5:_s__False
call fcn.00413ec0
add esp, 0xc
lea ecx, [ebp - 0x58]
xor ebx, ebx
push ebx
push 1
call fcn.00405750
jmp 0x42beb9
push 8
pop esi
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x28]
jne 0x42bd2b
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], esi
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push str.CCloudMemDll::LoadCloudHModule::DownDllFile__s___s_
call fcn.00413ec0
sub esp, 0xc
jmp 0x42bdc9
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.CCloudMemDll::LoadCloudHModule::ReadFile0__s_
call fcn.00413ec0
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push 1
push 0x40
push 0x25
push eax
lea ecx, [ebp - 0x158]
call fcn.0042aada
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x158]
call fcn.0042cca2
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.004168ea
xor ebx, ebx
jmp 0x42be66
cmp dword [ebp - 0x2c], esi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.CCloudMemDll::LoadCloudHModule::DownDllToLocal__s__MD5_Empty
call fcn.00413ec0
sub esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407270
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0042b3f8
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42bde1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.0041b27a
mov ecx, edi
call fcn.0042b2de
mov esi, eax
xor ebx, ebx
jmp 0x42beb5
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CCloudMemDll::LoadCloudHModule::ReadFile1__s_
call fcn.00413ec0
sub esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00407270
lea eax, [ebp - 0x58]
push eax
call fcn.00429c16
mov ecx, dword [ebp - 0x90]
add esp, 0x1c
push eax
call fcn.004071f0
xor ebx, ebx
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.00405750
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x158]
push 0x40
push 0x25
push eax
call fcn.0042aada
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x158]
call fcn.0042cca2
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.004168ea
lea ecx, [esi + 1]
mov dword [edi + 0x94], eax
push ecx
push ebx
push eax
call fcn.004357e0
add esp, 0x10
lea ecx, [ebp - 0x158]
push ebx
push ebx
push ebx
call fcn.0042c975
push ebx
push esi
push dword [edi + 0x94]
lea ecx, [ebp - 0x158]
call fcn.0041c322
lea ecx, [ebp - 0x158]
call fcn.0041bf14
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.0042b027
test esi, esi
jne 0x42bebd
mov esi, ebx
jmp 0x42bf32
lea ecx, [ebp - 0x89]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.00405e50
lea eax, [edi + 0x70]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
push eax
push esi
push dword [edi + 0x94]
lea ecx, [ebp - 0x89]
call fcn.00432bd1
cmp dword [ebp - 0x9c], 0
je 0x42bf25
cmp dword [ebp - 0x98], 0
je 0x42bf25
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
call fcn.00432944
pop ecx
pop ecx
mov esi, eax
jmp 0x42bf27
mov esi, ebx
lea ecx, [ebp - 0x89]
call fcn.00413ec0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00405750
jmp 0x42bb04