Function at 0x100a5af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c5b0a
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100ef07c]
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 0x100a5b40
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 0x100a5bde
sub ecx, 1
je 0x100a5b5c
sub ecx, 2
jne 0x100a5d48
lea esi, [esp + 0x18]
call fcn.100046a0
test eax, eax
jne 0x100a5bcf
mov eax, dword [esp + 0x18]
sub eax, ebx
je 0x100a5bb5
mov ecx, 1
sub eax, ecx
je 0x100a5b9b
sub eax, ecx
jne 0x100a5bb8
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 0x100a5d48
push 5
mov eax, 0x100dd8c4
lea esi, [esp + 0x28]
call fcn.100a4ab0
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.10008380
mov esi, eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x78], 1
call fcn.10008380
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.100a4bb0
test eax, eax
je 0x100a5c75
call fcn.100a4d10
test eax, eax
je 0x100a5c75
call fcn.100a4e70
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.100046a0
test eax, eax
jne 0x100a5d35
mov eax, dword [esp + 0x18]
xor ecx, ecx
sub eax, ecx
je 0x100a5d10
sub eax, edi
je 0x100a5ceb
sub eax, edi
jne 0x100a5d13
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x24], edi
mov ebp, dword [ebp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100a4b70
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.100a4b70
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.100a4b70
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.100a4b70
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