Function at 0x43c1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x828], 0x104
mov word [ebp - 0x20c], dx
call sub.MSVCR100.dll_memset
mov edx, dword [0x565030]
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c240
sub eax, edx
sar eax, 1
mov dword [ebp - 0x82c], eax
cmp eax, 0x104
lea eax, [ebp - 0x82c]
jl 0x43c268
lea eax, [ebp - 0x828]
mov edx, dword [eax]
push esi
push edi
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43c290
lea edx, [ebp - 0x414]
push edx
push 0
push str.PNOption
mov ecx, 7
mov esi, str.cfgsoem.ini
push 0x4cebd0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x43c2da
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x4c79ac
push str.SubPNParamPrefix
push 0x4cebd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x43c347
jmp 0x43c330
movzx ecx, word [eax + 0x4d27f4]
mov word [ebp + eax - 0x61c], cx
add eax, 2
test cx, cx
jne 0x43c330
push ebx
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov ebx, 0x80004005
mov word [ebp - 0x824], cx
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00432f50
add esp, 0x14
test eax, eax
js 0x43c43b
cmp word [ebp - 0x824], 0
je 0x43c43b
lea ecx, [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.MSVCR100.dll_wcsstr]
mov edi, eax
lea eax, [ebp - 0x824]
push 0x2e
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 0x10
mov esi, eax
test edi, edi
je 0x43c43b
test esi, esi
je 0x43c43b
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x61c]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x43c3f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c3f0
sub eax, edx
sub esi, edi
sar eax, 1
sar esi, 1
sub esi, eax
push esi
lea eax, [edi + eax*2]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push str.SubDistSrc
push str.SOFTWAREKingsoftOffice6.0Common
call fcn.0043b2e0
push eax
call fcn.004356b0
add esp, 0x10
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004b12f6
mov esp, ebp
pop ebp
ret