Function at 0x100c9910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ebc95
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebp
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
push 5
mov eax, 0x1010e104
lea esi, [esp + 0x28]
call fcn.100c0850
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.100c24e0
push eax
lea eax, [esp + 0x14]
push eax
mov edi, str._tmp
mov byte [esp + 0x70], 1
call fcn.10008ed0
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 0x100c99b9
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.Malware.dat
call fcn.10008ed0
add esp, 8
mov esi, eax
lea edx, [esp + 0x1c]
push edx
push ebp
mov byte [esp + 0x70], 4
call fcn.100c24e0
push eax
lea eax, [esp + 0x1c]
push eax
mov edi, str.dataMalware.dat
mov byte [esp + 0x70], 5
call fcn.10008ed0
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.100c0960
test eax, eax
je 0x100c9a57
call fcn.100c0ae0
test eax, eax
je 0x100c9a57
call fcn.100c0c40
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