Function at 0x4325d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfcf1
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
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
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x264], 0
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]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432640
sub ecx, edx
sar ecx, 1
jne 0x43266c
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.HKLMSoftwareKingsoftOfficelanguages
call fcn.0044b880
add esp, 0x10
lea eax, [ebp - 0x218]
push 0x4ee53c
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x432689
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4326b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004033b0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
call fcn.004d9ec0
mov edx, dword [ebp - 0x234]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp edx, 8
jb 0x432733
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x432729
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 eax, dword [ebp - 0x264]
test esi, esi
cmovne eax, esi
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4328b6
push eax
lea eax, [ebp - 0x264]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonLocalUILanguage
call fcn.0044b690
add esp, 0xc
test eax, eax
js 0x432773
mov eax, dword [ebp - 0x264]
test eax, eax
jne 0x4328b6
push str._MulLang::GetCurrentLangID_Failed_to_ReadDWord.
push str.kupdate::KMullangResLoader::_GetCurrentLangID
push 0x10a
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcpublic_MulLang.h
push 5
call fcn.00412750
lea eax, [ebp - 0x260]
push 0x1b
push eax
call fcn.00416f00
add esp, 0x1c
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x4327b0
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ecx, edx
mov byte [ebp - 4], 2
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4327d6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004033b0
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x432834
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43282a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43282a
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
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
push str.UILanguage
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x264], eax
cmp edx, 8
jb 0x4328a9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x432899
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
mov eax, dword [ebp - 0x264]
add esp, 8
test eax, eax
jne 0x4328b6
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
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