joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013e20
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x24c
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [str._:]
mov edx, dword [0x100f7b68]
push esi
push edi
mov esi, ecx
mov ecx, dword [0x100f7b64]
push 0x1fa
xor edi, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ax, word [0x100f7b6c]
lea ecx, [esp + 0x52]
push edi
push ecx
mov dword [esp + 0x54], edx
mov word [esp + 0x58], ax
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
cmp si, 0x41
jb 0x10013ebb
cmp si, 0x5a
jbe 0x10013ec4
lea edx, [esi - 0x61]
cmp dx, 0x19
ja 0x10013f3b
push edi
push 0x80
push 3
push edi
push 3
push Ordinal_2
lea eax, [esp + 0x58]
push eax
mov word [esp + 0x64], si
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10013f3b
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x28
lea edx, [esp + 0x24]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10013f1b
mov edi, dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.100e7da2
add esp, 0x24c
ret
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100e7da2
add esp, 0x24c
ret

Function at 0x10014920
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x1001492c
xor eax, eax
ret 8
push ebx
push edi
xor edi, edi
lea ecx, [esi + 8]
push ecx
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
mov dword [esi + 0x28], edx
cmp eax, edi
je 0x10014970
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
push edi
push edi
push 4
push edi
push esi
push 0x100149d0
call sub.mfc90u.dll_AfxBeginThread
mov ebx, eax
cmp ebx, edi
je 0x100149ad
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push edi
push edi
push esi
call ebp
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [ebx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ebp
xor eax, eax
cmp dword [esi], edi
pop edi
setne al
pop ebx
ret 8
Function at 0x10017d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100eca98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CScanData.0
or eax, 0xffffffff
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esi + 8], eax
lea edi, [esi + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov ecx, edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.CScanFileData.0
mov dword [esi + 0x1c], ebx
call dword [0x100f4984]
lea ecx, [edi + 0xc]
call dword [0x100f4984]
lea eax, [esi + 0x30]
mov dword [esp + 0x1c], ebx
push eax
mov dword [esi], vtable.CScanVirusData.0
call fcn.1001a750
mov dword [esi + 0x48], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x10018530
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x414
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x410], eax
movsx eax, byte [esp + 0x418]
push esi
push eax
lea ecx, [esp + 0x18]
push str.._c:
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100185b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile___Error:__ld_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
or eax, esi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.100e7da2
add esp, 0x414
ret
push 0
lea eax, [esp + 8]
push eax
push 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001861a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_GET_DEVICE_NUMBER_Error:__ld_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.100e7da2
add esp, 0x414
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x414]
mov eax, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.100e7da2
add esp, 0x414
ret
Function at 0x1001ca90
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001caaa
mov eax, 1
pop esi
ret 4
cmp dword [esp + 8], 0
mov esi, dword [esi + 4]
je 0x1001cac1
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1001cac8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001caa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret 4

