joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10115340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183af0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10115427
cmp byte [eax + 0x54], 0
je 0x10115427
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.10071e60
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100e63f0
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x101153c2
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1011540c
push 2
push 0
push 0
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.10006550
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10071eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 4
Function at 0x10116740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183e70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
cmp eax, 2
jne 0x101167f7
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x101167cc
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
movzx eax, word [ebp + 0xc]
push eax
push edi
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromResource]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov byte [ebp - 4], 0
jmp 0x101167ce
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
mov dword [edi], esi
mov ecx, edi
call fcn.101168e0
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
test eax, eax
mov dword [ecx + 8], 0
sete al
jmp 0x101168c1
push eax
movzx eax, word [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x101168bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x101168bf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x101168bf
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x101168b8
push dword [ebp - 0x18]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x101168b8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x101168b1
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x101168b1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x101168b1
call fcn.10069ea0
mov edi, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x101167da
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10116f20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10184076
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x101fb008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RC::ICoolPopupMenu.0
mov dword [ebp - 4], 0
mov dword [edi], vtable.RC::RCCoolPopupMenu.1.0
mov dword [edi + 4], vtable.RC::RCCoolPopupMenu.0
mov dword [edi + 8], vtable.RC::RCCoolPopupMenu.2.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x54], 0x16
mov dword [edi + 0x58], 0xffffffff
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0xffffffff
mov dword [edi + 0x74], 0xffffffff
mov dword [edi + 0x78], 0
mov word [edi + 0x7c], 0x100
mov byte [edi + 0x7e], 0
mov dword [edi + 0x80], 0xffffffff
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x8c], 0x1000000
mov byte [edi + 0x90], 0
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x98], 0xffffffff
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov byte [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov byte [ebp - 4], 1
cmp word [0x102014c0], 0
movsd xmm0, qword [0x101c0668]
movsd qword [edi + 0x130], xmm0
jne 0x10117123
call fcn.101194b0
mov word [0x102014c0], ax
lea eax, [edi + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0xc4]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [edi + 0x120]
mov dword [edi + 0xf0], 0
push eax
mov dword [edi + 0xec], 0
mov word [edi + 0x8c], 0
mov byte [edi + 0x8e], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1011e700
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0xa8
mov eax, dword [0x101fb008]
xor eax, esp
mov dword [esp + 0xa4], eax
push edi
mov edi, edx
mov byte [esp + 7], cl
push 0x10
push edi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x1011e740
xor eax, eax
pop edi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10147fe4
add esp, 0xa8
ret
mov cl, byte [esp + 7]
push ebx
push ebp
xor ebp, ebp
lea eax, [ecx - 0x70]
push esi
movzx esi, cl
lea ebx, [ebp + 8]
cmp al, 0xb
ja 0x1011e76e
lea eax, [esi - 0x6f]
push eax
push 0x101be5d4
push ebx
push edi
call fcn.10091a50
add esp, 0x10
jmp 0x1011e86e
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x1011e78b
push esi
push 0x101be5cc
push 8
push edi
call fcn.10091a50
add esp, 0x10
jmp 0x1011e86e
lea eax, [ecx - 0x60]
cmp al, 9
ja 0x1011e7ab
lea eax, [esi - 0x60]
push eax
push 0x101be5c0
push 8
push edi
call fcn.10091a50
add esp, 0x10
jmp 0x1011e86e
sub cl, 0x30
cmp cl, 9
ja 0x1011e7cc
lea eax, [esi - 0x30]
push eax
push 0x101b39c4
push 8
push edi
call fcn.10091a50
add esp, 0x10
jmp 0x1011e86e
lea eax, [esi - 0x25]
cmp eax, 0x98
ja case.0x1011e7dd.41
movzx eax, byte [eax + 0x1011e8e8]
jmp dword [eax*4 + 0x1011e8c0]
push 0x101be5bc
jmp 0x1011e865
push 0x101b36f0
jmp 0x1011e865
push 0x101bacf0
jmp 0x1011e865
push 0x101b71a0
jmp 0x1011e865
push 0x101be5b4
jmp 0x1011e865
push 0x101be5b0
jmp 0x1011e865
push 0x101be5ac
jmp 0x1011e865
push 0x101be5a8
jmp 0x1011e865
push 0x101be5a4
jmp 0x1011e865
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
push 0xa0
mov esi, eax
lea eax, [esp + 0x18]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
shl esi, 0x10
lea eax, [esp + 0x14]
push 0x50
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
jle 0x1011e89d
lea eax, [esp + 0x14]
push eax
mov edx, ebx
mov ecx, edi
call fcn.10011d80
test eax, eax
je 0x1011e879
cmp eax, 0x8007007a
jne 0x1011e89d
test edi, edi
je 0x1011e89b
mov eax, ebx
nop
cmp word [edi], bp
je 0x1011e88d
add edi, 2
sub eax, 1
jne 0x1011e880
sub ebx, eax
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, ebx
test eax, eax
jne 0x1011e89d
xor ebp, ebp
mov ecx, dword [esp + 0xb4]
xor eax, eax
cmp eax, ebp
pop esi
sbb eax, eax
and eax, ebp
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.10147fe4
add esp, 0xa8
ret
Function at 0x10121ec0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10121f1c
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
nop
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x10121ef9
push dword [esi + 0x14]
call ebp
test eax, eax
je 0x10121ef9
push 0
push dword [esi + 0x14]
call edi
push dword [esi + 0x10]
call ebx
test eax, eax
je 0x10121f12
push dword [esi + 0x10]
call ebp
test eax, eax
je 0x10121f12
push 0
push dword [esi + 0x10]
call edi
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x10121ee0
pop edi
pop ebp
pop ebx
pop esi
ret 4
Function at 0x10129870
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160b68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
push dword [edx + 4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x101298cb
mov dword [esi], 0xa80356
jmp 0x10129988
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
test eax, eax
jne 0x1012997c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp dword [0x10201734], 0
je 0x10129988
push 0
mov ecx, 0x10201734
call fcn.101146c0
mov eax, dword [0x10201734]
cmp byte [eax + 0x54], 0
je 0x10129988
cmp dword [eax + 0x58], 2
jb 0x10129988
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100063f0
push 0x17
push str.TerminateProcess_Failed
mov dword [ebp - 4], 0
call fcn.10006870
push 0x633
push str.RC::DM::KillProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
push 2
call fcn.10115020
test bl, bl
je 0x1012996b
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
call fcn.10115340
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100063b0
jmp 0x10129988
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret
Function at 0x101299d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101851a3
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov edi, dword [ebp + 8]
call fcn.1008ba40
push 0
push 2
mov dword [ebp - 0x3cc], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x3d0], esi
test esi, esi
jne 0x10129aca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x10201734], 0
mov esi, eax
je 0x10129abc
push 0
mov ecx, 0x10201734
call fcn.101146c0
mov ecx, dword [0x10201734]
cmp byte [ecx + 0x54], 0
je 0x10129abc
cmp dword [ecx + 0x58], 2
jb 0x10129abc
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100063f0
push 0x1f
push str.CreateToolhelp32Snapshot_Failed
mov dword [ebp - 4], 0
call fcn.10006870
push 0x661
push str.RC::DM::RCProcessDManager::GetAllProcessInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
push 2
call fcn.10115020
test bl, bl
je 0x10129aad
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
call fcn.10115340
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100063b0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
jmp 0x10129b9c
lea eax, [ebp - 0x3cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10129b88
lea ecx, [ebp - 0x1a0]
call fcn.1012ed20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1a0]
mov edx, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x3e0]
push eax
mov dword [ebp - 0x19c], edx
call fcn.10128500
mov eax, dword [ebx]
lea edx, [ebp - 0x1a0]
add esp, 4
mov dword [ebp - 0x3d4], eax
mov ecx, dword [eax + 4]
push edx
push ecx
push eax
mov dword [ebp - 0x3d8], ecx
call fcn.1012c530
mov edx, dword [ebx + 4]
mov ecx, 0xaaaaa9
sub ecx, edx
cmp ecx, 1
jb 0x10129bbc
lea ecx, [edx + 1]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ecx], eax
lea eax, [ebp - 0x3cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1012ee50
test esi, esi
mov esi, dword [ebp - 0x3d0]
jne 0x10129ae0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x1012a700
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101852cf
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x98], esi
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
push dword [esi + 4]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x1012a76c
mov dword [ebx], 0xa80356
jmp 0x1012a876
lea eax, [esi + 0x74]
mov dword [ebp - 0x94], vtable.RC::DM::ISerialization.0
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x94], vtable.RC::DM::RCProcessToken.0
call fcn.1012be00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84]
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x88], eax
lea eax, [esi + 0x80]
push eax
call fcn.1012a8f0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa4]
call fcn.1012be00
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
mov esi, dword [edi]
cmp esi, edi
je 0x1012a82a
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.100085c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 0x10
push str.SeDebugPrivilege
call fcn.10010100
add esp, 8
test eax, eax
je 0x1012a896
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100063b0
mov esi, dword [esi]
cmp esi, edi
jne 0x1012a7e7
mov dword [ebx], 0xa8035a
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.1012c0d0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 8
call fcn.1014847c
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10135bc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 8
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push str.SeDebugPrivilege
call fcn.10008570
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.10128a90
add esp, 0x1c
mov ecx, dword [eax]
mov dword [ebx], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov byte [ebp - 4], 3
call fcn.100063b0
jmp 0x1012a830
Function at 0x1012a980
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101852cf
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x98], esi
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
push dword [esi + 4]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x1012a9ec
mov dword [ebx], 0xa80356
jmp 0x1012aaf6
lea eax, [esi + 0x74]
mov dword [ebp - 0x94], vtable.RC::DM::ISerialization.0
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x94], vtable.RC::DM::RCProcessToken.0
call fcn.1012be00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84]
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x88], eax
lea eax, [esi + 0x80]
push eax
call fcn.1012a8f0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa4]
call fcn.1012be00
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
mov esi, dword [edi]
cmp esi, edi
je 0x1012aaaa
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.100085c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 0x10
push str.SeDebugPrivilege
call fcn.10010100
add esp, 8
test eax, eax
je 0x1012ab16
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100063b0
mov esi, dword [esi]
cmp esi, edi
jne 0x1012aa67
mov dword [ebx], 0xa8035a
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.1012c0d0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 8
call fcn.1014847c
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10135bc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 8
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push str.SeDebugPrivilege
call fcn.10008570
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.10128a90
add esp, 0x1c
mov ecx, dword [eax]
mov dword [ebx], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov byte [ebp - 4], 3
call fcn.100063b0
jmp 0x1012aab0
Function at 0x1012ab70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x118]
push eax
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x1012abed
cmp dword [ebp - 0x114], 5
jne 0x1012abed
cmp dword [ebp - 0x110], 1
jne 0x1012abed
push dword [ebp - 0x11c]
mov edx, edi
lea ecx, [ebp - 0x120]
push ebx
call fcn.10129360
jmp 0x1012ac01
push dword [ebp - 0x11c]
mov edx, edi
lea ecx, [ebp - 0x120]
push ebx
call fcn.10128da0
mov ecx, dword [eax]
add esp, 8
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 4], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1012bc20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
push 2
mov dword [ebp - 0x240], ecx
mov byte [ebp - 0x231], bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1012bcf1
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1012bcea
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x228], edi
je 0x1012bce4
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x1012bc80
mov al, byte [ebp - 0x231]
xorps xmm0, xmm0
movlpd qword [ebp - 0x23c], xmm0
test al, al
je 0x1012bce8
mov ecx, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
push edx
push edi
lea edx, [ebp - 0x244]
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
cmp dword [eax], 0
jne 0x1012bce8
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp + 0xc]
jne 0x1012bce8
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp + 0x10]
jne 0x1012bce8
mov bl, 1
jmp 0x1012bcea
mov al, 1
jmp 0x1012bc9c
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10149930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018921e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.1014ed30
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10148008
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.100f9160
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4