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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov ebp, r8d
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140174f60]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x39
call fcn.140065e60
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
call fcn.1400bd980
mov rcx, rsi
call fcn.140076e10
test al, al
je 0x1400bd472
cmp ebp, 3
ja case.default.0x1400bd2dd
mov eax, ebp
lea rcx, [0x1400bd4a0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r14d, 2
jmp 0x1400bd2f2
xor r14d, r14d
jmp 0x1400bd2f2
mov r14d, 4
xor ebp, ebp
jmp 0x1400bd307
mov rbx, qword [r15 + 8]
mov rbp, rbx
shr rbp, 0x20
mov r14d, 4
mov rcx, rsi
call fcn.140076e20
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, r14d
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x1400bd384
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
add rax, 1
cmp rax, 2
jb 0x1400bd362
call fcn.140065e80
mov rcx, qword [rsi + 0x40]
call fcn.1400be320
mov qword [rsi + 0x40], 0
mov rax, rbx
add rax, 1
cmp rax, 2
jb 0x1400bd378
mov qword [rsi + 0x40], rbx
call fcn.140065e80
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
add rbx, 1
cmp rbx, 2
jae 0x1400bd395
xor ebx, ebx
jmp 0x1400bd472
mov dword [rsp + 0x3c], 0
lea rdx, [0x1401857e8]
mov rcx, r15
call fcn.1400bd520
test al, al
je 0x1400bd3dd
mov rcx, rsi
call fcn.140077350
xor ebx, ebx
test rax, rax
jle 0x1400bd472
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
jmp 0x1400bd43a
mov rcx, rsi
call fcn.1400bd080
mov ebx, eax
jmp 0x1400bd472
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
call fcn.1400bd6b0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
js 0x1400bd38e
mov rcx, qword [r15 + 8]
movsxd rax, dword [rsp + 0x3c]
add rax, rcx
js 0x1400bd38e
mov r8, rbx
shr r8, 0x20
mov qword [rsi + 0x38], rcx
and r14d, 2
add r14d, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, r14d
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400bd38e
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov bl, 1
lea rcx, [rsp + 0x60]
call fcn.1400bdca0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140136dd0
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400be4fc
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400be5a0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400be555
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140136dd0
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.1400b4ff0
mov rcx, rsi
call fcn.1400b4fc0
lea rdx, [0x1401800ce]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rcx, rax
call fcn.14001df3c
mov rcx, rsi
call fcn.1400b4fd0
jmp 0x1400be541
Function at 0x1400c1fe6
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401af7d0]
mov ecx, dword [0x1401a659c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c2263
mov rax, qword [0x1401af7c8]
test rax, rax
je 0x1400c20d1
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1401c0010]
test eax, eax
je 0x1400c207b
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1400c20d8
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400c210d
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400c20d1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x40]
lea rdx, [0x140182f2b]
mov r8d, 0xe
call fcn.14001df3c
mov rcx, rbx
call fcn.14006e840
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140174f60]
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_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.1400c22aa
test al, al
je 0x1400c2143
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400c218c
call fcn.1400c24db
jmp 0x1400c2191
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400c2244
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.14006d740
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400c2237
call fcn.1400c2b09
test al, al
je 0x1400c21f7
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400c142c
mov sil, 1
test al, al
jne 0x1400c2246
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400c2244
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.14006d740
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400c2237
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400c2244
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.14006d740
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.14001df3c
mov rcx, rsi
call fcn.14006dbd0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401af7d0]
call fcn.140136640
cmp dword [0x1401af7d0], 0xffffffff
jne 0x1400c2031
lea rcx, [0x14017c8be]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140077ba8
mov qword [0x1401af7c8], rax
lea rcx, [0x1401af7d0]
call fcn.1401366d8
jmp 0x1400c2031
Function at 0x1400cc25e
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140174f60]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.14001d36c
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.140110278
test al, al
je 0x1400cc32c
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1400cc375
mov rcx, rdi
call fcn.14001d36c
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.140110278
test al, al
je 0x1400cc3be
cmp dword [r15], 0x4550
jne 0x1400cc401
mov sil, 1
test r14, r14
je 0x1400cc46c
mov qword [r14], rdi
jmp 0x1400cc46c
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc46a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1400cc441
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc46a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1400cc441
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc46a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1400cc36a
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc46a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.14001df3c
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400cc457
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14001df3c
mov rcx, rdi
call fcn.14006dbd0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400cc48e
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140174f60]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.14001d36c
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.140110278
test al, al
je 0x1400cc55c
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1400cc5a5
mov rcx, rdi
call fcn.14001d36c
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.140110278
test al, al
je 0x1400cc5ee
cmp dword [r15], 0x4550
jne 0x1400cc631
mov sil, 1
test r14, r14
je 0x1400cc69c
mov qword [r14], rdi
jmp 0x1400cc69c
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc69a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1400cc671
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc69a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1400cc671
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc69a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1400cc59a
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1400cc69a
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.14001df3c
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400cc687
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14001df3c
mov rcx, rdi
call fcn.14006dbd0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400d0b80
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x1400d0dcd
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401a0440], rax
jne 0x1400d0dd0
mov rsi, rcx
mov edi, dword [rcx + 0xc]
add rdi, 0x2f8
mov byte [rsp + 0x3f], 0xaa
bsr rax, rdi
xor rax, 0xffffffffffffffc0
lea rcx, [0x140181a80]
mov cl, byte [rax + rcx + 0x41]
mov rdx, rdi
shr rdx, cl
and edx, 3
lea rcx, [0x140181ad0]
mov rcx, qword [rcx + rax*8 + 0x208]
and rcx, rdi
lea rax, [rdx + rax*4]
add rax, 0x104
cmp rcx, 1
sbb rax, 0xffffffffffffffff
lea rcx, [0x140181670]
movzx eax, word [rcx + rax*2 + 0x200]
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x58
lea r14, [rsi + 0x50]
mov ebx, 1
xor r13d, r13d
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov rcx, r14
call rbp
test al, al
jne 0x1400d0c73
mov eax, ebx
test ebx, ebx
jle 0x1400d0c58
pause
add eax, 0xffffffff
jne 0x1400d0c4e
add r13d, ebx
add ebx, ebx
cmp ebx, 0x10
mov eax, 0x10
cmovge ebx, eax
cmp r13d, 0x40
jl 0x1400d0c3f
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r15]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400d0d5a
mov byte [rsp + 0x3f], 0
mov rdi, qword [rbx]
mov rbp, rdi
bswap rbp
test rdi, rdi
je 0x1400d0cca
mov ecx, dword [rsi + r12*8 + 0x70]
test ebp, 0x1fc000
je 0x1400d0dc1
mov rdx, rbp
xor rdx, rbx
cmp rdx, 0x1fffff
ja 0x1400d0dc1
not rdi
cmp qword [rbx + 8], rdi
jne 0x1400d0dc1
prefetcht0 byte [rbp]
mov qword [rax], rbp
add word [rax + 0x18], 1
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0xaa8]
mov qword [rsi + 0xaa8], rax
mov rcx, qword [rsi + 0xab0]
cmp rcx, rax
cmovae rax, rcx
mov qword [rsi + 0xab0], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rbx
mov rdx, rsi
call fcn.1400d0df0
mov ecx, dword [0x1401af948]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401a659c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x140], rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140136dd0
mov rax, rbx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, rdi
call fcn.14001bba0
test rax, rax
je 0x1400d0dc6
mov rbx, rax
mov rcx, rax
and rcx, 0xffffffffffe00000
mov rdx, rax
shr rdx, 9
and edx, 0xfe0
lea rax, [rdx + rcx]
movzx ecx, byte [rdx + rcx + 0x101e]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
add rax, 0x1000
jmp 0x1400d0cd2
call fcn.14001c900
xor ebx, ebx
jmp 0x1400d0cfc
int3
int3
Function at 0x1400d1c50
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400d1ccb
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400d1ccb
cmp dword [rsp + 0x38], 4
jne 0x1400d1ccb
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140136dd0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x1400d1cf0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140136d70
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140139be0
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400d1ddb
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x1400d1d8b
mov edi, 0x3f4
cmp eax, 1
jne 0x1400d1ddb
lea rdx, [rsp + 0x840]
jmp 0x1400d1dd1
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140139be0
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x1400d1ddb
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140044cf4
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140136dd0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400d71e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400d7222
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
nop word [rax + rax]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400d722c
add rdi, rbx
sub rsi, rbx
jne 0x1400d7200
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x1400d8b00
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
cmp edx, 0x80
je 0x1400d8b18
cmp edx, 0x100
je 0x1400d8b18
cmp edx, 0xc0
jne 0x1400d8b36
mov eax, dword [0x1401b1314]
test eax, 0x2000000
jne 0x1400d8b31
test eax, 0x200
jne 0x1400d8b3c
jmp fcn.1400d8b50
jmp fcn.140003260
mov eax, 0xfffffffe
ret
jmp fcn.140004450
Function at 0x1400dca90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r8, r8
je 0x1400dcc23
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov r15, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xa0]
cmp rcx, 0x20
setae al
add rcx, 0xffffffffffffffe0
cmp rcx, rdx
setae cl
movaps xmm0, xmmword [0x140174f60]
movaps xmmword [rsp + 0x20], xmm0
test al, cl
jne 0x1400dcb66
cmp rbx, rdi
jb 0x1400dcb66
cmp rsi, 0x10
jb 0x1400dcbbf
lea r12, [rsp + 0x20]
nop dword [rax]
mov rcx, rbx
mov rdx, r12
mov r8, r14
mov rax, r15
call qword [0x1401c0010]
mov rax, qword [rbx]
mov rcx, qword [r13]
xor rcx, qword [rsp + 0x20]
mov qword [rdi], rcx
mov qword [r13], rax
mov rax, qword [rbx + 8]
mov rcx, qword [r13 + 8]
xor rcx, qword [rsp + 0x28]
mov qword [rdi + 8], rcx
mov qword [r13 + 8], rax
add rsi, 0xfffffffffffffff0
add rbx, 0x10
add rdi, 0x10
cmp rsi, 0xf
ja 0x1400dcb10
test rsi, rsi
jne 0x1400dcbbf
jmp 0x1400dcc23
cmp rsi, 0x10
jb 0x1400dcbaf
mov rbp, r13
nop
mov r12, rbx
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov rax, r15
call qword [0x1401c0010]
mov rax, qword [rbp]
xor qword [rdi], rax
mov rax, qword [rbp + 8]
xor qword [rdi + 8], rax
add rsi, 0xfffffffffffffff0
add rbx, 0x10
add rdi, 0x10
mov rbp, r12
cmp rsi, 0xf
ja 0x1400dcb70
lea rax, [rbx - 0x10]
jmp 0x1400dcbb2
mov rax, r13
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
test rsi, rsi
je 0x1400dcc23
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, r14
mov rax, r15
call qword [0x1401c0010]
xor eax, eax
nop word cs:[rax + rax]
nop
movzx ecx, byte [rbx + rax]
movzx edx, byte [r13 + rax]
xor dl, byte [rsp + rax + 0x20]
mov byte [rdi + rax], dl
mov byte [r13 + rax], cl
add rax, 1
cmp rsi, rax
jne 0x1400dcbe0
cmp rsi, 0xf
ja 0x1400dcc23
nop word cs:[rax + rax]
nop
movzx eax, byte [rbx + rsi]
mov byte [r13 + rsi], al
add rsi, 1
cmp rsi, 0x10
jne 0x1400dcc10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140136dd0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400df806
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14d, edx
mov r15, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rbp, [rsp + 0x2c]
mov dword [rbp], 0
mov edi, 5
xor esi, esi
mov rbx, qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov qword [rsp + 0x20], rbp
mov ecx, 2
xor edx, edx
xor r8d, r8d
mov r9, rsi
call rbx
cmp eax, 0x6f
jne 0x1400df887
test rsi, rsi
je 0x1400df867
mov rcx, rsi
call fcn.140136564
mov ecx, dword [rsp + 0x2c]
add rcx, 0x380
call fcn.14013655c
test rax, rax
je 0x1400df8b7
mov rsi, rax
dec edi
jne 0x1400df841
xor ebp, ebp
jmp 0x1400df8c2
test eax, eax
jne 0x1400df8bb
test rsi, rsi
je 0x1400df8bb
mov rcx, r15
mov rdx, rsi
call fcn.1400dfb74
test eax, eax
je 0x1400df883
mov ebp, 1
mov rcx, r15
mov edx, r14d
mov r8d, 1
call fcn.1400dfb36
jmp 0x1400df8c2
xor ebp, ebp
jmp 0x1400df8ca
xor ebp, ebp
test rsi, rsi
je 0x1400df8ca
mov rcx, rsi
call fcn.140136564
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140136dd0
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400e14e0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140174f60]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x4c
call fcn.140065e60
lea rcx, [rsp + 0x50]
mov rdx, rsi
xor r8d, r8d
call fcn.1400bd980
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1400e1581
mov rbx, qword [rbx]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400e16b8
mov ebp, eax
mov esi, eax
mov rcx, rsi
call fcn.1401364e8
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.140139be0
mov edx, dword [rsp + 0x24]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400e16a2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x4c], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x4c]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e16a2
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x1400e16a2
add rsi, rdi
mov ecx, 0x38
call fcn.1401364e8
mov rbx, rax
movzx r15d, word [rbp]
movzx ebp, word [rbp + 2]
lea rax, fcn.1400e1cd0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movabs rax, 0xfffffffe00000000
and rax, rdi
cmp rax, qword [0x14019f088]
jne 0x1400e1659
mov rcx, rdi
call fcn.14008acb0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r15w
mov word [rbx + 0x2a], bp
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x4c], 0xaaaaaaaa
lea rdx, [0x140187882]
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x4c]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e16ec
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x30], rax
mov qword [r14], rbx
jmp 0x1400e16bf
mov qword [r14], 0
test rdi, rdi
je 0x1400e16bf
mov rcx, rdi
call fcn.140136524
jmp 0x1400e16bf
mov qword [r14], 0
lea rcx, [rsp + 0x50]
call fcn.1400bdca0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140136dd0
mov rax, r14
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x1400e23c0
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x140174f60]
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 0x1400e2439
mov rcx, qword [rsp + 0x28]
shr rcx, 0xa
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x30]
shr rcx, 0xa
mov dword [rsi + 4], ecx
mov rcx, qword [rsp + 0x38]
shr rcx, 0xa
mov dword [rsi + 8], ecx
mov rcx, qword [rsp + 0x40]
shr rcx, 0xa
mov dword [rsi + 0xc], ecx
test eax, eax
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140136dd0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
ret