Function at 0x1001e280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f2e59
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x1001e2cc
mov eax, 0xfffffff8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
push eax
push esi
call fcn.1001e370
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
je 0x1001e32d
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov ecx, dword [ebp + 8]
push ecx
push esi
xor edx, edx
mov ecx, edi
call fcn.1001c290
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
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]
mov eax, 0xfffffff2
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb1e4
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call dword [0x100f4984]
mov ecx, str._temp__
lea ebx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.10001650
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
push 0x104
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0
push str.MHSR
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x3c]
call sub.mfc90u.dll_CFile::CFile
push 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push 0x1002
push eax
lea ecx, [ebp - 0x3c]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x1001e4db
lea ecx, [ebp - 0x2c]
call sub.mfc90u.dll_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
push 0
push 0x1000
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov bl, 5
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.100e790e
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 6
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [ebp - 0x88]
push edx
call eax
lea ecx, [ebp - 0x88]
call sub.mfc90u.dll_CArchive::Close
lea ecx, [ebp - 0x3c]
call sub.mfc90u.dll_CFile::Close
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], bl
call sub.mfc90u.dll_CArchive::CArchive
mov dword [ebp - 4], 4
jmp 0x1001e4c4
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxTryCleanup
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call dword [0x100f4988]
jmp 0x1001e4e5
push 0
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
call fcn.100e74a6
lea ecx, [ebp - 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, [ebp - 0x14]
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 eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ec848
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28]
mov esi, ecx
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x14]
lea ebp, [esi + 4]
push 0xffffffffffffffff
mov ecx, ebp
mov dword [esp + 0x18], ebp
call edx
mov dword [esp + 0x20], 0
mov dword [ebx + 4], esi
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
lea edi, [esi + 0x24]
sar eax, 2
mov dword [ebx + 0x38], eax
lea ebx, [esp + 0x28]
call fcn.100d44c0
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
sar esi, 2
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x1001f7c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push edi
xor ebx, ebx
lea eax, [esi + 0x140]
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
push eax
call ebp
lea ecx, [esi + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esi + 0x100], 2
call eax
mov edi, eax
cmp edi, ebx
je 0x1001f81e
mov dword [esi + 0x100], ebx
mov dword [esi + 0x100], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop ebp
pop ebx
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
lea ecx, [esi + 0x148]
push ecx
mov edi, eax
call ebp
lea edx, [esi + 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, edi
pop edi
mov dword [esi + 0x100], ebx
pop ebp
mov dword [esi + 0x100], ebx
pop ebx
ret
Function at 0x10020d60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100eb178
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x14]
lea edi, [esi + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x14], edi
call edx
mov eax, dword [esi + 0x140]
or eax, dword [esi + 0x144]
jne 0x10020dd4
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, eax
or edx, ecx
jne 0x10020df5
lea eax, [esp + 0x14]
push eax
call edi
jmp 0x10020dfd
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esi + 0x124]
test edx, edx
je 0x10020e6f
lea eax, [esp + 0x24]
push eax
call edi
mov edi, dword [esi + 0x158]
sub edi, dword [esi + 0x150]
mov eax, dword [esi + 0x15c]
sbb eax, dword [esi + 0x154]
sub edi, dword [esi + 0x140]
mov ecx, dword [esp + 0x20]
sbb eax, dword [esi + 0x144]
sub edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sbb eax, dword [esp + 0x28]
add edi, dword [esp + 0x14]
push 0
adc eax, dword [esp + 0x1c]
push 0x3e8
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.100e95c0
push edx
push eax
mov eax, dword [esp + 0x14]
jmp 0x10020eaf
mov edi, dword [esp + 0x14]
sub edi, dword [esi + 0x150]
mov eax, dword [esp + 0x18]
sbb eax, dword [esi + 0x154]
sub edi, dword [esi + 0x140]
mov ecx, dword [esp + 0x20]
sbb eax, dword [esi + 0x144]
mov edx, dword [esp + 0x1c]
push 0
push 0x3e8
push ecx
push edx
mov dword [esp + 0x1c], eax
call fcn.100e95c0
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.100e95c0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10022a90
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x100f2442
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
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 + 0x30]
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], edi
call fcn.10022230
push edi
push 6
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 1
mov eax, dword [eax]
push ecx
push eax
call fcn.100a3620
add esp, 0x14
test eax, eax
mov ecx, esi
sete bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 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]
test bl, bl
je 0x10022b4d
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
push 0x10022b70
push str.SELECT__FROM_Info_WHERE_nameversion_
push esi
mov dword [esp + 0x40], edi
call fcn.10082810
push edi
mov eax, esi
call fcn.100a1bc0
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x10022c80
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100f2c32
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
xor ebx, ebx
call edi
test eax, eax
je 0x10022cc4
push esi
call fcn.10022a90
cmp eax, 1
jge 0x10022d78
push esi
lea ecx, [esp + 0x14]
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 str..new
lea ecx, [esp + 0x14]
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_____::operator_3]
push esi
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_class]
push str..old
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esp + 0x10]
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10022d19
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.10022f30
test eax, eax
je 0x10022d64
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
je 0x10022d3a
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push ecx
push esi
call edi
test eax, eax
je 0x10022d64
mov edx, dword [esp + 0x10]
push esi
push edx
call edi
test eax, eax
je 0x10022d64
mov eax, dword [esp + 0x10]
push eax
mov ebx, 1
call ebp
lea ecx, [esp + 0x14]
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 + 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]
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10023320
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100f2b52
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
push esi
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10023368
push esi
call fcn.10022860
test eax, eax
jne 0x1002336e
push esi
call fcn.10022950
push esi
lea ecx, [esp + 0x14]
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 + 0x14]
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.10022230
push 0
push 6
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
add edi, 8
push edi
push eax
call fcn.100a3620
add esp, 0x14
test eax, eax
mov ecx, esi
sete bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
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]
xor eax, eax
test bl, bl
setne al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x10023480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f23e1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call dword [0x100f479c]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push str.select__from_hash_where_hash_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
call dword [0x100f4754]
lea ecx, [esp + 0x10]
call dword [0x100f479c]
xor eax, eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
test esi, esi
jne 0x10023505
lea esi, [esp + 0xc]
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_char_1_::Empty]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 8]
push esi
push 0x10023630
push eax
push edx
call fcn.10082810
mov eax, dword [esi]
mov esi, dword [eax - 0xc]
add esp, 0x14
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
xor eax, eax
test esi, esi
setne al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
Function at 0x10024460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f23a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [0x100f4984]
lea ecx, [esp + 0x1c]
call dword [0x100f4984]
lea ecx, [esp + 0x20]
call dword [0x100f4984]
lea ecx, [esp + 0x24]
call dword [0x100f4984]
push 0x30
lea eax, [esp + 0x30]
push esi
push eax
mov dword [esp + 0x74], esi
call sub.MSVCR90.dll_memset
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x60], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push 0x100245b0
push str.select__from_Quarantine_order_by_add_time_desc
push eax
call fcn.10082810
add esp, 0x14
lea ecx, [esp + 0x24]
test eax, eax
jne 0x10024547
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]
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 + 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 eax, [esi + 1]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
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]
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 + 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]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc