Function at 0x441850
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d7c
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x53d9f8]
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 0x441b5e
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.0044b880
lea ecx, [ebp - 0x218]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4418c5
sub ecx, edx
sar ecx, 1
jne 0x4418f1
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKLMSoftwareKingsoftOfficelanguages
call fcn.0044b880
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 0x441900
sub ecx, edx
sar ecx, 1
jne 0x441a5e
lea eax, [ebp - 0x260]
push 0x1b
push eax
call fcn.00416f00
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.00423320
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 0x441a01
push 0x5000
push 0x4f0da4
push str.UILanguage
push str.Local
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.004264e0
push eax
mov byte [ebp - 4], 2
call fcn.004d9ec0
mov edx, dword [ebp - 0x21c]
add esp, 4
mov dword [esi + 0x184], eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x441a01
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4419f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4419f7
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 ecx, [ebp - 0x248]
call fcn.00402d80
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x441b45
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441a4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441a4f
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
jmp 0x441b45
lea eax, [ebp - 0x218]
push 0x4ee53c
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x441a7b
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441aa1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004033b0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 3
push eax
call fcn.004d9ec0
mov edx, dword [ebp - 0x21c]
add esp, 4
mov dword [esi + 0x184], eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x441b28
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441b1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441b1e
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
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 0x441b5e
mov dword [esi + 0x184], 0x270f
mov eax, 0x270f
push eax
push str.Language_id_is:__u.
push str.kupdate::KClientInfoGetter::GetLanguageID
push 0x31d
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmiscKClientInfoGetter.cpp
push 9
call fcn.00412750
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.004bee49
mov esp, ebp
pop ebp
ret 4