joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10112b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017fdc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101f6008]
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 0x10112c47
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 0x10112c1c
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 0x10112c1e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x1c]
mov dword [edi], esi
mov ecx, edi
call fcn.10112d30
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
test eax, eax
mov dword [ecx + 8], 0
sete al
jmp 0x10112d11
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 0x10112d0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10112d0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10112d0f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10112d08
push dword [ebp - 0x18]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10112d08
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10112d01
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 0x10112d01
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10112d01
call fcn.100685c0
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 0x10112c2a
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.10144424
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10113370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ffc6
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x101f6008]
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 [0x101fc3e0], 0
movsd xmm0, qword [0x101bbdb8]
movsd qword [edi + 0x130], xmm0
jne 0x10113573
call fcn.10115900
mov word [0x101fc3e0], 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 0x1011ab50
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0xa8
mov eax, dword [0x101f6008]
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 0x1011ab90
xor eax, eax
pop edi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10144424
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 0x1011abbe
lea eax, [esi - 0x6f]
push eax
push 0x101b9d84
push ebx
push edi
call fcn.1008fc20
add esp, 0x10
jmp 0x1011acbe
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x1011abdb
push esi
push 0x101b9d7c
push 8
push edi
call fcn.1008fc20
add esp, 0x10
jmp 0x1011acbe
lea eax, [ecx - 0x60]
cmp al, 9
ja 0x1011abfb
lea eax, [esi - 0x60]
push eax
push str.Num_d
push 8
push edi
call fcn.1008fc20
add esp, 0x10
jmp 0x1011acbe
sub cl, 0x30
cmp cl, 9
ja 0x1011ac1c
lea eax, [esi - 0x30]
push eax
push 0x101af44c
push 8
push edi
call fcn.1008fc20
add esp, 0x10
jmp 0x1011acbe
lea eax, [esi - 0x25]
cmp eax, 0x98
ja case.0x1011ac2d.41
movzx eax, byte [eax + 0x1011ad38]
jmp dword [eax*4 + 0x1011ad10]
push 0x101b9da4
jmp 0x1011acb5
push 0x101af120
jmp 0x1011acb5
push 0x101b638c
jmp 0x1011acb5
push 0x101b2c28
jmp 0x1011acb5
push 0x101b9d9c
jmp 0x1011acb5
push 0x101b9d98
jmp 0x1011acb5
push 0x101b9d94
jmp 0x1011acb5
push 0x101b9d90
jmp 0x1011acb5
push 0x101b9d8c
jmp 0x1011acb5
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 0x1011aced
lea eax, [esp + 0x14]
push eax
mov edx, ebx
mov ecx, edi
call fcn.10011930
test eax, eax
je 0x1011acc9
cmp eax, 0x8007007a
jne 0x1011aced
test edi, edi
je 0x1011aceb
mov eax, ebx
nop
cmp word [edi], bp
je 0x1011acdd
add edi, 2
sub eax, 1
jne 0x1011acd0
sub ebx, eax
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, ebx
test eax, eax
jne 0x1011aced
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.10144424
add esp, 0xa8
ret
Function at 0x1011e310
Capabilities:
Hide graphical window

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015cf28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101f6008]
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 0x10125d2b
mov dword [esi], 0xa80356
jmp 0x10125de8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
test eax, eax
jne 0x10125ddc
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 [0x101fc64c], 0
je 0x10125de8
push 0
mov ecx, 0x101fc64c
call fcn.10110b10
mov eax, dword [0x101fc64c]
cmp byte [eax + 0x54], 0
je 0x10125de8
cmp dword [eax + 0x58], 2
jb 0x10125de8
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:workcode_git_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
push 2
call fcn.10111470
test bl, bl
je 0x10125dcb
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
call fcn.10111790
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
jmp 0x10125de8
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.10144424
mov esp, ebp
pop ebp
ret
Function at 0x10125e30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181133
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x101f6008]
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.10089c10
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 0x10125f2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x101fc64c], 0
mov esi, eax
je 0x10125f1c
push 0
mov ecx, 0x101fc64c
call fcn.10110b10
mov ecx, dword [0x101fc64c]
cmp byte [ecx + 0x54], 0
je 0x10125f1c
cmp dword [ecx + 0x58], 2
jb 0x10125f1c
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:workcode_git_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
push 2
call fcn.10111470
test bl, bl
je 0x10125f0d
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
call fcn.10111790
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
mov dword [edi], 0xa80357
mov dword [edi + 4], esi
jmp 0x10125ffc
lea eax, [ebp - 0x3cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10125fe8
lea ecx, [ebp - 0x1a0]
call fcn.1012b180
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.10124960
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.10128990
mov edx, dword [ebx + 4]
mov ecx, 0xaaaaa9
sub ecx, edx
cmp ecx, 1
jb 0x1012601c
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.1012b2b0
test esi, esi
mov esi, dword [ebp - 0x3d0]
jne 0x10125f40
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.10144424
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 0x10126b60
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018125f
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101f6008]
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 0x10126bcc
mov dword [ebx], 0xa80356
jmp 0x10126cd6
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.10128260
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.10126d50
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.10128260
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
mov esi, dword [edi]
cmp esi, edi
je 0x10126c8a
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 0x10126cf6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100062d0
mov esi, dword [esi]
cmp esi, edi
jne 0x10126c47
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.10128530
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 8
call fcn.101448bc
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10132020
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.10144424
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.10124ef0
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 0x10126c90
Function at 0x10126de0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018125f
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101f6008]
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 0x10126e4c
mov dword [ebx], 0xa80356
jmp 0x10126f56
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.10128260
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.10126d50
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.10128260
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xa4]
mov esi, dword [edi]
cmp esi, edi
je 0x10126f0a
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 0x10126f76
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100062d0
mov esi, dword [esi]
cmp esi, edi
jne 0x10126ec7
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.10128530
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 8
call fcn.101448bc
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10132020
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.10144424
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.10124ef0
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 0x10126f10
Function at 0x10126fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101f6008]
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 0x1012704d
cmp dword [ebp - 0x114], 5
jne 0x1012704d
cmp dword [ebp - 0x110], 1
jne 0x1012704d
push dword [ebp - 0x11c]
mov edx, edi
lea ecx, [ebp - 0x120]
push ebx
call fcn.101257c0
jmp 0x10127061
push dword [ebp - 0x11c]
mov edx, edi
lea ecx, [ebp - 0x120]
push ebx
call fcn.10125200
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.10144424
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10128080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x101f6008]
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 0x10128151
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1012814a
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x228], edi
je 0x10128144
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x101280e0
mov al, byte [ebp - 0x231]
xorps xmm0, xmm0
movlpd qword [ebp - 0x23c], xmm0
test al, al
je 0x10128148
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 0x10128148
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp + 0xc]
jne 0x10128148
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp + 0x10]
jne 0x10128148
mov bl, 1
jmp 0x1012814a
mov al, 1
jmp 0x101280fc
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.10144424
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10145d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101851ae
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.1014b170
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.10144448
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.100f55b0
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 0x4014d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x407014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push esi
push edi
push dword [eax - 0xd8]
call dword [sym.imp.mfc140u.dll_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [edi + 4], 0x100
jne 0x40150f
push 0x74
call esi
test ax, ax
js 0x401557
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x40155b
cmp dword [edi + 4], 0x100
jne 0x40155b
push 0x4f
call esi
test ax, ax
js 0x401557
cmp dword [edi + 4], 0x100
jne 0x40155b
push 0x50
call esi
test ax, ax
js 0x401557
cmp dword [edi + 4], 0x100
jne 0x40155b
push 0x4e
call esi
test ax, ax
jns 0x40155b
xor esi, esi
jmp 0x401560
mov esi, 1
lea ecx, [ebp - 0xc]
call dword [0x4044a4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00402c4a
mov esp, ebp
pop ebp
ret 0x10