joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.10074bb0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, eax
add ebx, 3
push 0
mov esi, ecx
pop ecx
mov edi, edx
adc edi, ecx
and ebx, 0xfffffffc
mov dword [ebp - 8], ebx
cmp eax, ecx
jne 0x1000f442
cmp edx, ecx
je 0x1000f44e
cmp edx, dword [esi + 0x14]
jb 0x1000f459
ja 0x1000f44e
cmp eax, dword [esi + 0x10]
jbe 0x1000f459
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x1000f464
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x30], ecx
mov eax, dword [esi + 0x3c]
cmp ecx, edi
ja 0x1000f59e
jb 0x1000f479
cmp eax, ebx
jae 0x1000f59e
mov eax, dword [esi + 4]
push ecx
push 0x8000000
push 3
push ecx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [ebp + 0x10]
push ecx
push dword [esi + 0x3c]
mov dword [ebp + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 0x3c]
xor ecx, ecx
cmp ecx, edi
ja 0x1000f595
jb 0x1000f4c2
cmp eax, ebx
jae 0x1000f595
jmp 0x1000f4c2
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x1000f4cd
mov ebx, eax
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
lea eax, [ebp - 0x4008]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000f595
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jbe 0x1000f595
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1000f508
mov eax, dword [eax]
test eax, eax
jne 0x1000f595
test dword [ebp + 0x10], 0xfffffffc
jbe 0x1000f53f
mov eax, dword [ebp + ebx*4 - 0x4008]
add dword [esi + 0x30], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1000f532
mov ecx, dword [eax]
add ecx, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
inc ebx
shr ecx, 2
cmp ebx, ecx
jb 0x1000f511
jmp 0x1000f542
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x1000f567
push 4
pop ecx
sub ecx, edx
shl ecx, 3
or ebx, 0xffffffff
shr ebx, cl
mov ecx, dword [ebp + 0x10]
shr ecx, 2
and ebx, dword [ebp + ecx*4 - 0x4008]
add dword [esi + 0x30], ebx
test eax, eax
je 0x1000f577
mov ecx, dword [eax]
add ecx, edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp + 0x10]
add dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
xor ecx, ecx
cmp ecx, edi
jb 0x1000f4bf
ja 0x1000f595
cmp eax, dword [ebp - 8]
jb 0x1000f4bf
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1000f5a8
Capabilities:
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.10074bb0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, eax
add ebx, 3
push 0
mov esi, ecx
pop ecx
mov edi, edx
adc edi, ecx
and ebx, 0xfffffffc
mov dword [ebp - 8], ebx
cmp eax, ecx
jne 0x1000f5da
cmp edx, ecx
je 0x1000f5e6
cmp edx, dword [esi + 0x14]
jb 0x1000f5f1
ja 0x1000f5e6
cmp eax, dword [esi + 0x10]
jbe 0x1000f5f1
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x1000f5fd
or dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x38]
cmp ecx, edi
ja 0x1000f779
jb 0x1000f612
cmp eax, ebx
jae 0x1000f779
mov eax, dword [esi + 4]
push ecx
push 0x8000000
push 3
push ecx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [ebp + 0x10]
push ecx
push dword [esi + 0x38]
mov dword [ebp + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 0x38]
xor ecx, ecx
cmp ecx, edi
ja 0x1000f75c
jb 0x1000f65b
cmp eax, ebx
jae 0x1000f75c
jmp 0x1000f65b
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x1000f666
mov ebx, eax
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
lea eax, [ebp - 0x4008]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000f75c
cmp dword [ebp + 0x10], 0
jbe 0x1000f75c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000f6a0
mov eax, dword [eax]
test eax, eax
jne 0x1000f75c
xor ebx, ebx
test dword [ebp + 0x10], 0xfffffffc
jbe 0x1000f6ed
movzx ecx, byte [esi + 0x34]
movzx eax, byte [ebp + ebx*4 - 0x4008]
xor eax, ecx
mov ecx, dword [esi + 0x34]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10097a70]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x34], ecx
test eax, eax
je 0x1000f6e0
mov ecx, dword [eax]
add ecx, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
inc ebx
shr ecx, 2
cmp ebx, ecx
jb 0x1000f6ab
jmp 0x1000f6f0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x1000f72e
or ebx, 0xffffffff
push 4
pop ecx
sub ecx, edx
shl ecx, 3
shr ebx, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
shr ebx, 2
movzx ebx, byte [ebp + ebx*4 - 0x4008]
and ecx, ebx
movzx ebx, byte [esi + 0x34]
xor ecx, ebx
mov ebx, dword [esi + 0x34]
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10097a70]
mov dword [esi + 0x34], ebx
test eax, eax
je 0x1000f73e
mov ecx, dword [eax]
add ecx, edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp + 0x10]
add dword [esi + 0x38], eax
mov eax, dword [esi + 0x38]
xor ecx, ecx
cmp ecx, edi
jb 0x1000f658
ja 0x1000f75c
cmp eax, dword [ebp - 8]
jb 0x1000f658
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x38]
xor ecx, ecx
cmp ecx, dword [esi + 0x14]
jb 0x1000f779
ja 0x1000f776
cmp eax, dword [esi + 0x10]
jb 0x1000f779
not dword [esi + 0x34]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x10010b30
Capabilities:
Read file via mapping

Disassembly:
push 0x28
mov eax, 0x10076d30
call fcn.1007522d
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
or dword [eax], 0xffffffff
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
cmp dword [ecx + 4], esi
jne 0x10010b75
push 0x100b5988
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCR90.dll__CxxThrowException
mov dword [ebp - 0x14], 0x17
mov eax, 0x10010b73
ret
push esi
push 0x8000027
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x10010c03
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call sym.ASOHelper.dll_protected:_static_bool___cdecl_CCrc32Dynamic::GetFileSizeQW_void__const__long_long___int64___
pop ecx
pop ecx
test al, al
jne 0x10010be7
mov dword [ebp - 0x14], 0x18
cmp dword [ebp - 0x1c], esi
je 0x10010bc9
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x10010bd7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
not dword [eax]
mov eax, dword [ebp - 0x14]
call fcn.100752d2
ret 8
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x28]
je 0x10010bbb
push esi
push esi
push esi
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x10010c0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x10010bbb
cmp dword [ebp - 0x28], esi
jl 0x10010bbb
jg 0x10010c1a
cmp dword [ebp - 0x2c], esi
jbe 0x10010bbb
cmp dword [ebp - 0x28], esi
jg 0x10010c2f
jl 0x10010c2a
cmp dword [ebp - 0x2c], 0xa00000
jae 0x10010c2f
mov esi, dword [ebp - 0x2c]
jmp 0x10010c34
mov esi, 0xa00000
mov eax, dword [ebp - 0x30]
push esi
push dword [ebp - 0x34]
sar eax, 0x1f
push dword [ebp - 0x30]
push 4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp + 8], esi
mov ebx, edi
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
test eax, eax
jbe 0x10010c6f
movzx eax, byte [ebx]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
push eax
call sym.ASOHelper.dll_protected:_void___thiscall_CCrc32Dynamic::CalcCrc32_unsigned_char__unsigned_long_int__const
inc ebx
jmp 0x10010c53
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
add dword [ebp - 0x34], esi
adc dword [ebp - 0x30], eax
sub dword [ebp - 0x2c], esi
sbb dword [ebp - 0x28], eax
xor esi, esi
jmp 0x10010c0e
Function at 0x100121c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call sym.ASOHelper.dll_public:_void___thiscall_CGdiPlusBitmapResource::Empty_void_
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x100122df
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x100122df
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x100122df
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x100122df
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x100122d3
push dword [ebp + 0xc]
push edi
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [esi + 8]
mov dword [ebp + 0x10], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x100122ca
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 8], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x10012297
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov dword [edi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0xc], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
jmp 0x10012299
xor edi, edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x100122ca
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x100122ba
mov al, 1
jmp 0x100122e1
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x100122c7
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], ebx
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10012ef9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x10012fd9
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push edi
push 1
push dword [esi + 0x10]
push 0x30
push eax
call ebx
movzx eax, word [esi]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov ecx, ebp
call fcn.100129b6
xor edi, edi
and dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, 0xffff
cmp word [ebp + 2], ax
lea eax, [ebp + 0x10]
je 0x10012f60
lea eax, [ebp + 8]
movzx eax, word [eax]
cmp dword [esp + 0x10], eax
jge 0x10012fc2
cmp dword [esp + 0x10], 0
jne 0x10012f77
push 5
push dword [esi + 8]
jmp 0x10012f7a
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x10012fc2
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x10012fa5
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10012f86
test edi, edi
je 0x10012fc2
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebx
mov eax, dword [esp + 0x14]
call fcn.10012a32
inc dword [esp + 0x10]
jmp 0x10012f4b
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
xor eax, eax
pop ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop ebx
pop esi
pop ecx
pop ecx
ret
Function at 0x10016d60
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x1009f454
push str.Shell_TrayWnd
mov ebx, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
and dword [ebp - 4], 0
test eax, eax
je 0x10016d9f
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xae8]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0xaec]
push 0x3b
mov dword [esi + 0x1c], eax
call edi
push 0x3c
mov dword [esi + 0x20], eax
call edi
push 0xfffffffffffffffb
pop ecx
sub ecx, dword [ebp - 4]
add eax, ecx
mov ecx, ebx
mov dword [esi + 0x24], eax
call sub.mfc90u.dll_CWnd::Default
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100182af
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007d978
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100e5038]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x100e5038]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x30]
call fcn.10073bba
and dword [esp + 0x98], 0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0xc]
push eax
push dword [esi + 0x20]
call edi
cmp byte [esi + 0x170], 0
je 0x10018356
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x10018356
push 1
push 4
push eax
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x10018356
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x20]
call edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x174]
push esi
call dword [esi + 0x16c]
add esp, 0x10
jmp 0x10018367
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sym.ASOHelper.dll_public:_void___thiscall_CDlgLeftDlgBase::PaintDlgBase_class_CDC___class_CWndRect__
or dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CPaintDC::CPaintDC
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.10074156
mov esp, ebp
pop ebp
ret
Function at 0x1001b798
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007a8c4
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0xdedede
push 1
push 0
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CPen::CPen
mov ebx, dword [ebp + 8]
and dword [esp + 0x58], 0
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
lea edi, [esi + eax]
push 0xa
lea eax, [edi + 3]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [esp + 0x38], eax
mov eax, ecx
push ecx
push eax
push ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
call fcn.1001c513
push 0xfbfbfb
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CBrush::CBrush
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x5c], 1
call sub.mfc90u.dll_CDC::SelectObject_2
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp + 0x10]
add edi, 2
push edi
add eax, 2
push eax
add esi, 2
push esi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.100128ed
push dword [esp + 0x18]
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.1000c826
or dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.1000c826
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020f2e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x1009f454
push str.Shell_TrayWnd
mov ebx, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
and dword [ebp - 4], 0
test eax, eax
je 0x10020f6d
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x570]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x574]
push 0x3b
mov dword [esi + 0x1c], eax
call edi
push 0x3c
mov dword [esi + 8], eax
call edi
push 0xfffffffffffffff0
pop ecx
sub ecx, dword [ebp - 4]
add eax, ecx
mov ecx, ebx
mov dword [esi + 0xc], eax
call sub.mfc90u.dll_CWnd::Default
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10025ff6
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x10026012
xor eax, eax
jmp 0x100260d6
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esi + 8]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push 8
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
mov dword [ebp - 4], eax
call ebx
push 0xa
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call ebx
xor ecx, ecx
cmp dword [ebp - 8], ecx
jge 0x10026063
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], ecx
jge 0x1002606b
mov dword [ebp - 4], ecx
cmp edi, dword [ebp - 0xc]
jle 0x10026073
mov edi, dword [ebp - 0xc]
cmp esi, eax
jle 0x10026079
mov esi, eax
sub esi, dword [ebp - 4]
sub edi, dword [ebp - 8]
push esi
mov ebx, edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
push 0xcc0020
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x10]
push edi
call esi
push dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, eax
call esi
push edi
call esi
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x10027d4a
Capabilities:
Create process on windows

