Function at 0x40ea30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5244ac
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x590cc0]
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]
cmp dword [edi + 0x194], 0xffffffff
jne 0x40ecd5
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.004ba010
push ebx
push 0x104
lea edx, [ebp - 0x218]
push edx
push str.HKCUSoftwareKingsoftOfficelanguages
call fcn.0041dcb0
lea eax, [ebp - 0x218]
add esp, 0x1c
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40eab0
sub eax, edx
sar eax, 1
cmp eax, ebx
jne 0x40eadd
push ebx
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKLMSoftwareKingsoftOfficelanguages
call fcn.0041dcb0
add esp, 0x10
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40eae6
sub eax, edx
sar eax, 1
cmp eax, ebx
jne 0x40ec11
lea ecx, [ebp - 0x26c]
push 0x18
push ecx
call fcn.0041d2b0
add esp, 8
mov eax, dword [ebp - 0x26c]
mov esi, 8
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x258], esi
jae 0x40eb2a
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x250]
call fcn.00402980
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], esi
jae 0x40eb4e
lea eax, [ebp - 0x250]
push eax
push ebx
push str.UILanguage
push 0x53e8b0
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [edi + 0x194], eax
cmp eax, ebx
jne 0x40ebba
push 0x5000
push 0x53a154
push str.UILanguage
push 0x53e8b0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x250]
call fcn.0040dd60
push eax
mov byte [ebp - 4], 2
call fcn.0051f290
add esp, 4
mov dword [edi + 0x194], eax
cmp dword [ebp - 0x220], esi
jb 0x40ebba
mov eax, dword [ebp - 0x234]
push eax
call fcn.004b9008
add esp, 4
cmp dword [ebp - 0x23c], esi
jb 0x40ebd1
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x258], esi
jb 0x40ecc3
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004b9008
add esp, 4
jmp 0x40ecc3
lea ecx, [ebp - 0x218]
push 0x53e8ac
push ecx
call fcn.004ba8ed
add esp, 8
cmp eax, ebx
je 0x40ec2e
xor edx, edx
mov word [eax], dx
xor eax, eax
mov word [ebp - 0x234], ax
mov esi, 7
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ec51
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00402460
lea edx, [ebp - 0x234]
push edx
mov dword [ebp - 4], 3
call fcn.0051f290
add esp, 4
cmp dword [ebp - 0x220], 8
mov dword [edi + 0x194], eax
mov dword [ebp - 4], 0xffffffff
jb 0x40ecae
mov eax, dword [ebp - 0x234]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp dword [edi + 0x194], ebx
jne 0x40ecd5
mov dword [edi + 0x194], 0x270f
mov edx, dword [edi + 0x194]
push edx
push str.Language_id_is:__u.
push str.kupdate::KClientInfoGetter::GetLanguageID
push 0x20e
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 9
call fcn.0041a9b0
mov eax, dword [edi + 0x194]
add esp, 0x18
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.004b9ff3
mov esp, ebp
pop ebp
ret 4