joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140115b40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rsp + 0xe0]
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsxd r8, dword [rcx + 0x108]
lea ecx, [rdx + 4]
mov r11d, ecx
shr r11d, 6
xor eax, eax
mov r10d, 0
cmp r11, r8
jae 0x140115b9f
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 5
and r10d, 0x20
lea ecx, [rdx + 3]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x140115bbb
mov rax, qword [r9 + r11*8]
shr rax, cl
shl eax, 4
and eax, 0x10
or eax, r10d
lea ecx, [rdx + 2]
mov r14d, ecx
shr r14d, 6
xor r10d, r10d
mov r11d, 0
cmp r14, r8
jae 0x140115be5
mov r11, qword [r9 + r14*8]
shr r11, cl
shl r11d, 3
and r11d, 8
or eax, r11d
lea ecx, [rdx + 1]
mov r11d, ecx
shr r11d, 6
cmp r11, r8
jae 0x140115c06
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 2
and r10d, 4
or eax, r10d
mov r11d, edx
shr r11d, 6
xor r10d, r10d
cmp r11, r8
jae 0x140115c28
mov ecx, edx
mov r10, qword [r9 + r11*8]
shr r10, cl
add r10d, r10d
and r10d, 2
or eax, r10d
test edx, edx
je 0x140115c4e
dec edx
mov r10d, edx
shr r10d, 6
xor ecx, ecx
cmp r10, r8
jae 0x140115c4c
mov r8, qword [r9 + r10*8]
xor ecx, ecx
bt r8, rdx
setb cl
or eax, ecx
mov r14d, eax
shr r14d, 5
mov ecx, r14d
dec ecx
neg r14
and ecx, eax
xor eax, 0x3f
mov r15d, r14d
and r15d, eax
or r15d, ecx
mov eax, r15d
shr eax, 1
and r15d, 1
add r15, rax
xor r12d, r12d
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.1400b3c50
mov r8, r12
xor r8, r15
dec r8
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rsi
mov r9, rbx
call fcn.140112c00
inc r12
add rbx, 0xd8
cmp r12, 0x11
jne 0x140115c8a
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x14014d410]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
add rsi, 0x48
mov eax, dword [rdi + 0x148]
test eax, eax
jle 0x140115d5b
xor ecx, ecx
xor edx, edx
or rdx, qword [rsi + rcx*8]
inc rcx
cmp rax, rcx
jne 0x140115cf6
test rdx, rdx
sete dl
test rax, rax
je 0x140115dac
movsxd rcx, eax
mov rax, qword [rdi + 0x140]
xor r8d, r8d
lea r9, [rsp + 0x30]
sub r10, r10
jmp 0x140115d30
mov r10, qword [rax + r8*8]
sbb r10, qword [rsi + r8*8]
mov qword [r9 + r8*8], r10
lea r8, [r8 + 1]
dec rcx
jne 0x140115d30
sbb r10, r10
movsxd rax, dword [rdi + 0x148]
mov ecx, eax
test rax, rax
jle 0x140115d7a
xor r8d, r8d
jmp 0x140115d6f
mov dl, 1
jmp 0x140115d08
xor r9d, r9d
mov qword [rsp + r8*8 + 0x30], r9
inc r8
cmp rcx, r8
je 0x140115d7a
test dl, dl
jne 0x140115d5f
mov r9, qword [rsp + r8*8 + 0x30]
jmp 0x140115d62
test rcx, rcx
je 0x140115dac
and r14d, 1
neg r14
mov rcx, r14
not rcx
xor edx, edx
mov r8, qword [rsp + rdx*8 + 0x30]
and r8, r14
mov r9, qword [rsi + rdx*8]
and r9, rcx
or r9, r8
mov qword [rsi + rdx*8], r9
inc rdx
cmp rax, rdx
jne 0x140115d8e
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400b1b00
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140118de0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 1
call fcn.140092cb0
bt eax, 0x1c
jae 0x140118e22
xor ecx, ecx
call fcn.140092cb0
bt eax, 0x1e
jae 0x140118e22
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140017280
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140016040
Function at 0x140131680
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
je 0x140131693
cmp dword [0x140190bf8], ecx
jle 0x14013169a
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call fcn.1401316e0
test edi, edi
je 0x140131693
cmp byte [rsi + rdi - 1], 0xa
je 0x140131693
lea rcx, str._nl_
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401316e0

Function at 0x1401316e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140131757
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x140131757
add rdi, rax
test ecx, ecx
jne 0x14013171d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b1b00
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14013dc00
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x14013dc3f
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14013dc0f
mov dword [rsi], 7
jmp 0x14013dc0f
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14006ccc0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14013dc1b
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14013dc1b
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x14013dcf1
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x14013dc11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14013dc0f
Function at 0x140001d78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001dc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001dc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001dc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001dc2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001dc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001dc4
xor al, al
add rsp, 0x28
ret
Function at 0x4637f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x4637fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x46380d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x4637f5
lea eax, [rcx + 1]
jmp 0x46381b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x46382e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x463814
sub eax, 3
jb 0x46384e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x46389d
sar eax, 1
movsxd rbp, eax
jb 0x463884
jmp 0x46385c
add ebx, ebx
jne 0x46385a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x463884
inc ecx
add ebx, ebx
jne 0x46386a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x463884
call r11
adc ecx, ecx
add ebx, ebx
jne 0x46387d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x46386c
add ecx, 2
jmp 0x463889
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.004637b2
jmp 0x4637fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x39200
mov dl, 6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x4638ed
cmp rsi, rcx
jae 0x4638f5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x4638d4
cmp al, 0x8f
ja 0x4638d4
cmp byte [rsi - 2], 0xf
je 0x4638da
sub al, 0xe8
cmp al, 1
ja 0x4638be
cmp rsi, rcx
jae 0x4638f5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x4638c4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x4638f5
lodsb al, byte [rsi]
jmp 0x4638d4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x61000]
mov eax, dword [rdi]
or eax, eax
je 0x463952
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x63d88]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x463902
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x46394c
mov qword [rbx], rax
add rbx, 8
jmp 0x463922
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.004639d5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.004639d5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x4639c5
sub rsp, 0xffffffffffffff80
jmp 0x4014c0
Function at 0x140bb0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140bb01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140bb0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb006f
add dl, dl
jne 0x140bb0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb00f6
xor eax, eax
add dl, dl
jne 0x140bb00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb01ad
add dl, dl
jne 0x140bb00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bb00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bb007e
mov eax, 1
add dl, dl
jne 0x140bb0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb00fb
sub eax, ebx
mov ebx, 1
jne 0x140bb014c
mov ecx, 1
add dl, dl
jne 0x140bb012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bb013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bb0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bb0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb015d
cmp eax, 0x7d00
jae 0x140bb019b
cmp eax, 0x500
jb 0x140bb0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb007e
cmp eax, 0x7f
ja 0x140bb019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bb01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140bb007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400014ec
Capabilities:
Terminate process

Disassembly:
push rax
cmp eax, dword [rax]
add bh, bh
jmp qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]

Function at 0x1400033d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov eax, 0x254cdc44
mov ecx, eax
mov qword [rsp + 0x48], 0x6e33d5eb
mov qword [rsp + 0x10], 0x5bc1bf99
mov rdx, qword [rsp + 0x10]
imul r8, rdx, 0xa0bcac1
cmp rcx, r8
mov qword [rsp + 8], rdx
je 0x1400034a2
jmp 0x1400034df
mov rax, qword [rsp + 0x18]
cmp dword [rax], 0x4550
je 0x14000346b
mov eax, 0x6e33c5eb
mov ecx, eax
mov rdx, qword [rsp + 0x30]
add rdx, 0xfffffffffffff000
sub rcx, qword [rsp + 0x48]
and rdx, rcx
mov eax, dword [rsp + 0x54]
xor eax, 0xffffffff
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x40], 0xffffffffda8e66a4
mov qword [rsp + 0x20], rdx
jmp 0x140003475
mov rax, qword [rsp + 0x28]
or rax, 0x18b9f8cb
cmp rax, 0x510314d2
jbe 0x1400034fe
jmp 0x1400034fe
mov rax, qword [rsp + 0x30]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
add rax, 0x48e9b690
mov rcx, qword [rsp + 0x30]
mov dx, word [rcx]
mov qword [rsp + 0x40], rax
cmp dx, 0x5a4d
jne 0x140003419
mov eax, 0x5a2f3a98
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x54]
movsxd rcx, dword [rcx + 0x3c]
mov qword [rsp], rcx
mov ecx, edx
shr eax, cl
mov dword [rsp + 0x54], eax
mov r8, qword [rsp]
add r8, qword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x18], r8
cmp eax, 0x506a5f0c
ja 0x14000340c
jmp 0x1400034a2
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], 0x32efc0df
cmp rax, 0x59962409
jb 0x14000340c
jmp 0x14000344f
lea rax, [fcn.1400033d0]
mov dword [rsp + 0x3c], 0x581a4b86
mov qword [rsp + 0x20], rax
jmp 0x140003475
Function at 0x140001cb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r9, rdx
test rdx, rdx
je 0x140001e5e
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140001e5e
movsxd r13, dword [rdx + 0x3c]
add r13, rdx
cmp dword [r13], 0x4550
jne 0x140001e5e
xor r10d, r10d
movzx r12d, r10w
cmp r10w, word [r13 + 6]
jae 0x140001e5e
lea r11, [0x140030370]
nop word [rax + rax]
movzx eax, r12w
lea rcx, [rax + rax*4]
lea r8, [rcx*8]
lea rdx, [r8 + r13]
mov eax, dword [rdx + 0x12c]
bt eax, 0x19
jb 0x140001e4f
bt eax, 0x1d
jae 0x140001e4f
mov rcx, r10
movzx eax, byte [r11 + rcx]
inc rcx
cmp al, byte [rdx + rcx + 0x107]
jne 0x140001e4f
cmp rcx, 6
jne 0x140001d51
mov r15d, dword [r8 + r13 + 0x114]
mov esi, r10d
mov r14d, dword [r8 + r13 + 0x110]
add r15, r9
test r14d, r14d
je 0x140001e4f
mov rbp, r15
nop
mov edi, r14d
lea rdx, str.48_B8_F8_FF_FF_FF_7F_00_00_00_48_23_C8_48_B8
mov ebx, r10d
sub edi, esi
je 0x140001e35
mov r11, rbp
movzx eax, byte [rdx]
cmp al, 0x20
jne 0x140001dbb
nop
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x20
je 0x140001db0
test al, al
je 0x140001e71
cmp byte [rdx], 0x3f
movzx r10d, byte [r11]
jne 0x140001dd2
cmp byte [rdx + 1], 0x3f
je 0x140001e21
mov word [rsp + 0x58], 0
xor r8b, r8b
nop dword [rax]
movzx r9d, r8b
movzx eax, byte [r9 + rdx]
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x140001df5
sub al, 0x30
jmp 0x140001dff
lea ecx, [rax - 0x41]
cmp cl, 5
ja 0x140001e32
sub al, 0x37
inc r8b
mov byte [rsp + r9 + 0x58], al
cmp r8b, 2
jb 0x140001de0
movzx ecx, byte [rsp + 0x58]
movzx eax, byte [rsp + 0x59]
shl ecx, 4
or ecx, eax
cmp ecx, r10d
jne 0x140001e32
inc ebx
inc r11
add rdx, 2
cmp ebx, edi
jb 0x140001da8
xor r10d, r10d
inc esi
inc rbp
cmp esi, r14d
jb 0x140001d90
mov r9, qword [rsp + 0x48]
lea r11, [0x140030370]
inc r12w
cmp r12w, word [r13 + 6]
jb 0x140001d20
xor al, al
mov rbx, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov eax, esi
add rax, r15
mov qword [rcx], rax
mov al, 1
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x40
mov rcx, qword [rcx + 8]
lea rdx, [0x140030378]
mov r9d, 3
mov r8d, 0xc0000000
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
je 0x140008994
mov rcx, qword [rbx + 0x10]
lea r8, [0x140035a90]
xor edi, edi
lea rdx, str.SystemRootVulnerable1.sys
mov r9d, 0x36c8
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov r9d, eax
test eax, eax
je 0x14000885e
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x720045
mov r8d, 0x3dd
mov dword [rbp - 0x2c], 0x6f0072
mov dword [rbp - 0x28], 0x200072
mov dword [rbp - 0x24], 0x640025
mov dword [rbp - 0x20], 0x300021
mov dword [rbp - 0x1c], 0x250078
mov dword [rbp - 0x18], 0xa0058
mov word [rbp - 0x14], di
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140008996
mov rcx, qword [rbx + 0x10]
lea r8, str.SystemRootVulnerable1.sys
mov r9d, 1
mov dword [rsp + 0x20], 0xffffffff
lea rdx, str._registrymachineSYSTEMCurrentControlSetServicesVulnerable1
mov rax, qword [rcx]
call qword [rax + 0x1e8]
mov r9d, eax
test eax, eax
je 0x1400088f5
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x720045
mov r8d, 0x3e3
mov dword [rbp - 0x2c], 0x6f0072
mov dword [rbp - 0x28], 0x200072
mov dword [rbp - 0x24], 0x640025
mov dword [rbp - 0x20], 0x300021
mov dword [rbp - 0x1c], 0x250078
mov dword [rbp - 0x18], 0xa0058
mov word [rbp - 0x14], di
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
lea rdx, str.SystemRootVulnerable1.sys
mov r8b, 1
mov rax, qword [rcx]
call qword [rax + 0x1b8]
xor al, al
jmp 0x140008996
mov rcx, qword [rbx + 8]
lea rdx, [0x140030378]
mov r9d, 3
mov dword [rsp + 0x20], 0x40
mov r8d, 0xc0000000
mov rax, qword [rcx]
call qword [rax + 0x38]
mov r9d, eax
test eax, eax
je 0x140008994
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x720045
mov r8d, 0x3ea
mov dword [rbp - 0x2c], 0x6f0072
mov dword [rbp - 0x28], 0x200072
mov dword [rbp - 0x24], 0x640025
mov dword [rbp - 0x20], 0x300021
mov dword [rbp - 0x1c], 0x250078
mov dword [rbp - 0x18], 0xa0058
mov word [rbp - 0x14], di
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
lea rdx, str._registrymachineSYSTEMCurrentControlSetServicesVulnerable1
mov r9d, 1
mov dword [rsp + 0x20], 0xffffffff
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x1e8]
jmp 0x1400088d7
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000a890
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret

Function at 0x140023b00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140023b28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140023b28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140149157
Capabilities:
Encode data using xor

Disassembly:
cmp cx, 0x19ee
movabs r13, 0x54ac1e3f06f04912
jl 0x140149173
or cl, 0x45
cmovno r13, rcx
mov r13, qword [rsp + 0x10]
or ecx, ecx
and ecx, 0x6eda1dda
not cl
xor cl, 8
lea rcx, [rcx*8 + 0x2e410686]
xor ecx, 0x71477b09
and cx, 0x2be4
mov rcx, qword [rsp + 0x30]
je 0x14014917a
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x38]
call fcn.14031c7ec

Function at 0x140158271
Capabilities:
Encode data using xor

Disassembly:
mov rbp, qword [rsp + 0x18]
xor r14d, 0x23167ae6
jbe 0x140158276
seto r14b
sub r14, r14
neg r14d
neg r14d
mov r14, qword [rsp + 0x28]
push qword [rsp + 0x20]
popfq
lea rsp, [rsp + 0x30]
call fcn.1402d884e

Function at 0x1401c6ce6
Capabilities:
Encode data using xor

Disassembly:
neg r14b
lea rax, [rax + 0x6f022b3b]
add r14w, 0x5822
jb 0x1401d590e
setns r14b
mov qword [rsp + 0x18], r14
xchg qword [rsp + 0x40], rax
push rdx
movzx r13w, r14w
mov byte [rsp + 0x20], 0x16
mov rdx, r13
sub r15, qword [rsp + 0x20]
push r10
push rsi
mov r13, qword [rsp + 0x28]
mov rsi, r14
add qword [rsp + 0x18], 0x6a3ca
mov r10, qword [rsp + 0x30]
movzx rdi, word [rsp + 0x30]
movzx edi, word [rsp + 0x30]
sub r10b, dl
call fcn.14010a04c
mov rbp, qword [rsp + 0x20]
push rdi
call fcn.14015056c
xor esi, dword es:[rbx + 0x49d29220]
jno 0x1401c6cd9
invalid
xchg qword [rsp + r9*2 - 0x57ae3668], rax
push r9
movsx r10d, r10w
push r14
movabs r14, 0x222d0d0754f52f29
mov r9, qword [rsp + 0x30]
call fcn.140001085

Function at 0x1401dff08
Capabilities:
Encode data using xor

Disassembly:
jo 0x140050d4f
xchg qword [rsp + 0x20], rax
xor qword [rsp + 0x18], 0xef557c9
push r10
mov qword [rsp + 0x20], rax
Function at 0x14078b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14078b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14078b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078b06f
add dl, dl
jne 0x14078b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078b0f6
xor eax, eax
add dl, dl
jne 0x14078b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078b1ad
add dl, dl
jne 0x14078b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14078b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14078b07e
mov eax, 1
add dl, dl
jne 0x14078b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078b0fb
sub eax, ebx
mov ebx, 1
jne 0x14078b14c
mov ecx, 1
add dl, dl
jne 0x14078b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14078b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078b15d
cmp eax, 0x7d00
jae 0x14078b19b
cmp eax, 0x500
jb 0x14078b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078b07e
cmp eax, 0x7f
ja 0x14078b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14078b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14078b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20