Function at 0x422f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526351
mov eax, dword fs:[0]
push eax
sub esp, 0x264
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
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x270], edi
mov word [ebp - 0x218], ax
call fcn.004ba010
push edi
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 cx, word [eax]
add eax, 2
cmp cx, di
jne 0x422f74
sub eax, edx
sar eax, 1
cmp eax, edi
jne 0x422fa1
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKLMSoftwareKingsoftOfficelanguages
call fcn.0041dcb0
add esp, 0x10
lea ecx, [ebp - 0x218]
push 0x53e8ac
push ecx
call fcn.004ba8ed
add esp, 8
cmp eax, edi
je 0x422fbe
xor edx, edx
mov word [eax], dx
xor eax, eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x422fe0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x250]
call fcn.00402460
lea edx, [ebp - 0x250]
push edx
mov dword [ebp - 4], edi
call fcn.0051f290
mov ebx, 8
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x23c], ebx
jb 0x423039
mov eax, dword [ebp - 0x250]
push eax
call fcn.004b9008
add esp, 4
cmp esi, edi
jbe 0x423047
mov eax, esi
mov dword [ebp - 0x270], eax
jmp 0x42304d
mov eax, dword [ebp - 0x270]
cmp eax, edi
jne 0x423169
push edi
lea ecx, [ebp - 0x270]
push ecx
push str.HKCUSoftwareKingsoftOffice6.0CommonLocalUILanguage
call fcn.0041e0c0
add esp, 0xc
cmp eax, edi
jl 0x42307c
mov eax, dword [ebp - 0x270]
cmp eax, edi
jne 0x423169
push str._MulLang::GetCurrentLangID_Failed_to_ReadDWord.
push str.kupdate::KMullangResLoader::_GetCurrentLangID
push 0x103
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcpublic_MulLang.h
push 5
call fcn.0041a9b0
lea edx, [ebp - 0x26c]
push 0x18
push edx
call fcn.0041d2b0
add esp, 0x1c
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], ebx
jb 0x4230b8
mov edx, dword [eax]
jmp 0x4230ba
mov edx, eax
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
mov eax, edx
mov byte [ebp - 4], 2
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4230e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00402460
cmp dword [ebp - 0x258], ebx
jb 0x423113
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x423127
lea eax, [ebp - 0x234]
push eax
push edi
push str.UILanguage
push 0x53e8b0
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x220], ebx
jb 0x42315c
mov edx, dword [ebp - 0x234]
push edx
call fcn.004b9008
mov eax, dword [ebp - 0x270]
add esp, 4
cmp eax, edi
jne 0x423169
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultLangID]
movzx eax, ax
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