Function at 0x100c1a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ee3ba
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
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
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 0x100c1ad0
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 0x100c1b6e
sub ecx, 1
je 0x100c1aec
sub ecx, 2
jne 0x100c1cd8
lea esi, [esp + 0x18]
call fcn.10004b30
test eax, eax
jne 0x100c1b5f
mov eax, dword [esp + 0x18]
sub eax, ebx
je 0x100c1b45
mov ecx, 1
sub eax, ecx
je 0x100c1b2b
sub eax, ecx
jne 0x100c1b48
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 0x100c1cd8
push 5
mov eax, 0x1010a124
lea esi, [esp + 0x28]
call fcn.100c0900
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.10008ef0
mov esi, eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x78], 1
call fcn.10008ef0
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.100c0a10
test eax, eax
je 0x100c1c05
call fcn.100c0b90
test eax, eax
je 0x100c1c05
call fcn.100c0cf0
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.10004b30
test eax, eax
jne 0x100c1cc5
mov eax, dword [esp + 0x18]
xor ecx, ecx
sub eax, ecx
je 0x100c1ca0
sub eax, edi
je 0x100c1c7b
sub eax, edi
jne 0x100c1ca3
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x24], edi
mov ebp, dword [ebp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100c09c0
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.100c09c0
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.100c09c0
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.100c09c0
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