Function at 0x465286
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.00455b10
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00486960
push str.C:log_
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0048a3a1
push 0x800
lea eax, [ebp - 0x1028]
push esi
push eax
call fcn.00486960
push str.SmartCloudWB
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.00406110
add esp, 0x34
call fcn.00460579
test al, al
je 0x46531e
push ebx
sti
ficom word [eax + esi*4]
and byte [esi + 0x24ca80b5], 0x15
cmpsb byte [esi], byte es:[edi]
sub dl, byte [ebp - 0x70cb8344]
imul esp, ecx, 0xffffff8d
daa
int3
call fcn.0046082b
test al, al
je 0x465343
stc
loop 0x465323
mov cl, 0xe9
dec esi
sbb ebx, esi
in al, dx
in al, dx
mov ch, 0x1c
salc
pop es
out dx, eax
call 0x1117a29f
mov bl, 0xe2
and ebp, 0xffffff96
push esp
xor esi, esi
mov edi, 0x208
lea eax, [ebp - 0x824]
push edi
push esi
push eax
call fcn.00486960
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00486960
add esp, 0x18
lea eax, [ebp - 0x20c]
mov edi, 0x104
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0049899e
pop ecx
test eax, eax
je 0x465592
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00485ef4
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465592
lea eax, [ebp - 0x20c]
push eax
call fcn.0049899e
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0048a3a1
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.00406110
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.00405070
push esi
call fcn.0048e9e9
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.0048e943
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test esi, esi
je 0x465592
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00406140
add esp, 0x28
call fcn.00460534
test al, al
je 0x46549f
imul esp, dword [ebp + ecx*2 + 0x14], 0xa47e250b
push cs
dec ebp
xchg esi, eax
jle 0x465480
sub eax, 0xe185eaa1
cld
push 0xffffffffffffffec
or eax, ebp
jl 0x465451
call fcn.00460420
test al, al
je 0x4654bd
invalid
xchg bh, bl
invalid
call fcn.004607a1
test al, al
je 0x4654dd
inc edi
add dword [edi - 0x6e], esi
add eax, 0x8841e028
lodsb al, byte [esi]
clts
loop 0x465517
iretd
xor eax, eax
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
xor ebx, ebx
pop esi
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x5c590c
push eax
cmovne esi, ebx
call fcn.0048a77f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x465592
test esi, esi
jne 0x465538
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.0048e661
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.0049899e
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.0048e661
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.0048e661
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.0048e661
push edi
call fcn.0048e3a9
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455afe
mov esp, ebp
pop ebp
ret