Function at 0x4589c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66a1a2
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x718924]
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 esi, dword [ebp + 8]
lea ecx, [ebp - 0x27c]
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x1a
push str.Product_Update_DefaultMode
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.0044e920
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x264]
mov ecx, esi
push eax
call fcn.00457390
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x458a83
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458a79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459104
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp dword [ebp - 0x254], eax
jne 0x458adf
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov edx, dword [str.halfauto]
cmp eax, 1
cmove edx, dword [0x6800e4]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458ac3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.0044e920
mov eax, dword [esi]
push esi
call dword [eax + 0x64]
test eax, eax
je 0x458b33
mov edx, dword [str.halfauto]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458af4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.0044e920
push str.Usb_Version.
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x46d
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 9
call fcn.0048ffd0
add esp, 0x14
jmp 0x45905b
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x20a
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push eax
call fcn.004e30c0
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoUpdateMode
call fcn.00468170
add esp, 0x1c
xor bl, bl
test eax, eax
js 0x458c32
cmp word [ebp - 0x21c], 0
je 0x458c32
push dword [0x6800e4]
lea eax, [ebp - 0x21c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458be4
push dword [0x6800e0]
lea eax, [ebp - 0x21c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458be4
push dword [0x6800dc]
lea eax, [ebp - 0x21c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
jne 0x458c32
push str.GetUpdateMode_by_HKCU
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x489
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.0048ffd0
lea ecx, [ebp - 0x21c]
add esp, 0x14
mov bl, 1
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458c10
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044e920
mov ecx, dword [ebp - 0x224]
test ecx, ecx
jne 0x458fc8
push 0x105
push ecx
lea eax, [ebp - 0x21c]
push eax
call fcn.004e30c0
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.HKLMSOFTWAREKingsoftOffice6.0CommonupdateinfoUpdateMode
call fcn.00468170
add esp, 0x1c
test eax, eax
js 0x458d17
cmp word [ebp - 0x21c], 0
je 0x458d17
push dword [0x6800e4]
lea eax, [ebp - 0x21c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458cce
push dword [0x6800e0]
lea eax, [ebp - 0x21c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458cce
push dword [0x6800dc]
lea eax, [ebp - 0x21c]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
jne 0x458d17
push str.GetUpdateMode_by_HKLM
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x495
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.0048ffd0
lea ecx, [ebp - 0x21c]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458cf5
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044e920
mov ecx, dword [ebp - 0x224]
test ecx, ecx
jne 0x458fc8
lea eax, [ebp - 0x2ac]
push 7
push eax
call fcn.00463760
add esp, 8
push 0xd
push str._cfgs_oem.ini
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 4
call fcn.0044e7a0
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
cmp dword [ebp - 0x298], 8
lea eax, [ebp - 0x2ac]
push dword [ebp - 0x29c]
cmovae eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 5
call fcn.0044e920
push 0xa000
mov byte [ebp - 4], 6
call fcn.004cba04
add esp, 4
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x24c]
push ecx
push 0x5000
push esi
push 0x674944
push str.CustomizeUpdateMode
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
mov dword [ebp - 0x284], 0
xor eax, eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
lea edx, [ecx + 2]
jmp 0x458e00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458e00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x294]
call fcn.0044e920
push esi
call fcn.004cb4e9
mov edx, dword [ebp - 0x220]
add esp, 4
cmp edx, 8
jb 0x458e65
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458e5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459109
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x28c]
push str.GetUpdateMode_by_oem.ini
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x288]
push str.kupdate::KClientInfoGetter::GetUpdateMode
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x284]
push 0x4a0
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x280]
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
mov dword [ebp - 0x220], eax
call fcn.0048ffd0
mov edx, dword [ebp - 0x220]
lea esi, [ebp - 0x234]
mov ecx, dword [ebp - 0x234]
add esp, 0x14
cmp edx, 8
jb 0x458ee8
mov esi, ecx
test esi, esi
je 0x458f33
cmp word [esi], 0
je 0x458f33
push dword [0x6800e4]
push esi
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458f4e
push dword [0x6800e0]
push esi
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458f4e
push dword [0x6800dc]
push esi
call fcn.004e70a0
add esp, 8
test eax, eax
je 0x458f4e
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
cmp edx, 8
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x234]
cmovae eax, ecx
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x238]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x458f92
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458f88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459109
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 3
call fcn.00448fb0
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x459017
test bl, bl
jne 0x458ff6
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoUpdateMode
call fcn.00468860
mov ecx, dword [ebp - 0x224]
add esp, 0xc
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push ecx
cmovae eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x264]
push eax
call fcn.0044e920
mov edx, dword [ebp - 0x220]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x45905b
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459051
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45910e
push edx
push ecx
call fcn.004cb4db
add esp, 8
lea eax, [ebp - 0x264]
cmp edi, eax
je 0x459081
cmp dword [ebp - 0x250], 8
mov ecx, edi
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.0044e920
cmp dword [edi + 0x14], 8
jb 0x459089
mov edi, dword [edi]
push edi
push str.Update_mode_is__s.
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x4b1
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 4
call fcn.0048ffd0
mov edx, dword [ebp - 0x250]
add esp, 0x18
cmp edx, 8
jb 0x4590e4
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4590da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459113
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
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.004cb998
mov esp, ebp
pop ebp
ret 8
call fcn.004e6589
call fcn.004e6589
call fcn.004e6589
call fcn.004e6589
int3