joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a2c40
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov rsi, rdx
xor ebx, ebx
test rcx, rcx
jne 0x1400a2c7a
lea ebx, [rcx + 0x57]
jmp 0x1400a2d96
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400a2c93
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000c360
nop
lea rbp, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rbp, qword [rsp + 0x40]
lea rdx, str.WOW6432Node_
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400a2cfd
sub rax, rbp
sar rax, 1
cmp qword [rsp + 0x50], rax
jb 0x1400a2dc0
mov r8d, 0xc
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140049270
mov r9d, 0x20219
jmp 0x1400a2d03
mov r9d, 0x20119
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400a2d68
mov byte [rsi], al
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.SymbolicLinkValue
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1400a2d5e
mov edi, ebx
jmp 0x1400a2d68
cmp dword [rsp + 0x38], 6
jne 0x1400a2d68
mov byte [rsi], 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a2d78
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x1400a2d8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14000c080
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call fcn.14000dcd0
nop
int3
Function at 0x1400a3590
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rcx, qword [rbp + 0x67]
mov rdi, qword [rbp + 0x6f]
mov r8d, 1
lea rdx, [rbp - 0x29]
call fcn.1400a52d0
nop
xor ebx, ebx
mov dword [rbp + 0x37], ebx
mov dword [rbp + 0x3b], 4
lea rcx, str.Cannot_query_registry_value
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x1f], rbx
lea rcx, [rbp + 0x3b]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x37]
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movups xmm0, xmmword [rbp + 0x17]
movaps xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rdi]
movaps xmmword [rbp - 9], xmm1
lea rdx, [rbp - 0x19]
mov ecx, eax
call fcn.1400a3280
nop
cmp byte [rbp - 0x21], bl
jne 0x1400a363d
mov qword [rbp - 0x29], rbx
jmp 0x1400a3641
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x1400a365b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400a365b
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [rbp + 0x37]
cmp ecx, 4
jne 0x1400a3687
mov eax, dword [rbp + 0x3f]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400b89f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x29], xmm0
call fcn.1400a4dd0
mov r8d, eax
lea r9, [rbp - 0x29]
mov edx, 4
lea rcx, [rbp - 0x19]
call fcn.1400a4e70
lea rdx, [0x1401727b8]
lea rcx, [rbp - 0x19]
call fcn.1400bb9a0
int3
Function at 0x1400a39e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, qword [rbp + 0x1f0]
mov qword [rbp - 0x80], rdi
mov r12, qword [rbp + 0x1f8]
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
lea r8d, [r13 + 8]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.1400a52d0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov dword [rsp + 0x40], 1
mov r14d, r13d
mov dword [rbp - 0x78], 0x100
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x60]
xor edx, edx
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
cmp eax, 0x103
je 0x1400a3b97
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rdx, str.Cannot_enumerate_subkeys
nop word [rax + rax]
mov rax, r13
cmp byte [r12 + 0x240], 1
cmove rax, r12
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rdx, [rsp + 0x60]
call fcn.1400a3280
mov r15d, dword [rbp - 0x78]
mov qword [rsp + 0x50], r15
lea rbx, [rbp - 0x60]
lea rbx, [rbx + r15*2]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1400b7320
cmp rax, rbx
jne 0x1400a3b51
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1400a3b41
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov r8d, r15d
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14000c360
add qword [rdi + 8], 0x20
jmp 0x1400a3b51
lea r9, [rsp + 0x48]
mov rdx, rax
mov rcx, rdi
call fcn.1400a4a20
inc r14d
mov dword [rbp - 0x78], 0x100
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x60]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
cmp eax, 0x103
lea rdx, str.Cannot_enumerate_subkeys
jne 0x1400a3ac0
cmp byte [rbp - 0x68], 0
cmove rsi, r13
test rsi, rsi
je 0x1400a3bb9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400a3bb9
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a3ee0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov rbx, rdx
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x200
xor esi, esi
call fcn.1400fed10
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
mov r9d, 0x200
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
mov dword [rsp + 0x60], 0x200
lea edx, [rsi + 3]
call qword [sym.imp.ntdll.dll_NtQueryKey]
lea rcx, str.Cannot_query_kernel_mode_registry_key_path
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x40]
mov ecx, eax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
call fcn.1400a3280
mov r8d, dword [rsp + 0x70]
lea rdx, [rsp + 0x74]
xorps xmm0, xmm0
shr r8, 1
movups xmmword [rdi], xmm0
mov rcx, rdi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
call fcn.14000c360
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b89f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400a3fd0
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [r11 - 0x48], xmm0
mov r8d, 0xb
lea rdx, [r11 - 0x48]
call fcn.1400a52d0
nop
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x280], 0
lea rcx, [rsp + 0x40]
call fcn.1400a4180
nop
lea rcx, [rsp + 0x40]
call fcn.14004a930
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x2a0]
call fcn.1400a3ee0
nop
xor esi, esi
mov qword [rsp + 0x288], rsi
lea rax, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 7
cmova rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x288]
call fcn.1400a3db0
nop
movzx ebx, byte [rdi + 0x240]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
lea rcx, str.Cannot_delete_registry_key
mov qword [rsp + 0x20], rcx
cmp bl, 1
cmovne rdi, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400a3280
nop
mov rcx, qword [rsp + 0x288]
test rcx, rcx
je 0x1400a4108
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [rsp + 0x288], rsi
lea rcx, [rsp + 0x2a0]
call fcn.14000c080
nop
mov rcx, qword [rsp + 0x290]
cmp byte [rsp + 0x298], 0
cmove rcx, rsi
mov qword [rsp + 0x290], rcx
test rcx, rcx
je 0x1400a4152
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400a4152
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400b89f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400a4180
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r8d, 0xb
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400a52d0
nop
movzx ebx, byte [rdi + 0x240]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea rcx, str.Cannot_delete_registry_key_tree
mov qword [rsp + 0x20], rcx
xor esi, esi
cmp bl, 1
cmovne rdi, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400a3280
nop
mov rcx, qword [rsp + 0x40]
cmp byte [rsp + 0x48], sil
cmove rcx, rsi
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1400a4238
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400a4238
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b89f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400a4260
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, qword [rbp + 0x220]
mov r14, qword [rbp + 0x228]
mov r15, qword [rbp + 0x230]
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movsx rax, byte [rbx + 0x240]
add rax, 1
je 0x1400a4403
cmp rax, 1
je 0x1400a4352
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x68]
call fcn.14004ac70
mov ecx, dword [rbx + 0x238]
mov eax, dword [rbx + 0x23c]
mov dword [rbp + 0x1cc], eax
or ecx, 6
mov dword [rbp + 0x1c8], ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400a3bf0
mov rdi, qword [rax]
mov qword [rbp - 0x80], rdi
mov qword [rax], r12
mov sil, 1
mov byte [rbp - 0x78], sil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a433f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400a433f
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], r12
lea rcx, [rbp + 0x1a0]
call fcn.14004ad90
jmp 0x1400a4360
mov rdi, qword [rbx]
mov qword [rbp - 0x80], rdi
xor sil, sil
mov byte [rbp - 0x78], sil
lea rax, str.Cannot_write_key_value
mov qword [rsp + 0x38], rax
mov rax, r12
cmp byte [rbx + 0x240], 1
cmove rax, rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r15
mov r9d, 4
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14]
movaps xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1400a3280
nop
test sil, sil
cmove rdi, r12
test rdi, rdi
je 0x1400a43e2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400a43e2
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x2e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400a4db0
int3
Function at 0x1400a8360
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov rax, rdx
mov qword [r11 - 0x28], rdx
mov ecx, 0x10000
call fcn.1400b8fa8
mov rdi, rax
mov qword [rsp + 0x68], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x7fff
ja 0x1400a8415
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, ecx
mov rdx, rdi
mov rcx, rbx
call fcn.14000c360
nop
mov rcx, rdi
call fcn.1400b8a80
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
lea rax, str.Unable_to_retrieve_environment_variable__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14003f090
lea rdx, [0x140172368]
lea rcx, [rsp + 0x38]
call fcn.1400bb9a0
int3
Function at 0x1400aa440
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
xor ecx, ecx
mov rax, qword [rsp + 8]
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov qword [rax + 0x48], rcx
mov qword [rax + 0x50], rcx
mov qword [rax + 0x58], rcx
mov qword [rax + 0x60], rcx
mov qword [rax + 0x68], rcx
mov qword [rax + 0x70], rcx
mov qword [rax + 0x78], rcx
mov qword [rax + 0x80], rcx
mov qword [rax + 0x88], rcx
mov qword [rax + 0x90], rcx
mov qword [rax + 0x98], rcx
mov qword [rax + 0xa0], rcx
mov qword [rax + 0xa8], rcx
mov qword [rax + 0xb0], rcx
mov qword [rax + 0xb8], rcx
mov qword [rax + 0xc0], rcx
mov qword [rax + 0xc8], rcx
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rcx
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], rcx
mov qword [rax + 0xf0], rcx
mov qword [rax + 0xf8], rcx
mov qword [rax + 0x100], rcx
mov qword [rax + 0x108], rcx
mov qword [rax + 0x110], rcx
mov qword [rax + 0x118], rcx
mov qword [rax + 0x120], rcx
mov qword [rax], rcx
mov dword [rax + 8], 0x6a09e667
mov dword [rax + 0xc], 0xbb67ae85
mov dword [rax + 0x10], 0x3c6ef372
mov dword [rax + 0x14], 0xa54ff53a
mov dword [rax + 0x18], 0x510e527f
mov dword [rax + 0x1c], 0x9b05688c
mov dword [rax + 0x20], 0x1f83d9ab
mov dword [rax + 0x24], 0x5be0cd19
ret
Function at 0x1400aae20
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rdi
push r14
push r15
sub rsp, 0x2a8
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, qword [rsp + 0x2f0]
mov r14, rdx
mov r15, r8
mov rbp, r9
mov rax, qword [rdi]
cmp rax, 5
ja 0x1400aae76
mov eax, 0xea
jmp 0x1400aafd6
add rax, 0xfffffffffffffffb
mov qword [rsp + 0x298], rsi
xor edx, edx
mov qword [rdi], rax
mov r8d, 0x200
mov qword [rsp + 0x290], r12
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x70], 5
call fcn.1400fed10
mov r8d, 0x100
lea rdx, [rsp + 0x80]
lea rcx, str.DisableOptimization
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor edx, edx
lea r8, [rsp + 0x80]
mov eax, edx
lea r9, [0x140143720]
nop dword [rax]
movzx ecx, word [r8 + rax*2]
inc rax
cmp cx, word [r9 + rax*2 - 2]
jne 0x1400aaef8
cmp rax, 5
jne 0x1400aaee0
jmp 0x1400aaefd
sbb edx, edx
or edx, 1
mov eax, edx
neg eax
sbb esi, esi
and esi, 9
test edx, edx
jne 0x1400aaf6d
lea rdx, str.DisableOptimization:_lzma_set_to_level
mov qword [rsp + 0x2a0], rbx
lea rcx, [0x14017bdf0]
call fcn.140050c50
mov edx, esi
mov rcx, rax
call fcn.14005ef20
mov rcx, rax
lea rdx, [0x14014e6e0]
call fcn.140050c50
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140051030
movzx edx, al
mov rcx, rbx
call fcn.1400ab080
mov rcx, rbx
call fcn.140052790
mov rbx, qword [rsp + 0x2a0]
mov dword [rsp + 0x60], 0xffffffff
lea rax, [rsp + 0x70]
mov dword [rsp + 0x58], 0xffffffff
lea rcx, [rbp + 5]
mov dword [rsp + 0x50], 0xffffffff
mov r9, r15
mov dword [rsp + 0x48], 0xffffffff
mov r8, r14
mov dword [rsp + 0x40], 0xffffffff
mov rdx, rdi
mov dword [rsp + 0x38], 0x400000
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
call fcn.1400f0c80
add qword [rdi], 5
mov r12, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x2a8
pop r15
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b5774
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400b57ec
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400b57ec
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400b57ec
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400b57e0
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400b57fe
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400b57ce
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400b57ee

Function at 0x1400b84d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400b8512
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400b8517
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400b8560
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140134a90]
cmp byte [rcx + rax], 0
je 0x1400b8560
dec r8
sub rdx, 1
jne 0x1400b8546
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400b9758
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b97a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b97a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b97a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b97a2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b97a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b97a4
xor al, al
add rsp, 0x28
ret
Function at 0x1400dd7c0
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.1400b9560
sub rsp, rax
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e40c0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400dd80f
mov rax, rbp
jmp 0x1400dd917
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x17cf10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400df900
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x17cf10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400dd913
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 0x1400dd913
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400df900
test rax, rax
js 0x1400dd913
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400dd913
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400dd905
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400dd905
cmp byte [rcx], 0xd
jne 0x1400dd8eb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400dd8fa
cmp byte [rcx + 1], 0xa
jne 0x1400dd8fa
inc rcx
jmp 0x1400dd8fa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x176420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400dd8cd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400dd917
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b89f0
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 0x1400dead0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400de8c0