joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403059
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403084
mov ecx, dword [0x424798]
push esi
add eax, ecx
push esi
push eax
mov dword [0x4178dc], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403161
cmp eax, esi
jl 0x40315b
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00405ce5
test eax, eax
je 0x40314b
push dword [ebp + 8]
add dword [0x4178dc], 4
call fcn.00403161
mov ebx, eax
cmp ebx, esi
jl 0x403159
cmp dword [ebp + 0x10], esi
jne 0x403127
cmp dword [ebp + 8], esi
jle 0x403159
mov esi, 0x4138d8
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x4030e9
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00405ce5
test eax, eax
je 0x40314b
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00405d14
test eax, eax
je 0x403123
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x4178dc], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4030d8
jmp 0x403159
push 0xfffffffffffffffe
jmp 0x40314d
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403132
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403150
push 0xfffffffffffffffd
pop eax
jmp 0x40315b
mov ebx, dword [ebp - 4]
add dword [0x4178dc], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10

Function at 0x4038a2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004034b3
push eax
push esi
push dword [ebp + 8]
call fcn.00403468
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004034b3
push eax
push esi
push dword [ebp + 8]
call fcn.00403468
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004034a3
jmp 0x88cefedf

Function at 0x405773
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x422538], 0x44
push eax
xor eax, eax
push 0x422538
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4057b2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x100011e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x10013004]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10011b50]
lea eax, [ebp - 0xed]
push esi
push edi
movups xmmword [ebp - 0x128], xmm0
xor esi, esi
xor edi, edi
movaps xmm0, xmmword [0x10011b40]
push 0xc5
movups xmmword [ebp - 0x118], xmm0
push esi
movaps xmm0, xmmword [0x10011b60]
push eax
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf8], 0x415c7265
mov dword [ebp - 0xf4], 0x6e617664
mov word [ebp - 0xf0], 0x6563
mov byte [ebp - 0xee], 0x64
call fcn.10002a30
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push 3
push esi
lea eax, [ebp - 0x128]
push eax
push 0x80000001
call dword [0x1000d008]
test eax, eax
jne 0x10001466
push ebx
mov byte [ebp - 6], al
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x134], 4
push eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x12c], esi
push eax
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x130], 4
push eax
push dword [ebp - 0x138]
mov dword [ebp - 0xc], 0x64646948
mov word [ebp - 8], 0x6e65
mov dword [ebp - 0x13c], esi
call dword [section..rdata]
mov ebx, dword [0x1000d004]
test eax, eax
jne 0x10001328
cmp dword [ebp - 0x12c], 2
je 0x1000131e
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 2
push eax
push 4
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x138]
call ebx
test eax, eax
mov eax, 1
cmove edi, eax
mov dword [ebp - 0x13c], edi
jmp 0x10001328
mov dword [ebp - 0x13c], 1
lea eax, [ebp - 0x130]
mov dword [ebp - 0x12c], esi
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x140], esi
push eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x18], 0x65646948
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x656c6946
push eax
push dword [ebp - 0x138]
mov dword [ebp - 0x10], 0x747845
call dword [section..rdata]
test eax, eax
jne 0x100013b1
cmp dword [ebp - 0x12c], 1
je 0x100013a7
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 1
push eax
push 4
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x138]
call ebx
test eax, eax
jne 0x100013b1
lea edi, [eax + 1]
mov dword [ebp - 0x140], 1
movaps xmm0, xmmword [0x10011b30]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 2
push eax
lea eax, [ebp - 0x134]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x138]
movups xmmword [ebp - 0x28], xmm0
call dword [section..rdata]
test eax, eax
jne 0x10001429
cmp dword [ebp - 0x12c], ebx
je 0x10001429
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], ebx
push eax
push 4
push ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x138]
call dword [0x1000d004]
test eax, eax
jne 0x1000142e
mov ebx, 1
mov edi, ebx
jmp 0x1000142e
mov ebx, 1
cmp dword [ebp - 0x13c], esi
je 0x10001448
cmp dword [ebp - 0x140], esi
je 0x10001448
test ebx, ebx
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x138]
call dword [0x1000d00c]
pop ebx
test edi, edi
je 0x10001466
push 0
push 0x10001070
call dword [0x1000d158]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10001b90
mov esp, ebp
pop ebp
ret
Function at 0x44b610
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardType]
push 0
call esi
cmp eax, 7
jne 0x44b624
push 1
call esi
mov ecx, dword [sym.imp.KERNEL32.dll_RaiseException]
mov al, 2
mov byte [0x660220], al
mov byte [0xa62704], al
mov eax, 0xd7b0
mov dword [0x660238], ecx
mov word [0xa6275c], ax
mov word [0xa6275e], ax
mov word [0x660634], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x660268], eax
call esi
and eax, 0x80000000
cmp eax, 0x80000000
je 0x44b678
call esi
cmp al, 4
ja 0x44b67e
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x660264], eax
pop esi
ret
Function at 0x4ae9e3
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
inc esp
aaa
pop ss
fucompi st(2)
salc
aaa
sbb byte [ecx], dh
inc eax
mov bl, 0x64
inc edx
insd dword es:[edi], dx
adc al, 0xb2
aaa
movsb byte es:[edi], byte [esi]
mov eax, dword [0xd33374f5]
sar dword [ebx + 0x10e3b4e7], cl
push esp
Function at 0x4fb263
Capabilities:
Encode data using xor

Disassembly:
push ss
lds ebp, [0x34f218d]
xor dh, cl
pop ebx
inc esp
xchg esp, eax
pop es
invalid
aad 0x87
xor dword [ebx], esp
wait
mov dword [0x5c2c3eee], eax
leave
test eax, 0xb067766e
add byte [ebx + 0x10], al
dec eax
xchg edx, eax
popfd
mov cl, byte [ecx - 0x53a9506f]
popfd
jne 0x4fb213
movsb byte es:[edi], byte [esi]
jecxz 0x4fb280
xor dword [esi], ecx
sbb al, 0xc2
xchg edx, eax
pop ds
jns 0x4fb2ca
das
popfd
xlatb
sahf
stosb byte es:[edi], al
mov edx, 0xdd1947b7
pop ecx
mov al, byte [0xce530329]
inc edi
rol dword [edi - 0x758044e3], 1
dec esp
pop es
rcl dword [edx - 0x222d1489], cl
push es
and eax, 0x4207ca37
xor al, 0xc7
stc
js 0x4fb291
dec ebp
jno 0x4fb27f
jg 0x4fb276
int3
je 0x4fb2e6
dec ecx
sal byte [edi - 0x8b78853], 0x8a
xlatb
invalid
or eax, 0x7c89ec87
into
mov ah, byte [edx + 0xd]
pushfd
xor byte [ebp - 0x57], dh
pop esi
adc eax, 0xebf7919f
add ah, byte [edi + 0x1e]
lahf
mov ecx, dword [edi - 0x725882d9]
salc
mov esp, 0x229354c8
cmc
test eax, 0xb5f55fac
aaa
cmp dword [ebx], edi
adc ah, byte [eax - 0x22]
fsub dword [edx + 0x1a]
pop edi
dec ebx
int3
Function at 0x10046b10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aabc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10206f54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x10046b59
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
cmp dword [0x1020154c], 0
jne 0x10046b70
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x10046bbd
mov eax, dword [esi]
test eax, eax
je 0x10046b42
cmp dword [esi + 4], 0
je 0x10046b42
push eax
call fcn.1014f320
add esp, 4
push dword [esi + 4]
call fcn.1014f320
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x10046bae
push eax
call fcn.1014f320
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x10046bf5
push eax
call fcn.1014f320
jmp 0x10046bf2
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call fcn.1014f320
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
call fcn.1014f320
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
call fcn.1014f320
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1014f320
add esp, 4
push 8
call fcn.1014f320
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10046c30
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1014f320
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100e9a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ac81e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10206f54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
call sym.AIDE.dll_public:_void___thiscall_AIDE::PaletteInfo::constructor_void_
mov ecx, dword [edi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.100eb170
mov dword [esi], eax
lea ecx, [edi + 0x28]
mov dword [esi + 4], 3
mov dword [esi + 8], 0
mov dword [ecx], 8
mov dword [edi + 0x30], 8
mov dword [edi + 0x2c], 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 8
mov ecx, dword [edi + 0x14]
call fcn.100eb150
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1014f320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1014f32f
pop dword [ebp - 0x30]
mov eax, 0x41399343
sub eax, 0x3124a014
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x9b6d2477
sub dword [ebp - 0x40], 0x4d1adf2c
mov dword [ebp - 0x3c], 0x93687aef
add dword [ebp - 0x3c], 0x9ecad156
mov dword [ebp - 0x38], 0xc874f0a5
add dword [ebp - 0x38], 0x83d75389
mov dword [ebp - 0x34], 0x7725803c
sub dword [ebp - 0x34], 0x7725803c
lea eax, [ebp - 0x40]
push eax
mov eax, 0xdf2a1bf2
add eax, 0x30f0e436
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x48afc1eb
add dword [ebp - 0x40], 0x2bc2a76b
mov dword [ebp - 0x3c], 0x97a5b882
add dword [ebp - 0x3c], 0xa9c6a8f3
mov dword [ebp - 0x38], 0xebeb7186
add dword [ebp - 0x38], 0x7783fae6
mov dword [ebp - 0x34], 0x37953f6a
add dword [ebp - 0x34], 0xc86ac096
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x6664f
push 0
call eax
mov ecx, 0xe1d861b8
add ecx, 0x1e27d7ba
mov ebx, eax
mov esi, 0x94c302c8
add esi, 0x7b5f7138
add esi, dword [ebp - 0x30]
mov edi, 0x36a5c38d
add edi, 0x5068e31c
add dword [ebp - 0x20], eax
mov edx, dword [esi]
xor dword [ebp - 0x18], esi
sub edx, edi
add dword [ebp - 4], 0x3d1a660f
mov dword [ebx], edx
sub dword [ebp - 0x2c], eax
add ebx, 4
add esi, 4
loop 0x1014f44c
add eax, 0xd89b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x97198fe7
add ecx, 0x78e67019
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x10151670
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x10151681
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x10181330
push 0x100
push 0
push 0x10209d60
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
nop word [eax + eax]
mov byte [eax + 0x10209e60], al
inc eax
cmp eax, 0x100
jl 0x10181350
push esi
push edi
push 0x100
push 0xff
push 0x10209f60
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0xfe317780
mov edx, 0xfc403180
mov esi, 0xf6b26d80
mov edi, 0xf8a3b8c0
xor eax, eax
nop dword [eax]
mov dword [eax + 0x1020a060], edi
add edi, 0x166e9
mov dword [eax + 0x1020ca60], esi
add esi, 0x1c5a2
mov dword [eax + 0x1020f460], edx
add edx, 0xb6d2
mov dword [eax + 0x10211e60], ecx
add eax, 4
add ecx, 0x581a
cmp eax, 0x29e0
jle 0x10181390
xorps xmm0, xmm0
mov dword [0x10213370], 0
pop edi
movups xmmword [0x10213350], xmm0
mov dword [0x10210970], 0
movups xmmword [0x10213360], xmm0
mov dword [0x1020df70], 0
movups xmmword [0x10210950], xmm0
mov dword [0x1020b570], 0
movups xmmword [0x10210960], xmm0
pop esi
movups xmmword [0x1020df50], xmm0
movups xmmword [0x1020df60], xmm0
movups xmmword [0x1020b550], xmm0
movups xmmword [0x1020b560], xmm0
ret
Function at 0x101656b0
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x101656c1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x101a8720
movss xmm5, dword [0x101ef754]
movss xmm4, dword [0x101ef75c]
movss xmm6, dword [0x101ef750]
movss xmm7, dword [0x101ef748]
movss xmm3, dword [0x101b35f8]
push esi
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x101f2780]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, xmm7
add ecx, eax
mov dword [esi*4 + 0x10214870], ecx
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
mov edx, eax
mulss xmm0, dword [0x101ef758]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x101ef740]
add eax, edx
mov dword [esi*4 + 0x10215070], eax
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, dword [0x101ef74c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x101ef744]
add eax, ecx
mov dword [esi*4 + 0x10214c70], eax
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
mov dword [esi*4 + 0x10215470], eax
mulss xmm0, dword [0x101ef764]
mov dword [esi*4 + 0x10215c70], edx
mov dword [esi*4 + 0x10215870], ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
mov dword [esi*4 + 0x10216070], eax
mulss xmm0, dword [0x101ef768]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
movaps xmm0, xmm2
mov dword [esi*4 + 0x10216470], eax
mulss xmm0, dword [0x101ef76c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1014f320
mov dword [esi*4 + 0x10216870], eax
mulss xmm2, dword [0x101ef760]
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.1014f320
mov dword [esi*4 + 0x10216c70], eax
add esp, 8
inc esi
cmp esi, 0x100
jb 0x101a8750
pop esi
ret
Function at 0x10538
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x105bb
mov eax, dword [sym.imp.ntoskrnl.exe_MmSystemRangeStart]
and esi, 0xfffffff0
cmp esi, dword [eax]
jbe 0x105bb
push ebx
push edi
push esi
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x105b2
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10589
mov edi, dword [esi + 0x3c]
cmp edi, 0x1000
ja 0x10589
lea ebx, [edi + esi]
push ebx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x10589
cmp dword [ebx], 0x4550
je 0x10597
mov eax, dword [sym.imp.ntoskrnl.exe_MmSystemRangeStart]
sub esi, 0x10
cmp esi, dword [eax]
ja 0x10553
jmp 0x105b9
mov eax, dword [edi + esi + 0x50]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp esi, dword [ebp + 8]
jae 0x105ac
add eax, esi
cmp dword [ebp + 8], eax
jb 0x105b9
xor esi, esi
mov dword [ecx], esi
jmp 0x105b9
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1086a
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x1000
mov dword [ebx], edi
mov esi, 0x5446434c
test edi, edi
je 0x10896
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push esi
push dword [ebp - 4]
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
test edi, edi
je 0x108c5
push dword [ebp - 4]
push 0
push edi
call sub.ntoskrnl.exe_memset
add esp, 0xc
push ebx
push dword [ebp - 4]
push edi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [ebp - 8], eax
add dword [ebp - 4], 0x1000
cmp dword [ebp - 8], 0xc0000004
je 0x1088a
cmp dword [ebp - 8], 0
jge 0x108e7
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edi, edi
mov dword [ebx], edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10a46
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea eax, [ebp - 0x24]
push eax
push 0x109ae
push esi
push esi
push esi
push 0x10000000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jl 0x10acf
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [sym.imp.ntoskrnl.exe_PsThreadType]
push esi
push dword [eax]
push 0x100000
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jl 0x10ac6
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov ecx, dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 0x1c]
pop esi
leave
ret 8

