Function at 0x48b0c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd69b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x542488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x24c], esi
call fcn.00485ac0
push 0x5080d4
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040cab0
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x48b12c
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x234]
mov edi, eax
cmp edx, 8
jb 0x48b175
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b16b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b364
push edx
push ecx
call fcn.004b5e6a
add esp, 8
test edi, edi
je 0x48b1c1
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x228]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x224]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x220]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x14], ecx
jmp 0x48b347
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8860
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.InstallRoot
push str.SoftwareKingsoftOffice6.0Common
call fcn.00491c10
push eax
call fcn.004853f0
add esp, 0x14
test eax, eax
je 0x48b226
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.InstallRoot
push str.SoftwareKingsoftOffice6.0Common
push 0x80000002
call fcn.004853f0
add esp, 0x14
test eax, eax
jne 0x48b264
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b230
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407d30
push 8
push str.office6
lea ecx, [ebp - 0x230]
call fcn.00402670
cmp dword [ebp - 0x220], 0
jne 0x48b304
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.LocationRoot
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
call fcn.00491c10
push eax
call fcn.004853f0
add esp, 0x14
test eax, eax
je 0x48b2c0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.LocationRoot
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000002
call fcn.004853f0
add esp, 0x14
test eax, eax
jne 0x48b304
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b2d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407d30
push 8
push str.office6
lea ecx, [ebp - 0x230]
call fcn.00402670
mov eax, dword [ebp - 0x230]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x22c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x224]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x220]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5e78
mov esp, ebp
pop ebp
ret
call fcn.004c19b9
int3