Function at 0x4345b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502ba1
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x890]
push 0x800
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 0x400
lea eax, [ebp - 0x890]
push eax
push str.HKCUSoftwareKingsoftOffice6.0Commonupdateinfowaitclearversions
call fcn.0044cf60
add esp, 0x1c
test eax, eax
jne 0x4346c7
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x898], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x894], 7
mov word [ebp - 0x8a8], ax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434640
sub ecx, edx
lea eax, [ebp - 0x890]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00403a70
push edi
lea eax, [ebp - 0x8a8]
mov dword [ebp - 4], 0
push 0x514694
push eax
call fcn.00451ca0
mov edx, dword [ebp - 0x894]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4346c7
mov ecx, dword [ebp - 0x8a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4346bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4346bd
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 - 0x8c0]
push 0x1b
push eax
call fcn.00417040
push 0x80
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x8c0]
cmp dword [ebp - 0x8ac], 8
cmovae eax, dword [ebp - 0x8c0]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x516c74
push str.lowerversion
push 0x516dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x434832
mov esi, dword [edi + 4]
lea eax, [ebp - 0x90]
push eax
push esi
push dword [edi]
lea eax, [ebp - 0x8c4]
push eax
call fcn.00423180
add esp, 0x10
cmp dword [ebp - 0x8c4], esi
jne 0x434808
xor eax, eax
mov dword [ebp - 0x8a8], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8a8], ax
jmp 0x434790
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434790
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00403a70
lea eax, [ebp - 0x8a8]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00411b80
mov edx, dword [ebp - 0x894]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x434808
mov ecx, dword [ebp - 0x8a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4347fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4349ad
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x8ac], 8
lea eax, [ebp - 0x8c0]
cmovae eax, dword [ebp - 0x8c0]
push eax
push 0x516c74
push str.lowerversion
push 0x516dac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x8c0]
cmp dword [ebp - 0x8ac], 8
cmovae eax, dword [ebp - 0x8c0]
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x516c74
push str.higherversion
push 0x516dac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x43497b
mov esi, dword [edi + 4]
lea eax, [ebp - 0x90]
push eax
push esi
push dword [edi]
lea eax, [ebp - 0x8c4]
push eax
call fcn.00423180
add esp, 0x10
cmp dword [ebp - 0x8c4], esi
jne 0x434951
xor eax, eax
mov dword [ebp - 0x8a8], 0
lea edx, [ebp - 0x90]
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 7
lea ecx, [edx + 2]
mov word [ebp - 0x8a8], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4348e1
sub edx, ecx
lea eax, [ebp - 0x90]
sar edx, 1
lea ecx, [ebp - 0x8a8]
push edx
push eax
call fcn.00403a70
lea eax, [ebp - 0x8a8]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00411b80
mov edx, dword [ebp - 0x894]
cmp edx, 8
jb 0x434951
mov ecx, dword [ebp - 0x8a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4349ad
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp dword [ebp - 0x8ac], 8
lea eax, [ebp - 0x8c0]
cmovae eax, dword [ebp - 0x8c0]
push eax
push 0x516c74
push str.higherversion
push 0x516dac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x8ac]
cmp edx, 8
jb 0x4349bd
mov ecx, dword [ebp - 0x8c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4349b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4349b3
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 - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 4