joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d380
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1404e9520]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1404e9268], 0
je 0x14005d3b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1404e9800]
aesenc xmm0, xmmword [0x1404e9810]
aesenc xmm0, xmmword [0x1404e9820]
movq rax, xmm0
ret
jmp 0x1400094a0

Function at 0x14008a7b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14048ee20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14008a7d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14008a7d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14008a7d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14008a825
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14008a81c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14008a7d0
add rax, 0x28
cmp rax, r9
jne 0x14008a808
xor eax, eax
ret

Function at 0x14008a830
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14048ee20]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14008a850
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14008a858
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14008a850
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x14008a8e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14048ee20]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14008a900
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14008a908
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1800029a0
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbx
push rbp
sub rsp, 0x58
mov rax, qword [0x18003e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 + 0x18], rsi
mov rsi, rcx
mov qword [r11 + 0x20], rdi
mov ecx, 0x50
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x28], r15
mov r15, rdx
call fcn.18000b4a4
xor r12d, r12d
xorps xmm0, xmm0
mov rbp, 0xffffffffffffffff
mov rdi, rax
mov rbx, rbp
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
mov qword [rax + 0x48], r12
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
inc rbx
cmp byte [rsi + rbx], r12b
jne 0x180002a15
cmp rbx, 0xf
ja 0x180002a53
cmp qword [rax + 0x18], 0xf
mov qword [rsp + 0x48], r14
mov r14, rdi
jbe 0x180002a36
mov r14, qword [rax]
mov r8, rbx
mov qword [rax + 0x10], rbx
mov rdx, rsi
mov rcx, r14
call fcn.18002ad70
mov byte [r14 + rbx], r12b
mov r14, qword [rsp + 0x48]
jmp 0x180002a61
mov r9, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180008090
mov rax, qword [rsp + 0x90]
lea r8, [0x1800027b0]
mov qword [rdi + 0x38], rax
mov r9, rdi
lea rax, [rsp + 0x30]
mov qword [rdi + 0x20], r12
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
mov byte [rdi + 0x28], r12b
mov qword [rdi + 0x40], r12
mov qword [rdi + 0x48], r12
mov qword [rdi + 0x30], r12
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0x1770
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x80]
test eax, eax
je 0x180002ae4
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x180002ad5
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x180002ae4
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [rdi + 0x28], 0
je 0x180002b0c
mov r8, qword [rdi + 0x20]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x180002afb
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, r15
call fcn.1800050b0
mov ebp, 1
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x88]
test rbx, rbx
je 0x180002b27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000b1e0
add rsp, 0x58
pop rbp
pop rbx
ret
Function at 0x18000a290
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18000a2be
xor eax, eax
jmp 0x18000a3a4
cmp qword [rcx + 0x68], 0
je 0x18000a2cf
call fcn.180004910
jmp 0x18000a3a4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000a2e6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000a2e8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000a31a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18002ad70
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18000a39e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18000a351
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18000a37a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800156e0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18000a39e
cmp rsi, rbx
ja 0x18000a358
test rsi, rsi
je 0x18000a39e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800156e0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18001f6a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18000bcf0
sub rsp, rax
mov rax, qword [0x18003e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18001a9dc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18001f6f3
mov rax, rbp
jmp 0x18001f7fb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x40440]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800207c4
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x40440]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18001f7f7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001f7f7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800207c4
test rax, rax
js 0x18001f7f7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18001f7f7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18001f7e9
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18001f7e9
cmp byte [rcx], 0xd
jne 0x18001f7cf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18001f7de
cmp byte [rcx + 1], 0xa
jne 0x18001f7de
inc rcx
jmp 0x18001f7de
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3e470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18001f7b1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18001f7fb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000b1e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18001fa1c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18001fa32
mov al, 1
jmp 0x18001fa92
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18001fa43
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18001fa90
mov ecx, dword [rcx + 0x18]
nop
call fcn.18002807c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18001fa90
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18001fa90
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18001fa90
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18001fa92
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18001fb64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180040440]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18001fbbb
cmp word [rdx], r13w
jne 0x18001fbbb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18001fbc0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18001fce5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18001fd06
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18001fbf9
mov rdx, r9
mov word [rbx], cx
jmp 0x18001fc20
cmp r9, r8
jae 0x18001fc30
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18001fbda
jmp 0x18001fce5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001fcda
cmp dword [rsp + 0x80], esi
je 0x18001fcda
lea r8, [0x180040440]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18001fcb2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18001fc82
mov word [rbx], r13w
jmp 0x18001fce2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18001fc8f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18001fce2
cmp word [rsp + 0x70], r13w
jne 0x18001fcbf
cmp rbx, r14
je 0x18001fc7c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800207cc
cmp word [rsp + 0x70], r13w
je 0x18001fce5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180040440]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18001fcdf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18001fce5
Function at 0x180023974
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800239a4
xor eax, eax
jmp 0x180023a67
mov rbp, rbx
cmp word [rax], si
je 0x1800239c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800239b0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800239ac
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18002205c
movsxd r14, eax
test eax, eax
jne 0x180023a07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002399d
mov rcx, r14
call fcn.180019780
mov rdi, rax
test rax, rax
jne 0x180023a20
xor ecx, ecx
call fcn.180019744
jmp 0x1800239fc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18002205c
test eax, eax
jne 0x180023a51
mov rcx, rdi
call fcn.180019744
jmp 0x180023a5b
xor ecx, ecx
call fcn.180019744
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180027a1c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18001af2c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180027abd
cmp ebx, dword [rsp + 0x30]
je 0x180027ab6
test esi, esi
je 0x180027ab6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180027a91
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180027a9e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180027a7b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180027aa2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180027abf
mov eax, 1
jmp 0x180027abf
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18002a9a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18002a9c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18002a9c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009b20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140009b62
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x140009b6a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140009b7b
jmp 0x140009b92
xor r10d, r10d
jmp 0x140009c1d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140009b92
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140009ba9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140009bc9
add r11, r8
jmp 0x140009cfa
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140009c92
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140009c40
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140009cb0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140009cc2
jmp 0x140009cdc
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140009cdc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140009cf6
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400131d0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 0x24]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x1400132de
mov rdi, rax
movsxd rax, dword [rbp - 0x24]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rdi + rax*8]
lea rbx, [rbp - 0x58]
lea r14, [rbp - 0x40]
lea r15, [rbp - 0x20]
mov r12, rdi
jmp 0x140013271
add r12, 8
mov rax, qword [rbp - 0x18]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rbp - 0x48]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rax + rcx*8], xmm0
inc qword [rbp - 0x10]
cmp r12, r13
je 0x1400132bb
mov byte [rbp - 1], 1
mov rcx, r12
call fcn.140026040
lea rcx, [rax + rdx*2]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rcx
mov word [rbp - 0x30], 0
mov byte [rbp - 1], 1
mov rcx, rbx
mov rdx, r14
call fcn.140019d00
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 0x20]
jne 0x140013250
mov rcx, r15
call fcn.140019200
mov rdx, qword [rbp - 0x10]
jmp 0x140013250
mov byte [rbp - 1], 1
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
test rax, rax
je 0x1400132f7
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
jmp 0x140013330
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x140013330
mov byte [rbp - 1], 1
call fcn.140025b00
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x40], 1
mov rcx, qword [rbp - 0x10]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
test rax, rax
je 0x140013330
lea rcx, [rbp - 0x38]
mov byte [rbp - 1], 0
call fcn.140026060
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140017d50
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x140017ddd
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140017d9f
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
jmp 0x140017ddd
call fcn.140025b00
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
test rax, rax
je 0x140017ddd
lea rcx, [rsp + 0x98]
call fcn.140026060
test bl, bl
je 0x140017e74
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x140017e74
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0xd0], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0xd8], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x140020530
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x1400e51c1]
mov ecx, 0x5f0
mov edx, 8
call fcn.14000ca40
test rax, rax
mov qword [rbp - 8], r14
je 0x1400207a0
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r12d, 1
lock xadd qword [0x1400e51d8], r12
mov r14, r12
xor r14, rcx
lea r15, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r15
lea r15, [rax + r8]
rol rax, 0x15
add r14, r9
mov r13, r14
xor r13, r10
rol r14, 0x20
xor r12, r15
add r12, r13
rol r13, 0xd
xor r15, r11
xor r13, r12
rol r12, 0x20
xor r15, rax
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r15, r12
xor r13, r14
rol r14, 0x20
xor r12, r11
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r14, 0xff
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
add r14, r15
rol r15, 0x10
xor r15, r14
rol r15, 0x15
xor r13, r12
add r14, r13
rol r13, 0x11
mov r12, r14
rol r12, 0x20
xor r12, r13
xor r12, r15
xor r12, r14
je 0x1400205f0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r12
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002078c
test rdx, rdx
je 0x14002078c
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.14000ca50
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400b0770
ud2
Function at 0x140076710
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x140076782
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x140076748
add rdi, rbx
sub rsi, rbx
je 0x140076782
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x140076740
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x140076740
add ebp, 0x80000000
jmp 0x140076784
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret