joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c1c20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, rdx
mov rsi, rcx
call fcn.1400c1dd0
mov rdi, qword [r15]
mov qword [r15], 0
lea rbx, [rdi + 1]
cmp rbx, 2
jb 0x1400c1c50
call fcn.1400bb620
cmp qword [rsi], rdi
je 0x1400c1c83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400c1d50
cmp rbx, 2
jb 0x1400c1c7b
mov qword [rsi], rdi
call fcn.1400bb620
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rsi, r15
je 0x1400c1d1b
lea rdx, [r15 + 8]
lea rbx, [rsi + 8]
cmp byte [rbx + 0x17], 0
mov al, byte [rdx + 0x17]
js 0x1400c1d78
test al, al
jns 0x1400c1d40
mov r14, qword [r15 + 8]
mov rdi, qword [r15 + 0x10]
cmp rdi, 0xa
jbe 0x1400c1da2
lea rax, [rdi - 0xa]
movabs rcx, 0x7fffffffffffffe5
cmp rax, rcx
jae 0x1400c1dc3
cmp rdi, 0x14
mov ebp, 0x14
cmova rbp, rdi
add rbp, 8
and rbp, 0xfffffffffffffff8
mov rcx, rbp
add rcx, rbp
call fcn.140112048
mov rbx, rax
lea r8, [rdi + rdi]
mov rcx, rax
mov rdx, r14
call fcn.1401178b0
mov qword [rsi + 8], rbx
bts rbp, 0x3f
mov qword [rsi + 0x18], rbp
mov qword [rsi + 0x10], rdi
mov word [rbx + rdi*2], 0
mov eax, dword [r15 + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [r15 + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [r15 + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rdx + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rbx], xmm0
jmp 0x1400c1d1b
call fcn.1400bb620
mov r14, qword [rsi]
mov rcx, qword [0x1403198a0]
test rcx, rcx
je 0x1400c1d94
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi], 0
jmp 0x1400c1c6d
test al, al
jns 0x1400c1d86
mov r8, qword [r15 + 0x10]
mov rdx, qword [r15 + 8]
jmp 0x1400c1d8a
movzx r8d, al
mov rcx, rbx
call fcn.1401833ba
jmp 0x1400c1d1b
call fcn.140163330
mov rcx, qword [0x1403198a0]
jmp 0x1400c1d64
mov byte [rbx + 0x17], dil
test rdi, rdi
je 0x1400c1d15
lea r8, [rdi + rdi]
mov rcx, rbx
mov rdx, r14
call fcn.1401178b0
jmp 0x1400c1d15
mov rcx, rbx
call fcn.1401573b4
int3
Function at 0x1400c1f20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r12, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x1400c1f4d
call fcn.1400bb620
mov qword [rsi], 0
test rbx, rbx
je 0x1400c1f89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400c203f
cmp rbp, 2
jb 0x1400c1f80
mov qword [rsi], rbx
call fcn.1400bb620
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [r12 + 0x1f], 0
jns 0x1400c2024
mov r14, qword [r12 + 8]
mov rbp, qword [r12 + 0x10]
cmp rbp, 0xa
jbe 0x1400c2039
movabs rbx, 0x7fffffffffffffef
cmp rbp, rbx
ja 0x1400c2075
lea rdi, [rbp + 8]
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.140112048
mov rcx, rax
mov qword [rsi + 8], rax
add rbx, 0x11
or rbx, rdi
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x10], rbp
lea r8, [rbp + 2]
add r8, rbp
mov rdx, r14
call fcn.1401178b0
mov eax, dword [r12 + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [r12 + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [r12 + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [r12 + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x1400c1ffa
mov byte [rcx + 0x17], bpl
jmp 0x1400c1fe7
call fcn.1400bb620
mov r14, qword [rsi]
mov rcx, qword [0x1403198a0]
test rcx, rcx
je 0x1400c2067
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi], 0
jmp 0x1400c1f72
call fcn.140163330
mov rcx, qword [0x1403198a0]
jmp 0x1400c2053
call fcn.1401573b4
int3
Function at 0x1400c2420
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x140314e20]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c2482
mov rsi, qword [0x140314e18]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140115e50
mov rax, rsi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140314e20]
call fcn.1401120e4
cmp dword [0x140314e20], 0xffffffff
jne 0x1400c245d
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140117f60
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140112048
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140314e80]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c253b
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140009ea0
mov qword [0x140314e18], rsi
lea rcx, [0x140314e20]
call fcn.140112084
jmp 0x1400c245d
lea rcx, [0x140314e80]
call fcn.1401120e4
cmp dword [0x140314e80], 0xffffffff
jne 0x1400c2513
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140314e70], xmm2
movups xmmword [0x140314e60], xmm1
movups xmmword [0x140314e50], xmm0
lea rcx, [0x140314e80]
call fcn.140112084
jmp 0x1400c2513
Function at 0x1400c3280
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], r15
movaps xmm6, xmmword [0x1402ae190]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea rdx, str.ReadAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x57
call fcn.1400c0870
lea rcx, [rsp + 0x60]
mov rdx, rdi
xor r8d, r8d
call fcn.1400c3400
test esi, esi
js 0x1400c33d4
mov dword [rsp + 0x40], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c33de
mov esi, dword [rsp + 0x40]
test byte [0x14030f3f0], 0x19
jne 0x1400c3392
lea rcx, [rsp + 0x60]
call fcn.1400c2130
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14030f3f0]
lea r9, [0x1402bc35a]
mov rcx, rdi
mov dl, 0x45
call fcn.1400c0640
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400c335f
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400c335f
mov esi, 0xffffffff
jmp 0x1400c3356
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400c3356
Function at 0x1400c8020
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov edi, r8d
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x50], r13
movaps xmm6, xmmword [0x1402ae190]
movaps xmmword [rbx + 0x40], xmm6
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.WriteAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x88
call fcn.1400c0870
xor esi, esi
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
call fcn.1400c3400
test edi, edi
js 0x1400c816a
lea rbx, [rsp + 0x40]
mov dword [rbx], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
mov rdx, r14
mov r8d, edi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sbb esi, esi
or esi, dword [rbx]
test byte [0x14030f3f0], 0x19
jne 0x1400c8128
lea rcx, [rsp + 0x60]
call fcn.1400c2130
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r13
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14030f3f0]
lea r9, [0x1402bc35a]
mov rcx, rdi
mov dl, 0x45
call fcn.1400c0640
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400c80f1
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400c80f1
mov esi, 0xffffffff
jmp 0x1400c80e8
Function at 0x1400ce630
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x1400ce6f1
mov eax, dword [0x14031e5c0]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ce755
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x14031e5c0]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ce798
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400ce6e5
movsxd rcx, dword [0x14031e5b8]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14031e5bc]
movsxd rdx, dword [0x14031e5b8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x1400ce70f
cmp qword [rsi], 0
jne 0x1400ce743
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140115e50
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r14, [rsp + 0x28]
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x28], 0
mov rax, qword [rcx]
lea rdx, [rbx + 8]
mov r8, r14
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x1400ce6f1
jmp 0x1400ce714
mov rcx, rsi
call fcn.140152380
mov rcx, qword [rsi]
call fcn.140112038
jmp 0x1400ce6f7
lea rcx, [0x14031e5c0]
call fcn.1401120e4
cmp dword [0x14031e5c0], 0xffffffff
jne 0x1400ce67a
mov qword [0x14031e5b8], 0
lea rcx, [0x14031e5b8]
xor edx, edx
call fcn.1400bc270
lea rcx, [0x14031e5c0]
call fcn.140112084
jmp 0x1400ce67a
lea rcx, [0x14031e5c0]
call fcn.1401120e4
cmp dword [0x14031e5c0], 0xffffffff
jne 0x1400ce6ab
mov qword [0x14031e5b8], 0
lea rcx, [0x14031e5b8]
xor edx, edx
call fcn.1400bc270
lea rcx, [0x14031e5c0]
call fcn.140112084
jmp 0x1400ce6ab
Function at 0x1400e1370
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e13a4
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x1400e13a4
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x1400e139e

