Function at 0x48a5f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd5bc
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x542488]
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]
mov dword [ebp - 0x2ac], 0
mov eax, dword [0x542300]
cmp eax, 0xffffffff
jne 0x48a757
lea eax, [ebp - 0x290]
push eax
call fcn.0048b0c0
push str.cfgs_setup.cfg
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push eax
call fcn.00401db0
add esp, 0x10
lea ecx, [ebp - 0x290]
call fcn.00402400
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 4], 3
call fcn.00407d30
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x230]
push eax
push 0
push str.SupportNewLangs
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x21c]
mov dword [0x542300], eax
cmp edx, 8
jb 0x48a723
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a719
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abc1
push edx
push ecx
call fcn.004b5e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00402400
mov eax, dword [0x542300]
cmp eax, 1
je 0x48a763
xor eax, eax
jmp 0x48aba5
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [ebp - 4], 4
push eax
push 0x503648
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00407d30
push 9
xor eax, eax
mov byte [ebp - 4], 5
push str.languages
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00407d30
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.004b8860
add esp, 0xc
lea eax, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea esi, [ebp - 0x248]
cmovae esi, dword [ebp - 0x248]
push 0x104
push eax
push esi
push str.SoftwareKingsoftOffice
call fcn.00491c10
push eax
call fcn.004853f0
add esp, 0x14
test eax, eax
je 0x48a87e
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
push str.SoftwareKingsoftOffice
push 0x80000002
call fcn.004853f0
add esp, 0x14
test eax, eax
je 0x48a87e
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00402970
mov dword [ebp - 4], 8
mov ebx, 2
jmp 0x48a8d5
xor eax, eax
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a8a4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.00407d30
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 7
mov ebx, 1
push eax
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x2ac], ebx
call fcn.00402970
or ebx, 4
test bl, 2
je 0x48a8fd
lea ecx, [ebp - 0x2a8]
and ebx, 0xfffffffd
call fcn.00402400
mov dword [ebp - 4], 6
test bl, 1
je 0x48a949
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x48a949
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a93f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abc6
push edx
push ecx
call fcn.004b5e6a
add esp, 8
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x290]
push 0x509e9c
push eax
call fcn.00485510
add esp, 0xc
lea ecx, [ebp - 0x290]
call fcn.00402400
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x48a9b7
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a9ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abcb
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x48aa18
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48aa0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abcb
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x220]
jne 0x48ab1a
lea eax, [ebp - 0x224]
push eax
call fcn.0048b890
mov esi, dword [ebp - 0x220]
add esp, 4
cmp dword [ebp - 0x224], esi
jne 0x48ab1a
push str.en_US
lea ecx, [ebp - 0x248]
call fcn.00402260
mov byte [ebp - 4], 0xa
cmp esi, dword [ebp - 0x21c]
je 0x48aac3
mov eax, dword [ebp - 0x248]
mov edx, 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x244]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x23c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x238]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x234]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x248], ax
mov dword [ebp - 0x220], esi
jmp 0x48aadc
lea eax, [ebp - 0x248]
push eax
push esi
lea ecx, [ebp - 0x224]
call fcn.00401f30
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x48ab1a
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ab10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abd0
push edx
push ecx
call fcn.004b5e6a
add esp, 8
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.004880e0
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
add esp, 8
mov esi, dword [ebp - 0x224]
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
test esi, esi
je 0x48aba3
lea ecx, [ebp - 0x224]
push ecx
push dword [ebp - 0x220]
push esi
call fcn.00401ec0
mov ecx, dword [ebp - 0x21c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x48ab99
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48abd0
push ecx
push esi
call fcn.004b5e6a
add esp, 8
mov eax, edi
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.004b5e78
mov esp, ebp
pop ebp
ret
call fcn.004c19b9
call fcn.004c19b9
call fcn.004c19b9
call fcn.004c19b9
int3