Function at 0x404ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x459678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaa8
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ecx
push ebx
push str.C360SafeApp::InitSkinFileStorage
lea ecx, [esp + 0xa0]
mov dword [esp + 0x34], ebx
call fcn.00455e90
mov eax, dword [0x4730e0]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp eax, ebx
mov dword [esp + 0xac0], ebx
je 0x404b13
cmp dword [0x4730e4], ebx
jne 0x404bc3
lea eax, [esp + 0x2b8]
push 0x400
push eax
push ebx
call ebp
lea ecx, [esp + 0x2b8]
push ecx
call edi
mov eax, dword [0x4730e8]
xor esi, esi
cmp eax, ebx
jle 0x404b4c
lea edx, [esp + 0x2b8]
push edx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x404b38
lea eax, [esp + 0x2b8]
push str.MiniUI.dll
lea ecx, [esp + 0x2bc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x2b8]
push edx
call fcn.00401560
add esp, 4
test eax, eax
je 0x404b89
lea eax, [esp + 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x4730e4], eax
je 0x404e42
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x4730e0], eax
jne 0x404bc3
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], ebx
jmp 0x404e42
call eax
cmp eax, ebx
je 0x404e42
mov edx, dword [eax]
push eax
call dword [edx + 0x6c]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x404e42
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0xc
mov dword [esp + 0x28], eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0xac0], 1
je 0x404c13
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.00405f80
jmp 0x404c15
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xac0], 0
mov dword [esp + 0x68], eax
jne 0x404c2f
push 0x8007000e
call fcn.004589a0
mov bl, 2
push 0xc
mov byte [esp + 0xac4], bl
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0xac0], 3
je 0x404c60
push str.configconfig.xml
mov ecx, eax
call fcn.00405f80
jmp 0x404c62
xor eax, eax
test eax, eax
mov byte [esp + 0xac0], bl
mov dword [esp + 0x3c], eax
jne 0x404c7b
push 0x8007000e
call fcn.004589a0
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x64]
call fcn.00405e50
mov eax, dword [esp + 0x3c]
mov esi, 0x460e90
cmp eax, ebx
mov byte [esp + 0xac0], 7
mov dword [esp + 0x54], esi
je 0x404d67
mov eax, dword [eax]
cmp eax, ebx
je 0x404d67
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x404d67
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x404cd5
mov eax, dword [eax]
jmp 0x404cd7
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404cf3
lea edx, [esp + 0x3c]
push ebx
push edx
lea ecx, [esp + 0x5c]
call fcn.004069f0
jmp 0x404d67
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2b8]
push 0x400
push eax
push ecx
call ebp
lea edx, [esp + 0x2b8]
push edx
call edi
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x404d1d
mov eax, dword [eax]
jmp 0x404d1f
xor eax, eax
push eax
lea eax, [esp + 0x2bc]
lea ecx, [esp + 0x2bc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x2b8]
lea ecx, [esp + 0x14]
push edx
call fcn.00405e70
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac8], 8
call fcn.004069f0
lea ecx, [esp + 0x14]
call fcn.00405f30
lea ecx, [esp + 0x3c]
call fcn.00405f30
lea ecx, [esp + 0x68]
mov byte [esp + 0xac0], 0xa
call fcn.00405f30
push ebx
lea ecx, [esp + 0x5c]
call fcn.004067e0
test al, al
jne 0x404e23
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0xac0], 0xc
je 0x404dbb
push str.Root.Config_Skin_Item
mov ecx, eax
call fcn.00405f80
jmp 0x404dbd
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xac0], 0xa
mov dword [esp + 0x14], eax
jne 0x404dd7
push 0x8007000e
call fcn.004589a0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac8], 0xd
call fcn.00407080
mov bl, 0xf
lea ecx, [esp + 0x14]
mov byte [esp + 0xac0], bl
call fcn.00405f30
mov eax, dword [esp + 0x70]
mov edi, eax
test eax, eax
mov dword [esp + 0x28], edi
jg 0x404e61
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], 0x460e98
call fcn.00405e10
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], esi
call fcn.00405f30
lea ecx, [esp + 0x5c]
call fcn.00405f30
lea ecx, [esp + 0x58]
call fcn.00405e10
lea ecx, [esp + 0x98]
mov dword [esp + 0xac0], 0xffffffff
call fcn.00455fc0
or eax, 0xffffffff
jmp 0x4055fa
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0xac0], 0x10
je 0x404e89
push str.SkinPath
mov ecx, eax
call fcn.00405f80
jmp 0x404e8b
xor eax, eax
test eax, eax
mov byte [esp + 0xac0], bl
mov dword [esp + 0x38], eax
jne 0x404ea4
push 0x8007000e
call fcn.004589a0
mov bl, 0x11
push 0xc
mov byte [esp + 0xac4], bl
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0xac0], 0x12
je 0x404ed5
push str.DefaultSkin
mov ecx, eax
call fcn.00405f80
jmp 0x404ed7
xor eax, eax
test eax, eax
mov byte [esp + 0xac0], bl
mov dword [esp + 0x40], eax
jne 0x404ef0
push 0x8007000e
call fcn.004589a0
mov bl, 0x13
push 0xc
mov byte [esp + 0xac4], bl
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0xac0], 0x14
je 0x404f21
push 0x46da28
mov ecx, eax
call fcn.00405f80
jmp 0x404f23
xor eax, eax
test eax, eax
mov byte [esp + 0xac0], bl
mov dword [esp + 0x30], eax
jne 0x404f3c
push 0x8007000e
call fcn.004589a0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xac4], 0x15
call fcn.00403d90
lea ecx, [esp + 0x20]
mov byte [esp + 0xac0], 0x16
call sub.MFC42u.DLL_CString::CString_4
test edi, edi
mov byte [esp + 0xac0], 0x17
mov dword [esp + 0x14], 0
jle 0x40545d
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov bl, 0x19
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.004064e0
lea ecx, [esp + 0x10]
mov byte [esp + 0xac0], 0x18
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x38]
mov byte [esp + 0xac0], bl
test eax, eax
je 0x40507a
mov eax, dword [eax]
test eax, eax
je 0x40507a
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x40507a
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac8], 0x1a
call fcn.004062b0
test eax, eax
jne 0x405027
push 0x473258
lea ecx, [esp + 0x14]
call fcn.00456320
lea eax, [esp + 0x78]
mov byte [esp + 0xac0], bl
push eax
call esi
test eax, eax
jge 0x40507a
jmp 0x405074
cmp word [esp + 0x78], 8
je 0x405051
push 0x473258
lea ecx, [esp + 0x14]
call fcn.00456320
lea ecx, [esp + 0x78]
mov byte [esp + 0xac0], bl
push ecx
call esi
test eax, eax
jge 0x40507a
jmp 0x405074
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x10]
push edx
call fcn.00456320
lea eax, [esp + 0x78]
mov byte [esp + 0xac0], bl
push eax
call esi
test eax, eax
jge 0x40507a
push eax
call fcn.004589a0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4050ab
lea ecx, [esp + 0x10]
mov byte [esp + 0xac0], 0x18
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x44], 0x460e94
mov byte [esp + 0xac0], 0x1c
jmp 0x4051df
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [esp + 0x30]
mov byte [esp + 0xac0], 0x1d
test eax, eax
je 0x4051a3
mov eax, dword [eax]
test eax, eax
je 0x4051a3
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x4051a3
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac8], 0x1e
call fcn.004062b0
test eax, eax
jne 0x405145
push 0x473258
lea ecx, [esp + 0x20]
call fcn.00456320
lea eax, [esp + 0x88]
mov byte [esp + 0xac0], 0x1d
push eax
call esi
test eax, eax
jge 0x4051a3
jmp 0x40519d
cmp word [esp + 0x88], 8
je 0x405176
push 0x473258
lea ecx, [esp + 0x20]
call fcn.00456320
lea ecx, [esp + 0x88]
mov byte [esp + 0xac0], 0x1d
push ecx
call esi
test eax, eax
jge 0x4051a3
jmp 0x40519d
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x1c]
push edx
call fcn.00456320
lea eax, [esp + 0x88]
mov byte [esp + 0xac0], 0x1d
push eax
call esi
test eax, eax
jge 0x4051a3
push eax
call fcn.004589a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x405214
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac0], 0x18
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x44], 0x460e94
mov byte [esp + 0xac0], 0x20
push 0
lea ecx, [esp + 0x50]
call fcn.00405e20
push 0
lea ecx, [esp + 0x4c]
call fcn.00405e20
lea ecx, [esp + 0x4c]
call fcn.00405e10
lea ecx, [esp + 0x48]
mov byte [esp + 0xac0], 0x17
call fcn.00405e10
jmp 0x405377
push 0x46d988
lea ecx, [esp + 0x14]
call fcn.004562cc
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x24]
push 0x473258
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0xacc], 0x21
call fcn.00406340
mov edx, dword [esp + 0x24]
push 0x46da24
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4052e6
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.004079e0
add esp, 8
test eax, eax
je 0x40539d
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push str.miniui.xml
push edx
push ecx
call sub.MFC42u.DLL_operator
call fcn.00421e30
add esp, 4
test eax, eax
je 0x40539d
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push ecx
push ebp
push edi
call dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
push eax
push ebp
push edi
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x405334
mov dword [esp + 0x2c], 1
jmp 0x405334
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x405334
push ecx
lea eax, [esp + 0x24]
mov edx, esp
mov dword [esp + 0x38], esp
push str.miniui.xml
push eax
push edx
call sub.MFC42u.DLL_operator
call fcn.00421e30
add esp, 4
test eax, eax
je 0x405334
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
push edx
push ebp
push edi
mov dword [esp + 0x38], 1
call dword [ecx + 0x1c]
lea ecx, [esp + 0x24]
mov byte [esp + 0xac0], 0x1d
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac0], 0x18
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xac0], 0x17
call fcn.00406200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x404f8b
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x40557f
jmp 0x405465
lea ecx, [esp + 0x24]
mov byte [esp + 0xac0], 0x1d
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac0], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac0], 0x18
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xac0], 0x17
call fcn.00406200
lea ecx, [esp + 0x20]
mov byte [esp + 0xac0], 0x16
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xac0], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
call fcn.00405f30
lea ecx, [esp + 0x40]
call fcn.00405f30
lea ecx, [esp + 0x38]
call fcn.00405f30
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac0], 0xa
call fcn.004064c0
lea ecx, [esp + 0x54]
mov byte [esp + 0xac0], 0
call fcn.00406940
lea ecx, [esp + 0x98]
mov dword [esp + 0xac0], 0xffffffff
call fcn.00455fc0
xor eax, eax
jmp 0x4055fa
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x40557f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.004562c0
mov bl, 0x22
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac4], bl
call sub.MFC42u.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x4054a8
inc eax
lea ecx, [esp + 0x14]
push eax
push 0
call sub.MFC42u.DLL_CString::Delete
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4054eb
push 0x46da20
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0xac4], 0x23
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac0], bl
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42u.DLL_CString::operator_1
push 0x46da1c
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0xac0], 0x24
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0xac0], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x18]
push edx
push 0
call fcn.004079e0
add esp, 8
test eax, eax
je 0x40556e
push ecx
lea ecx, [esp + 0x24]
mov eax, esp
mov dword [esp + 0x38], esp
push str.miniui.xml
push ecx
push eax
call sub.MFC42u.DLL_operator
call fcn.00421e30
add esp, 4
test eax, eax
je 0x40556e
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
push eax
push ebp
push edi
call dword [edx]
lea ecx, [esp + 0x14]
mov byte [esp + 0xac0], 0x17
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xac0], 0x16
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xac0], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
call fcn.00405f30
lea ecx, [esp + 0x40]
call fcn.00405f30
lea ecx, [esp + 0x38]
call fcn.00405f30
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac0], 0xa
call fcn.004064c0
lea ecx, [esp + 0x54]
mov byte [esp + 0xac0], 0
call fcn.00406940
lea ecx, [esp + 0x98]
mov dword [esp + 0xac0], 0xffffffff
call fcn.00455fc0
mov eax, 1
mov ecx, dword [esp + 0xab8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xab4
ret