Function at 0x4285a5
Capabilities:
Check if file exists

Disassembly:
push 0x14c
mov eax, 0x48cbd2
call fcn.004580c6
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.0041ad10
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.0041a549
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041b05e
add esp, 0x18
mov esi, dword [edi]
mov byte [ebp - 4], 2
jmp 0x42863f
cmp dword [esi + 0x14], 0x10
jb 0x428611
mov eax, dword [esi]
jmp 0x428613
mov eax, esi
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f840
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.004290a3
neg eax
lea ecx, [ebp - 0x58]
push 0
sbb al, al
push 1
add al, 1
jne 0x428676
call fcn.00418e08
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x428607
xor ebx, ebx
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00418e08
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.00401fb0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401fb0
mov eax, esi
call fcn.00458081
ret 8
call fcn.00418e08
push ebx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0042826f
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x4286b2
push ebx
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004283dd
push eax
lea ecx, [ebp - 0x28]
call fcn.004041b0
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401fb0
cmp dword [edi + 0x38], 0
push 8
pop esi
jbe 0x4288c7
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 0x42873b
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 0x491fe0
call fcn.00434890
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004042b0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00427f3c
test al, al
jne 0x42873b
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.00434890
add esp, 0xc
xor ebx, ebx
jmp 0x4289fd
lea esi, [edi + 0x28]
push esi
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004042b0
mov ecx, edi
call fcn.00427d9b
test al, al
jne 0x42882f
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0041ad10
mov edx, eax
pop ecx
pop ecx
cmp dword [edx + 0x14], 8
jb 0x428772
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.00434890
add esp, 0x10
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.00401fb0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004042b0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00427f3c
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 0x42882f
push esi
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004042b0
mov ecx, edi
call fcn.00427d9b
test al, al
jne 0x42882f
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0041ad10
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x428803
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.00434890
add esp, 0xc
lea ecx, [ebp - 0x58]
xor ebx, ebx
push ebx
push 1
call fcn.00401fb0
jmp 0x4289fd
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 0x42886f
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.00434890
sub esp, 0xc
jmp 0x42890d
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.CCloudMemDll::LoadCloudHModule::ReadFile0__s_
call fcn.00434890
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.0042761e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x158]
call fcn.0042975d
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.004139f6
xor ebx, ebx
jmp 0x4289aa
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.00434890
sub esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004042b0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00427f3c
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 0x428925
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.004183aa
mov ecx, edi
call fcn.00427e22
mov esi, eax
xor ebx, ebx
jmp 0x4289f9
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CCloudMemDll::LoadCloudHModule::ReadFile1__s_
call fcn.00434890
sub esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004042b0
lea eax, [ebp - 0x58]
push eax
call fcn.00426894
mov ecx, dword [ebp - 0x90]
add esp, 0x1c
push eax
call fcn.004041b0
xor ebx, ebx
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.00401fb0
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.0042761e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x158]
call fcn.0042975d
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.004139f6
lea ecx, [esi + 1]
mov dword [edi + 0x94], eax
push ecx
push ebx
push eax
call fcn.00432360
add esp, 0x10
lea ecx, [ebp - 0x158]
push ebx
push ebx
push ebx
call fcn.00429430
push ebx
push esi
push dword [edi + 0x94]
lea ecx, [ebp - 0x158]
call fcn.00419452
lea ecx, [ebp - 0x158]
call fcn.00419044
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call fcn.00427b6b
test esi, esi
jne 0x428a01
mov esi, ebx
jmp 0x428a76
lea ecx, [ebp - 0x89]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.004026b0
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.0042f776
cmp dword [ebp - 0x9c], 0
je 0x428a69
cmp dword [ebp - 0x98], 0
je 0x428a69
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
call fcn.0042f4e9
pop ecx
pop ecx
mov esi, eax
jmp 0x428a6b
mov esi, ebx
lea ecx, [ebp - 0x89]
call fcn.00434890
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fb0
jmp 0x428648