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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x411024]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
jne 0x401974
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402e09
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040345d
add esp, 4
test eax, eax
jne 0x401a5e
push esi
push 1
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.00403b73
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp eax, 0x30307353
jne 0x4019ca
push 1
push 0xfffffffffffffffc
push esi
call fcn.00403f7f
call fcn.00401860
mov ecx, dword [eax]
push esi
push 1
lea edx, [ebp - 0x10]
push 4
push edx
mov dword [ebp - 0x10], ecx
call fcn.00403ce7
add esp, 0x1c
jmp 0x401a4d
cmp eax, 0x34333231
jne 0x401a33
push esi
push 1
lea eax, [ebp - 0x10]
push 8
push eax
call fcn.00403b73
add esp, 0x10
mov eax, 8
xor ecx, ecx
lea esp, [esp]
mov edx, dword [ebp + ecx - 0x10]
cmp edx, dword [ecx + 0x40f2bc]
jne 0x401a26
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x4019f0
push 1
push 0xfffffffffffffff4
push esi
call fcn.00403f7f
call fcn.00401860
push esi
push 1
push 0xc
push eax
call fcn.00403ce7
add esp, 0x1c
jmp 0x401a4d
push 1
push 0xfffffffffffffff8
push esi
call fcn.00403f7f
add esp, 0xc
push esi
call fcn.0040345d
add esp, 4
test eax, eax
jne 0x401a5e
push 1
push 0xfffffffffffffffd
push esi
call fcn.00403f7f
add esp, 0xc
push esi
call fcn.0040345d
add esp, 4
test eax, eax
je 0x401985
push esi
call fcn.00404068
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 4
mov eax, 1
call fcn.00402e09
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xa0e285b
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x327e35a5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0xf28058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf281a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf2807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf2806a
add dl, dl
jne 0xf28089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf280dc
xor eax, eax
add dl, dl
jne 0xf28096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf2817d
add dl, dl
jne 0xf280a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf280b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf280bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf280c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf280d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf28075
mov eax, 1
add dl, dl
jne 0xf280ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf280f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf280e1
sub eax, ebx
mov ebx, 1
jne 0xf28128
mov ecx, 1
add dl, dl
jne 0xf2810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf28119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf28105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf28075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf2813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf2814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf28136
cmp eax, 0x7d00
jae 0xf2816d
cmp eax, 0x500
jb 0xf28168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf28075
cmp eax, 0x7f
ja 0xf28170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf28075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf2819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf28075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x106c6
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 2
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx + 0x60]
push edi
jne 0x106f4
mov esi, dword [ebx + 0x18]
test esi, esi
jne 0x107bc
mov eax, 0xc0000022
mov dword [ebx + 0x18], eax
mov esi, eax
jmp 0x107bc
cmp dword [ebp + 0x10], 1
jne 0x107b7
push 0
push dword [ebp + 8]
call fcn.0001058e
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x10716
mov eax, 0xc0000001
jmp 0x106ea
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x10746
cmp byte [ebx + 0x23], 1
jle 0x10746
mov esi, dword [ebx + 0x60]
push 9
lea edi, [esi - 0x24]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebp + 0x14]
sub eax, 0x24
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x20], ecx
mov byte [eax + 3], 0xe0
jmp 0x107a8
inc byte [ebx + 0x23]
add dword [ebx + 0x60], 0x24
test edi, edi
je 0x107a8
push 0x31565244
push 0x1c
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
jne 0x1076e
mov eax, 0xc000009a
jmp 0x106ea
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esi + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov cl, byte [esi + 3]
mov byte [eax + 0x18], cl
mov ecx, dword [ebx + 0x60]
sub ecx, 0x24
mov dword [ecx + 0x1c], 0x104d8
mov dword [ecx + 0x20], eax
mov byte [ecx + 3], 0xe0
mov ecx, dword [ebp + 0x10]
mov edx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov esi, eax
jmp 0x107c6
xor esi, esi
mov dword [ebx + 0x18], esi
xor dl, dl
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x10812
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x34548
call dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
call fcn.00013036
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x1093a
call fcn.0001244c
mov edi, eax
cmp edi, ebx
jne 0x1093a
call fcn.000151f6
mov edi, eax
cmp edi, ebx
jne 0x1093a
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x19d36
lea eax, [ebp - 8]
push eax
call esi
push 0x1ac0c
push 1
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
call ebx
mov edi, eax
test edi, edi
jne 0x1093a
push 0x19ce6
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
test edi, edi
jne 0x1093a
push 0x19d12
lea eax, [ebp - 8]
push eax
call esi
push 0x1ac10
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp + 8]
call ebx
mov edi, eax
test edi, edi
jne 0x1093a
push 0x19cca
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x1093a
push 0x1ac00
push 1
push eax
push 0x22
push eax
push eax
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x10932
mov eax, dword [0x1ac00]
or dword [eax + 0x1c], 0x10
push 0x19cfa
lea eax, [ebp - 0x18]
push eax
call esi
push 0x34544
lea eax, [ebp - 0x18]
push eax
push dword [0x1ac00]
call dword [sym.imp.ntoskrnl.exe_IoAttachDevice]
mov edi, eax
test edi, edi
jne 0x1093a
jmp 0x10942
push dword [ebp + 8]
call fcn.0001060e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10c4c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
xor ebx, ebx
test al, al
je 0x10ca7
push 0x31565244
push 0x18
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edx, eax
cmp edx, ebx
je 0x10d7a
push 6
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0xc]
push 1
push edx
mov dword [edx + 0x14], eax
mov dword [edx + 8], 0x10b94
mov dword [edx + 0xc], edx
mov dword [edx], ebx
call dword [sym.imp.ntoskrnl.exe_ExQueueWorkItem]
jmp 0x10d7a
push esi
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 3
call dword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov esi, eax
cmp esi, ebx
je 0x10d79
push 0x31565244
push 0x59
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
cmp edi, ebx
je 0x10d6f
push 0x59
push ebx
push edi
call sub.ntoskrnl.exe_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
push ebx
push ebx
push ebx
mov dword [edi], eax
push 0x55
lea eax, [edi + 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x10d67
push eax
call dword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov ecx, 0x10bbc
mov eax, ecx
test eax, eax
mov eax, dword [esi + 0x60]
je 0x10d2e
sub eax, 0x24
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edi
mov byte [eax + 3], 0xe0
jmp 0x10d3a
sub eax, 0x24
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov byte [eax + 3], bl
mov eax, dword [esi + 0x60]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, 0x24
mov dword [eax + 0x18], edx
mov byte [eax], 0xf
mov byte [eax + 1], 0xc
mov dword [eax + 0x14], ecx
mov edx, esi
mov dword [eax + 4], 3
mov dword [eax + 8], ebx
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x10d79
push ebx
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x14d0a
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ecx, 0x34540
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ebx, 0x1b4e0
mov ecx, ebx
mov byte [ebp - 1], al
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
push 0
push dword [ebp + 8]
call fcn.0001344c
test eax, eax
jne 0x14d45
mov esi, 0xc0000034
jmp 0x14dc9
mov eax, dword [eax + 0x154]
test eax, eax
je 0x14dc4
mov ecx, dword [eax + 4]
mov edx, dword [0x1b500]
push edi
mov edi, 0xfff
test ecx, ecx
je 0x14d68
mov esi, dword [eax]
mov dword [ecx], esi
jmp 0x14d7f
movzx esi, word [eax + 0x10]
movzx ecx, word [eax + 0x18]
add ecx, esi
add ecx, dword [eax + 0x14]
mov esi, dword [eax]
add ecx, dword [eax + 0xc]
and ecx, edi
mov dword [edx + ecx*4], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x14d8b
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 6]
mov dword [eax + 0xc], esi
movzx esi, word [ecx + 4]
movzx ecx, word [eax + 0x18]
add ecx, dword [eax + 0x14]
mov word [eax + 0x10], si
add ecx, esi
add ecx, dword [eax + 0xc]
xor esi, esi
and ecx, edi
lea ecx, [edx + ecx*4]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx]
pop edi
cmp edx, esi
je 0x14dbd
mov dword [edx + 4], eax
mov dword [ecx], eax
mov dword [eax + 4], esi
jmp 0x14dc9
mov esi, 0xc000000d
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
mov dl, byte [ebp - 1]
mov ecx, 0x34540
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x151f6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
push 0x1b4f8
call edi
mov ebx, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push 0x31565244
mov esi, 0x4000
push esi
push 0
call ebx
mov dword [0x1b4fc], eax
test eax, eax
jne 0x1522d
mov esi, 0xc000009a
jmp 0x152a3
push esi
push 0
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x1b4e0
call edi
push 0x31565244
push esi
xor edi, edi
push edi
call ebx
mov dword [0x1b500], eax
cmp eax, edi
jne 0x1525b
mov esi, 0xc000009a
jmp 0x15293
push esi
push edi
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push edi
push 1
push 0x1b4e4
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push edi
push 0x14fce
push edi
push edi
push edi
push 0x1f03ff
push 0x1b4f4
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov esi, eax
cmp esi, edi
je 0x152b3
mov eax, dword [0x1b4fc]
cmp eax, edi
je 0x152a3
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, dword [0x1b500]
test eax, eax
je 0x152b3
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1592c
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push 1
push dword [ebp + 8]
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0001572e
cmp eax, esi
jl 0x15988
push edi
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
push 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp eax, esi
pop edi
jge 0x1598d
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
leave
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x1597d
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
jmp 0x1597d

