Function at 0x100c19c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ee8ba
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
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
mov eax, dword [ebp + 0x14]
lea edi, [ebp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c1a10
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp + 0x38]
mov ecx, eax
sub ecx, 1
je 0x100c1aae
sub ecx, 1
je 0x100c1a2c
sub ecx, 2
jne 0x100c1c18
lea esi, [esp + 0x18]
call fcn.10004ae0
test eax, eax
jne 0x100c1a9f
mov eax, dword [esp + 0x18]
sub eax, ebx
je 0x100c1a85
mov ecx, 1
sub eax, ecx
je 0x100c1a6b
sub eax, ecx
jne 0x100c1a88
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x24], ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x28], ecx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x28], ebx
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x24], 1
jmp 0x100c1c18
push 5
mov eax, 0x1010b124
lea esi, [esp + 0x28]
call fcn.100c0850
mov dword [esp + 0x68], ebx
push edi
lea eax, [esp + 0x24]
mov ebx, 2
push eax
mov edi, str.HBEDV.key
mov dword [esp + 0x38], ebx
call fcn.10008ed0
mov esi, eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x78], 1
call fcn.10008ed0
add esp, 0x10
mov byte [esp + 0x68], bl
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 + 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], 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 esi, [esp + 0x24]
call fcn.100c0960
test eax, eax
je 0x100c1b45
call fcn.100c0ae0
test eax, eax
je 0x100c1b45
call fcn.100c0c40
push 0x7d
lea esi, [ebp + 0x34]
push 0x7d
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov edi, 1
push edi
call sym.AntiVirus.dll_AVGetEngineDataVersion
add esp, 0xc
push 0xffffffffffffffff
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [ebp + 0x38]
lea esi, [esp + 0x18]
call fcn.10004ae0
test eax, eax
jne 0x100c1c05
mov eax, dword [esp + 0x18]
xor ecx, ecx
sub eax, ecx
je 0x100c1be0
sub eax, edi
je 0x100c1bbb
sub eax, edi
jne 0x100c1be3
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x24], edi
mov ebp, dword [ebp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100c0910
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x28], edi
mov ebp, dword [ebp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100c0910
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x28], ecx
mov ebp, dword [ebp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100c0910
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 0x28], 0
lea ecx, [esp + 0x24]
mov dword [ebp + 0x24], edi
call fcn.100c0910
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret