Function at 0x43f170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x53d9f8]
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]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], esi
cmp dword [edi + 0x98], ebx
je 0x43f229
push 0x1b
xor eax, eax
mov dword [ebp - 0x108], ebx
push str.Support_UpdateAsInnerPlugin
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
call fcn.004033b0
lea eax, [ebp - 0x118]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x138], 1
push eax
mov ecx, edi
call fcn.004433e0
push 0x4f1b88
mov ecx, eax
mov ebx, 3
call fcn.0043ac30
mov byte [ebp - 0x131], 0
test eax, eax
jne 0x43f230
mov byte [ebp - 0x131], 1
test bl, 2
je 0x43f291
mov edx, dword [ebp - 0x11c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x43f274
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f26a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f2cf
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x43f2df
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x43f2df
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f2d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43f2d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp byte [ebp - 0x131], 0
je 0x43f5ed
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
push 0
push 0x20
push eax
call fcn.004d6ef0
test al, al
mov edx, str.HKCUSoftwareKingsoftOffice6.0Common_version
mov ecx, str.HKEY_CURRENT_USERSoftwarekingsoftPDFCommonVersion
cmove ecx, edx
push ecx
call fcn.0044b880
add esp, 0x10
test eax, eax
jne 0x43f355
cmp word [ebp - 0x50], ax
je 0x43f355
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f331
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x88]
call fcn.004033b0
jmp 0x43f5ed
lea eax, [ebp - 0x100]
push 0x1b
push eax
call fcn.00416f00
mov eax, dword [str.0.0.0.0]
mov dword [ebp - 0xd0], eax
mov eax, dword [0x4fbcdc]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x4fbce0]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x4fbce4]
push 0x70
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc0]
push 0
push eax
mov dword [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0xec], 8
lea eax, [ebp - 0x100]
cmovae eax, dword [ebp - 0x100]
push eax
call fcn.004168a0
add esp, 0x18
test al, al
je 0x43f53e
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp dword [ebp - 0xec], 8
lea eax, [ebp - 0x100]
push dword [ebp - 0xf0]
cmovae eax, dword [ebp - 0x100]
lea ecx, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 2
call fcn.004033b0
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0xe8]
push eax
push 0
push str.MajorVersion
push str.Version
mov byte [ebp - 4], 1
call ebx
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x138], eax
cmovae ecx, dword [ebp - 0xe8]
push ecx
push 0
push str.FirstVersion
push str.Version
call ebx
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xe8]
mov edi, eax
cmovae ecx, dword [ebp - 0xe8]
push ecx
push 0
push str.SecondVersion
push str.Version
call ebx
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xe8]
mov esi, eax
cmovae ecx, dword [ebp - 0xe8]
push ecx
push 0
push str.Version
push str.Version
call ebx
push eax
push esi
push edi
push dword [ebp - 0x138]
lea eax, [ebp - 0xd0]
push str._u._u._u._u
push 0x3f
push eax
call fcn.0043dc80
mov edx, dword [ebp - 0xd4]
add esp, 0x1c
cmp edx, 8
jb 0x43f513
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43f509
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov esi, dword [ebp - 0x13c]
xor eax, eax
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
jmp 0x43f55c
push str.kFileSetupCfg_not_Found.
push str.kupdate::KClientInfoGetter::GetClientVersion
push 0x264
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 5
call fcn.00412750
add esp, 0x14
lea ecx, [ebp - 0xd0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f565
sub ecx, edx
lea eax, [ebp - 0xd0]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x88]
call fcn.004033b0
mov edx, dword [ebp - 0xec]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x43f5d0
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f5c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43f5c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
lea eax, [edi + 0x88]
cmp esi, eax
je 0x43f60c
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x43f601
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004033b0
cmp dword [esi + 0x14], 8
jb 0x43f614
mov esi, dword [esi]
push esi
push str.Client_Version_is:__s.
push str.kupdate::KClientInfoGetter::GetClientVersion
push 0x26b
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 7
call fcn.00412750
add esp, 0x18
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.004bee49
mov esp, ebp
pop ebp
ret 8