Function at 0x445830
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503fa7
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x567e00]
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 ebx, dword [ebp + 0xc]
xor eax, eax
push 0x1a
mov dword [ebp - 0x27c], 0
push str.Product_Update_DefaultMode
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00403a70
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x264]
mov ecx, esi
push eax
call fcn.00443d10
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4458ff
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4458f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4458f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
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 0x44595c
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov edx, dword [str.halfauto]
cmp eax, 1
cmove edx, dword [str.auto]
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445940
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.00403a70
mov eax, dword [esi]
push esi
call dword [eax + 0x64]
test eax, eax
je 0x4459b0
mov edx, dword [str.halfauto]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445971
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x264]
call fcn.00403a70
push str.Usb_Version.
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x46f
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 9
call fcn.00412230
add esp, 0x14
jmp 0x445ee6
xor eax, eax
mov dword [ebp - 0x234], 0
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 sub.VCRUNTIME140.dll_memset
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoUpdateMode
call fcn.0044cf60
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 0x1c
mov byte [ebp - 0x2ad], 0
test eax, eax
js 0x445ac2
cmp word [ebp - 0x21c], 0
je 0x445ac2
push dword [0x522b54]
lea eax, [ebp - 0x21c]
push eax
call esi
add esp, 8
test eax, eax
je 0x445a6d
push dword [0x522b50]
lea eax, [ebp - 0x21c]
push eax
call esi
add esp, 8
test eax, eax
je 0x445a6d
push dword [0x522b4c]
lea eax, [ebp - 0x21c]
push eax
call esi
add esp, 8
test eax, eax
jne 0x445ac2
push str.GetUpdateMode_by_HKCU
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x48b
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412230
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x2ad], 1
add esp, 0x14
lea edx, [ecx + 2]
jmp 0x445aa0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445aa0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00403a70
mov ecx, dword [ebp - 0x224]
test ecx, ecx
jne 0x445e4c
push 0x105
push ecx
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.HKLMSOFTWAREKingsoftOffice6.0CommonupdateinfoUpdateMode
call fcn.0044cf60
add esp, 0x1c
test eax, eax
js 0x445ba2
cmp word [ebp - 0x21c], 0
je 0x445ba2
push dword [0x522b54]
lea eax, [ebp - 0x21c]
push eax
call esi
add esp, 8
test eax, eax
je 0x445b55
push dword [0x522b50]
lea eax, [ebp - 0x21c]
push eax
call esi
add esp, 8
test eax, eax
je 0x445b55
push dword [0x522b4c]
lea eax, [ebp - 0x21c]
push eax
call esi
add esp, 8
test eax, eax
jne 0x445ba2
push str.GetUpdateMode_by_HKLM
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x497
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412230
lea ecx, [ebp - 0x21c]
add esp, 0x14
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445b80
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00403a70
mov ecx, dword [ebp - 0x224]
test ecx, ecx
jne 0x445e4c
lea eax, [ebp - 0x294]
push 7
push eax
call fcn.00417040
add esp, 8
push 0xd
push str._cfgs_oem.ini
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 4
call fcn.004038f0
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
push dword [ebp - 0x284]
cmovae eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 5
call fcn.00403a70
push 0xa000
mov byte [ebp - 4], 6
call fcn.004c6f7d
add esp, 4
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x24c]
push ecx
push 0x5000
push edi
push 0x516c74
push str.CustomizeUpdateMode
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445c90
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2ac]
call fcn.00403a70
push edi
call fcn.004c6f86
add esp, 4
lea eax, [ebp - 0x2ac]
lea ecx, [ebp - 0x234]
push eax
call fcn.00405690
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x445d07
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445cfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445e32
push edx
push ecx
call fcn.004c6f6f
add esp, 8
push str.GetUpdateMode_by_oem.ini
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x4a2
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412230
mov edx, dword [ebp - 0x220]
lea edi, [ebp - 0x234]
mov ecx, dword [ebp - 0x234]
add esp, 0x14
cmp edx, 8
jb 0x445d42
mov edi, ecx
test edi, edi
je 0x445d84
cmp word [edi], 0
je 0x445d84
push dword [0x522b54]
push edi
call esi
add esp, 8
test eax, eax
je 0x445d9f
push dword [0x522b50]
push edi
call esi
add esp, 8
test eax, eax
je 0x445d9f
push dword [0x522b4c]
push edi
call esi
add esp, 8
test eax, eax
je 0x445d9f
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 0x445ddf
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445dd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445e32
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x445e42
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445e38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x445e38
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x445ea0
cmp byte [ebp - 0x2ad], 0
jne 0x445e7f
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoUpdateMode
call fcn.0044d690
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.00403a70
mov edx, dword [ebp - 0x220]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x445ee6
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445edc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x445edc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
lea eax, [ebp - 0x264]
cmp ebx, eax
je 0x445f0c
cmp dword [ebp - 0x250], 8
mov ecx, ebx
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.00403a70
cmp dword [ebx + 0x14], 8
jb 0x445f14
mov ebx, dword [ebx]
push ebx
push str.Update_mode_is__s.
push str.kupdate::KClientInfoGetter::GetUpdateMode
push 0x4b4
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 4
call fcn.00412230
mov edx, dword [ebp - 0x250]
add esp, 0x18
cmp edx, 8
jb 0x445f75
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445f6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x445f6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
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.004c6f8b
mov esp, ebp
pop ebp
ret 8