Function at 0x427530
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526c62
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x590cc0]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
cmp eax, 3
je 0x42757e
cmp eax, 4
je 0x42757e
cmp eax, 5
jne 0x4276d6
mov ecx, edi
call fcn.00421c60
test al, al
je 0x4276d6
mov ecx, edi
call fcn.00421a50
test al, al
jne 0x4276d6
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x14], 0
je 0x4276d6
push 0x539718
call fcn.004014d0
mov ecx, eax
call fcn.00408780
test al, al
jne 0x4276d6
mov eax, dword [edi + 0xc]
push 0x53a154
mov dword [ebp - 0x2a8], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 4
push eax
call edx
lea eax, [ebp - 0x234]
push eax
call fcn.00466310
mov ecx, eax
call fcn.00469480
mov esi, eax
lea ecx, [ebp - 0x250]
push 0
push ecx
mov dword [ebp - 4], 0
call fcn.00466310
mov ecx, eax
call fcn.00466f20
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42761d
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x427625
mov eax, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push 0
push 0
push esi
push eax
push str.C_DownQuery
mov ecx, edi
call fcn.00424160
lea ecx, [ebp - 0x250]
call fcn.0051c7a0
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.0051c7a0
mov eax, dword [ebp - 0x2a8]
push eax
push str.Query_install:__i
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x216
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x2a8], 1
je 0x4276d6
push 0
push 0x53db0c
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoHaveNewPatch
call fcn.0041dec0
add esp, 0xc
test eax, eax
js 0x4276b0
push ebx
mov ecx, edi
call fcn.00423ae0
xor al, al
jmp 0x427d54
push eax
push str.Failed_set_new_patch_flag:_0x_08x.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x21e
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
xor al, al
jmp 0x427d54
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
cmp eax, 3
je 0x4276f1
cmp eax, 4
je 0x4276f1
cmp eax, 5
jne 0x4277bb
mov ecx, edi
call fcn.00421a50
test al, al
jne 0x4277bb
mov ecx, edi
call fcn.00421c60
test al, al
jne 0x4277bb
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x18], 0
mov dword [ebp - 4], 2
jne 0x42775c
call fcn.00401540
mov edx, dword [eax]
mov edx, dword [edx + 0x80]
lea ecx, [ebp - 0x234]
push ecx
push eax
call edx
test eax, eax
jne 0x427779
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 0xffffffff
je 0x4277a9
push 0x5451b4
mov ecx, edi
mov esi, eax
call fcn.004207a0
mov edx, dword [esi]
cmp eax, dword [edx + 0x1c]
ja 0x4277a9
push str.Auto_mode__but_kso_is_running._exit.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x22c
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 5
call fcn.0041a9b0
add esp, 0x14
lea ecx, [ebp - 0x234]
call fcn.0051c7a0
xor al, al
jmp 0x427d54
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.0051c7a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0xc], 0
je 0x427966
call fcn.00448fb0
test al, al
jne 0x427966
push str.Need_higher_privileges.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x234
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 7
call fcn.0041a9b0
add esp, 0x14
push ebx
mov ecx, edi
call fcn.00423ae0
test eax, eax
js 0x4276cf
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.004ba010
add esp, 0xc
lea ecx, [ebp - 0x250]
push 0x539740
push ecx
call fcn.004014d0
mov ecx, eax
call fcn.00408870
mov esi, eax
lea edx, [ebp - 0x234]
push str.from
push edx
mov dword [ebp - 4], 3
call fcn.004014d0
mov ecx, eax
call fcn.00408870
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x427868
mov esi, dword [esi]
cmp dword [eax + 0x14], edi
jb 0x42786f
mov eax, dword [eax]
push str.elevated
push 0x539718
push esi
push 0x539740
push eax
push str.from
push str.__s_s___s_s___s_s
lea eax, [ebp - 0x218]
push 0x103
push eax
call fcn.004bb11c
add esp, 0x24
cmp dword [ebp - 0x220], edi
jb 0x4278b5
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
or ebx, 0xffffffff
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], dx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x23c], edi
jb 0x4278ef
mov eax, dword [ebp - 0x250]
push eax
call fcn.004b9008
add esp, 4
lea ecx, [ebp - 0x250]
push 0xf
push ecx
call fcn.0041d2b0
add esp, 8
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x42790e
mov eax, dword [eax]
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.0044a8e0
add esp, 8
mov esi, eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x23c], edi
jb 0x42793a
mov eax, dword [ebp - 0x250]
push eax
call fcn.004b9008
add esp, 4
test esi, esi
jns 0x4276cf
push esi
push 6
call fcn.004014a0
mov ecx, eax
call fcn.004202c0
push esi
push str.Failed_run_wpsupdate_elevated:_0x_08x.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x243
jmp 0x4276c0
mov ecx, edi
call fcn.004268b0
xor ecx, ecx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], cx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
mov dword [ebp - 4], 5
cmp eax, 3
je 0x4279ac
cmp eax, 4
je 0x4279ac
cmp eax, 5
jne 0x427bee
cmp dword [ecx + 0x18], 0
jne 0x427bee
call fcn.00401540
mov ecx, dword [eax]
lea edx, [ebp - 0x26c]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
test eax, eax
je 0x427bee
push str.Kso_is_running.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x252
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.0041a9b0
add esp, 0x14
mov ecx, edi
mov dword [ebp - 0x2a8], 2
call fcn.00421a50
test al, al
jne 0x427a17
mov ecx, edi
call fcn.00421c60
test al, al
je 0x427b46
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0x53a154
push 4
push eax
call edx
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x427a3e
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00466310
mov ecx, eax
call fcn.00469cd0
mov esi, eax
lea ecx, [ebp - 0x234]
push 0
push ecx
mov byte [ebp - 4], 6
call fcn.00466310
mov ecx, eax
call fcn.00466f20
mov ebx, 8
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], ebx
jb 0x427a7d
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x427a84
mov eax, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push 0
push 0
push esi
push eax
push str.C_KsoRunningQuery
mov ecx, edi
call fcn.00424160
cmp dword [ebp - 0x220], ebx
jb 0x427ab4
mov eax, dword [ebp - 0x234]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x23c], ebx
jb 0x427aec
mov edx, dword [ebp - 0x250]
push edx
call fcn.004b9008
add esp, 4
cmp dword [ebp - 0x2a8], 1
jne 0x427b53
test byte [0x594518], 1
jne 0x427b24
or dword [0x594518], 1
mov ecx, 0x593b50
mov byte [ebp - 4], 8
call fcn.004112c0
push 0x5349a0
call fcn.004b9fdc
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [0x593b50]
mov edx, dword [ecx + 0x80]
lea eax, [ebp - 0x26c]
push eax
push 0x593b50
call edx
test eax, eax
jne 0x427a29
cmp dword [ebp - 0x2a8], 1
je 0x427bee
push str.Kso_is_running__exit.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x260
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 4
call fcn.0041a9b0
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov bl, 9
push str.ksorunning
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], bl
call fcn.00402580
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xa
call fcn.004034c0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], bl
call fcn.0051c7a0
lea ecx, [ebp - 0x228]
push ecx
call fcn.004015b0
mov ecx, eax
call fcn.0041a550
lea ecx, [ebp - 0x228]
call fcn.004032d0
lea ecx, [ebp - 0x26c]
call fcn.0051c7a0
xor al, al
jmp 0x427d54
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp eax, 3
je 0x427c09
cmp eax, 4
je 0x427c09
cmp eax, 5
jne 0x427d3a
cmp dword [ecx + 0x1c], 0xffffffff
je 0x427d3a
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x2b4]
push edx
push 0x5451b4
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x427c4c
mov esi, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2b0]
shrd esi, eax, 0x14
shr eax, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp esi, dword [ecx + 0x1c]
ja 0x427d3a
mov eax, dword [ecx + 0x1c]
push eax
push str.Not_enough_disk_space._need__u.
push str.kupdate::KWpsUpdateImpl::CheckActionExecuteEnv
push 0x26d
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKWpsUpdateImpl.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
mov ecx, edi
call fcn.00421a50
test al, al
jne 0x427c96
mov ecx, edi
call fcn.00421c60
test al, al
je 0x427d2b
mov eax, dword [edi + 0xc]
push 0x53a154
mov dword [ebp - 0x2b0], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 4
push eax
call edx
lea eax, [ebp - 0x2a4]
push 0x544fe8
push eax
call fcn.00466310
mov ecx, eax
call fcn.0046a160
mov esi, eax
lea ecx, [ebp - 0x288]
push 0
push ecx
mov byte [ebp - 4], 0xb
call fcn.00466310
mov ecx, eax
call fcn.00466f20
mov ecx, 8
mov byte [ebp - 4], 0xc
cmp dword [esi + 0x14], ecx
jb 0x427cf5
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x427cfc
mov eax, dword [eax]
lea edx, [ebp - 0x2b0]
push edx
push 0
push 0
push esi
push eax
push 0x544fc4
mov ecx, edi
call fcn.00424160
lea ecx, [ebp - 0x288]
call fcn.0051c7a0
lea ecx, [ebp - 0x2a4]
call fcn.0051c7a0
lea ecx, [ebp - 0x26c]
call fcn.0051c7a0
xor al, al
jmp 0x427d54
cmp dword [ebp - 0x258], 8
jb 0x427d52
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004b9008
add esp, 4
mov al, 1
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.004b9ff3
mov esp, ebp
pop ebp
ret 8