Function at 0x442170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b11
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x184]
cmp eax, 0xffffffff
jne 0x44248d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKCUSoftwareKingsoftOfficelanguages
call fcn.0044cf60
lea ecx, [ebp - 0x218]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4421e5
sub ecx, edx
sar ecx, 1
jne 0x442211
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKLMSoftwareKingsoftOfficelanguages
call fcn.0044cf60
add esp, 0x10
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442220
sub ecx, edx
sar ecx, 1
jne 0x44237e
lea eax, [ebp - 0x260]
push 0x1d
push eax
call fcn.00417040
add esp, 8
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00423780
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push eax
push 0
push str.UILanguage
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x184], eax
test eax, eax
jne 0x442321
push 0x5000
push 0x516c74
push str.UILanguage
push str.Local
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.00426b40
push eax
mov byte [ebp - 4], 2
call fcn.004e69f0
mov edx, dword [ebp - 0x21c]
add esp, 4
mov dword [esi + 0x184], eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x442321
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x442317
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 ecx, [ebp - 0x248]
call fcn.00403430
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x442474
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44236f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44236f
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
jmp 0x442474
lea eax, [ebp - 0x218]
push 0x514694
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x44239b
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
jmp 0x4423d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4423d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403a70
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 3
push eax
call fcn.004e69f0
mov edx, dword [ebp - 0x21c]
add esp, 4
mov dword [esi + 0x184], eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x442457
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44244d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44244d
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
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [esi + 0x184]
test eax, eax
jne 0x44248d
mov dword [esi + 0x184], 0x270f
mov eax, 0x270f
push eax
push str.Language_id_is:__u.
push str.kupdate::KClientInfoGetter::GetLanguageID
push 0x323
push str.D:_rc_bug_mas_v12_2408Coding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 9
call fcn.00412230
mov eax, dword [esi + 0x184]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 4