Function at 0x414370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc5c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xc5c], ecx
mov dword [ebp - 0x424], 0
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc54], 0
mov dword [ebp - 0xc50], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x838], 0
push 0x206
push 0
lea ecx, [ebp - 0x836]
push ecx
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0xc48], 0
push 0x206
push 0
lea edx, [ebp - 0xc46]
push edx
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x630], 0
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0xa40], 0
push 0x206
push 0
lea edx, [ebp - 0xa3e]
push edx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp - 0xc5c]
call fcn.00415ac0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.0049eb52
add esp, 8
lea eax, [ebp - 0x420]
push eax
call fcn.0049e752
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc58], 0
push 0x5c
lea ecx, [ebp - 0x420]
push ecx
call fcn.00407130
add esp, 8
mov dword [ebp - 0xc58], eax
cmp dword [ebp - 0xc58], 0
jne 0x4144fa
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc5c]
call fcn.004156d0
jmp 0x414662
mov eax, dword [ebp - 0xc58]
mov word [eax], 0
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x838]
push edx
call fcn.0049eb52
add esp, 8
push 0x593cd0
lea eax, [ebp - 0x838]
push eax
call fcn.0049eb28
add esp, 8
lea ecx, [ebp - 0x838]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41454a
mov dword [ebp - 0xc4c], 1
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0xc48]
push eax
call fcn.0049eb52
add esp, 8
push 0x593ce0
lea ecx, [ebp - 0xc48]
push ecx
call fcn.0049eb28
add esp, 8
lea edx, [ebp - 0xc48]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41458f
mov dword [ebp - 0xc54], 1
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x630]
push ecx
call fcn.0049eb52
add esp, 8
push 0x593cf4
lea edx, [ebp - 0x630]
push edx
call fcn.0049eb28
add esp, 8
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4145d4
mov dword [ebp - 0xc50], 1
cmp dword [ebp - 0xc4c], 0
je 0x4145f9
cmp dword [ebp - 0xc54], 0
je 0x4145f9
cmp dword [ebp - 0xc50], 0
je 0x4145f9
mov dword [ebp - 0x424], 1
cmp dword [ebp - 0x424], 0
je 0x414653
push str.SmartCloudWBIME
lea ecx, [ebp - 0xc48]
push ecx
push 0x593d28
lea edx, [ebp - 0xa40]
push edx
call fcn.0049e5b6
add esp, 0x10
lea eax, [ebp - 0xa40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414642
lea ecx, [ebp - 0xa40]
push ecx
call fcn.00419f10
add esp, 4
lea edx, [ebp - 0xa40]
push edx
mov ecx, dword [ebp + 8]
call fcn.004036d0
jmp 0x414662
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.004156d0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4