joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002cf40
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov qword [rbp - 0x19], rdx
xor ebx, ebx
mov dword [rbp - 0x49], ebx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], bl
mov dword [rbp - 0x49], 1
mov dword [rbp - 9], 0x40
mov dword [rbp - 5], 1
movdqa xmm0, xmmword [0x1401bdba0]
movdqu xmmword [rbp - 0x41], xmm0
movdqa xmm1, xmmword [0x1401bd610]
movdqu xmmword [rbp - 0x31], xmm1
mov byte [rbp - 0x21], 1
mov ecx, ebx
nop
lea eax, [rcx - 0x31]
xor byte [rbp + rcx - 0x41], al
inc rcx
cmp rcx, 0x1f
jb 0x14002cfc0
mov byte [rbp - 0x21], 0
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rbp - 0x41]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [rbp - 0x59], 0xbab2b182
mov dword [rbp - 0x55], 0x91b0baba
mov dword [rbp - 0x51], 0xbdb1a2
mov byte [rbp - 0x4d], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x31]
xor byte [rbp + rbx - 0x59], al
inc rbx
cmp rbx, 0xb
jb 0x14002d020
mov byte [rbp - 0x4d], 0
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 5]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
jne 0x14002d086
test eax, eax
jne 0x14002d086
lea rax, [rbp + 7]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002d070
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000dd50
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140156eb0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140036cf0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x70
movss xmm0, dword [0x1401ee588]
mov rbx, rdx
movss xmm1, dword [0x1401ee58c]
mov rdx, rcx
movss dword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
movss xmm0, dword [0x1401ee590]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [0x1401bd2c0]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.14006e620
mov rcx, qword [0x1401ec560]
cmp byte [rcx + 0x496f], 0
mov r8, qword [rcx + 0x3f50]
je 0x140036d8a
cmp byte [rcx + 0x496e], 0
jne 0x140036d8a
test byte [rcx + 0x47f0], 4
jne 0x140036e5c
mov eax, dword [rcx + 0x4938]
cmp eax, dword [rcx + 0x47ec]
jne 0x140036e5c
test eax, eax
je 0x140036e5c
jmp 0x140036e52
mov eax, dword [rcx + 0x47f4]
test al, 1
je 0x140036e5c
cmp qword [rcx + 0x3f58], r8
je 0x140036da9
test al, al
jns 0x140036e5c
mov eax, dword [rcx + 0x3fb0]
test eax, eax
je 0x140036dce
cmp eax, dword [rcx + 0x47ec]
je 0x140036dce
cmp byte [rcx + 0x3fbd], 0
jne 0x140036dce
cmp eax, dword [r8 + 0x7c]
jne 0x140036e5c
mov rdx, qword [rcx + 0x4930]
test rdx, rdx
je 0x140036e33
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x140036e33
cmp byte [rdx + 0xb7], 0
je 0x140036e33
mov rax, qword [r8 + 0x378]
cmp rdx, rax
je 0x140036e33
mov r9d, dword [rdx + 0x14]
bt r9d, 0x1b
jb 0x140036e0d
bt r9d, 0x1a
jae 0x140036e33
cmp qword [rax + 0x378], rdx
je 0x140036e33
cmp rax, rdx
je 0x140036e33
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x140036e16
test dword [rcx + 0x47f0], 0x100
je 0x140036e5c
test byte [rcx + 0x47f0], 4
jne 0x140036e5c
mov eax, dword [r8 + 0x7c]
cmp dword [rcx + 0x47ec], eax
jne 0x140036e52
cmp byte [r8 + 0xb8], 0
jne 0x140036e5c
mov dword [rcx + 0x4ad0], 7
call fcn.14004a6b0
test al, al
je 0x140036ef0
mov qword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
mov qword [rsp + 0x48], ntohs
lea rdx, [rsp + 0x40]
movabs rax, 0xb000000000000000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, str.start____
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14001c780
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140013a80
add rsp, 0x70
pop rbx
ret
Function at 0x140043410
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14004346d
lea rbx, [0x1401b1370]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140043454
cmp r10, 2
jb 0x140043454
cmp byte [r9], r8b
jne 0x140043454
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140043430
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400434af
lea rbx, [0x1401b1370]
cmp r8b, 0x23
jne 0x140043493
cmp byte [r9], r8b
jne 0x140043493
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140043480
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140046fe0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1401b1370]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f98], ebx
jne 0x140047076
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14005acb0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140047080
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1401b1370]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140053bb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401ec560]
mov edi, ecx
cmp byte [rbx + 0x4ad5], 0
jne 0x140053c11
cmp byte [rbx + 0x4ad6], 0
jne 0x140053c11
movsx r9d, word [rbx + 0x5bfa]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140043270
test dil, 1
je 0x140053d3f
jmp 0x140053c9a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bfa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401bd33c]
mulss xmm1, dword [0x1401bd32c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x4840], rax
mov dword [rbx + 0x482c], 1
movss dword [rbx + 0x4838], xmm0
movss dword [rbx + 0x483c], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x1401bd288]
or dword [rbx + 0x4828], 0x41
movss dword [rbx + 0x4888], xmm0
call fcn.140043270
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140053cf0
lea r11, [0x1401b1370]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140053cd3
cmp byte [r8], r9b
jne 0x140053cd3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140053cc0
not ecx
call fcn.14004ad20
test rax, rax
je 0x140053d3f
cmp byte [rax + 0xb6], 0
je 0x140053d3f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bfa]
movsx r9d, word [rbx + 0x5bfa]
call fcn.140043270
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14004d4b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140156eb0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140059bd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401ec560]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140059c33
mov qword [rsp], rbx
lea rbx, [0x1401b1370]
nop dword [rax]
cmp r9b, 0x23
jne 0x140059c13
cmp byte [r8], r9b
jne 0x140059c13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140059c00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c58]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140059c67
mov r10, qword [r10 + 0x5c60]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140059c6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140059c54
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14007f7e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
mov rcx, rbx
test eax, eax
jne 0x14007f868
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140156eb0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14007f845
nop word [rax + rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14007f8a3
inc rax
test ecx, ecx
jne 0x14007f890
test edx, edx
je 0x14007f8bb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14007f880
jmp 0x14007f845
mov r8d, dword [rsp + 0x28]
test r8d, r8d
je 0x14007f845
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x14007f847
Function at 0x14007f950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x38], 0x61
mov byte [rsp + 0x39], 0x62
mov byte [rsp + 0x3a], 0x63
mov byte [rsp + 0x3b], 0x64
mov byte [rsp + 0x3c], 0x65
mov byte [rsp + 0x3d], 0x66
mov byte [rsp + 0x3e], 0x67
mov byte [rsp + 0x3f], 0x68
mov byte [rsp + 0x40], 0x69
mov byte [rsp + 0x41], 0x6a
mov byte [rsp + 0x42], WSAGetLastError
mov byte [rsp + 0x43], WSAGetLastError
mov byte [rsp + 0x44], WSAGetLastError
mov byte [rsp + 0x45], WSAGetLastError
mov byte [rsp + 0x46], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x47], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x48], WSAStartup
mov byte [rsp + 0x49], WSAStartup
mov byte [rsp + 0x4a], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x4b], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x4c], reloc.WLDAP32.dll_Ordinal_117
mov byte [rsp + 0x4d], 0x76
mov byte [rsp + 0x4e], 0x77
mov byte [rsp + 0x4f], 0x78
mov byte [rsp + 0x50], 0x79
mov byte [rsp + 0x51], 0x7a
lea rdx, [0x1401840bc]
mov rcx, qword [rsp + 0x90]
call fcn.14000d2d0
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
jmp 0x14007fa22
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jge 0x14007fa7c
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, reloc.WLDAP32.dll_Ordinal_26
idiv ecx
mov eax, edx
cdqe
movzx r8d, byte [rsp + rax + 0x38]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140085db0
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.140011e80
lea rcx, [rsp + 0x58]
call fcn.140011e70
jmp 0x14007fa18
mov rax, qword [rsp + 0x90]
add rsp, 0x88
ret
Function at 0x140081170
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140081212
mov rcx, qword [rsp + 0x180]
call fcn.14000c4b0
lea rcx, [rsp + 0x5c]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400811e4
inc rcx
test dl, dl
jne 0x1400811d1
xor eax, eax
jmp 0x1400811e9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400811fe
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x14008121f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400811bc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140156eb0
add rsp, 0x178
ret