Disassembly:
push str.PSSrgn
mov ecx, sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____CSystweakApp::m_strRegID
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
jmp sym.ASOHelper.dll_void___cdecl_STBuyadvancedsystemoptimizer_void_
Function at 0x1002a4f3
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push dword [ecx + 0x108]
xor ebx, ebx
inc ebx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1002a51d
cmp eax, 5
je 0x1002a51d
xor bl, bl
test esi, esi
je 0x1002a528
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
mov al, bl
pop ebx
ret
Function at 0x1002a60d
Capabilities:
Terminate process

Disassembly:
push 8
mov eax, 0x1007a4b5
call fcn.100751fa
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [0x10096f98]
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
mov byte [ebp - 4], 2
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x14]
push ecx
push eax
call sym.ASOHelper.dll_wchar_t_const____cdecl_GetAppPath_struct_HINSTANCE_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
pop ecx
pop ecx
call sub.mfc90u.dll_AfxGetModuleState
mov edi, dword [eax + 8]
mov eax, 0x105
push eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, edi
je 0x1002a696
push 1
push 0x54
push eax
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x1002a696
mov esi, dword [esi + 0x20]
cmp esi, edi
je 0x1002a696
mov ebx, dword [esi + 0x20]
call sym.ASOHelper.dll_unsigned_long_int___cdecl__winmajor_void_
cmp eax, 5
mov eax, str.runas
jae 0x1002a6aa
mov eax, 0x10098e70
push 1
push dword [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push ebx
call sym.ASOHelper.dll_public:_static_struct_HINSTANCE______cdecl_CDlgBaseWnd::ShellExecuteW_struct_HWND_____wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___int_
mov esi, eax
add esp, 0x18
cmp esi, 0x20
jle 0x1002a70e
cmp byte [ebp + 0xc], 0
je 0x1002a70e
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
push edi
test eax, eax
je 0x1002a708
push edi
push 0x12
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
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]
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 al, 1
jmp 0x1002a72f
call dword [sym.imp.KERNEL32.dll_ExitProcess]
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]
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]
cmp esi, 0x20
setg al
call fcn.100752d2
ret 8