Function at 0x40ec00
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3654
mov eax, dword fs:[0]
push eax
sub esp, 0xe4c
mov eax, dword [0x5603e8]
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 esi, dword [ebp + 8]
xor eax, eax
mov ebx, ecx
push 0x206
push eax
lea ecx, [ebp - 0xe46]
push ecx
mov dword [ebp - 0xe58], ebx
mov word [ebp - 0xe48], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x40e
push edx
lea eax, [ebp - 0x82e]
push eax
mov word [ebp - 0x830], dx
call sub.MSVCR100.dll_memset
xor ecx, ecx
push 0x40e
push ecx
lea edx, [ebp - 0xc3e]
push edx
mov word [ebp - 0xc40], cx
call sub.MSVCR100.dll_memset
add esp, 0x24
lea eax, [ebp - 0x32c]
push eax
mov dword [ebp - 0x32c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x31c], 1
push 0
jne 0x40ecce
push 2
lea ecx, [ebp - 0xe48]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40ecea
mov eax, 0x80004005
jmp 0x40f0f6
call fcn.00438260
movzx edx, al
neg edx
sbb edx, edx
and edx, 0xffffffeb
add edx, 0x17
push edx
lea eax, [ebp - 0xe48]
push eax
jmp 0x40ecb8
xor eax, eax
lea esp, [esp]
movzx ecx, word [ebp + eax - 0xe48]
mov word [ebp + eax - 0x830], cx
add eax, 2
test cx, cx
jne 0x40ecf0
lea eax, [ebp - 0x830]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ed11
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x832], 0x5c
je 0x40ed48
lea edi, [ebp - 0x830]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ed34
mov ecx, dword [0x4c7780]
mov dword [edi], ecx
push 0x104
lea edx, [ebp - 0xc40]
push edx
push 1
push 0
push 2
call fcn.0043baf0
test eax, eax
jne 0x40ecc4
lea edi, [ebp - 0xc40]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ed70
mov eax, dword [0x4c7780]
mov dword [edi], eax
test esi, esi
je 0x40edc1
cmp word [esi], 0
je 0x40edc1
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ed91
lea edi, [ebp - 0x830]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40edb0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40edb0
jmp 0x40ee54
call fcn.00488c20
mov esi, eax
test esi, esi
je 0x40ee62
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40edd3
sub eax, edx
sar eax, 1
je 0x40ee62
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x4c79ac
push str.startmenudir
push str.installinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x420]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ee30
lea edi, [ebp - 0x830]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40ee46
mov esi, edx
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00433cf0
test eax, eax
jne 0x40ee8e
call dword [sym.imp.ksolite.dll_bool___cdecl_krt::product::isEnterprise_void_]
test al, al
je 0x40ee8e
push 1
push 0xa
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0xc40]
push edx
mov ecx, ebx
call fcn.0040d600
push 1
push 4
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xc40]
push ecx
mov ecx, ebx
call fcn.0040de50
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
push 0
lea ecx, [ebp - 0xe54]
push str.WPS_Office_Tools
push ecx
call fcn.00407080
add esp, 0x18
lea edx, [ebp - 0xe4c]
push edx
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::trimmed_void_]
lea ecx, [ebp - 0xe54]
mov byte [ebp - 4], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x104
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ef23
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x21a], 0x5c
je 0x40ef5a
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ef46
mov edx, dword [0x4c7780]
mov dword [edi], edx
mov ebx, dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea ecx, [ebp - 0xe4c]
call ebx
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ef70
lea edi, [ebp - 0x218]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40ef86
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
jmp 0x40efb0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40efb0
mov eax, dword [0x4c7780]
push 0
lea ecx, [ebp - 0xe50]
push str.Update_Online.lnk
push ecx
mov dword [edi], eax
call fcn.00407080
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call ebx
mov edi, dword [ebp - 0xe58]
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, edi
call fcn.004075b0
lea ecx, [ebp - 0xe50]
mov byte [ebp - 4], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.ksolite.dll_bool___cdecl_krt::product::isEnterprise_void_]
test al, al
je 0x40f029
push 1
push 6
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xc40]
push ecx
mov ecx, edi
call fcn.0040de50
call fcn.00434cd0
test eax, eax
jne 0x40f059
push 0x100002e
call fcn.00433cd0
cmp eax, 1
jne 0x40f059
push eax
push 5
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0xc40]
push eax
mov ecx, edi
call fcn.0040de50
mov esi, dword [sym.imp.MSVCR100.dll_wcsrchr]
lea ecx, [ebp - 0xc40]
push 0x5c
push ecx
call esi
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0xc40]
push 0x5c
push eax
call esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xc40]
add esp, 0x10
add eax, 0xfffffffe
jmp 0x40f090
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40f090
mov edx, dword [str.utility_]
mov ecx, dword [0x4c8ad0]
mov dword [eax], edx
mov edx, dword [0x4c8ad4]
mov dword [eax + 4], ecx
mov ecx, dword [0x4c8ad8]
mov dword [eax + 8], edx
mov edx, dword [0x4c8adc]
mov dword [eax + 0xc], ecx
push 1
mov dword [eax + 0x10], edx
push 8
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0xc40]
push ecx
mov ecx, edi
call fcn.0040de50
lea ecx, [ebp - 0xe4c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
xor eax, eax
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.004b12f6
mov esp, ebp
pop ebp
ret 4