Function at 0x140081240
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x178
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x104
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov r8d, dword [rsp + 0x180]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400812e9
xor al, al
jmp 0x140081330
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [0x140161330]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp qword [rsp + 0x40], 0
je 0x14008132e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140156eb0
add rsp, 0x178
ret
Function at 0x140086f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rbx, r8d
mov rdi, r9
mov eax, ebx
mov rsi, rdx
and eax, 0x80000007
jge 0x140086f58
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jne 0x140086fca
mov rcx, rbx
mov qword [rsp + 0x30], r14
mov dword [r9], ebx
call fcn.1401579b0
mov r9, rax
test ebx, ebx
jle 0x140086f90
mov rdx, rax
sub rsi, rax
mov r8, rbx
nop dword [rax]
movzx ecx, byte [rsi + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140086f80
cmp ebx, dword [rdi]
jge 0x140086fb2
lea rcx, [rbx + rax]
lea rdx, [rcx - 1]
nop dword [rax]
movzx eax, byte [rdx]
lea rcx, [rcx + 1]
xor al, 0xcc
inc ebx
mov byte [rcx - 1], al
cmp ebx, dword [rdi]
jl 0x140086fa0
mov r14, qword [rsp + 0x30]
mov rax, r9
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rdx, [0x1401d3a18]
mov dword [rsp + 0x50], 8
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140086ff0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rbx, r9
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rbx
mov byte [rcx], 0
call fcn.140086f30
mov r9, qword [rsp + 0x40]
mov r10, rax
mov qword [rsp + 0x38], rax
movzx ecx, byte [rax]
mov byte [r9 + 0xc], cl
movzx ecx, byte [rax + 1]
mov byte [r9 + 0xd], cl
movzx ecx, byte [rax + 2]
mov byte [r9 + 0xe], cl
movzx eax, byte [rax + 3]
mov byte [r9 + 0xf], al
movzx eax, byte [r10 + 4]
mov byte [r9 + 0x10], al
movzx eax, byte [r10 + 5]
mov byte [r9 + 0x11], al
movzx eax, byte [r10 + 6]
mov byte [r9 + 0x12], al
movzx eax, byte [r10 + 7]
mov byte [r9 + 0x13], al
mov eax, 8
movsxd r11, dword [rbx]
mov dword [rsp + 0x30], eax
cmp r11d, eax
jle 0x14008719b
mov qword [rsp + 0x90], rbp
lea rcx, [r10 + 0xa]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x48], rcx
nop dword [rax]
nop dword [rax + rax]
movzx ebx, byte [rcx - 2]
mov r8d, eax
movzx edi, byte [rcx - 1]
mov rdx, r10
movzx esi, byte [rcx]
movzx ebp, byte [rcx + 1]
movzx r14d, byte [rcx + 2]
movzx r15d, byte [rcx + 3]
movzx r12d, byte [rcx + 4]
movzx r13d, byte [rcx + 5]
mov rcx, r9
call fcn.140087220
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
movzx eax, byte [r9 + 0xc]
xor byte [rcx - 2], al
mov byte [r9 + 0xc], bl
movzx eax, byte [r9 + 0xd]
xor byte [rcx - 1], al
mov rbx, qword [rsp + 0x50]
mov byte [r9 + 0xd], dil
movzx eax, byte [r9 + 0xe]
xor byte [rcx], al
mov byte [r9 + 0xe], sil
movzx eax, byte [r9 + 0xf]
xor byte [rcx + 1], al
mov byte [r9 + 0xf], bpl
movzx eax, byte [r9 + 0x10]
xor byte [rcx + 2], al
mov byte [r9 + 0x10], r14b
movzx eax, byte [r9 + 0x11]
xor byte [rcx + 3], al
mov byte [r9 + 0x11], r15b
movzx eax, byte [r9 + 0x12]
xor byte [rcx + 4], al
mov byte [r9 + 0x12], r12b
movzx eax, byte [r9 + 0x13]
xor byte [rcx + 5], al
add rcx, 8
mov eax, dword [rsp + 0x30]
add eax, 8
mov byte [r9 + 0x13], r13b
movsxd r11, dword [rbx]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], rcx
cmp eax, r11d
jl 0x1400870b0
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
movzx r8d, byte [r11 + r10 - 1]
lea rcx, [r10 - 1]
movsxd rax, r11d
mov edx, r11d
add rcx, rax
nop
dec edx
lea rcx, [rcx - 1]
cmp byte [rcx], r8b
je 0x1400871b0
movsxd rcx, edx
lea eax, [rdx - 8]
sub rcx, 8
mov dword [rbx], eax
call fcn.1401579b0
xor r8d, r8d
mov rdi, rax
mov rax, qword [rsp + 0x38]
cmp dword [rbx], r8d
jle 0x140087204
mov r9, rax
mov rcx, rdi
sub r9, rdi
nop word [rax + rax]
movzx edx, byte [r9 + rcx + 8]
inc r8d
mov byte [rcx], dl
lea rcx, [rcx + 1]
cmp r8d, dword [rbx]
jl 0x1400871f0
mov rcx, rax
call fcn.1401575a0
mov rax, rdi
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x1400877e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [0x1401e78e0]
lea rsi, [0x140000000]
xor r10d, dword [rcx + 4]
mov ebx, 2
mov eax, dword [rcx + 8]
mov r11, rcx
lea edi, [rbx + 6]
nop
mov ecx, r10d
shr rcx, 0x10
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
mov r9d, dword [rsi + rdx*4 + 0x1e8110]
add r9d, dword [rsi + rcx*4 + 0x1e7d10]
mov ecx, r10d
shr rcx, 8
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rsi + rdx*4 + 0x1e8910]
add r9d, dword [rsi + rcx*4 + 0x1e8510]
lea ecx, [rbx - 1]
xor r9d, dword [rsi + rcx*4 + 0x1e78e0]
xor eax, r9d
mov ecx, eax
shr rcx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [rsi + rdx*4 + 0x1e8110]
add r8d, dword [rsi + rcx*4 + 0x1e7d10]
mov ecx, eax
shr rcx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [rsi + rdx*4 + 0x1e8910]
add r8d, dword [rsi + rcx*4 + 0x1e8510]
mov ecx, ebx
add ebx, 2
xor r8d, dword [rsi + rcx*4 + 0x1e78e0]
xor r10d, r8d
sub rdi, 1
jne 0x140087810
xor eax, dword [0x1401e7924]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [r11 + 4], eax
mov dword [r11 + 8], r10d
ret
Function at 0x1400897a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xor eax, eax
mov qword [rcx], rax
mov ecx, 0xe0
call fcn.140157168
mov rdi, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, vtable.kjellkod::Active.0
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x58], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.140157168
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rbx + 0x28]
lea edx, [rbp + 2]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [rbx + 0x78]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
movups xmmword [rdi + 0xc8], xmm0
mov byte [rdi + 0xd8], bpl
mov qword [rsi], rdi
mov dword [rsp + 0x30], 1
lea ecx, [rbp + 0x10]
call fcn.140157168
mov qword [rax], rdi
lea rcx, [0x140089520]
mov qword [rax + 8], rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 3
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14008edf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140089905
mov rcx, qword [rsi]
cmp dword [rcx + 0xd0], ebp
jne 0x1400898fe
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rcx + 0xc8], xmm1
cmp dword [rsp + 0x48], ebp
jne 0x1400898fe
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140156eb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3