joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100042aa
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1007ab19
call fcn.100751fa
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STGetTrialPayURLFromSetupScript_void_
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [0x10096f88]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 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]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.TRIALPAY
call dword [0x10096f84]
lea eax, [ebp - 0x10]
push eax
call sym.ASOHelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
pop ecx
push 3
mov eax, 0x1009f454
push eax
push eax
push dword [ebp - 0x10]
push 0x10098e70
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 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]
call fcn.100752d2
ret

Function at 0x100043f5
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1007ab19
call fcn.100751fa
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STGetWebsiteURLFromSetupScript_void_
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [0x10096f88]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 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]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.WEBSITE
call dword [0x10096f84]
lea eax, [ebp - 0x10]
push eax
call sym.ASOHelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
pop ecx
push 3
mov eax, 0x1009f454
push eax
push eax
push dword [ebp - 0x10]
push 0x10098e70
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 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]
call fcn.100752d2
ret
Function at 0x10004540
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1007c9c8
call fcn.100751fa
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x100045c1
push 0xffffffffffffffff
push dword [ebp + 8]
call sub.mfc90u.dll_AfxIsValidString
test eax, eax
je 0x100045c1
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x100045ca
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x26
je 0x100045ca
lea eax, [ebp + 8]
push 0x10098ec8
push eax
lea ecx, [ebp - 0x10]
call fcn.10006456
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [0x10096f88]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x100045ca
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STGetTUTORIAL_SITEURLFromSetupScript_void_
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call dword [0x10096f88]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x10098ecc
call dword [0x10096f84]
lea eax, [ebp - 0x14]
push eax
call sym.ASOHelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.100060e9
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [0x10096f88]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 3
mov eax, 0x1009f454
push eax
push eax
push dword [ebp - 0x14]
push 0x10098e70
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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]
lea ecx, [ebp - 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]
call fcn.100752d2
ret
Function at 0x1000473a
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x1007ab19
call fcn.100751fa
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STGetHELP_EMAIL_URLFromSetupScript_void_
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [0x10096f88]
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]
push 3
mov eax, 0x1009f454
push eax
push eax
push dword [ebp - 0x10]
push 0x10098e70
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 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]
call fcn.100752d2
ret

Function at 0x10004ade
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x1007c94a
call fcn.100751fa
lea ecx, [ebp - 0x10]
call dword [0x10096f98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STGetReNewURLFromSetupScript_void_
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [0x10096f88]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
pop ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.BUYNOW
call dword [0x10096f84]
lea eax, [ebp - 0x10]
push eax
call sym.ASOHelper.dll_bool___cdecl_STGetPublishedURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
pop ecx
push 3
mov eax, 0x1009f454
push eax
push eax
push dword [ebp - 0x10]
push 0x10098e70
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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]
lea ecx, [ebp - 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]
call fcn.100752d2
ret
Function at 0x10004c50
Capabilities:
Get common file path

Disassembly:
push 0x41c
mov eax, 0x10075cbd
call fcn.10075263
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], esi
call sub.MSVCR90.dll_memset
xor eax, eax
lea edi, [ebp - 0x420]
stosw word es:[edi], ax
add esp, 0xc
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
push esi
push esi
push esi
push esi
push esi
push 3
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR90.dll__wsplitpath_s]
add esp, 0x24
lea eax, [ebp - 0x420]
push eax
mov ecx, ebx
call dword [0x10096f84]
mov dword [ebp - 4], esi
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
push 0x5c
mov ecx, ebx
mov dword [ebp - 0x424], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, esi
je 0x10004d00
push 0x10098f5c
mov ecx, ebx
call dword [0x10096ee8]
mov eax, ebx
call fcn.100752e6
ret
Function at 0x10006817
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp + 0x398], eax
push esi
mov esi, dword [ebp + 0x3a8]
push edi
xor eax, eax
push 0x40e
mov word [ebp - 0x78], ax
xor edi, edi
lea eax, [ebp - 0x76]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a4]
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10006883
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
inc edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x398]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10074156
add ebp, 0x39c
leave
ret

Function at 0x10006aad
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x234
mov eax, 0x10075bf2
call fcn.10075299
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x10006ad0
push 0xfffffffffffffffc
pop eax
jmp 0x10006b2f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10006ae1
xor eax, eax
inc eax
jmp 0x10006b2f
mov byte [ebp - 4], 1
mov edi, dword [edi]
lea eax, [ebp - 0x240]
push eax
push edi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
call sub.mfc90u.dll_CFile::GetStatus
cmp eax, esi
jne 0x10006adc
xor eax, eax
jmp 0x10006b2f
call fcn.100752f5
ret

Function at 0x10006b35
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10006b3f
sub eax, ecx
sar eax, 1
jne 0x10006b53
xor eax, eax
leave
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10006b65
or eax, eax
leave
ret
not al
movzx eax, al
shr eax, 4
and eax, 1
leave
ret
Function at 0x1000721c
Capabilities:
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x7d0]
sub esp, 0x850
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp + 0x7cc], eax
mov eax, dword [ebp + 0x7d8]
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x7dc]
push esi
push edi
mov dword [ebp - 0x60], eax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov esi, 0x410
push esi
push eax
mov word [ebp + 0x3b8], ax
lea eax, [ebp + 0x3ba]
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push esi
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5a]
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
lea ecx, [ebp + 0x3b8]
add esp, 0x18
mov edx, eax
sub ecx, eax
movzx esi, word [edx]
mov word [ecx + edx], si
inc edx
inc edx
test si, si
jne 0x10007298
mov ecx, dword [eax - 0xc]
xor edx, edx
mov word [ebp + ecx*2 + 0x3ba], dx
mov edx, dword [ebx]
lea edi, [ebp - 0x5c]
mov ecx, edx
sub edi, edx
movzx esi, word [ecx]
mov word [edi + ecx], si
inc ecx
inc ecx
test si, si
jne 0x100072bc
mov ecx, dword [edx - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, 0xa0
push edi
xor edx, edx
push eax
mov word [ebp + ecx*2 - 0x5a], dx
call esi
push edi
push dword [ebx]
call esi
lea eax, [ebp + 0x3b8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, 0x4614
mov word [ebp - 0x70], ax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x10007318
mov eax, esi
jmp 0x1000731f
call fcn.10006545
xor eax, eax
mov ecx, dword [ebp + 0x7cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074156
add ebp, 0x7d0
leave
ret
Function at 0x10007337
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0x220
push 0x100b6308
call fcn.10075458
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x22c], 0
mov byte [ebp - 0x225], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov dword [ebp - 0x230], ebx
or eax, 0xffffffff
cmp ebx, eax
je 0x10007450
cmp ebx, 0x10
je 0x10007450
push ebx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call edi
test eax, eax
je 0x10007460
test bl, 1
je 0x100073ac
push 0x80
push esi
call edi
test eax, eax
je 0x10007460
mov byte [ebp - 0x225], 1
mov byte [ebp - 0x224], 0
push 0x207
push 0
lea eax, [ebp - 0x223]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x100073ce
sub eax, ecx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCR90.dll_wcstombs]
add esp, 0xc
push 0x12
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10007412
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x22c], eax
jmp 0x10007419
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
cmp byte [ebp - 0x225], 0
je 0x1000742b
push dword [ebp - 0x230]
push esi
call edi
cmp ebx, 0xffffffff
je 0x10007444
cmp dword [ebp - 0x22c], 0x20
je 0x10007444
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x1000746a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
inc eax
jmp 0x1000746a
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000746a
mov dword [ebp - 4], 0xfffffffe
or eax, 0xffffffff
call fcn.100754a0
ret
Function at 0x10007470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x234
mov eax, 0x100780b3
call fcn.10075299
xor esi, esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov eax, dword [eax - 0xc]
cmp eax, esi
je 0x1000753d
cmp eax, 3
jl 0x1000753d
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
movzx eax, ax
push 0x5c
pop ecx
cmp cx, ax
jne 0x100074e8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Delete]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000751c
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 8]
call sub.mfc90u.dll_CFile::GetStatus
cmp eax, esi
je 0x1000751c
test byte [ebp - 0x220], 0x10
je 0x1000751c
test bl, 0x10
je 0x1000751c
xor esi, esi
inc esi
lea ecx, [ebp + 8]
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
jmp 0x10007548
lea ecx, [ebp + 8]
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
call fcn.100752f5
ret