Function at 0x1400e18c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e18fe
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400e18f7
call fcn.1400086f0
jmp 0x1400e18de

Function at 0x1400e3340
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140314cf8]
cmp rsi, 1
jbe 0x1400e3384
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e33d3
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x1400e33d3
cmp qword [rax + rcx], 0
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140314cf8]
call fcn.1400c4120
test al, al
je 0x1400e33ca
mov qword [0x140314d00], 0
lea rdi, [0x140314cf8]
lea rsi, [0x140314d00]
mov rcx, rsi
xor edx, edx
call fcn.1400bc270
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400c4100
jmp 0x1400e3353
mov rsi, qword [0x140314cf8]
jmp 0x1400e3353
xor eax, eax
jmp 0x1400e337d

Function at 0x1400e50e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400e5155
movabs rax, 0x1fffffffffffff
and rax, qword [rsp + 0x20]
cvtsi2sd xmm0, rax
mov edx, 0xffffffcb
call fcn.140112964
movapd xmm6, xmm0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140115e50
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
int3
Function at 0x1400eaeb0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xc0], xmm6
mov r14d, r9d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], r15
movaps xmm6, xmmword [0x1402ae190]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea rdx, str.Write
lea r8, str..._.._base_files_file_win.cc
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov r9d, 0x73
call fcn.1400c0870
lea rcx, [rsp + 0x60]
mov rdx, rbp
xor r8d, r8d
call fcn.1400c3400
xorps xmm7, xmm7
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x3c], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x3c]
mov rdx, rdi
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov esi, dword [rsp + 0x3c]
test byte [0x14030f3f0], 0x19
jne 0x1400eafdb
test edi, edi
je 0x1400eb01a
lea rcx, [rsp + 0x60]
call fcn.1400c2130
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
movups xmmword [rsp + 0x20], xmm7
mov byte [rsp + 0x30], 0
lea r8, [0x14030f3f0]
lea r9, [0x1402bc35a]
mov rcx, rbx
mov dl, 0x45
call fcn.1400c0640
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400eaf9b
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400eaf9b
mov esi, 0xffffffff
jmp 0x1400eaf9f
Function at 0x1400eb390
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm0, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm4, r8d
pxor xmm4, xmm0
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1400eb4c5
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x1402b0950]
nop word cs:[rax + rax]
nop dword [rax]
movdqa xmm6, xmm4
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm4, xmmword [rcx]
pxor xmm4, xmm6
pxor xmm4, xmm0
movdqu xmm3, xmmword [rcx + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [rcx + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [rcx + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1400eb420
movabs rax, 0x1751997d0
movq xmm0, rax
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1402b0960]
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm2
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
cmp rdx, 0x10
jb 0x1400eb554
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1400eb52a
movdqa xmm0, xmmword [0x1402b0960]
pclmulqdq xmm0, xmm4, 1
psrldq xmm4, 8
pxor xmm4, xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
pblendw xmm1, xmm4, 3
psrldq xmm4, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm4
pxor xmm1, xmm1
pblendw xmm1, xmm2, 3
pclmulqdq xmm1, xmmword [0x1402b0970], 0x10
pblendw xmm1, xmm0, 0xfc
movabs rax, 0x1db710641
movq xmm0, rax
pclmulqdq xmm0, xmm1, 0
pxor xmm0, xmm2
pextrd eax, xmm0, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x1400ec2f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x140314e20]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ec353
mov rax, qword [0x140314e18]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140314e20]
call fcn.1401120e4
cmp dword [0x140314e20], 0xffffffff
jne 0x1400ec32d
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140117f60
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140112048
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140314e80]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ec40c
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140009ea0
mov qword [0x140314e18], rsi
lea rcx, [0x140314e20]
call fcn.140112084
jmp 0x1400ec32d
lea rcx, [0x140314e80]
call fcn.1401120e4
cmp dword [0x140314e80], 0xffffffff
jne 0x1400ec3e4
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140314e70], xmm2
movups xmmword [0x140314e60], xmm1
movups xmmword [0x140314e50], xmm0
lea rcx, [0x140314e80]
call fcn.140112084
jmp 0x1400ec3e4
Function at 0x1400ee2e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov esi, r9d
mov r14, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x50], r13
movaps xmm6, xmmword [0x1402ae190]
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.Read
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3e
call fcn.1400c0870
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400c3400
test esi, esi
js 0x1400ee452
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ee43c
mov esi, dword [rsp + 0x3c]
test byte [0x14030f3f0], 0x19
jne 0x1400ee3fa
lea rcx, [rsp + 0x60]
call fcn.1400c2130
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r13
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14030f3f0]
lea r9, [0x1402bc35a]
mov rcx, rdi
mov dl, 0x45
call fcn.1400c0640
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400ee3c3
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400ee3c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400ee3ba
mov esi, 0xffffffff
jmp 0x1400ee3ba
Function at 0x1400f18f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400f1941
mov rsi, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140115e50
mov rax, rsi
add rsp, 0x30
pop rsi
ret
int3
Function at 0x1400fed00
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140314e80]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400fed5c
movzx eax, word [0x140314e50]
cmp ax, 9
jne 0x1400fedbe
mov esi, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140314e80]
call fcn.1401120e4
cmp dword [0x140314e80], 0xffffffff
jne 0x1400fed35
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmm2, xmmword [rsi + 0x20]
movups xmmword [0x140314e70], xmm2
movups xmmword [0x140314e60], xmm1
movups xmmword [0x140314e50], xmm0
lea rcx, [0x140314e80]
call fcn.140112084
jmp 0x1400fed35
cmp ax, 5
jg 0x1400feddf
xor esi, esi
test ax, ax
je 0x1400fed47
cmp ax, 5
jne 0x1400fedff
mov esi, 3
jmp 0x1400fed47
cmp ax, 6
jne 0x1400fedef
mov esi, 2
jmp 0x1400fed47
cmp ax, 0xc
jne 0x1400fedff
mov esi, 4
jmp 0x1400fed47
mov esi, 5
jmp 0x1400fed47