joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010feb
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 0x1001106e
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 0x1001106e
cmp dword [esi + 0x30], ebx
je 0x1001106e
cmp eax, ebx
je 0x1001106e
mov byte [esi + 4], 1
push str.Kernel32
call ebp
mov dword [esi + 0x40], eax
cmp eax, ebx
je 0x10011107
push 0x100b9e08
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 0x10011107
cmp dword [esi + 0x69c], ebx
je 0x10011107
cmp dword [esi + 0x6a0], ebx
je 0x10011107
cmp dword [esi + 0x6a4], ebx
je 0x10011107
cmp eax, ebx
je 0x10011107
mov byte [esi + 5], 1
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.100111ae
push 2
pop ecx
mov edx, eax
pop edi
or edx, ecx
pop ebp
pop ebx
cmp eax, edx
jne 0x10011122
mov dword [esi + 8], ecx
xor ecx, ecx
inc ecx
mov edx, eax
or edx, ecx
cmp eax, edx
jne 0x10011130
mov dword [esi + 8], ecx
mov eax, esi
ret

Function at 0x10011592
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x10112038]
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 0x1001162d
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 0x10011610
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 0x1001162d
mov eax, dword [ebp - 0x118]
jmp 0x1001162f
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008e7ae
leave
ret 4
Function at 0x10011c8a
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push 0x100b80b0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x10011cb5
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x28], eax
test eax, eax
jne 0x10011cb5
xor al, al
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100b9e08
push dword [esi + 0x28]
call edi
test eax, eax
je 0x10011d0e
push str.Process32First
push dword [esi + 0x28]
mov dword [esi + 0x10], eax
call edi
test eax, eax
je 0x10011d0e
push str.Process32Next
push dword [esi + 0x28]
mov dword [esi + 0x14], eax
call edi
test eax, eax
je 0x10011d0e
push str.Module32First
push dword [esi + 0x28]
mov dword [esi + 0x18], eax
call edi
test eax, eax
je 0x10011d0e
push str.Module32Next
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
call edi
test eax, eax
jne 0x10011d22
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], 2
xor al, al
jmp 0x10011d2b
mov dword [esi + 0x20], eax
mov byte [esi + 0x2d], 1
mov al, 1
pop edi
pop esi
ret
Function at 0x10012f67
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.1008f200
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 0x10012f99
cmp edx, ecx
je 0x10012fa5
cmp edx, dword [esi + 0x14]
jb 0x10012fb0
ja 0x10012fa5
cmp eax, dword [esi + 0x10]
jbe 0x10012fb0
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x10012fbb
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x30], ecx
mov eax, dword [esi + 0x3c]
cmp ecx, edi
ja 0x100130f5
jb 0x10012fd0
cmp eax, ebx
jae 0x100130f5
mov eax, dword [esi + 4]
push ecx
push 0x8000000
push 3
push ecx
push 1
push SysReAllocStringLen
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 0x100130ec
jb 0x10013019
cmp eax, ebx
jae 0x100130ec
jmp 0x10013019
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x10013024
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 0x100130ec
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jbe 0x100130ec
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1001305f
mov eax, dword [eax]
test eax, eax
jne 0x100130ec
test dword [ebp + 0x10], 0xfffffffc
jbe 0x10013096
mov eax, dword [ebp + ebx*4 - 0x4008]
add dword [esi + 0x30], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10013089
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 0x10013068
jmp 0x10013099
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x100130be
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 0x100130ce
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 0x10013016
ja 0x100130ec
cmp eax, dword [ebp - 8]
jb 0x10013016
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 0x100130ff
Capabilities:
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.1008f200
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 0x10013131
cmp edx, ecx
je 0x1001313d
cmp edx, dword [esi + 0x14]
jb 0x10013148
ja 0x1001313d
cmp eax, dword [esi + 0x10]
jbe 0x10013148
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x10013154
or dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x38]
cmp ecx, edi
ja 0x100132d0
jb 0x10013169
cmp eax, ebx
jae 0x100132d0
mov eax, dword [esi + 4]
push ecx
push 0x8000000
push 3
push ecx
push 1
push SysReAllocStringLen
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 0x100132b3
jb 0x100131b2
cmp eax, ebx
jae 0x100132b3
jmp 0x100131b2
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x100131bd
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 0x100132b3
cmp dword [ebp + 0x10], 0
jbe 0x100132b3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100131f7
mov eax, dword [eax]
test eax, eax
jne 0x100132b3
xor ebx, ebx
test dword [ebp + 0x10], 0xfffffffc
jbe 0x10013244
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 + 0x100b6b10]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x34], ecx
test eax, eax
je 0x10013237
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 0x10013202
jmp 0x10013247
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x10013285
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 + 0x100b6b10]
mov dword [esi + 0x34], ebx
test eax, eax
je 0x10013295
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 0x100131af
ja 0x100132b3
cmp eax, dword [ebp - 8]
jb 0x100131af
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 0x100132d0
ja 0x100132cd
cmp eax, dword [esi + 0x10]
jb 0x100132d0
not dword [esi + 0x34]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1001469a
Capabilities:
Read file via mapping

Disassembly:
push 0x28
mov eax, 0x10092c54
call fcn.1008f87d
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 0x100146df
push 0x100d8568
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCR90.dll__CxxThrowException
mov dword [ebp - 0x14], 0x17
mov eax, 0x100146dd
ret
push esi
push 0x8000027
push 3
push esi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x1001476d
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 0x10014751
mov dword [ebp - 0x14], 0x18
cmp dword [ebp - 0x1c], esi
je 0x10014733
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x10014741
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.1008f922
ret 8
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x28]
je 0x10014725
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 0x10014778
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x10014725
cmp dword [ebp - 0x28], esi
jl 0x10014725
jg 0x10014784
cmp dword [ebp - 0x2c], esi
jbe 0x10014725
cmp dword [ebp - 0x28], esi
jg 0x10014799
jl 0x10014794
cmp dword [ebp - 0x2c], 0xa00000
jae 0x10014799
mov esi, dword [ebp - 0x2c]
jmp 0x1001479e
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 0x100147d9
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 0x100147bd
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 0x10014778
Function at 0x10015d6d
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 0x10015e87
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x10015e87
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 0x10015e87
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x10015e87
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x10015e7b
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 0x10015e72
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 8], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x10015e3f
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 0x10015e41
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 0x10015e72
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x10015e62
mov al, 1
jmp 0x10015e89
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x10015e6f
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 0x10016ac8
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 0x10016ba8
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.10016585
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 0x10016b2f
lea eax, [ebp + 8]
movzx eax, word [eax]
cmp dword [esp + 0x10], eax
jge 0x10016b91
cmp dword [esp + 0x10], 0
jne 0x10016b46
push 5
push dword [esi + 8]
jmp 0x10016b49
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x10016b91
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x10016b74
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10016b55
test edi, edi
je 0x10016b91
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebx
mov eax, dword [esp + 0x14]
call fcn.10016601
inc dword [esp + 0x10]
jmp 0x10016b1a
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 0x1001af3c
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x100be7bc
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 0x1001af7b
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 + 0xb08]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0xb0c]
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 0x1001c649
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e344
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10112038]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x10112038]
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.1008e1fa
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 0x1001c6f0
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x1001c6f0
push 1
push 4
push eax
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x1001c6f0
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 0x1001c701
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.1008e7ae
mov esp, ebp
pop ebp
ret
Function at 0x1001fc7e
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100975d7
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10112038]
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.10020cbc
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.1001649a
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.1001037b
or dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.1001037b
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 0x100256ef
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x100be7bc
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 0x1002572e
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 + 0x58c]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x590]
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 0x1002a925
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 0x1002a941
xor eax, eax
jmp 0x1002aa05
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 0x1002a992
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], ecx
jge 0x1002a99a
mov dword [ebp - 4], ecx
cmp edi, dword [ebp - 0xc]
jle 0x1002a9a2
mov edi, dword [ebp - 0xc]
cmp esi, eax
jle 0x1002a9a8
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 0x10031234
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 0x1003125e
cmp eax, 5
je 0x1003125e
xor bl, bl
test esi, esi
je 0x10031269
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
mov al, bl
pop ebx
ret