joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005d9e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x234
mov eax, 0x1005cbc5
call fcn.10059779
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 0x10005e6b
cmp eax, 3
jl 0x10005e6b
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 0x10005e16
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 0x10005e4a
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 8]
call sub.mfc90u.dll_CFile::GetStatus
cmp eax, esi
je 0x10005e4a
test byte [ebp - 0x220], 0x10
je 0x10005e4a
test bl, 0x10
je 0x10005e4a
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 0x10005e76
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.100597d5
ret

Function at 0x10005f71
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100a8050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp edi, 0x104
jbe 0x10005f97
xor eax, eax
jmp 0x10005feb
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 0x10005fb8
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.1005883e
leave
ret 8
Function at 0x1000bf4f
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 0x1000bfd2
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 0x1000bfd2
cmp dword [esi + 0x30], ebx
je 0x1000bfd2
cmp eax, ebx
je 0x1000bfd2
mov byte [esi + 4], 1
push str.Kernel32
call ebp
mov dword [esi + 0x40], eax
cmp eax, ebx
je 0x1000c06b
push 0x10070e30
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 0x1000c06b
cmp dword [esi + 0x69c], ebx
je 0x1000c06b
cmp dword [esi + 0x6a0], ebx
je 0x1000c06b
cmp dword [esi + 0x6a4], ebx
je 0x1000c06b
cmp eax, ebx
je 0x1000c06b
mov byte [esi + 5], 1
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.1000c112
push 2
pop ecx
mov edx, eax
pop edi
or edx, ecx
pop ebp
pop ebx
cmp eax, edx
jne 0x1000c086
mov dword [esi + 8], ecx
xor ecx, ecx
inc ecx
mov edx, eax
or edx, ecx
cmp eax, edx
jne 0x1000c094
mov dword [esi + 8], ecx
mov eax, esi
ret

Function at 0x1000c4f6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x100a8050]
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 0x1000c591
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 0x1000c574
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 0x1000c591
mov eax, dword [ebp - 0x118]
jmp 0x1000c593
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005883e
leave
ret 4
Function at 0x1000cc20
Capabilities:
Link many functions at runtime

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.100592a0
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 0x1000def7
cmp edx, ecx
je 0x1000df03
cmp edx, dword [esi + 0x14]
jb 0x1000df0e
ja 0x1000df03
cmp eax, dword [esi + 0x10]
jbe 0x1000df0e
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x1000df19
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x30], ecx
mov eax, dword [esi + 0x3c]
cmp ecx, edi
ja 0x1000e053
jb 0x1000df2e
cmp eax, ebx
jae 0x1000e053
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 0x1000e04a
jb 0x1000df77
cmp eax, ebx
jae 0x1000e04a
jmp 0x1000df77
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x1000df82
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 0x1000e04a
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jbe 0x1000e04a
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1000dfbd
mov eax, dword [eax]
test eax, eax
jne 0x1000e04a
test dword [ebp + 0x10], 0xfffffffc
jbe 0x1000dff4
mov eax, dword [ebp + ebx*4 - 0x4008]
add dword [esi + 0x30], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1000dfe7
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 0x1000dfc6
jmp 0x1000dff7
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x1000e01c
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 0x1000e02c
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 0x1000df74
ja 0x1000e04a
cmp eax, dword [ebp - 8]
jb 0x1000df74
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 0x1000e05d
Capabilities:
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4008
call fcn.100592a0
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 0x1000e08f
cmp edx, ecx
je 0x1000e09b
cmp edx, dword [esi + 0x14]
jb 0x1000e0a6
ja 0x1000e09b
cmp eax, dword [esi + 0x10]
jbe 0x1000e0a6
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [ebp + 0x10], ecx
je 0x1000e0b2
or dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], ecx
mov eax, dword [esi + 0x38]
cmp ecx, edi
ja 0x1000e22e
jb 0x1000e0c7
cmp eax, ebx
jae 0x1000e22e
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 0x1000e211
jb 0x1000e110
cmp eax, ebx
jae 0x1000e211
jmp 0x1000e110
mov ebx, dword [ebp - 8]
mov eax, 0x4000
cmp ebx, eax
jbe 0x1000e11b
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 0x1000e211
cmp dword [ebp + 0x10], 0
jbe 0x1000e211
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000e155
mov eax, dword [eax]
test eax, eax
jne 0x1000e211
xor ebx, ebx
test dword [ebp + 0x10], 0xfffffffc
jbe 0x1000e1a2
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 + 0x1006dab0]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x34], ecx
test eax, eax
je 0x1000e195
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 0x1000e160
jmp 0x1000e1a5
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
and edx, 3
je 0x1000e1e3
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 + 0x1006dab0]
mov dword [esi + 0x34], ebx
test eax, eax
je 0x1000e1f3
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 0x1000e10d
ja 0x1000e211
cmp eax, dword [ebp - 8]
jb 0x1000e10d
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 0x1000e22e
ja 0x1000e22b
cmp eax, dword [esi + 0x10]
jb 0x1000e22e
not dword [esi + 0x34]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1000f5e9
Capabilities:
Read file via mapping

Disassembly:
push 0x28
mov eax, 0x1005b816
call fcn.1005970d
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 0x1000f62e
push 0x10083070
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCR90.dll__CxxThrowException
mov dword [ebp - 0x14], 0x17
mov eax, 0x1000f62c
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 0x1000f6bc
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.SACOhelper.dll_protected:_static_bool___cdecl_CCrc32Dynamic::GetFileSizeQW_void__const__long_long___int64___
pop ecx
pop ecx
test al, al
jne 0x1000f6a0
mov dword [ebp - 0x14], 0x18
cmp dword [ebp - 0x1c], esi
je 0x1000f682
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x1000f690
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.100597b2
ret 8
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x28]
je 0x1000f674
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 0x1000f6c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x1000f674
cmp dword [ebp - 0x28], esi
jl 0x1000f674
jg 0x1000f6d3
cmp dword [ebp - 0x2c], esi
jbe 0x1000f674
cmp dword [ebp - 0x28], esi
jg 0x1000f6e8
jl 0x1000f6e3
cmp dword [ebp - 0x2c], 0xa00000
jae 0x1000f6e8
mov esi, dword [ebp - 0x2c]
jmp 0x1000f6ed
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 0x1000f728
movzx eax, byte [ebx]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
push eax
call sym.SACOhelper.dll_protected:_void___thiscall_CCrc32Dynamic::CalcCrc32_unsigned_char__unsigned_long_int__const
inc ebx
jmp 0x1000f70c
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 0x1000f6c7
Function at 0x1001071b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call sym.SACOhelper.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 0x10010835
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x10010835
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 0x10010835
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x10010835
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x10010829
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 0x10010820
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 8], eax
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x100107ed
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 0x100107ef
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 0x10010820
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
jne 0x10010810
mov al, 1
jmp 0x10010837
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x1001081d
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 0x1001139d
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 0x1001147d
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.10010e5a
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 0x10011404
lea eax, [ebp + 8]
movzx eax, word [eax]
cmp dword [esp + 0x10], eax
jge 0x10011466
cmp dword [esp + 0x10], 0
jne 0x1001141b
push 5
push dword [esi + 8]
jmp 0x1001141e
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x10011466
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x10011449
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x1001142a
test edi, edi
je 0x10011466
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebx
mov eax, dword [esp + 0x14]
call fcn.10010ed6
inc dword [esp + 0x10]
jmp 0x100113ef
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 0x10013869
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push ebp
push esi
mov eax, 0x213e
xor ebp, ebp
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
mov esi, ecx
cmp dword [esp + 0x18], eax
jne 0x100138c6
push eax
push dword [esi + 0x20]
call edi
push dword [esi + 0x20]
call ebx
test eax, eax
jne 0x100138a1
push 9
mov ecx, esi
call sub.mfc90u.dll_CWnd::ShowWindow
push ebp
push ebp
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x1007195c
push str.IDS_SHUTDOWN_SCH
push eax
call sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
push esi
call sym.SACOhelper.dll_public:_static_void___cdecl_CSystweakApp::ShowShutDownDlg_class_CDialog___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_CRect___bool_
add esp, 0x10
mov eax, 0xc549
cmp dword [esp + 0x18], eax
jne 0x10013905
push eax
push dword [esi + 0x20]
call edi
push dword [esi + 0x20]
call ebx
test eax, eax
jne 0x100138e9
push 9
mov ecx, esi
call sub.mfc90u.dll_CWnd::ShowWindow
push ebp
call fcn.10010207
push eax
call sym.SACOhelper.dll_public:_static_void___cdecl_CSystweakApp::ShowEnterKeyDlg_class_CDialog___class_CRect__
pop ecx
pop ecx
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebp
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x1001390d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x10074b84
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 0x1001394c
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 + 0x6f0]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x6f4]
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 0x100149ca
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005daf0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100a8050]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x100a8050]
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.100582e4
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 0x10014a71
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x10014a71
push 1
push 4
push eax
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x10014a71
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 0x10014a82
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sym.SACOhelper.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.1005883e
mov esp, ebp
pop ebp
ret