joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002880
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x10002891
pop edi
xor eax, eax
pop ebx
pop ecx
ret
lea ecx, [edi*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edi*8]
lea ecx, [edx + edx*2]
shl ecx, 1
sub eax, ecx
sub eax, 2
je 0x100028c3
sub eax, 2
jne 0x100028c6
add edx, 2
jmp 0x100028c6
add edx, 3
mov ebx, dword [esp + 0x1c]
lea eax, [edx + 1]
cmp dword [ebx], eax
jae 0x100028dc
mov dword [ebx], eax
pop edi
mov eax, 0xfffffff0
pop ebx
pop ecx
ret
mov eax, 0x55555556
mov ecx, dword [esp + 0x18]
imul edi
mov eax, edx
push ebp
shr eax, 0x1f
add edx, eax
xor ebp, ebp
push esi
lea eax, [edx + edx*2]
test eax, eax
jle 0x1000299a
lea edx, [eax + 2]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov bl, byte [eax]
inc eax
mov esi, ebx
xor ebx, ebx
mov bl, byte [eax]
inc eax
mov ebp, ebx
xor ebx, ebx
mov bl, byte [eax]
inc eax
mov edi, ebx
mov ebx, esi
sar ebx, 2
and ebx, 0x3f
inc ecx
shl esi, 4
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], bl
mov ebx, ebp
sar ebx, 4
add ebx, esi
mov esi, edi
sar esi, 6
and ebx, 0x3f
inc ecx
lea esi, [esi + ebp*4]
and edi, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and esi, 0x3f
mov byte [ecx - 1], bl
inc ecx
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], bl
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x10002914
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
cmp ebp, edi
jge 0x100029e5
xor edx, edx
inc ebp
mov dl, byte [eax]
cmp ebp, edi
mov esi, edx
jge 0x100029a0
xor edx, edx
mov dl, byte [eax + 1]
mov eax, edx
jmp 0x100029a2
mov eax, dword [esp + 0x18]
jmp 0x10002982
xor eax, eax
mov edx, esi
sar edx, 2
and edx, 0x3f
inc ecx
shl esi, 4
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], dl
mov edx, eax
sar edx, 4
add edx, esi
and edx, 0x3f
inc ecx
cmp ebp, edi
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], dl
jge 0x100029dd
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
jmp 0x100029e0
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [esp + 0x20]
mov edx, ecx
sub edx, eax
pop esi
pop ebp
mov dword [ebx], edx
pop edi
mov byte [ecx], 0
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10002a00
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor edx, edx
xor esi, esi
cmp ebp, edx
push edi
mov dword [esp + 0x10], edx
jle 0x10002b35
mov ebx, dword [esp + 0x18]
mov edi, ebp
cmp edi, 2
jl 0x10002a3e
xor eax, eax
mov al, byte [edx + ebx]
cmp eax, 0x2f72
jne 0x10002a3e
xor ecx, ecx
mov cl, byte [edx + ebx + 1]
cmp ecx, 0x2f6e
je 0x10002a75
mov cl, byte [edx + ebx]
mov eax, ecx
and eax, 0xff
cmp eax, 0x2f6e
je 0x10002a75
cmp cl, 0x3d
jne 0x10002a5a
inc esi
cmp esi, 2
jg 0x10002aa8
cmp cl, 0x7f
ja 0x10002aa8
mov al, byte [eax + 0x10009320]
cmp al, 0x7f
je 0x10002aa8
cmp al, 0x40
jae 0x10002a71
test esi, esi
jne 0x10002aa8
inc dword [esp + 0x10]
inc edx
dec edi
cmp edx, ebp
jl 0x10002a1f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10002b35
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*2]
mov esi, dword [ecx]
lea eax, [eax + eax + 7]
sar eax, 3
cmp esi, eax
jae 0x10002ab3
pop edi
pop esi
mov dword [ecx], eax
pop ebp
mov eax, 0xfffffff0
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffee
pop ebx
pop ecx
ret
mov ebp, dword [esp + 0x20]
xor ecx, ecx
xor esi, esi
mov edi, 3
test edx, edx
jle 0x10002b29
mov dword [esp + 0x1c], edx
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x2f72
je 0x10002b1d
cmp eax, 0x2f6e
je 0x10002b1d
mov al, byte [eax + 0x10009320]
xor edx, edx
cmp al, 0x40
sete dl
and eax, 0x3f
sub edi, edx
shl ecx, 6
or eax, ecx
inc esi
cmp esi, 4
mov ecx, eax
jne 0x10002b1d
xor esi, esi
test edi, edi
jle 0x10002b06
shr eax, 0x10
mov byte [ebp], al
inc ebp
cmp edi, 1
jle 0x10002b14
mov edx, ecx
shr edx, 8
mov byte [ebp], dl
inc ebp
cmp edi, 2
jle 0x10002b1d
mov byte [ebp], cl
inc ebp
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x1c], eax
jne 0x10002ac8
mov eax, dword [esp + 0x20]
sub ebp, eax
mov eax, dword [esp + 0x24]
mov dword [eax], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x100037a0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x643450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x157000]
push edi
jmp 0x64346a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x643471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x643460
mov eax, 1
add ebx, ebx
jne 0x643483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x643494
jne 0x6434b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6434b3
dec eax
add ebx, ebx
jne 0x6434a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x643478
add ebx, ebx
jne 0x6434af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x643505
xor ecx, ecx
sub eax, 3
jb 0x6434cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x64353a
sar eax, 1
mov ebp, eax
jmp 0x6434d6
add ebx, ebx
jne 0x6434d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6434a4
inc ecx
add ebx, ebx
jne 0x6434e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6434a4
add ebx, ebx
jne 0x6434f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6434e6
jne 0x643502
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6434e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x643524
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x643516
jmp 0x643466
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x643524
add edi, ecx
jmp 0x643466
pop esi
mov edi, esi
mov ecx, 0x1979
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x643542
cmp byte [edi], 0xa
jne 0x643542
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x643547
lea edi, [esi + 0x23e000]
mov eax, dword [edi]
or eax, eax
je 0x6435bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2699b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x269b68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x643574
mov ecx, edi
jns 0x6435a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x269b70]
or eax, eax
je 0x6435b9
mov dword [ebx], eax
add ebx, 4
jmp 0x643591
call dword [esi + 0x269b6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6435f0
cmp al, 0xef
ja 0x6435e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6435c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6435d2
mov ebp, dword [esi + 0x269b74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x643624
sub esp, 0xffffff80
jmp 0x416a28
Function at 0x10f02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
cmp word [0x1dc28], si
jne 0x10f1e
mov eax, 0xc0000001
jmp 0x1104f
lea eax, [ebp - 0x28]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0x240
mov dword [ebp - 0x20], 0x1dc28
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, esi
jl 0x1104f
push ebx
push 0x644e7652
push 0x14
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
cmp ebx, esi
jne 0x10f77
mov eax, 0xc000009a
jmp 0x1104e
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push 0x10e98
lea eax, [ebp - 0x10]
push eax
call esi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea eax, [ebp - 8]
push eax
push 0x14
push ebx
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jl 0x10fbe
cmp byte [ebx + 0xc], 0
mov eax, dword [ebp + 8]
je 0x10fb7
and dword [eax + 0xa0], 0xfffffffb
jmp 0x10fbe
or dword [eax + 0xa0], 4
push 0x10ec8
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp - 8]
push eax
push 0x14
push ebx
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jl 0x10ff8
cmp byte [ebx + 0xc], 0
mov eax, dword [ebp + 8]
je 0x10ff1
and dword [eax + 0xa0], 0xfffffffa
jmp 0x10ff8
or dword [eax + 0xa0], 1
push 0x10ee8
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp - 8]
push eax
push 0x14
push ebx
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call edi
test eax, eax
pop edi
jl 0x11033
test byte [ebx + 0xc], 1
mov eax, dword [ebp + 8]
je 0x1102c
or dword [eax + 0xa0], 2
jmp 0x11033
and dword [eax + 0xa0], 0xfffffffd
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwClose]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
pop ebx
pop esi
leave
ret 4
Function at 0x11ac2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
test al, al
jbe 0x11adc
mov eax, 0xc00000bb
jmp 0x11bda
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebx + 0x60]
mov eax, dword [edi + 8]
cmp eax, 0x2c
jae 0x11af7
mov eax, 0xc0000023
jmp 0x11bd7
mov esi, dword [ebx + 0xc]
cmp dword [esi + 0xc], 0
jbe 0x11b10
cmp dword [esi + 0x14], 0x2c
jae 0x11b10
mov eax, 0xc000000d
jmp 0x11bd7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00011728
xor eax, eax
cmp eax, dword [ebp - 0xc]
ja 0x11b2f
jb 0x11aed
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 0x10]
jb 0x11aed
mov edi, dword [edi + 4]
xor eax, eax
cmp eax, dword [ebp - 4]
ja 0x11b40
jb 0x11aed
cmp edi, dword [ebp - 8]
jb 0x11aed
mov ax, word [esi]
mov word [ebp - 0x3c], ax
mov al, byte [esi + 2]
mov byte [ebp - 0x3a], al
mov al, byte [esi + 3]
mov byte [ebp - 0x39], al
mov al, byte [esi + 4]
mov byte [ebp - 0x38], al
mov al, byte [esi + 5]
mov byte [ebp - 0x37], al
mov al, byte [esi + 6]
mov byte [ebp - 0x36], al
mov al, byte [esi + 7]
mov byte [ebp - 0x35], al
mov al, byte [esi + 8]
mov byte [ebp - 0x34], al
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x14]
add eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x24], eax
add esi, 0x1c
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
push eax
movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.000118d0
test eax, eax
jl 0x11bd7
mov eax, dword [ebx + 0xc]
mov cl, byte [ebp - 0x3a]
mov byte [eax + 2], cl
mov eax, dword [ebx + 0xc]
mov cl, byte [ebp - 0x35]
mov byte [eax + 7], cl
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00011728
mov eax, dword [ebp - 8]
mov dword [ebx + 0x1c], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x14a47
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
and dword [ebp + 0x74], 0
push esi
push 0x149de
lea eax, [ebp + 0x74]
call fcn.00014966
mov esi, eax
test esi, esi
jl 0x14b2d
push edi
push dword [0x1d804]
mov edi, dword [sym.imp.ntoskrnl.exe_sprintf]
lea eax, [ebp - 0x1c]
push 0x14a0a
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x74]
call fcn.00014966
mov esi, eax
test esi, esi
jl 0x14b2c
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x14a1a
lea eax, [ebp + 0x64]
push eax
call esi
movzx eax, word [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
shr eax, 1
lea eax, [ecx + eax*2]
jmp 0x14ac6
dec eax
dec eax
cmp word [eax], 0x5c
je 0x14acc
cmp eax, ecx
jne 0x14abe
jmp 0x14ace
inc eax
inc eax
push eax
lea eax, [ebp + 0x6c]
push eax
call esi
movzx eax, word [ebp + 0x6c]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x64]
push 1
push 0
push eax
push dword [ebp + 0x74]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push 0
lea eax, [ebp - 0x1c]
push 0x14a2a
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x74]
call fcn.00014966
mov esi, eax
test esi, esi
jl 0x14b2c
push 0x14a36
lea eax, [ebp + 0x74]
call fcn.00014966
mov esi, eax
test esi, esi
jl 0x14b2c
push dword [ebp + 0x74]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x15820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
push edi
push esi
push esi
push 0x1d930
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x200
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [0x1d944], esi
mov dword [0x1d948], esi
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push 0x1d940
call dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
push esi
push 0x157c6
push esi
mov eax, 0x1d94c
mov dword [0x1d950], eax
mov dword [0x1d94c], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov edi, eax
cmp edi, esi
jl 0x158b5
push esi
push 0x1d948
push esi
push esi
push 0x1f03ff
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x17059
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x18
lea eax, [esi + 0x84]
push eax
call fcn.00018510
test eax, eax
jne 0x17084
push str.NvRaidTimerQueueEvent:_Failed_to_allocate_TimerEvent_n
call sub.ntoskrnl.exe_DbgPrint
pop ecx
mov eax, 0xc000009a
jmp 0x170cd
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x14], ecx
mov ecx, dword [esi + 0x7c]
push edi
jmp 0x170b3
mov edx, dword [eax + 0x10]
mov edi, dword [ecx + 0x10]
cmp edx, edi
jb 0x170d2
sub edx, edi
mov dword [eax + 0x10], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x170a2
and dword [eax], ecx
lea ecx, [esi + 0x80]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov edx, dword [ecx]
mov dword [edx], eax
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
mov edx, dword [eax + 0x10]
sub dword [ecx + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov dword [ecx + 4], eax
jmp 0x170ca
Function at 0x1a1a1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [eax + 0x60], esi
jne 0x1a1bc
push eax
push dword [ebp + 8]
call fcn.000188d6
cmp eax, esi
jl 0x1a21c
cmp dword [ebx + 0x60], esi
jne 0x1a1ce
push ebx
push dword [ebp + 8]
call fcn.000188d6
cmp eax, esi
jl 0x1a21c
cmp dword [ebp + 0x10], esi
push edi
je 0x1a215
cmp dword [0x1d9e8], 0
je 0x1a1e7
mov esi, 0x200
cmp dword [ebp + 0x10], esi
jae 0x1a1ea
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.00018719
mov edi, eax
test edi, edi
je 0x1a221
mov eax, dword [ebp + 0xc]
push esi
push edi
push dword [eax + 0x60]
call fcn.00015b1a
push esi
push edi
push dword [ebx + 0x60]
call fcn.00015b1a
sub dword [ebp + 0x10], esi
jne 0x1a1d4
or byte [ebx + 0x39], 2
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
push str.NvRaidParityAllocateBufferForStripeNrp:_nvrAllocBuffer_Failed_n
call sub.ntoskrnl.exe_DbgPrint
pop ecx
mov eax, 0xc0000017
jmp 0x1a21b

Function at 0x1a233
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
mov cl, byte [ebx + 0x4e]
mov esi, eax
mov eax, dword [ebx + 0x40]
and cl, 7
cmp cl, 7
mov dword [ebp - 0xc], eax
je 0x1a29a
test esi, esi
je 0x1a271
shl esi, 9
push esi
shl edi, 9
push edi
push dword [ebp + 0xc]
push eax
call fcn.00015eaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x54]
shl ecx, 9
push ecx
push eax
push dword [ebp + 8]
call fcn.0001a1a1
test eax, eax
je 0x1a268
push str.NvRaidParityAllocateScatterGatherBufferForStripeNrp:_NvRaidParityAllocateBufferForStripeNrp_Failed_n
call sub.ntoskrnl.exe_DbgPrint
pop ecx
mov eax, 0xc0000017
jmp 0x1a26a
cmp word [ebx + 0x56], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x54]
mov dword [ebp - 4], eax
je 0x1a2e9
test eax, eax
je 0x1a2e9
test esi, esi
je 0x1a2c4
movzx edx, word [ebx + 0x54]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jae 0x1a2e9
sub ecx, edx
mov dword [ebp - 8], ecx
jmp 0x1a2c9
mov dword [ebp - 8], eax
mov ecx, eax
test ecx, ecx
je 0x1a2e9
shl ecx, 9
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0001a1a1
test eax, eax
jne 0x1a288
mov eax, dword [ebp - 8]
sub dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x1a30c
test eax, eax
je 0x1a30c
mov eax, esi
shl eax, 9
push eax
shl edi, 9
push edi
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.00015eaa
sub dword [ebp - 4], esi
mov eax, dword [ebp - 4]
mov cx, word [ebx + 0x56]
test cx, cx
je 0x1a268
test eax, eax
je 0x1a268
test esi, esi
je 0x1a340
movzx eax, word [ebx + 0x54]
movzx ecx, cx
add eax, ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + esi]
cmp edx, eax
jae 0x1a268
sub eax, ecx
sub eax, esi
test eax, eax
je 0x1a268
shl eax, 9
push eax
push dword [ebp + 0xc]
jmp 0x1a27c
Function at 0x1ebd2
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + 0x28]
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_sprintf]
push edi
mov edi, dword [eax + 0x34]
and dword [ebp + 0x7c], 0
push 0
push dword [0x1d804]
lea eax, [ebp - 0x24]
push 0x1eb28
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x7c]
call fcn.00014966
mov ebx, eax
test ebx, ebx
jl 0x1ed0b
mov eax, dword [edi]
movzx eax, byte [eax + 8]
push eax
lea eax, [ebp - 0x24]
push 0x1eb6c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x7c]
call fcn.00014966
mov ebx, eax
test ebx, ebx
jl 0x1ed0b
push 0
lea eax, [ebp - 0x24]
push 0x1eb7c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x7c]
call fcn.00014966
mov ebx, eax
test ebx, ebx
jl 0x1ed0b
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x1eb90
lea eax, [ebp + 0x64]
push eax
call ebx
mov esi, dword [edi]
push 7
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x5c]
add esi, 0x1c
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
and byte [ebp - 8], 0
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
push 1
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x6c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
movzx eax, word [ebp + 0x6c]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x64]
push 1
push 0
push eax
push dword [ebp + 0x7c]
call esi
lea eax, [ebp + 0x6c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
push 0x1eba8
lea eax, [ebp + 0x64]
push eax
call ebx
push 0x1ebb4
lea eax, [ebp + 0x6c]
push eax
call ebx
movzx eax, word [ebp + 0x6c]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x64]
push 1
push 0
push eax
push dword [ebp + 0x7c]
call esi
push dword [ebp + 0x7c]
mov ebx, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x74
leave
ret 4

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x77a87ef6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x427c6021
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10076000]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0xa6a98bb9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0xa6a98bb9
je 0x10001083
jmp 0x1000106b
mov eax, dword [ebp - 0x24]
sub eax, 0x3640c742
je 0x10001095
jmp 0x1000107e
jmp 0x100010e0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x3640c742
jmp 0x100010e0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x82
sub byte [edi], 0x44
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x100010ac
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100169f0
add esp, 0x1c
pop edi
pop ebx
pop ebp
ret
jmp 0x10001055
Function at 0x10008990
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse pe header

Disassembly:
jmp 0x10016045
push ebp
adc eax, ecx
bsr eax, esp
shld ebp, edx, 0x1b
mov ebp, esp
rcr ah, 0x10
shl eax, cl
inc al
push ebx
test cl, 0x25
shr ah, 0xb2
bt ax, dx
push edi
sbb ax, sp
shl ah, 0
push esi
sub esp, 0x134
movsx ax, al
shl ah, cl
mov eax, dword [0x10076000]
test esp, 0x9619ad0f
xor eax, ebp
test ebx, ebp
cmp bp, ax
stc
mov dword [ebp - 0x10], eax
mov eax, 0xba5871e
mov dword [ebp - 0x13c], 0xc5fe9d16
dec eax
sbb al, ch

Function at 0x10019dc3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10019e02
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10019e02
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10019e02
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10019e02
cmp dword [ecx + 0x74], 0xe
jbe 0x10019e02
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret