joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027800
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x10325476
ret

Function at 0x14002c490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp qword [rsp + 0x20], 0
jne 0x14002c4ae
mov dword [rsp], 0xffffffff
jmp 0x14002c507
mov eax, dword [0x1400358a0]
mov dword [rsp], eax
cmp dword [rsp + 0x28], 0
je 0x14002c507
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
and eax, 0xff
cdqe
lea rcx, [0x1400354a0]
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14002c4be
mov eax, dword [rsp]
mov dword [0x1400358a0], eax
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x18
ret
Function at 0x140142e05
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140204340
push rdi
sub rsp, 0x10
mov dword [rsp], 0
jmp 0x140204357
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x140204579
movsxd rax, dword [rsp]
lea rcx, [0x140424800]
movzx eax, byte [rcx + rax]
mov byte [rsp + 4], al
movzx eax, byte [rsp + 4]
shl eax, 3
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 2
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 4
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 2
movzx edx, byte [rsp + 4]
sar edx, 6
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 6
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
xor eax, ecx
movzx ecx, byte [rsp + 4]
xor eax, ecx
shl eax, 8
movzx ecx, byte [rsp + 4]
shl ecx, 3
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
xor ecx, edx
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 3
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
shl edx, 2
movzx r8d, byte [rsp + 4]
sar r8d, 6
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
movzx r8d, byte [rsp + 4]
sar r8d, 6
and r8d, 2
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
movzx edx, byte [rsp + 4]
shl edx, 1
movzx r8d, byte [rsp + 4]
sar r8d, 7
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
shl ecx, 0x18
or eax, ecx
mov dword [rsp + 8], eax
movzx eax, byte [rsp + 4]
shl eax, 3
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 2
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 4
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 1
movzx edx, byte [rsp + 4]
sar edx, 7
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
xor eax, ecx
movzx ecx, byte [rsp + 4]
xor eax, ecx
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 0x20
mov ecx, dword [rsp + 8]
or rax, rcx
movzx ecx, byte [rsp + 4]
or rax, rcx
movsxd rcx, dword [rsp]
lea rdx, [0x1404d5180]
mov qword [rdx + rcx*8], rax
jmp 0x14020434f
mov byte [0x1404d5981], 1
add rsp, 0x10
pop rdi
ret
Function at 0x140143189
Capabilities:
Create thread

Disassembly:
jmp 0x1401d9840
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x1404bf098]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14050b302]
call fcn.14014b6cc
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14014428c
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140146438
nop
lea rax, [0x140147cc5]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140148076
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1401d991a
lea rcx, [rbp + 8]
call fcn.1401458a8
jmp 0x1401d9933
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401435f3
nop
lea rcx, [rbp + 8]
call fcn.1401455ab
lea rcx, [rbp - 0x30]
lea rdx, [0x1403fda30]
call fcn.140149aed
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401461fe
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1401437fb
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
jmp 0x1402aa670
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov eax, dword [rsp + 0x88]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*4]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14014c4cd
mov dword [rsp + 0x20], 4
mov eax, dword [rsp + 0x88]
lea eax, [rax*4 - 4]
mov dword [rsp + 0x24], eax
jmp 0x1402aa6d8
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
sub eax, 4
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x1402aa759
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx + rax*4]
aesimc xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx + rax*4]
aesimc xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rcx + rax*4], xmm0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rcx + rax*4], xmm0
jmp 0x1402aa6c2
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx + rax*4]
aesimc xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rcx + rax*4], xmm0
add rsp, 0x70
pop rdi
ret
Function at 0x140145d85
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140204240
push rdi
sub rsp, 0x10
mov dword [rsp], 0
jmp 0x140204257
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x1402042f6
movsxd rax, dword [rsp]
lea rcx, str.cw
movzx eax, byte [rcx + rax]
mov byte [rsp + 4], al
movzx eax, byte [rsp + 4]
shl eax, 8
movzx ecx, byte [rsp + 4]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 1
movzx edx, byte [rsp + 4]
sar edx, 7
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
shl ecx, 0x18
or eax, ecx
mov dword [rsp + 8], eax
movzx eax, byte [rsp + 4]
shl eax, 1
movzx ecx, byte [rsp + 4]
sar ecx, 7
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
xor eax, ecx
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 0x20
mov ecx, dword [rsp + 8]
or rax, rcx
movsxd rcx, dword [rsp]
lea rdx, [0x1404d4970]
mov qword [rdx + rcx*8], rax
jmp 0x14020424f
mov eax, 8
imul rax, rax, 0x101
lea rcx, [0x1404d4970]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 0x100
lea rcx, [0x1404d4970]
mov qword [rcx + rax], 0
mov byte [0x1404d5980], 1
add rsp, 0x10
pop rdi
ret
Function at 0x140146d9d
Capabilities:
Terminate process

Disassembly:
jmp 0x1403a2530
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1401472fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1402eee00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x1402eee2e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp], rax
jae 0x1402eee91
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp + 8], al
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 8]
mov byte [rax], cl
jmp 0x1402eee23
add rsp, 0x10
pop rdi
ret
Function at 0x14014839b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403a38b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1403a38d0
xor al, al
jmp 0x1403a3951
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403a38e3
xor al, al
jmp 0x1403a3951
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1403a390d
xor al, al
jmp 0x1403a3951
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1403a3921
xor al, al
jmp 0x1403a3951
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1403a3933
xor al, al
jmp 0x1403a3951
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1403a394f
xor al, al
jmp 0x1403a3951
mov al, 1
add rsp, 0x38
ret
Function at 0x140149561
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x140278020
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0x10325476
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0xc3d2e1f0
pop rdi
ret

Function at 0x140149a39
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x1402787d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov r8d, 0x20
lea rdx, [0x1404191e0]
mov rcx, qword [rsp + 0x30]
call fcn.140146280
add rsp, 0x20
pop rdi
ret
Function at 0x14014bbdb
Capabilities:
Create thread

Disassembly:
jmp 0x1401d96d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x1404bf098]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14050b302]
call fcn.14014b6cc
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14014a0e7
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401466b8
nop
lea rax, [0x140147103]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401438f0
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1401d97aa
lea rcx, [rbp + 8]
call fcn.14014bd2a
jmp 0x1401d97c3
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401435f3
nop
lea rcx, [rbp + 8]
call fcn.140141eb5
lea rcx, [rbp - 0x30]
lea rdx, [0x1403fd9b0]
call fcn.140149aed
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401461fe
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14014bc3a
Capabilities:
Print debug messages

Disassembly:
jmp 0x1403a03b8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140148d87
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x14045e2b0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140146019
test eax, eax
jne 0x1403a044f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1403a044f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1403a0448
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1404d44d0], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x14014c7ca
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401e0ae0
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14050b311]
call fcn.14014b6cc
movsx eax, byte [rbp + 0xe8]
mov ecx, dword [rbp + 0xe0]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140018f45
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
call fcn.140037b90
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
lea rax, str.Kernel32
mov rcx, rax
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rbp - 0x20], rax
lea rdx, [0x140295020]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_CreateRemoteThread
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x140019001
mov qword [rbp - 8], 0
jmp 0x14001904e
nop
mov rax, qword [rbp - 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call sub.KERNEL32.dll_WaitForSingleObject
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_GetExitCodeThread
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x140019e26
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0
call fcn.140037b90
mov rdx, qword [rbp + 0x18]
lea rax, [rbp + 0x18]
mov rcx, rax
call fcn.140037c00
mov rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.140037c00
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegCreateKeyExW
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140019f33
mov rax, qword [rbp + 0x20]
mov r10, rax
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x30], rax
jmp 0x140019f34
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.140038000
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.140038000
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret

Function at 0x14001b292
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
call fcn.140037b90
mov qword [rbp - 8], 0
mov qword [rbp - 0x18], 0
mov rax, qword [rbp + 0x10]
mov r8, rax
mov edx, 0
mov ecx, 1
call sub.KERNEL32.dll_OpenProcess
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x14001b31d
mov rax, qword [rbp - 0x18]
mov edx, 1
mov rcx, rax
call sub.KERNEL32.dll_TerminateProcess
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
je 0x14001b30a
mov qword [rbp - 8], 1
jmp 0x14001b30b
nop
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x30], rax
jmp 0x14001b31e
nop
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
nop
mov rax, qword [rbp - 0x10]
add rsp, 0x50
pop rbp
ret
Function at 0x14001fcf8
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xa8], 0
call fcn.140037b90
mov rax, qword [rbp + 0xd0]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140037c00
mov qword [rbp + 0xa0], 0
mov rdx, rbp
mov eax, 0
mov ecx, SafeArrayGetElemsize
mov rdi, rdx
rep stosq qword [rdi], rax
mov qword [rbp + 0x98], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x24], 0
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 1
mov rax, qword [rbp + 0xd8]
and eax, 2
test rax, rax
je 0x14001fdaa
mov word [rbp + 0x40], 0
jmp 0x14001fdb1
nop
mov word [rbp + 0x40], 1
mov rax, rbp
mov qword [rbp + 0x90], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xd0]
mov rdx, rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov ecx, 0
call sub.KERNEL32.dll_CreateProcessW
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0xa0], rax
cmp qword [rbp + 0xa0], 0
je 0x14001fea6
mov rax, qword [rbp + 0xd8]
and eax, 1
test rax, rax
je 0x14001fe95
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x98], rax
mov ecx, 1
call fcn.1400281f4
mov qword [rbp + 0x78], rax
lea rax, [rbp - 0x24]
mov qword [rbp + 0x70], rax
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x98]
mov rcx, rax
call sub.KERNEL32.dll_GetExitCodeThread
mov qword [rbp + 0x68], rax
mov eax, dword [rbp - 0x24]
cmp eax, 0x103
jne 0x14001fe98
nop
jmp 0x14001fe5b
nop
jmp 0x14001fe99
nop
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0xa8], rax
jmp 0x14001feb2
nop
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call fcn.140038000
mov rax, qword [rbp + 0xa8]
add rsp, 0x138
pop rdi
pop rbp
ret
Function at 0x140021510
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x140000000], 0x5a4d
je 0x14002154d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x1400215db
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140021571
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400215db
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x1400215b8
cmp ecx, 0x20b
je 0x140021590
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400215db
cmp dword [rax + 0x84], 0xe
ja 0x1400215a4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400215db
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x1400215db
cmp dword [rax + 0x74], 0xe
ja 0x1400215c9
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400215db
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x14029a820], 0xffffffffffffffff
mov qword [0x14029a840], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x140299590]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x140299594]
mov dword [rcx], eax
call fcn.1400217f0
cmp dword [0x14029a860], 0
jne 0x140021635
lea rcx, [0x140021800]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x14004f0c8]
lea rcx, [0x14004f0c0]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x140299598]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x14029959c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x14004f0b8]
lea rcx, [0x14004f0b0]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x1400216d6
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x1400216c6
cmp al, 0x22
je 0x1400216c6
jmp 0x1400216b0
cmp byte [r8], 0x22
jne 0x1400216e6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x1400216e6
cmp byte [r8], 0x20
jbe 0x1400216e6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x1400216d6
movzx eax, byte [r8]
test al, al
je 0x1400216fc
cmp al, 0x20
ja 0x1400216fc
inc r8
mov qword [rsp + 0x30], r8
jmp 0x1400216e6
test byte [rsp + 0x8c], 1
je 0x140021711
movzx r9d, word [rsp + 0x90]
jmp 0x140021717
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.140020359
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x140021733
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x140021757
mov eax, edi
jmp 0x140021760
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret