joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e4b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1001fae0
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor ebx, ebx
push ecx
mov dword [ebp - 0x100c], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000e502
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x100c]
shr edi, 2
mov dword [ebp - 0x1010], edi
cmp edi, ebx
jle 0x1000e575
mov esi, dword [ebp + ebx*4 - 0x1008]
test esi, esi
je 0x1000e570
push esi
lea edx, [ebp - 0x1018]
push edx
call fcn.1000ec00
test al, al
jne 0x1000e570
mov dword [ebp - 0x1018], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov dword [ebp - 0x1014], eax
call fcn.1000ed50
mov ecx, dword [ebp + ebx*4 - 0x1008]
call fcn.1000e590
test al, al
je 0x1000e4ef
mov edi, dword [ebp + ebx*4 - 0x1008]
call fcn.1000caa0
test al, al
je 0x1000e4ef
mov edi, dword [ebp - 0x1010]
inc ebx
cmp ebx, edi
jl 0x1000e515
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1001ed20
mov esp, ebp
pop ebp
ret

Function at 0x1000e660
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.1001fae0
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1000e6b1
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ed20
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x1000e716
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1000e711
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000e708
test dl, dl
je 0x1000e704
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000e708
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000e6e8
xor eax, eax
jmp 0x1000e70d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e72a
inc esi
cmp esi, edi
jl 0x1000e6c0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ed20
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e740
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x1000e77c
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000e783
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10025d48
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000e76e
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x1000e76e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x1000e776
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x10012030
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call fcn.10001ea0
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4fac]
mov eax, str..DataCustomXenos_System.premium
call fcn.100020e0
test al, al
je 0x100120a3
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..DataCustomXenos_System.premium
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100120a3
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4f00
je 0x100120b5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4f00
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001209c
mov eax, esi
mov ecx, 0x4f00
mov dl, byte [eax]
sub dl, 0xb
xor dl, 0x7d
mov byte [eax], dl
inc eax
dec ecx
jne 0x100120e3
call fcn.1000b710
lea eax, [ebx + 0x1a8]
call fcn.1000b790
lea eax, [ebx + 0x1b70]
call fcn.1000b7f0
lea eax, [ebx + 0x3538]
call fcn.1000b850
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x10012370
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x198], 0
push esi
push edi
je 0x1001246a
lea esi, [ebp - 0x438]
call fcn.10001ea0
mov eax, esi
lea edi, [ebx + 0xe6]
push eax
lea esi, [ebp - 0x43c]
mov eax, edi
call fcn.100020e0
push edi
test al, al
jne 0x100123e5
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin1
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x198]
cmp eax, dword [ebp - 0x43c]
je 0x10012420
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin1
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10012458
push edi
lea eax, [ebp - 0x38]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin1
lea ecx, [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10026cf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001246a
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x10012480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x19c], 0
push esi
push edi
je 0x1001257a
lea esi, [ebp - 0x438]
call fcn.10001ea0
mov eax, esi
lea edi, [ebx + 0x106]
push eax
lea esi, [ebp - 0x43c]
mov eax, edi
call fcn.100020e0
push edi
test al, al
jne 0x100124f5
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin2
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x19c]
cmp eax, dword [ebp - 0x43c]
je 0x10012530
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin2
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10012568
push edi
lea eax, [ebp - 0x38]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin2
lea ecx, [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10026cf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001257a
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x10012590
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x1a0], 0
push esi
push edi
je 0x1001268a
lea esi, [ebp - 0x438]
call fcn.10001ea0
mov eax, esi
lea edi, [ebx + 0x126]
push eax
lea esi, [ebp - 0x43c]
mov eax, edi
call fcn.100020e0
push edi
test al, al
jne 0x10012605
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin3
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x1a0]
cmp eax, dword [ebp - 0x43c]
je 0x10012640
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin3
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10012678
push edi
lea eax, [ebp - 0x38]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin3
lea ecx, [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10026cf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001268a
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x100126a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x1a4], 0
push esi
push edi
je 0x1001279a
lea esi, [ebp - 0x438]
call fcn.10001ea0
mov eax, esi
lea edi, [ebx + 0x146]
push eax
lea esi, [ebp - 0x43c]
mov eax, edi
call fcn.100020e0
push edi
test al, al
jne 0x10012715
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin4
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x1a4]
cmp eax, dword [ebp - 0x43c]
je 0x10012750
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin4
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10012788
push edi
lea eax, [ebp - 0x38]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin4
lea ecx, [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10026cf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001279a
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x100127b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x194], 0
push esi
push edi
je 0x100128aa
lea esi, [ebp - 0x438]
call fcn.10001ea0
mov eax, esi
lea edi, [ebx + 0xc6]
push eax
lea esi, [ebp - 0x43c]
mov eax, edi
call fcn.100020e0
push edi
test al, al
jne 0x10012825
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin5
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x194]
cmp eax, dword [ebp - 0x43c]
je 0x10012860
lea ecx, [ebp - 0x38]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin5
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10012898
push edi
lea eax, [ebp - 0x38]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100D.dll_sprintf]
add esp, 0xc
push 0x10
push str.Xenos_System_Error_Plugin5
lea ecx, [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10026cf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100128aa
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret

Function at 0x100128c0
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x4f04]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100128e3
sub eax, edx
cmp eax, 3
jb 0x100129bb
cmp dword [edi + 0x4f24], 0
je 0x10012988
lea esi, [ebp - 0x408]
call fcn.10001ea0
mov eax, esi
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.100020e0
test al, al
jne 0x10012944
mov esi, 0x10156ba0
call fcn.1001a750
mov esi, 0x10156cc8
call fcn.1001a750
mov esi, 0x10156df0
call fcn.1001a750
call fcn.1001a9e0
mov ecx, dword [edi + 0x4f24]
cmp ecx, dword [ebp - 0x40c]
je 0x10012988
mov esi, 0x10156ba0
call fcn.1001a750
mov esi, 0x10156cc8
call fcn.1001a750
mov esi, 0x10156df0
call fcn.1001a750
push 0x10
add edi, 0x46
push edi
push str.Launcher_not_found_or_invalid_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1001a9e0
push str.32770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100129b4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.1001a9e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x100129d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.100095e0
call fcn.100097e0
test eax, eax
je 0x10012b26
mov ecx, 0x1f
call fcn.1000b950
push eax
push 1
push 2
push 0x1002e028
mov dword [ebp - 4], eax
call fcn.1001af60
add esp, 4
push eax
xor esi, esi
push esi
mov ecx, 0x1014cba8
call fcn.1000b200
mov eax, dword [0x10156ba4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
cmp eax, esi
je 0x10012a4a
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x10158094]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x10156ba4], esi
call ebx
mov eax, dword [0x10156ccc]
cmp eax, esi
je 0x10012a6f
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x10158094]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10156ccc], esi
call ebx
mov eax, dword [0x10156df4]
cmp eax, esi
je 0x10012a95
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x10158094]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x10156df4], esi
call ebx
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x10156df0
call fcn.1001a580
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1001ad40
push 0
push 0
mov dword [0x10156df8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10156df8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10156df8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10156df4]
test eax, eax
je 0x10012b21
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x10158094]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10156df4], 0
call ebx
call fcn.1001a9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021053
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
mov eax, dword [0x1002e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10156b98]
cmp eax, 0x927c0
jb 0x10012e82
call esi
mov dword [0x10156b98], eax
xor esi, esi
cmp dword [0x10156b84], esi
je 0x10012f23
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x44], esi
push 8
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCR100D.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, esi
je 0x10012f33
mov dword [ebp - 0x44], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x44]
mov dword [eax], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 1
mov ecx, dword [0x10156b88]
push ecx
push edx
call fcn.10012c20
test al, al
je 0x10012f09
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x10012f09
lea esi, [ebp - 0x44]
call fcn.10012f60
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.1000a400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], esi
call dword [sym.imp.MSVCR100D.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x10029968
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100D.dll__CxxThrowException
int3
Function at 0x10015a50
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x101580a0
call esi
mov ecx, dword [ebp + 8]
push 0x100
add ecx, 5
push ecx
push 0x101580a0
call sub.MSVCR100D.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x100
push 0x101580a0
call esi
push 0
push 0
push 0
push 0x10015a30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10015ac0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.MSVCR100D.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.XENOS
push 0x10031028
call fcn.1001af60
add esp, 4
push eax
push 0
mov ecx, 0x1014cba8
call fcn.1000b200
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.1001ed20
mov esp, ebp
pop ebp
ret
Function at 0x10015b80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100299b0
push 0x1001f470
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1002e018]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x10015d32
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call ebx
test eax, eax
jne 0x10015c64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10015d32
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.1001eae0
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call sub.MSVCR100D.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x10015cc3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100D.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x10015d32
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10015cb0
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCR100D.dll_strcpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100D.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10015d34
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1001ed20
mov esp, ebp
pop ebp
ret