joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e450
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x41ad3c
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.00418090
mov eax, dword [0x4bc5d0]
xor eax, esp
mov dword [esp + 0x1428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc5d0]
xor eax, esp
push eax
lea eax, [esp + 0x1440]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], ecx
push 0x1000
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x24], 0
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40e4ba
xor al, al
jmp 0x40e5fa
mov esi, dword [esp + 0x18]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1036]
push eax
shr esi, 2
mov word [esp + 0x1038], dx
call sub.QL_CR100.dll_memset
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x124a]
push edx
mov word [esp + 0x124c], cx
call sub.QL_CR100.dll_memset
add esp, 0x18
test esi, esi
je 0x40e5f8
lea ebx, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [ebx]
test eax, eax
je 0x40e5eb
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40e5e4
push 0x104
lea eax, [esp + 0x1030]
push eax
push ebp
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x40e5e4
push 0x104
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x1034]
push edx
call fcn.00414dd0
add esp, 0xc
test al, al
je 0x40e5e4
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
mov eax, dword [eax]
add esi, 0x64
cmp eax, 1
je 0x40e588
test eax, eax
je 0x40e588
mov ecx, esi
call fcn.0040afc0
mov edi, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
add edi, 8
call fcn.0040b870
cmp dword [eax], edi
jne 0x40e5e4
push 0xffffffffffffffff
lea ecx, [esp + 0x1238]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x1454], 0
call fcn.0040b8c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x1448], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [esp + 0x14]
jne 0x40e50e
mov al, 1
mov ecx, dword [esp + 0x1440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1428]
xor ecx, esp
call fcn.00418000
add esp, 0x1438
ret
Function at 0x413fe0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov word [esp + 4], 0xcdfb
mov byte [esp + 6], 0xac
test edi, edi
jle 0x41401d
push esi
mov esi, dword [esp + 0x10]
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov al, byte [esp + edx + 8]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x414000
pop esi
pop edi
pop ecx
ret
Function at 0x414200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ba45
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4bc5d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov esi, dword [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
je 0x4142e1
push ecx
mov eax, esp
mov dword [eax], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
mov dword [esp + 0x18], esp
call edx
test al, al
je 0x4142e1
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
xor edi, edi
mov ecx, 0xa00000
test edx, edx
jg 0x41428b
jl 0x414287
cmp eax, ecx
jae 0x41428b
mov ecx, eax
mov edi, edx
push edi
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QIODevice::read_long_long___int64__]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.QL_Core.dll_public:_static_class_QByteArray___cdecl_QCryptographicHash::hash_class_QByteArray_const___enum_QCryptographicHash::Algorithm_]
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x14]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QL_Core.dll_public:_class_QByteArray___thiscall_QByteArray::toHex_void_]
mov ecx, eax
mov byte [esp + 0x24], 3
call dword [sym.imp.QL_Core.dll_public:_char____thiscall_QByteArray::data_void_]
test eax, eax
je 0x414311
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x414306
sub ecx, esi
jmp 0x414314
or ecx, 0xffffffff
push ecx
push eax
call dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov esi, dword [esp + 0x34]
add esp, 8
mov dword [esi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x414dd0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x41ba96
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x4bc5d0]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc5d0]
xor eax, esp
push eax
lea eax, [esp + 0x664]
mov dword fs:[0], eax
mov eax, dword [esp + 0x678]
mov ecx, dword [0x420e10]
mov dx, word [0x420e14]
mov ebp, dword [esp + 0x674]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x260]
push eax
push 0x3ff
mov dword [esp + 0x58], ecx
mov word [esp + 0x5c], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x414f25
lea ebx, [esp + 0x260]
xor edi, edi
jmp 0x414e60
mov cx, word [ebx]
push 0x104
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x58]
push eax
mov word [esp + 0x5c], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x414f11
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414ea0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00414790
lea eax, [esp + 0x58]
mov dword [esp + 0x66c], edi
lea edx, [eax + 2]
jmp 0x414ed0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414ed0
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x24]
call fcn.00414360
mov esi, eax
cmp esi, 0xffffffff
jne 0x414f4f
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x66c], eax
jb 0x414f11
mov eax, dword [esp + 0x18]
push eax
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x414f11
cmp word [ebx], di
jne 0x414e60
xor al, al
mov ecx, dword [esp + 0x664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.00418000
add esp, 0x65c
ret
xor edx, edx
lea eax, [esp + 0x58]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414f70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00414790
mov eax, ebx
mov byte [esp + 0x66c], 1
lea edx, [eax + 2]
jmp 0x414fa0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x414fa0
mov ecx, dword [esp + 0x44]
sub eax, edx
sar eax, 1
push eax
push ebx
inc ecx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00414bf0
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x414fd9
mov edx, dword [esp + 0x34]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jae 0x414fe7
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x680]
push eax
push ecx
call dword [sym.imp.QL_CR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [esp + 0x2c], esi
jb 0x415011
mov edx, dword [esp + 0x18]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x414f27
Function at 0x418000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bc5d0]
jne 0x41800a
repz ret
jmp fcn.0041846e

Function at 0x4189d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push edi
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x4189fa
or eax, 0xffffffff
pop edi
add esp, 0x14
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
push ebx
push esi
neg ecx
or ecx, eax
push ecx
call fcn.00418aec
mov esi, eax
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 0
test eax, eax
jle 0x418a9b
mov eax, edi
sub eax, esi
push ebp
mov dword [esp + 0x18], eax
jmp 0x418a44
mov eax, dword [esp + 0x18]
mov edi, dword [eax + esi]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.00418aec
add esp, 4
push 0
push 0
push ebx
mov ebp, eax
push ebp
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x14]
mov dword [esi], ebp
mov eax, dword [esp + 0x10]
inc ecx
add esi, 4
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x418a40
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
pop ebp
push edi
mov dword [esi + eax*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0xc]
push esi
push eax
call fcn.00401140
xor edi, edi
add esp, 8
mov ebx, eax
cmp dword [esp + 0xc], edi
jle 0x418ad8
mov eax, dword [esi + edi*4]
test eax, eax
je 0x418ad8
push eax
call sub.QL_CR100.dll_void___cdecl_operator_delete___void__
inc edi
add esp, 4
cmp edi, dword [esp + 0xc]
jl 0x418ac1
push esi
call sub.QL_CR100.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
mov eax, ebx
pop ebx
pop edi
add esp, 0x14
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x58286c74
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x388c5acd
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x7e6410
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x6ec015
lea edi, [esi - 0x2eb015]
push edi
jmp 0x7e642a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7e6431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7e6420
mov eax, 1
add ebx, ebx
jne 0x7e6443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7e6454
jne 0x7e6473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7e6473
dec eax
add ebx, ebx
jne 0x7e6460
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7e6438
add ebx, ebx
jne 0x7e646f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7e64c5
xor ecx, ecx
sub eax, 3
jb 0x7e648b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7e64fa
sar eax, 1
mov ebp, eax
jmp 0x7e6496
add ebx, ebx
jne 0x7e6496
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7e6464
inc ecx
add ebx, ebx
jne 0x7e64a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7e6464
add ebx, ebx
jne 0x7e64b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7e64a6
jne 0x7e64c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7e64a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7e64e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7e64d6
jmp 0x7e6426
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7e64e4
add edi, ecx
jmp 0x7e6426
pop esi
mov edi, esi
mov ecx, 0x2de4fe
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x7e651f
cmp byte [edi], 0x3d
jne 0x7e6504
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x7e6502
lea edi, [esi + 0x3dd000]
mov eax, dword [edi]
or eax, eax
je 0x7e6567
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f6bcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f6d00]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7e6525
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3f6d08]
or eax, eax
je 0x7e6561
mov dword [ebx], eax
add ebx, 4
jmp 0x7e6542
call dword [esi + 0x3f6d04]
mov ebp, dword [esi + 0x3f6d0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7e659b
sub esp, 0xffffff80
jmp 0x4012a0
Function at 0x11794
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
jne 0x117e2
mov ebx, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, 0x42464c
push edi
push 0x48
push 1
call ebx
mov dword [esi], eax
test eax, eax
jne 0x117c3
xor al, al
jmp 0x118d9
push edi
push 0x1000
push 1
call ebx
mov dword [esi + 4], eax
test eax, eax
jne 0x117e2
push edi
push dword [esi]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [esi], 0
jmp 0x117bc
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
xor eax, eax
mov edx, dword [eax + section..data]
mov ecx, dword [esi]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x117ea
xor eax, eax
mov ecx, 0x100
mov edi, dword [eax + 0x28048]
mov edx, dword [esi + 4]
mov dword [eax + edx], edi
add eax, 4
dec ecx
jne 0x11804
cmp eax, 0x1000
jl 0x117ff
and dword [ebp - 4], ecx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov al, byte [ecx + edi]
mov byte [ebp + 0x13], al
lea eax, [ecx + 1]
cdq
idiv ebx
mov al, byte [edx + edi]
mov byte [ebp + 0x12], al
lea eax, [ecx + 2]
cdq
idiv ebx
mov al, byte [edx + edi]
mov byte [ebp + 0x11], al
lea eax, [ecx + 3]
cdq
idiv ebx
mov al, byte [edx + edi]
mov edx, dword [ebp - 4]
mov byte [ebp + 0x10], al
mov eax, dword [esi]
add eax, edx
mov edx, dword [ebp + 0x10]
xor dword [eax], edx
lea eax, [ecx + 4]
cdq
idiv ebx
add dword [ebp - 4], 4
cmp dword [ebp - 4], 0x48
mov ecx, edx
jl 0x11826
and dword [ebp + 0xc], 0
and dword [ebp + 0x10], 0
xor edi, edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
call fcn.0001103e
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [edi + eax], ecx
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [edi + eax + 4], ecx
add edi, 8
cmp edi, 0x48
jl 0x11878
xor edi, edi
mov ebx, pe_nt_image_headers32
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
mov ecx, esi
call fcn.0001103e
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov dword [edi + eax], ecx
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + edi + 4], ecx
add edi, 8
dec ebx
jne 0x118a7
cmp edi, 0x1000
jl 0x118a2
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x13fee
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor eax, eax
push eax
push 0x13d00
push eax
push eax
push eax
push eax
mov byte [0x29052], al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jl 0x14023
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x143cc
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x294d0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
jl 0x14473
mov eax, dword [ebp - 0x11c]
cmp eax, 0xb
je 0x14418
cmp eax, 0xa
jne 0x14421
cmp dword [ebp - 0x114], 0x55ec
jb 0x14436
mov byte [0x186afe4], 1
jmp 0x1446f
cmp eax, 6
jne 0x14463
cmp dword [ebp - 0x118], 3
jb 0x1443f
mov byte [0x186afe6], 1
mov byte [0x186afe5], 1
jmp 0x1446f
cmp dword [ebp - 0x118], 2
jne 0x14451
mov byte [0x186afe7], 1
jmp 0x1446f
cmp dword [ebp - 0x118], 1
jne 0x1446f
mov byte [0x186afe8], 1
jmp 0x1446f
cmp eax, 5
ja 0x1446f
mov byte [0x186afe9], 1
mov al, 1
jmp 0x14475
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.000223b6
leave
ret

Function at 0x1481e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
and dword [ecx + 0x1c], 0
xor dl, dl
mov dword [ecx + 0x18], 0xc0000001
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000001
pop ebp
ret 8

Function at 0x14848
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [0x186b004]
jne 0x1486f
mov ecx, dword [ebp + 0xc]
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x14878
push dword [ebp + 0xc]
push eax
call fcn.0001481e
pop ebp
ret 8

Function at 0x14e06
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00014492
test al, al
je 0x14e1a
pop ebp
jmp fcn.00014c0e
call fcn.0001449e
test al, al
jne 0x14e14
call fcn.00014486
test al, al
je 0x14e32
pop ebp
jmp fcn.00014cf2
xor al, al
pop ebp
ret 8
Function at 0x1625e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp ax, di
jbe 0x162ff
shr eax, 0x10
test ax, ax
jbe 0x162ff
mov eax, dword [ebp + 0x10]
cmp ax, di
jbe 0x16299
shr eax, 0x10
test ax, ax
jbe 0x16299
cmp dword [ebp + 0x1c], edi
jne 0x162a0
mov esi, 0xc0000001
jmp 0x16312
cmp dword [ebp + 0x20], edi
jbe 0x16299
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x20]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0x240
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
jl 0x162ff
push dword [ebp + 0x20]
lea eax, [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
test eax, eax
jl 0x162ff
xor esi, esi
jmp 0x16304
mov esi, 0xc0000001
cmp dword [ebp - 4], edi
je 0x16312
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
mov eax, esi
pop esi
leave
ret 0x1c
Function at 0x16320
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
xor esi, esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
cmp ebx, esi
jne 0x1635f
mov edi, 0xc0000001
jmp 0x16461
cmp ax, si
jbe 0x16439
shr eax, 0x10
test ax, ax
jbe 0x16439
cmp cx, si
jbe 0x16355
shr ecx, 0x10
test cx, cx
jbe 0x16355
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x34]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x240
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
jl 0x16439
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call edi
mov ecx, 0xc0000023
cmp eax, ecx
jne 0x16439
cmp dword [ebx], esi
jne 0x163eb
mov eax, dword [ebp - 8]
mov dword [ebx], eax
mov edi, ecx
jmp 0x1643e
push 0x6b6162
push dword [ebp - 8]
call fcn.0001457a
push eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
je 0x16439
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push esi
push 2
push eax
push dword [ebp - 4]
call edi
test eax, eax
jl 0x16439
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push dword [eax]
call sub.ntoskrnl.exe_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebx], eax
xor edi, edi
jmp 0x1643e
mov edi, 0xc0000001
cmp dword [ebp - 4], 0
je 0x16451
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
and dword [ebp - 4], 0
test esi, esi
je 0x16461
push 0x6b6162
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x165d4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push dword [ebp + 8]
push 1
call dword [sym.imp.ntoskrnl.exe_RtlCheckRegistryKey]
test eax, eax
jl 0x16693
cmp byte [ebp + 0xc], 0
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlWriteRegistryValue]
push esi
push edi
push 4
mov edi, 0x230ce
pop esi
je 0x16673
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
mov dword [ebp + 0xc], 3
call sub.ntoskrnl.exe_memset
add esp, 0xc
xor eax, eax
push eax
push eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push 1
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
call dword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
test eax, eax
jl 0x1665a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x16661
mov dword [ebp + 0xc], 3
push esi
lea eax, [ebp + 0xc]
push eax
push esi
push 0x230be
push dword [ebp + 8]
push 1
call ebx
push esi
lea eax, [ebp + 0xc]
push eax
push esi
push edi
push dword [ebp + 8]
mov dword [ebp + 0xc], 2
push 1
call ebx
push dword [ebp + 8]
call fcn.000165a0
pop edi
pop esi
pop ebx
leave
ret 8