Function at 0x159a6
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1abdc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call sub.ntoskrnl.exe_memset
push 4
push 0x19e14
push esi
call dword [sym.imp.ntoskrnl.exe__wcsnicmp]
add esp, 0x18
test eax, eax
je 0x15a08
xor eax, eax
movzx ecx, word [eax + 0x19e14]
mov word [ebp + eax - 0x804], cx
inc eax
inc eax
test cx, cx
jne 0x159f2
mov eax, esi
mov edx, esi
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x15a0c
sub eax, edx
lea edi, [ebp - 0x804]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x15a20
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0x800
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [ebp - 0x80a], ax
lea eax, [ebp - 0x804]
pop edi
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x15a50
and dword [ebp - 0x820], 0
and dword [ebp - 0x814], 0
and dword [ebp - 0x810], 0
sub eax, edx
sar eax, 1
add eax, eax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x824], 0x18
mov dword [ebp - 0x818], 0x240
mov dword [ebp - 0x81c], eax
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
test al, al
je 0x15ab9
mov eax, 0xc0000184
jmp 0x15ac5
lea eax, [ebp - 0x824]
push eax
call sub.ntoskrnl.exe_ZwDeleteFile
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00019878
leave
ret 4
Function at 0x15ad8
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.0001592c
test eax, eax
jge 0x15b03
mov eax, 0xc0000001
jmp 0x15b98
mov eax, dword [ebp + 0x18]
cmp eax, esi
je 0x15b0f
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push 1
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.0001572e
cmp eax, esi
jl 0x15b98
push ebx
mov ebx, dword [ebp - 8]
push edi
push ebx
push 0x8000000
push 4
lea eax, [ebp - 0x14]
push eax
push esi
push 6
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov edi, eax
cmp edi, esi
jge 0x15b4e
push ebx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x15b83
push 4
push 0x100000
push 2
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push dword [ebp + 0x14]
mov dword [ebp - 0xc], esi
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
cmp edi, esi
jge 0x15b87
push dword [ebp - 4]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwClose]
call esi
push ebx
call esi
mov eax, edi
jmp 0x15b96
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 0x14
Function at 0x1730a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x1abdc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x34
lea eax, [ebp - 0x250]
push esi
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x254], esi
call sub.ntoskrnl.exe_memset
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call sub.ntoskrnl.exe_memset
xor eax, eax
mov word [ebp - 0x21c], ax
mov eax, 0x20a
mov word [ebp - 0x21a], ax
add esp, 0x18
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], eax
push esi
lea eax, [ebp - 0x21c]
push esi
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x254]
push eax
xor ebx, ebx
push 0x1a0dc
inc ebx
push esi
mov dword [ebp - 0x250], 0x20
mov dword [ebp - 0x24c], 0x1a0bc
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], 0x19eb6
mov dword [ebp - 0x23c], esi
call dword [sym.imp.ntoskrnl.exe_RtlQueryRegistryValues]
test eax, eax
jl 0x173f3
lea eax, [ebp - 0x210]
mov edx, edi
mov ecx, eax
mov dword [ebp - 0x214], ebx
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, si
jne 0x173e5
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x214]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00019878
leave
ret 4

Function at 0x17508
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.ntoskrnl.exe_RtlCheckRegistryKey]
test eax, eax
jge 0x1752b
mov al, 1
pop esi
pop ebx
leave
ret 4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x17530
sub eax, edx
sar eax, 1
add eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp - 8]
add eax, 2
mov word [ebp - 6], ax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0xf003f
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0x240
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jge 0x17589
xor al, al
jmp 0x17525
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
test eax, eax
jge 0x175a3
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, bl
jmp 0x17525
mov bl, 1
jmp 0x17596
Function at 0x17fda
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor eax, eax
push eax
push 0x17f86
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
leave
ret

Function at 0x3463e
Capabilities:
Create device object
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00034605
pop ebp
jmp fcn.00019368

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10007ff2
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c
Function at 0x961caf
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ebx + ebp]
btc dx, dx
mov edx, dword [esp + 2]
lea esp, [esp + 2]
jmp 0x961cf3
mov al, 0x8e
push word [esp + 2]
jmp 0x961cd2
mov edx, dword [esp + 2]
lea esp, [esp + 2]
jmp 0x961cf3
jp 0x961c96
lea eax, [ebx + ebp]
btc dx, dx
jmp 0x961cb8
btc dx, cx
jns 0x961d34
bswap eax
push word [esp + 3]
jmp 0x961dea
lea esp, [esp + 4]
inc bl
push ebp
mov eax, 0xeb94827c
mov al, bh
jmp 0x961cdd
bswap eax
push word [esp + 3]
call fcn.00961d72
invalid
lea esp, [esp + 2]
jmp 0x961dd4

Function at 0x96fd3f
Capabilities:
Encode data using xor

Disassembly:
mov si, dx
mov bl, cl
mov ebx, eax
push eax
mov ebx, 0xf070544d
xchg esi, eax
jmp 0x96fcc3
mov bx, 0x22c1
mov dword [esp], esi
mov bl, 0x27
mov ebx, 0xdb92015
xchg bh, bl
mov bx, word [esp]
jmp 0x96fcd9
mov byte [esp + 2], bl
mov bx, 0x16e6
jmp 0x96fd05

Function at 0x987251
Capabilities:
Encrypt data using speck

Disassembly:
push 0x3e
push esi
jmp 0x9872c2
call fcn.009873f6
rcr byte [ebx], 1
mov dh, 0x60
jno 0x952cc8
pushal
cld
cdq
cmpsd dword [esi], dword es:[edi]
pop es
ficom dword [esi + ebx*4 - 0x17]
or cl, ch
adc al, 0x46
add eax, dword [eax]
fidiv dword [edi]
int1
sub eax, 0x61b143c9
clc
test al, 0xcb
bound esp, qword [0x6795687a]
ljmp 1
xchg dword [esi], ebp
cmp dword [esi + reloc.MSVCRT.dll_strncpy], edi
call 0x3be8c810
adc cl, byte [ebp - 0x636cce4]
jmp 0x9873a2
cmp dword [ebp + 0xc], 2
jmp 0x9873c0
lea esp, [esp + 4]
lea edx, [ecx + 0x41]
jmp 0x952c74
mov edx, 0x92af2407
jmp 0x98723a
mov esi, ebp
lea esi, [esi + 8]
mov ecx, dword [esi]
pop esi
jmp 0x9872d0
mov byte [ecx], dl
cmc
jmp 0x98730e
lea ecx, [esi + 0x41]
jmp 0x952d0b
cmp esi, 0x1a
jae 0x952c8a
jb 0x9872f8
sahf
add eax, 0xbf0ffc95
sub byte [esi + 0xabe4324], dh
daa
dec esi
and eax, edx
lea ebx, [ecx*4]
bswap ebx
mov ebx, eax
jmp 0x952c20
cmp esi, eax
push edi
lea esp, [esp + 1]
lea esp, [esp + 3]
jmp 0x9873d6
mov dh, byte [esp]
jmp 0x98741f
setne cl
lea ecx, [ecx*4 + 0x2b]
jmp 0x952d0b
push ecx
mov ecx, ebp
lea ecx, [ecx + 8]
jmp 0x9873fd

Function at 0x98736f
Capabilities:
Encrypt data using speck

Disassembly:
xor ecx, ecx
stc
cmp esi, eax
jmp 0x987380
or ah, byte [edi]
lea esp, [esp + 4]
jae 0x952cee
mov ch, bh
call fcn.00987359
jae 0x952cd8
push edx
mov ecx, 0x3072fffc
jb 0x9873b8
jp 0x987382
outsb dx, byte [esi]
or eax, edi
dec edi
push esp
aad 0x45
sub al, 0xdf
sbb ah, al
ja 0x987324
and al, 4
lea ecx, [esi + 0x47]
jmp 0x952d0b
lea ecx, [esi - 4]
jmp 0x952d0b