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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181800
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101f8008]
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 0x10113477
cmp byte [eax + 0x54], 0
je 0x10113477
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.10070450
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100e4160
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 0x10113412
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 0x1011345c
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.10006470
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100704a0
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.10146054
mov esp, ebp
pop ebp
ret 4
Function at 0x101147a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181b80
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101f8008]
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 0x10114857
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 0x1011482c
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 0x1011482e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
mov dword [edi], esi
mov ecx, edi
call fcn.10114940
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
test eax, eax
mov dword [ecx + 8], 0
sete al
jmp 0x10114921
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 0x1011491f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1011491f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1011491f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10114918
push dword [ebp - 0x18]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10114918
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10114911
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 0x10114911
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10114911
call fcn.10068490
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 0x1011483a
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.10146054
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10114f80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181d86
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x101f8008]
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 [0x101fe3f0], 0
movsd xmm0, qword [0x101bdfc8]
movsd qword [edi + 0x130], xmm0
jne 0x10115183
call fcn.10117510
mov word [0x101fe3f0], 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 0x1011c760
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0xa8
mov eax, dword [0x101f8008]
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 0x1011c7a0
xor eax, eax
pop edi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10146054
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 0x1011c7ce
lea eax, [esi - 0x6f]
push eax
push 0x101bbf40
push ebx
push edi
call fcn.1008fab0
add esp, 0x10
jmp 0x1011c8ce
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x1011c7eb
push esi
push 0x101bbf38
push 8
push edi
call fcn.1008fab0
add esp, 0x10
jmp 0x1011c8ce
lea eax, [ecx - 0x60]
cmp al, 9
ja 0x1011c80b
lea eax, [esi - 0x60]
push eax
push 0x101bbf2c
push 8
push edi
call fcn.1008fab0
add esp, 0x10
jmp 0x1011c8ce
sub cl, 0x30
cmp cl, 9
ja 0x1011c82c
lea eax, [esi - 0x30]
push eax
push 0x101b144c
push 8
push edi
call fcn.1008fab0
add esp, 0x10
jmp 0x1011c8ce
lea eax, [esi - 0x25]
cmp eax, 0x98
ja case.0x1011c83d.41
movzx eax, byte [eax + 0x1011c948]
jmp dword [eax*4 + 0x1011c920]
push 0x101bbf28
jmp 0x1011c8c5
push 0x101b1120
jmp 0x1011c8c5
push 0x101b8694
jmp 0x1011c8c5
push 0x101b4c28
jmp 0x1011c8c5
push 0x101bbf20
jmp 0x1011c8c5
push 0x101bbf1c
jmp 0x1011c8c5
push 0x101bbf18
jmp 0x1011c8c5
push 0x101bbf14
jmp 0x1011c8c5
push 0x101bbf10
jmp 0x1011c8c5
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 0x1011c8fd
lea eax, [esp + 0x14]
push eax
mov edx, ebx
mov ecx, edi
call fcn.10011930
test eax, eax
je 0x1011c8d9
cmp eax, 0x8007007a
jne 0x1011c8fd
test edi, edi
je 0x1011c8fb
mov eax, ebx
nop
cmp word [edi], bp
je 0x1011c8ed
add edi, 2
sub eax, 1
jne 0x1011c8e0
sub ebx, eax
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, ebx
test eax, eax
jne 0x1011c8fd
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.10146054
add esp, 0xa8
ret
Function at 0x1011ff20
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1011ff7c
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 0x1011ff59
push dword [esi + 0x14]
call ebp
test eax, eax
je 0x1011ff59
push 0
push dword [esi + 0x14]
call edi
push dword [esi + 0x10]
call ebx
test eax, eax
je 0x1011ff72
push dword [esi + 0x10]
call ebp
test eax, eax
je 0x1011ff72
push 0
push dword [esi + 0x10]
call edi
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x1011ff40
pop edi
pop ebp
pop ebx
pop esi
ret 4
Function at 0x101278d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015eb58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101f8008]
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 0x1012792b
mov dword [esi], 0xa80356
jmp 0x101279e8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
test eax, eax
jne 0x101279dc
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 [0x101fe65c], 0
je 0x101279e8
push 0
mov ecx, 0x101fe65c
call fcn.10112710
mov eax, dword [0x101fe65c]
cmp byte [eax + 0x54], 0
je 0x101279e8
cmp dword [eax + 0x58], 2
jb 0x101279e8
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10006310
push 0x17
push str.TerminateProcess_Failed
mov dword [ebp - 4], 0
call fcn.10006790
push 0x633
push str.RC::DM::KillProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101fe65c
push eax
push 2
call fcn.10113070
test bl, bl
je 0x101279cb
lea eax, [ebp - 0x28]
mov ecx, 0x101fe65c
push eax
call fcn.10113390
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
jmp 0x101279e8
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.10146054
mov esp, ebp
pop ebp
ret
Function at 0x10127a30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x101f8008]
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.10089aa0
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 0x10127b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x101fe65c], 0
mov esi, eax
je 0x10127b1c
push 0
mov ecx, 0x101fe65c
call fcn.10112710
mov ecx, dword [0x101fe65c]
cmp byte [ecx + 0x54], 0
je 0x10127b1c
cmp dword [ecx + 0x58], 2
jb 0x10127b1c
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10006310
push 0x1f
push str.CreateToolhelp32Snapshot_Failed
mov dword [ebp - 4], 0
call fcn.10006790
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, 0x101fe65c
push eax
push 2
call fcn.10113070
test bl, bl
je 0x10127b0d
lea eax, [ebp - 0x28]
mov ecx, 0x101fe65c
push eax
call fcn.10113390
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
jmp 0x10127bfc
lea eax, [ebp - 0x3cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10127be8
lea ecx, [ebp - 0x1a0]
call fcn.1012cd80
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.10126560
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.1012a590
mov edx, dword [ebx + 4]
mov ecx, 0xaaaaa9
sub ecx, edx
cmp ecx, 1
jb 0x10127c1c
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.1012ceb0
test esi, esi
mov esi, dword [ebp - 0x3d0]
jne 0x10127b40
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.10146054
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 0x10128760
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018301f
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101f8008]
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 0x101287cc
mov dword [ebx], 0xa80356
jmp 0x101288d6
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.10129e60
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.10128950
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.10129e60
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
mov esi, dword [edi]
cmp esi, edi
je 0x1012888a
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.100084d0
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.1000fce0
add esp, 8
test eax, eax
je 0x101288f6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100062d0
mov esi, dword [esi]
cmp esi, edi
jne 0x10128847
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.1012a130
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 8
call fcn.101464ec
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10133c20
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.10146054
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.10008480
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.10126af0
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.100062d0
jmp 0x10128890
Function at 0x101289e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018301f
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101f8008]
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 0x10128a4c
mov dword [ebx], 0xa80356
jmp 0x10128b56
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.10129e60
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.10128950
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.10129e60
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
mov esi, dword [edi]
cmp esi, edi
je 0x10128b0a
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.100084d0
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.1000fce0
add esp, 8
test eax, eax
je 0x10128b76
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100062d0
mov esi, dword [esi]
cmp esi, edi
jne 0x10128ac7
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.1012a130
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 8
call fcn.101464ec
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10133c20
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.10146054
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.10008480
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.10126af0
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.100062d0
jmp 0x10128b10
Function at 0x10128bd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101f8008]
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 0x10128c4d
cmp dword [ebp - 0x114], 5
jne 0x10128c4d
cmp dword [ebp - 0x110], 1
jne 0x10128c4d
push dword [ebp - 0x11c]
mov edx, edi
lea ecx, [ebp - 0x120]
push ebx
call fcn.101273c0
jmp 0x10128c61
push dword [ebp - 0x11c]
mov edx, edi
lea ecx, [ebp - 0x120]
push ebx
call fcn.10126e00
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.10146054
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10129c80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x101f8008]
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 0x10129d51
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10129d4a
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x228], edi
je 0x10129d44
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x10129ce0
mov al, byte [ebp - 0x231]
xorps xmm0, xmm0
movlpd qword [ebp - 0x23c], xmm0
test al, al
je 0x10129d48
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 0x10129d48
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp + 0xc]
jne 0x10129d48
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp + 0x10]
jne 0x10129d48
mov bl, 1
jmp 0x10129d4a
mov al, 1
jmp 0x10129cfc
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.10146054
mov esp, ebp
pop ebp
ret 0xc
Function at 0x101479a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10186f6e
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.1014cda0
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.10146078
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.100f71b0
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
Function at 0x635a2c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc2c934
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x635aac
arpl word [edx + esi], si
xor al, byte [eax]
push ss
les esp, [edx]
rcr ebp, 1
cmpsb byte [esi], byte es:[edi]
loopne 0x635a4d
rol byte [eax + 0x23], 1
inc edi
lodsb al, byte [esi]
ljmp 0x2774
cmc
jbe 0x635ace
dec ebp
lodsd eax, dword [esi]
invalid
insb byte es:[edi], dx
push edx
hlt