Function at 0x10022f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f2bfc
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10022f7e
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x2c]
mov dword [esp + 0x5c], ebx
call fcn.10022230
add esp, 4
push ebx
push 6
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 1
mov eax, dword [eax]
push ecx
push eax
call fcn.100a3620
add esp, 0x10
test eax, eax
mov ecx, esi
sete byte [esp + 0x17]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x17], bl
je 0x10023114
push edi
call fcn.10022950
push edi
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_class]
push 0xfde9
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x2c]
mov dword [esp + 0x5c], 2
call fcn.10022230
add esp, 4
push ebx
push 6
lea edx, [esp + 0x28]
mov byte [esp + 0x60], 3
mov eax, dword [eax]
push edx
push eax
call fcn.100a3620
add esp, 0x10
test eax, eax
mov ecx, esi
sete byte [esp + 0x17]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
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 esi, dword [esp + 0x1c]
cmp byte [esp + 0x17], bl
je 0x10023109
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x20], ebx
call fcn.1001a750
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x60], 4
mov edi, dword [esp + 0x28]
push 0x10023160
push str.SELECT__FROM_Quarantine_
push esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
call fcn.10082810
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0x10023160
push str.SELECT__FROM_hash_
push esi
mov dword [esp + 0x40], 1
call fcn.10082810
add esp, 0x14
lea edx, [esp + 0x2c]
push edx
call fcn.10022d90
push ebx
mov eax, edi
call fcn.100a1bc0
add esp, 4
lea ebx, [esp + 0x34]
mov dword [esp + 0x24], 1
mov dword [esp + 0x58], 0xffffffff
call fcn.10025c70
mov eax, dword [esp + 0x34]
push eax
call sub.mfc90u.dll_delete_1
add esp, 4
xor ebx, ebx
push ebx
mov eax, esi
call fcn.100a1bc0
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret