joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100e9c14
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push esi
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]
lea eax, [esp + 0x1c]
push eax
push 0x100f6648
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Tokenize]
mov byte [esp + 0x28], 1
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x10010489
lea ecx, [esp + 0x10]
call dword [0x100f3984]
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 2
push eax
lea edi, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.100106c0
mov edi, dword [esp + 0x10]
add esp, 4
test edi, edi
je 0x1001047f
lea ecx, [esp + 0xc]
call dword [0x100f3984]
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 0x1c]
lea edx, [esi + ecx*2]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
call sub.MHFilterDll.dll__SetProcessProtectReg_12
lea ecx, [esp + 0xc]
mov esi, eax
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]
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 + 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]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
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]
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 + 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]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x100104c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e9bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
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]
lea eax, [esp + 0x1c]
push eax
push 0x100f6648
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Tokenize]
mov byte [esp + 0x28], 1
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
je 0x100105b3
lea ecx, [esp + 0xc]
call dword [0x100f3984]
lea eax, [esp + 0xc]
mov byte [esp + 0x28], 2
push eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.100106c0
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x100105a9
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call sub.MHFilterDll.dll__SetFilterRegKey_16
lea ecx, [esp + 0xc]
mov esi, eax
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]
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]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
lea ecx, [esp + 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 + 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]
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]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x100109e0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x24
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x10010a76
push esi
call sub.mfc90u.dll_new__
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
push ebx
push esi
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10010a2d
push ebx
call sub.mfc90u.dll_delete__
add esp, 4
jmp 0x10010a76
lea edx, [esp + 0x14]
push edx
push ebx
lea ecx, [esp + 0x14]
mov edx, str.VarFileInfoTranslation
call fcn.10010800
add esp, 8
test eax, eax
je 0x10010a22
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
rol ecx, 0x10
push ecx
lea edx, [esp + 0x1c]
push str._08X
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 4]
call dword [0x100f3384]
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e78b2
add esp, 0x24
ret 4

Function at 0x10010f40
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [eax]
mov dword [eax + 8], ecx
test ecx, ecx
je 0x10010f83
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x10010f83
mov edx, dword [ecx + 0x3c]
add ecx, edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x10010f83
cmp dword [ecx], 0x4550
jne 0x10010f83
push ebx
xor ebx, ebx
mov edx, 0x20b
cmp word [ecx + 0x18], dx
sete bl
mov dword [eax + 0x14], ebx
mov eax, 1
pop ebx
ret
xor eax, eax
ret
Function at 0x10011a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ec629
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x20]
mov edx, dword [eax + 0x14]
lea esi, [edi + 0x20]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x18], esi
call edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
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, [esp + 0x10]
push ecx
mov ebx, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], bl
call dword [0x100f3988]
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, edi
mov byte [esp + 0x40], 2
call fcn.10011ca0
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 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]
cmp byte [esp + 0x28], 0
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jne 0x10011b36
test ebx, ebx
jne 0x10011b78
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10011b33
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
inc dword [edi + 0x10]
test ebx, ebx
jne 0x10011b7c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10011b4d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
jmp 0x10011b28
mov eax, dword [ebx]
jmp 0x10011b42
Function at 0x100139c0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x24c
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [str._:]
mov edx, dword [0x100f6b68]
push esi
push edi
mov esi, ecx
mov ecx, dword [0x100f6b64]
push 0x1fa
xor edi, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ax, word [0x100f6b6c]
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 0x10013a5b
cmp si, 0x5a
jbe 0x10013a64
lea edx, [esi - 0x61]
cmp dx, 0x19
ja 0x10013adb
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 0x10013adb
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 0x10013abb
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.100e78b2
add esp, 0x24c
ret
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100e78b2
add esp, 0x24c
ret

Function at 0x100144c0
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x100144cc
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 0x10014510
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
push edi
push edi
push 4
push edi
push esi
push 0x10014570
call sub.mfc90u.dll_AfxBeginThread
mov ebx, eax
cmp ebx, edi
je 0x1001454d
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 0x10017840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ec568
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
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 [0x100f3984]
lea ecx, [edi + 0xc]
call dword [0x100f3984]
lea eax, [esi + 0x30]
mov dword [esp + 0x1c], ebx
push eax
mov dword [esi], vtable.CScanVirusData.0
call fcn.100257a0
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 0x100180e0
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x414
mov eax, dword [0x1011f07c]
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 0x10018169
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.100e78b2
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 0x100181ca
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.100e78b2
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.100e78b2
add esp, 0x414
ret
Function at 0x1001c780
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 0x1001c79a
mov eax, 1
pop esi
ret 4
cmp dword [esp + 8], 0
mov esi, dword [esi + 4]
je 0x1001c7b1
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1001c7b8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001c791
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret 4

Function at 0x1001ca70
Capabilities:
Check if file exists
Delete file
Terminate process

Disassembly:
cmp dword [esp + 4], 0
push edi
mov edi, ecx
je 0x1001ca80
xor eax, eax
pop edi
ret 4
mov eax, dword [edi + 0x18]
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001cae5
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x7d0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebx
je 0x1001cae5
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001cad1
pop esi
mov eax, 1
pop edi
ret 4
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001cac7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x1001d270
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100ef7e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x1001d2b4
mov eax, 0xfffffff8
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
lea eax, [esp + 0xc]
push eax
call fcn.1001d4a0
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0xc]
cmp dword [edi - 0xc], 0
je 0x1001d315
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
push ecx
push esi
xor edx, edx
mov ecx, edi
call fcn.1001bfc0
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 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]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
lea ecx, [esp + 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]
mov eax, 0xfffffff2
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1001d4a0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100eadb2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
call dword [0x100f3984]
mov ecx, str._temp__
lea ebx, [esp + 0x10]
mov dword [esp + 0x1c], edi
call fcn.10001650
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0
push str.MHMC
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edx
mov edx, dword [esi + 0x20]
push edx
call eax
test eax, eax
jne 0x1001d549
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call dword [0x100f3988]
jmp 0x1001d55e
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov ecx, ebp
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, [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]
lea ecx, [esp + 0x24]
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, ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x1001df60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f28f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x1001dfac
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.1001e050
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
je 0x1001e00d
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.1001bfc0
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 0x1001e050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eacf4
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
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 [0x100f3984]
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 0x1001e1bb
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.100e741e
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 0x1001e1a4
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxTryCleanup
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call dword [0x100f3988]
jmp 0x1001e1c5
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.100e6fb6
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