Function at 0x433880
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dff2c
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
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 ebx, 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.0044b880
add esp, 0x1c
test eax, eax
jne 0x43398e
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x894], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8a8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433907
sub ecx, edx
lea eax, [ebp - 0x890]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8a8]
call fcn.004033b0
push ebx
lea eax, [ebp - 0x8a8]
mov dword [ebp - 4], 0
push 0x4ee53c
push eax
call fcn.00450930
mov edx, dword [ebp - 0x894]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x43398e
mov ecx, dword [ebp - 0x8a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433984
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x433984
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
lea eax, [ebp - 0x8c0]
push 0x19
push eax
call fcn.00416f00
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 0x4f0da4
push str.lowerversion
push 0x4f0f98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x433af2
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x433a24
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00432570
test al, al
jne 0x433a1c
add esi, 0x18
cmp esi, edi
jne 0x433a03
cmp esi, edi
jne 0x433ac8
xor eax, eax
mov dword [ebp - 0x898], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x894], 7
mov word [ebp - 0x8a8], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433a50
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8a8]
call fcn.004033b0
lea eax, [ebp - 0x8a8]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0043c430
mov edx, dword [ebp - 0x894]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x433ac8
mov ecx, dword [ebp - 0x8a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c6c
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x8ac], 8
lea eax, [ebp - 0x8c0]
cmovae eax, dword [ebp - 0x8c0]
push eax
push 0x4f0da4
push str.lowerversion
push 0x4f0f98
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 0x4f0da4
push str.higherversion
push 0x4f0f98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x433c3a
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x433b73
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.00432570
test al, al
jne 0x433b6b
add esi, 0x18
cmp esi, edi
jne 0x433b52
cmp esi, edi
jne 0x433c10
xor eax, eax
mov dword [ebp - 0x898], 0
lea edx, [ebp - 0x90]
mov dword [ebp - 0x894], 7
mov word [ebp - 0x8a8], ax
lea ecx, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x433ba0
sub edx, ecx
lea eax, [ebp - 0x90]
sar edx, 1
lea ecx, [ebp - 0x8a8]
push edx
push eax
call fcn.004033b0
lea eax, [ebp - 0x8a8]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0043c430
mov edx, dword [ebp - 0x894]
cmp edx, 8
jb 0x433c10
mov ecx, dword [ebp - 0x8a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433c6c
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x8ac], 8
lea eax, [ebp - 0x8c0]
cmovae eax, dword [ebp - 0x8c0]
push eax
push 0x4f0da4
push str.higherversion
push 0x4f0f98
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x8ac]
cmp edx, 8
jb 0x433c7c
mov ecx, dword [ebp - 0x8c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433c72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x433c72
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 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 4