Function at 0x4861a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf46e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 edi, edi
mov ecx, esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], edi
call fcn.00486020
push str.default
push str.IconThemeName
mov dword [ebp - 4], edi
push str.SoftwareKingsoftOffice6.0pluginskicontheme
mov edi, 1
push 0x20019
mov dword [ebp - 0x3c], edi
mov byte [esi], 0
call fcn.0046ea50
add esp, 4
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0046fc20
add esp, 0x14
lea ecx, [esi + 4]
push eax
mov dword [ebp - 4], edi
call fcn.00405d20
mov ebx, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
jb 0x48623a
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.0.0.0.0
push str.IconThemeVersion
push str.SoftwareKingsoftOffice6.0pluginskicontheme
push 0x20019
call fcn.0046ea50
add esp, 4
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0046fc20
add esp, 0x14
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 2
call fcn.00405d20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
jb 0x486288
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x4c79ac
push str.IconThemePath
push str.SoftwareKingsoftOffice6.0pluginskicontheme
push 0x20019
call fcn.0046ea50
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0046fc20
add esp, 0x14
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00405d20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
jb 0x4862d8
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esi + 0x14]
push 7
lea ecx, [esi + 4]
push str.default
push eax
push 0
call fcn.004089e0
test eax, eax
je 0x48635b
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x58]
call fcn.00405560
push str.iconthemecfg.ini
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.0040ca60
add esp, 0xc
lea edi, [esi + 0x74]
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.00405d20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], ebx
jb 0x486337
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esi + 0x68], 0
je 0x48635b
cmp dword [esi + 0x84], 0
je 0x48635b
cmp dword [edi + 0x14], ebx
jb 0x48634d
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48635b
mov byte [esi], 1
push 0x4c8708
lea ecx, [ebp - 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 5
call dword [sym.imp.ksolite.dll_class_QString___cdecl_krt::dirs::office_void_]
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::absoluteFilePath_class_QString_const__]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__]
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call dword [sym.imp.QtCore4.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_QString::toStdWString_void_]
push eax
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0xa
call fcn.00405d20
cmp dword [ebp - 0x18], ebx
jb 0x4863e1
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x21
push 0x4e74d8
lea ecx, [esi + 0xac]
call fcn.00405660
mov eax, esi
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