Function at 0x10007643
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp edi, 0x104
jbe 0x10007669
xor eax, eax
jmp 0x100076bd
push 0x20c
lea eax, [ebp - 0x210]
push 0
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x210]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x1000768a
and dword [esi + 0xc], 0
xor eax, eax
mov word [ebp + edi*2 - 0x20e], ax
lea eax, [ebp - 0x210]
push esi
mov dword [esi + 4], 3
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10074156
leave
ret 8
Function at 0x1000d486
Capabilities:
Link many functions at runtime

Disassembly:
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push edi
mov dword [esi], vtable.CEnumProcess.0
mov byte [esi + 4], bl
push str.PSAPI
mov byte [esi + 5], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x1000d509
push str.EnumProcesses
push eax
mov dword [esi + 0x10], 0x100
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call edi
push str.EnumProcessModules
push dword [esi + 0xc]
mov dword [esi + 0x2c], eax
call edi
push str.GetModuleFileNameEx
push dword [esi + 0xc]
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
cmp dword [esi + 0x2c], ebx
je 0x1000d509
cmp dword [esi + 0x30], ebx
je 0x1000d509
cmp eax, ebx
je 0x1000d509
mov byte [esi + 4], 1
push str.Kernel32
call ebp
mov dword [esi + 0x40], eax
cmp eax, ebx
je 0x1000d5a2
push 0x1009ad18
push eax
mov dword [esi + 0x44], 0x22c
mov dword [esi + 0x270], 0x428
call edi
push str.Process32First
push dword [esi + 0x40]
mov dword [esi + 0x698], eax
call edi
push str.Process32Next
push dword [esi + 0x40]
mov dword [esi + 0x69c], eax
call edi
push str.Module32First
push dword [esi + 0x40]
mov dword [esi + 0x6a0], eax
call edi
push str.Module32Next
push dword [esi + 0x40]
mov dword [esi + 0x6a4], eax
call edi
mov dword [esi + 0x6a8], eax
cmp dword [esi + 0x698], ebx
je 0x1000d5a2
cmp dword [esi + 0x69c], ebx
je 0x1000d5a2
cmp dword [esi + 0x6a0], ebx
je 0x1000d5a2
cmp dword [esi + 0x6a4], ebx
je 0x1000d5a2
cmp eax, ebx
je 0x1000d5a2
mov byte [esi + 5], 1
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.1000d649
push 2
pop ecx
mov edx, eax
pop edi
or edx, ecx
pop ebp
pop ebx
cmp eax, edx
jne 0x1000d5bd
mov dword [esi + 8], ecx
xor ecx, ecx
inc ecx
mov edx, eax
or edx, ecx
cmp eax, edx
jne 0x1000d5cb
mov dword [esi + 8], ecx
mov eax, esi
ret

Function at 0x1000da2d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x100e5038]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x10
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x1000dac8
push 0xf4
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 0x14c], ebx
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 0xc
push ebx
push 0x40
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp - 0x50]
call esi
mov eax, 0x5a4d
cmp ax, word [ebp - 0x4c]
jne 0x1000daab
push ebx
push 0xf8
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0x10]
add edi, eax
push edi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14c], 0x4550
jne 0x1000dac8
mov eax, dword [ebp - 0x118]
jmp 0x1000daca
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074156
leave
ret 4
Function at 0x1000e125
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push 0x10098fb0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x1000e150
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x1000e150
xor al, al
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1009ad18
push dword [esi + 0x28]
call edi
test eax, eax
je 0x1000e1a9
push str.Process32First
push dword [esi + 0x28]
mov dword [esi + 0x10], eax
call edi
test eax, eax
je 0x1000e1a9
push str.Process32Next
push dword [esi + 0x28]
mov dword [esi + 0x14], eax
call edi
test eax, eax
je 0x1000e1a9
push str.Module32First
push dword [esi + 0x28]
mov dword [esi + 0x18], eax
call edi
test eax, eax
je 0x1000e1a9
push str.Module32Next
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
call edi
test eax, eax
jne 0x1000e1bd
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], 2
xor al, al
jmp 0x1000e1c6
mov dword [esi + 0x20], eax
mov byte [esi + 0x2d], 1
mov al, 1
pop edi
pop esi
ret