Function at 0x48cf90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfdb8
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x206
xor esi, esi
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x234]
push eax
call fcn.00451870
push str.wpscloudsvr.exe
push eax
lea ecx, [ebp - 0x2a4]
push ecx
mov dword [ebp - 4], esi
call fcn.0040ca00
add esp, 0x10
mov ebx, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], ebx
jb 0x48d038
mov edx, dword [ebp - 0x234]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
cmp dword [ebp - 0x290], ebx
jae 0x48d065
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d281
xor ecx, ecx
push 0xf
mov word [ebp - 0x26c], cx
push str.Run__UserAdmin
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], esi
call fcn.00405660
push 2
xor edx, edx
push 0x4d1f38
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], dx
call fcn.00405660
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x250]
push edx
mov byte [ebp - 4], 4
call fcn.0040ca00
push 0x4d1f34
push eax
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 5
call fcn.0040ca00
add esp, 0x18
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 6
call fcn.00409270
cmp dword [ebp - 0x274], ebx
jb 0x48d12f
mov ecx, dword [ebp - 0x288]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], esi
mov word [ebp - 0x288], dx
cmp dword [ebp - 0x23c], ebx
jb 0x48d15f
mov eax, dword [ebp - 0x250]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x220], ebx
jb 0x48d193
mov edx, dword [ebp - 0x234]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp edi, esi
je 0x48d237
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x48d1a0
sub eax, edx
sar eax, 1
je 0x48d237
push 0x4cbc88
lea ecx, [ebp - 0x288]
call fcn.00405cd0
push edi
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 7
call fcn.0040ca00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], bl
call fcn.00409270
cmp dword [ebp - 0x23c], ebx
jb 0x48d203
mov ecx, dword [ebp - 0x250]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], dx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x274], ebx
jb 0x48d237
mov eax, dword [ebp - 0x288]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], ebx
jae 0x48d24b
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x2a4]
cmp dword [ebp - 0x290], ebx
jae 0x48d25f
lea eax, [ebp - 0x2a4]
push esi
push ecx
push eax
call fcn.0044ff30
add esp, 0xc
cmp dword [ebp - 0x258], ebx
jb 0x48d281
mov ecx, dword [ebp - 0x26c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x290], ebx
jb 0x48d298
mov edx, dword [ebp - 0x2a4]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret