Function at 0x100c8ba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100eb855
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebp
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
push 5
mov eax, str.TrustList.dat
lea esi, [esp + 0x28]
call fcn.100c0900
mov dword [esp + 0x68], 0
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
lea edx, [esp + 0x14]
push edx
push ebp
mov dword [esp + 0x38], 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
call fcn.100c2530
push eax
lea eax, [esp + 0x14]
push eax
mov edi, str._tmp
mov byte [esp + 0x70], 1
call fcn.10008ef0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c8c49
mov edx, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov edi, str._avdata001.dat
call fcn.10008ef0
add esp, 8
mov esi, eax
lea edx, [esp + 0x1c]
push edx
push ebp
mov byte [esp + 0x70], 4
call fcn.100c2530
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x70], 5
call fcn.10008ef0
add esp, 8
mov byte [esp + 0x68], 6
mov eax, dword [eax]
mov esi, dword [esi]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea esi, [esp + 0x24]
call fcn.100c0a10
test eax, eax
je 0x100c8cf8
call fcn.100c0b90
test eax, eax
je 0x100c8cf8
call fcn.100c0cf0
cmp dword [ebp + 0xac], 0
je 0x100c8cf8
mov ecx, dword [ebp + 0xac]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], vtable.CUpdate.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 4