joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bd560
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140175f60]
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.140066190
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
call fcn.1400bdcc0
mov rcx, rsi
call fcn.140077150
test al, al
je 0x1400bd7b2
cmp ebp, 3
ja case.default.0x1400bd61d
mov eax, ebp
lea rcx, [0x1400bd7e0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r14d, 2
jmp 0x1400bd632
xor r14d, r14d
jmp 0x1400bd632
mov r14d, 4
xor ebp, ebp
jmp 0x1400bd647
mov rbx, qword [r15 + 8]
mov rbp, rbx
shr rbp, 0x20
mov r14d, 4
mov rcx, rsi
call fcn.140077160
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 0x1400bd6c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
add rax, 1
cmp rax, 2
jb 0x1400bd6a2
call fcn.1400661b0
mov rcx, qword [rsi + 0x40]
call fcn.1400be660
mov qword [rsi + 0x40], 0
mov rax, rbx
add rax, 1
cmp rax, 2
jb 0x1400bd6b8
mov qword [rsi + 0x40], rbx
call fcn.1400661b0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
add rbx, 1
cmp rbx, 2
jae 0x1400bd6d5
xor ebx, ebx
jmp 0x1400bd7b2
mov dword [rsp + 0x3c], 0
lea rdx, [0x1401867f8]
mov rcx, r15
call fcn.1400bd860
test al, al
je 0x1400bd71d
mov rcx, rsi
call fcn.140077690
xor ebx, ebx
test rax, rax
jle 0x1400bd7b2
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
jmp 0x1400bd77a
mov rcx, rsi
call fcn.1400bd3c0
mov ebx, eax
jmp 0x1400bd7b2
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.1400bd9f0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
js 0x1400bd6ce
mov rcx, qword [r15 + 8]
movsxd rax, dword [rsp + 0x3c]
add rax, rcx
js 0x1400bd6ce
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 0x1400bd6ce
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov bl, 1
lea rcx, [rsp + 0x60]
call fcn.1400bdfe0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140137110
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400be83c
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400be8e0]
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 0x1400be895
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140137110
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.1400b5330
mov rcx, rsi
call fcn.1400b5300
lea rdx, [0x1401810de]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rcx, rax
call fcn.14001df3c
mov rcx, rsi
call fcn.1400b5310
jmp 0x1400be881
Function at 0x1400c2326
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401b0810]
mov ecx, dword [0x1401a759c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c25a3
mov rax, qword [0x1401b0808]
test rax, rax
je 0x1400c2411
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1401c1010]
test eax, eax
je 0x1400c23bb
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1400c2418
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400c244d
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400c2411
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.14006ea90
lea rcx, [rsp + 0x40]
lea rdx, [0x140183f3b]
mov r8d, 0xe
call fcn.14001df3c
mov rcx, rbx
call fcn.14006eb80
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140175f60]
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.1400c25ea
test al, al
je 0x1400c2483
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400c24cc
call fcn.1400c281b
jmp 0x1400c24d1
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400c2584
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.14006da80
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400c2577
call fcn.1400c2e49
test al, al
je 0x1400c2537
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400c176c
mov sil, 1
test al, al
jne 0x1400c2586
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400c2584
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.14006da80
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400c2577
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400c2584
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.14006da80
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.14001df3c
mov rcx, rsi
call fcn.14006df10
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401b0810]
call fcn.140136980
cmp dword [0x1401b0810], 0xffffffff
jne 0x1400c2371
lea rcx, [0x14017d8be]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140077ee8
mov qword [0x1401b0808], rax
lea rcx, [0x1401b0810]
call fcn.140136a18
jmp 0x1400c2371
Function at 0x1400cc59e
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140175f60]
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.1401105b8
test al, al
je 0x1400cc66c
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1400cc6b5
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.1401105b8
test al, al
je 0x1400cc6fe
cmp dword [r15], 0x4550
jne 0x1400cc741
mov sil, 1
test r14, r14
je 0x1400cc7ac
mov qword [r14], rdi
jmp 0x1400cc7ac
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc7aa
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.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1400cc781
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc7aa
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.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1400cc781
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc7aa
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.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1400cc6aa
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc7aa
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.14006da80
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 0x1400cc797
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14001df3c
mov rcx, rdi
call fcn.14006df10
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400cc7ce
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x140175f60]
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.1401105b8
test al, al
je 0x1400cc89c
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1400cc8e5
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.1401105b8
test al, al
je 0x1400cc92e
cmp dword [r15], 0x4550
jne 0x1400cc971
mov sil, 1
test r14, r14
je 0x1400cc9dc
mov qword [r14], rdi
jmp 0x1400cc9dc
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc9da
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.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x1400cc9b1
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc9da
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.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1400cc9b1
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc9da
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.14006da80
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1400cc8da
mov ecx, 1
call fcn.14006d9d0
test al, al
je 0x1400cc9da
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.14006da80
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 0x1400cc9c7
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.14001df3c
mov rcx, rdi
call fcn.14006df10
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400d0ec0
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x1400d110d
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401a1440], rax
jne 0x1400d1110
mov rsi, rcx
mov edi, dword [rcx + 0xc]
add rdi, 0x2f8
mov byte [rsp + 0x3f], 0xaa
bsr rax, rdi
xor rax, 0xffffffffffffffc0
lea rcx, [0x140182a90]
mov cl, byte [rax + rcx + 0x41]
mov rdx, rdi
shr rdx, cl
and edx, 3
lea rcx, [0x140182ae0]
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, [0x140182680]
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 0x1400d0fb3
mov eax, ebx
test ebx, ebx
jle 0x1400d0f98
pause
add eax, 0xffffffff
jne 0x1400d0f8e
add r13d, ebx
add ebx, ebx
cmp ebx, 0x10
mov eax, 0x10
cmovge ebx, eax
cmp r13d, 0x40
jl 0x1400d0f7f
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [r15]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400d109a
mov byte [rsp + 0x3f], 0
mov rdi, qword [rbx]
mov rbp, rdi
bswap rbp
test rdi, rdi
je 0x1400d100a
mov ecx, dword [rsi + r12*8 + 0x70]
test ebp, 0x1fc000
je 0x1400d1101
mov rdx, rbp
xor rdx, rbx
cmp rdx, 0x1fffff
ja 0x1400d1101
not rdi
cmp qword [rbx + 8], rdi
jne 0x1400d1101
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.1400d1130
mov ecx, dword [0x1401b0988]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401a759c]
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.140137110
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 0x1400d1106
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 0x1400d1012
call fcn.14001c900
xor ebx, ebx
jmp 0x1400d103c
int3
int3
Function at 0x1400d1f90
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14019e018]
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 0x1400d200b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400d200b
cmp dword [rsp + 0x38], 4
jne 0x1400d200b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140137110
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1401370b0
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
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 0x1400d211b
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x1400d20cb
mov edi, 0x3f4
cmp eax, 1
jne 0x1400d211b
lea rdx, [rsp + 0x840]
jmp 0x1400d2111
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
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 0x1400d211b
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140044dc4
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140137110
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400d7520
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400d7562
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 0x1400d756c
add rdi, rbx
sub rsi, rbx
jne 0x1400d7540
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

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

Disassembly:
cmp edx, 0x80
je 0x1400d8e58
cmp edx, 0x100
je 0x1400d8e58
cmp edx, 0xc0
jne 0x1400d8e76
mov eax, dword [0x1401b2354]
test eax, 0x2000000
jne 0x1400d8e71
test eax, 0x200
jne 0x1400d8e7c
jmp fcn.1400d8e90
jmp fcn.140003260
mov eax, 0xfffffffe
ret
jmp fcn.140004450
Function at 0x1400dcdd0
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r8, r8
je 0x1400dcf63
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 [0x140175f60]
movaps xmmword [rsp + 0x20], xmm0
test al, cl
jne 0x1400dcea6
cmp rbx, rdi
jb 0x1400dcea6
cmp rsi, 0x10
jb 0x1400dceff
lea r12, [rsp + 0x20]
nop dword [rax]
mov rcx, rbx
mov rdx, r12
mov r8, r14
mov rax, r15
call qword [0x1401c1010]
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 0x1400dce50
test rsi, rsi
jne 0x1400dceff
jmp 0x1400dcf63
cmp rsi, 0x10
jb 0x1400dceef
mov rbp, r13
nop
mov r12, rbx
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov rax, r15
call qword [0x1401c1010]
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 0x1400dceb0
lea rax, [rbx - 0x10]
jmp 0x1400dcef2
mov rax, r13
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
test rsi, rsi
je 0x1400dcf63
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, r14
mov rax, r15
call qword [0x1401c1010]
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 0x1400dcf20
cmp rsi, 0xf
ja 0x1400dcf63
nop word cs:[rax + rax]
nop
movzx eax, byte [rbx + rsi]
mov byte [r13 + rsi], al
add rsi, 1
cmp rsi, 0x10
jne 0x1400dcf50
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140137110
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400dfb46
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 [0x14019e018]
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 0x1400dfbc7
test rsi, rsi
je 0x1400dfba7
mov rcx, rsi
call fcn.1401368a4
mov ecx, dword [rsp + 0x2c]
add rcx, 0x380
call fcn.14013689c
test rax, rax
je 0x1400dfbf7
mov rsi, rax
dec edi
jne 0x1400dfb81
xor ebp, ebp
jmp 0x1400dfc02
test eax, eax
jne 0x1400dfbfb
test rsi, rsi
je 0x1400dfbfb
mov rcx, r15
mov rdx, rsi
call fcn.1400dfeb4
test eax, eax
je 0x1400dfbc3
mov ebp, 1
mov rcx, r15
mov edx, r14d
mov r8d, 1
call fcn.1400dfe76
jmp 0x1400dfc02
xor ebp, ebp
jmp 0x1400dfc0a
xor ebp, ebp
test rsi, rsi
je 0x1400dfc0a
mov rcx, rsi
call fcn.1401368a4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140137110
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400e1820
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140175f60]
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.140066190
lea rcx, [rsp + 0x50]
mov rdx, rsi
xor r8d, r8d
call fcn.1400bdcc0
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1400e18c1
mov rbx, qword [rbx]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400e19f8
mov ebp, eax
mov esi, eax
mov rcx, rsi
call fcn.140136828
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.140139f20
mov edx, dword [rsp + 0x24]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400e19e2
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 0x1400e19e2
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x1400e19e2
add rsi, rdi
mov ecx, 0x38
call fcn.140136828
mov rbx, rax
movzx r15d, word [rbp]
movzx ebp, word [rbp + 2]
lea rax, fcn.1400e2010
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 [0x1401a0088]
jne 0x1400e1999
mov rcx, rdi
call fcn.14008aff0
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, [0x140188892]
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x4c]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e1a2c
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x30], rax
mov qword [r14], rbx
jmp 0x1400e19ff
mov qword [r14], 0
test rdi, rdi
je 0x1400e19ff
mov rcx, rdi
call fcn.140136864
jmp 0x1400e19ff
mov qword [r14], 0
lea rcx, [rsp + 0x50]
call fcn.1400bdfe0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140137110
mov rax, r14
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x1400e2700
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x140175f60]
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 0x1400e2779
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.140137110
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
ret