Function at 0x11022
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00010e7a
mov edi, eax
cmp edi, esi
jl 0x11063
push esi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x112b2
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push 0x12ec2
lea eax, [ebp - 8]
push eax
call esi
push 0x12e9c
lea eax, [ebp - 0x10]
push eax
call esi
mov esi, dword [ebp + 0xc]
push esi
push 1
push 0
push 0x22
lea eax, [ebp - 8]
push eax
mov edi, 0x434
push edi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov ebx, eax
test ebx, ebx
jl 0x1133c
mov eax, dword [esi]
or dword [eax + 0x1c], 4
mov eax, dword [esi]
and dword [eax + 0x1c], 0xffffff7f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test ebx, ebx
jge 0x1132c
push dword [esi]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
and dword [esi], 0
jmp 0x1133c
mov eax, dword [esi]
push edi
push 0
push dword [eax + 0x28]
call sub.ntoskrnl.exe_memset
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x114d0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax + 0x28]
mov eax, dword [ecx + 0x60]
xor ebx, ebx
push edi
mov edi, dword [ecx + 0xc]
mov dword [ebp + 8], ebx
mov ecx, dword [eax + 4]
xor edx, edx
cmp dword [eax + 8], 4
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
jb 0x11502
mov edx, dword [edi]
xor eax, eax
stosd dword es:[edi], eax
cmp ecx, 4
jb 0x11635
cmp edx, ebx
je 0x11635
mov eax, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
push eax
mov dword [0x13208], eax
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
jne 0x1153b
mov dword [0x13208], ebx
jmp 0x11641
mov eax, dword [0x13208]
cmp dword [eax], ebx
jne 0x1154b
xor eax, eax
mov dword [0x13208], eax
cmp eax, ebx
je 0x11641
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea eax, [ebp - 0x20]
push eax
push 0x108f6
push ebx
push ebx
push ebx
push 0x10000000
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1164d
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push esi
call fcn.000113d4
mov edi, 0x200
push edi
lea eax, [esi + 0x234]
push ebx
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push edi
lea eax, [esi + 0x234]
push eax
push dword [esi + 0x14]
push dword [esi + 8]
call fcn.00011070
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1164d
lea eax, [esi + 0x34]
push eax
mov dword [ebp - 8], eax
lea eax, [esi + 0x234]
push eax
call fcn.00011256
test al, al
je 0x1163c
push edi
push dword [ebp - 8]
push dword [esi + 0x14]
push dword [esi + 8]
call fcn.00011096
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1164d
push edi
lea edi, [esi + 0x234]
push edi
push dword [esi + 0x14]
push dword [esi + 8]
call fcn.00011070
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1164d
mov esi, dword [ebp - 8]
mov ecx, 0x80
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1163c
mov eax, dword [ebp - 0xc]
mov dword [eax], 1
jmp 0x1163c
mov dword [ebp - 4], 0xc000000d
cmp dword [ebp - 4], ebx
jl 0x1164d
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 4
jmp 0x11653
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8