joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af874
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x50], 0
mov rdi, r8
and qword [rbp - 0x60], 0
lea r8, [rbp - 0x50]
mov r12d, edx
mov r15, r9
lea rdx, [rbp - 0x58]
call fcn.1400c4564
mov ebx, eax
test eax, eax
jns 0x1400af8c8
mov ecx, eax
call fcn.140075fa0
jmp 0x1400af964
mov ebx, 0x20
mov edx, ebx
lea ecx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140072fb8
mov rsi, qword [rbp - 0x60]
test rsi, rsi
jne 0x1400af8f6
mov ebx, 0x8007000e
mov ecx, ebx
jmp 0x1400af8be
mov r14, qword [rbp - 0x50]
lea rax, [0x14002fec0]
xor r9d, r9d
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x28], rdi
lea rax, [rbp - 0x54]
mov edi, dword [rbp - 0x58]
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x18], r14
lea r8d, [r9 + 0x48]
mov qword [rbp - 0x48], 3
lea ecx, [r8 + 0x71]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], r12d
mov dword [rbp - 0x20], edi
mov dword [rbp - 0x10], ebx
mov qword [rbp - 8], rsi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x54]
test ebx, ebx
js 0x1400af8f2
xor eax, eax
mov dword [r15], 0x20
and qword [rbp - 0x60], rax
mov ecx, edi
mov rdi, r14
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x40]
mov qword [rax], rsi
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x60]
call fcn.1400725c0
lea rcx, [rbp - 0x50]
call fcn.1400725c0
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400b0d18
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r12, rdx
lea r8, [rsp + 0x20]
mov edx, 0x104
mov r11, rcx
call fcn.140091658
xor r13d, r13d
mov ebx, eax
test eax, eax
js 0x1400b0f0d
mov r14d, 0x105
lea rcx, [rsp + 0x30]
mov edx, r14d
mov r8, r11
call fcn.140091624
mov ebx, eax
test eax, eax
js 0x1400b0f0d
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
lea edx, [r13 + 1]
call fcn.1400a3af4
mov ebx, eax
test eax, eax
js 0x1400b0f0d
mov rax, qword [rsp + 0x20]
lea ecx, [r13 + 0x5c]
add rax, rax
cmp word [rsp + rax + 0x30], cx
jne 0x1400b0dcc
cmp rax, 0x20a
jae 0x1400b0f50
mov word [rsp + rax + 0x30], r13w
cmp word [rsp + 0x30], cx
lea rax, [rsp + 0x30]
lea rdi, [rsp + 0x32]
mov word [rbp + 0x140], r13w
cmovne rdi, rax
mov r15d, r13d
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
mov r8, rdi
lea rcx, [rbp + 0x350]
mov rsi, rax
test rax, rax
jne 0x1400b0e1f
mov rdx, r14
call fcn.140091624
mov ebx, eax
test eax, eax
js 0x1400b0f0d
lea r15d, [rsi + 1]
jmp 0x1400b0e67
mov r14, rsi
mov edx, 0x105
sub r14, rdi
sar r14, 1
mov r9, r14
call fcn.1400d4740
mov ebx, eax
test eax, eax
js 0x1400b0f0d
cmp rsi, rdi
jb 0x1400b0f47
add r14, r14
cmp r14, 0x20a
jae 0x1400b0f56
mov word [rbp + r14 + 0x350], r13w
mov r14d, 0x105
lea r8, [rbp + 0x350]
mov rdx, r14
lea rcx, [rbp + 0x140]
call fcn.1400d46f4
mov ebx, eax
test eax, eax
js 0x1400b0f0d
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b0e9d
test al, 0x10
jne 0x1400b0ecb
mov eax, r15d
lea rcx, [rbp + 0x140]
neg eax
sbb rdx, rdx
and rdx, r12
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400b0efe
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b0efe
test rsi, rsi
je 0x1400b0ef0
lea r8, [0x1403b67e0]
mov rdx, r14
lea rcx, [rbp + 0x140]
lea rdi, [rsi + 2]
call fcn.1400d46f4
mov ebx, eax
test eax, eax
js 0x1400b0f0d
test r15d, r15d
jne 0x1400b0f14
lea ecx, [r15 + 0x5c]
jmp 0x1400b0dea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
mov eax, ebx
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14006f500
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0x80070216
mov ecx, ebx
jmp 0x1400b0f0f
call fcn.14006f784
int3
call fcn.14006f784
int3
Function at 0x1400ba5bc
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp dword [0x14042b500], 1
je 0x1400ba5d6
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x1400ba5fb
mov r8, rcx
mov rcx, qword [0x14042a030]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1400ba600
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400c6244
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
xor ebx, ebx
and qword [rbp - 8], 0
mov rsi, r9
mov r14, r8
mov qword [rbp - 0x18], rbx
lea r9, [rbp - 0x10]
mov rcx, 0xffffffff80000002
lea r8d, [rbx + 1]
call fcn.140070ac0
mov dword [rbp + 0x40], eax
mov edi, eax
test eax, eax
jns 0x1400c6298
mov ecx, eax
jmp 0x1400c633d
and dword [rbp + 0x20], ebx
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea rdx, [rbp + 0x40]
call fcn.140075580
test eax, eax
je 0x1400c6338
test rbx, rbx
jne 0x1400c6302
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1400c62fb
mov ecx, eax
call fcn.140073e30
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400731fc
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x1400c629b
mov edi, 0x8007000e
jmp 0x1400c633b
mov edi, 0x8000ffff
jmp 0x1400c633b
cmp dword [rbp - 0x20], 1
je 0x1400c630f
mov edi, 0x8007000d
jmp 0x1400c633b
mov edx, dword [rbp + 0x20]
lea r9, [rbp + 0x40]
mov r8, rsi
mov rcx, rbx
call fcn.140076d08
mov edi, eax
test eax, eax
js 0x1400c6291
cmp dword [rbp + 0x40], 0
je 0x1400c6342
and qword [rbp - 0x18], 0
jmp 0x1400c6342
mov edi, dword [rbp + 0x40]
mov ecx, edi
call fcn.140075fa0
mov ecx, edi
call fcn.140083bac
lea rcx, [rbp - 0x18]
call fcn.1401d43ac
lea rcx, [rbp - 8]
call fcn.140072d18
lea rcx, [rbp - 0x10]
call fcn.140072d18
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c6404
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, r9
mov rbp, r8
mov qword [rax - 0x10], rdi
lea r9, [rax - 0x10]
mov rcx, 0xffffffff80000001
lea r8d, [rdi + 1]
call fcn.140070ac0
mov dword [rsp + 0x50], eax
mov ebx, eax
test eax, eax
jns 0x1400c644f
mov ecx, eax
call fcn.140075fa0
jmp 0x1400c649c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400c6495
cmp eax, 2
je 0x1400c649a
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.140075580
mov ebx, dword [rsp + 0x50]
test eax, eax
jne 0x1400c649a
mov ecx, ebx
jmp 0x1400c6448
mov edi, 1
mov dword [rsi], edi
mov ecx, ebx
call fcn.140083bac
lea rcx, [rsp + 0x38]
call fcn.140072d18
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400d0f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
or qword [rsp + 0x68], 0xffffffffffffffff
xor ebx, ebx
mov rsi, r8
mov edi, edx
test rcx, rcx
jne 0x1400d0f4b
mov ecx, 0x80070057
jmp 0x1400d0fcb
mov qword [rsp + 0x30], rbx
mov r8d, 2
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400732f0
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x1400d0f99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
jmp 0x1400d0fcd
lea rcx, [rsp + 0x68]
call fcn.1400701d4
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, rsi
lea r9, [rsp + 0x50]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400d0f86
cmp dword [rsp + 0x50], edi
je 0x1400d0fd2
mov ecx, 0x8000ffff
mov ebx, ecx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rsp + 0x68]
call fcn.140072cd0
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d3970
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
mov r14, r8
and qword [rbp - 0x10], 0
mov rsi, rdx
and qword [rbp - 0x18], 0
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400d39cc
lea rdx, [rbp - 0x10]
call fcn.140070a30
mov ebx, eax
test eax, eax
jns 0x1400d39c1
mov ecx, eax
jmp 0x1400d3a45
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 8]
mov r8d, 2
mov rdx, rsi
mov rcx, rdi
call fcn.140070ac0
mov ebx, eax
test eax, eax
js 0x1400d39ba
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.14008e870
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400d39ba
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400d3a0f
mov ecx, dword [rbp + 0x40]
lea rax, [rbp + 0x38]
jmp 0x1400d3a12
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x28], ecx
mov r9d, 4
mov rcx, qword [rbp - 8]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.140075580
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x1400d3a4a
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x18]
call fcn.1400726b8
lea rcx, [rbp - 0x10]
call fcn.140072d18
lea rcx, [rbp - 8]
call fcn.140072d18
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400d5c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov dword [rbp - 0x39], 0x73006d
mov rsi, rcx
mov qword [rbp - 0x61], r14
mov dword [rbp - 0x35], 0x740066
mov dword [rbp - 0x31], 0x73003a
mov dword [rbp - 0x2d], 0x700070
mov dword [rbp - 0x29], 0x63002f
mov dword [rbp - 0x25], 0x630061
mov dword [rbp - 0x21], 0x650068
mov dword [rbp - 0x1d], 0x740073
mov dword [rbp - 0x19], 0x72006f
mov dword [rbp - 0x15], 0x2f0065
mov dword [rbp - 0x11], 0x730025
mov word [rbp - 0xd], r14w
mov dword [rbp - 0x49], 0x6d0048
mov dword [rbp - 0x45], 0x630061
mov dword [rbp - 0x41], 0x65004b
mov dword [rbp - 0x3d], 0x79
mov qword [rbp - 0x69], r14
cmp dword [rcx + 0x88], r14d
jne 0x1400d5de2
cmp dword [rcx + 0x78], r14d
je 0x1400d5de2
lea r15d, [r14 + 0x40]
mov edx, r15d
lea rcx, [rbp - 9]
call fcn.1400ba5bc
mov edi, eax
test eax, eax
jns 0x1400d5cdd
mov ecx, eax
jmp 0x1400d5de7
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.14008e590
mov edi, eax
test eax, eax
js 0x1400d5cd6
lea rax, str.__Global__
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x59], rax
call fcn.1400c53f4
mov rbx, rax
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
mov rcx, rdi
call qword [0x1403b0a10]
mov r8, qword [rbp - 0x61]
lea r9, [rbp - 9]
mov dword [rsp + 0x30], 1
lea rdx, [rbp - 0x59]
mov dword [rsp + 0x28], r14d
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call rdi
mov edi, eax
test eax, eax
js 0x1400d5cd6
call fcn.1400c53ac
mov rbx, rax
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov rcx, rdi
call qword [0x1403b0a10]
lea r8, [rbp - 0x69]
mov edx, r15d
mov rcx, rbx
call rdi
mov edi, eax
test eax, eax
js 0x1400d5cd6
mov rdi, qword [rbp - 0x69]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403b0a10]
mov r9d, r15d
lea r8, [rbp - 9]
xor edx, edx
mov rcx, rdi
call rbx
mov edi, eax
test eax, eax
js 0x1400d5cd6
xor eax, eax
lea rdi, [rbp - 9]
mov rcx, r15
rep stosb byte [rdi], al
lea rcx, [rsi + 0x70]
call fcn.140094394
mov rdx, qword [rbp - 0x69]
lea rcx, [rsi + 0x70]
mov qword [rbp - 0x69], r14
call fcn.1400eed28
mov rcx, rsi
mov dword [rsi + 0x78], r14d
call fcn.1400d1448
mov edi, eax
test eax, eax
js 0x1400d5cd6
mov dword [rsi + 0x7c], 1
jmp 0x1400d5dec
mov edi, r14d
xor ecx, ecx
call fcn.140075fa0
mov ecx, edi
call fcn.140083bac
lea rcx, [rbp - 0x69]
call fcn.1401c20b8
lea rcx, [rbp - 0x61]
call fcn.140072cc8
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14006f500
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400d6e34
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400d6e64
test al, 0x10
je 0x1400d6e5b
xor eax, eax
test ebx, ebx
setne al
jmp 0x1400d6e66
xor eax, eax
test ebx, ebx
sete al
jmp 0x1400d6e66
xor eax, eax
mov dword [rdi], eax
xor ecx, ecx
call fcn.140083bac
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1400f4600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov rsi, rdx
lea rcx, [rbp + 0x40]
call fcn.1400edb94
and qword [rbp - 0x10], 0
lea r9, [rbp + 0x48]
xor r12d, r12d
lea rdx, [rbp + 0x40]
and qword [rsp + 0x20], r12
mov rcx, rsi
mov qword [rbp - 0x18], r12
lea r8d, [r12 + 4]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f466e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
call fcn.140075fa0
jmp 0x1400f46f0
cmp dword [rbp + 0x48], 4
je 0x1400f467d
mov ecx, 0x8007000d
mov ebx, ecx
jmp 0x1400f4664
mov eax, dword [rbp + 0x40]
sub eax, 1
je 0x1400f46b7
cmp eax, 1
jne 0x1400f4674
lea rax, [rbp - 0x20]
mov rdx, rsi
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x1c]
call fcn.1400f7490
mov ebx, eax
test eax, eax
js 0x1400f4662
mov r12, qword [rbp - 0x18]
mov r14d, dword [rbp - 0x20]
mov r15d, dword [rbp - 0x1c]
jmp 0x1400f46ce
mov rdx, rsi
call fcn.1400f73a8
mov ebx, eax
test eax, eax
js 0x1400f4662
mov r14d, 1
xor r15d, r15d
and qword [rbp - 0x18], 0
lea rcx, [rdi + 0x18]
mov rdx, r12
mov qword [rdi + 8], rsi
call fcn.140072fb8
mov eax, dword [rbp + 0x40]
mov dword [rdi], eax
mov dword [rdi + 0x20], r15d
mov dword [rdi + 0x10], r14d
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x18]
call fcn.1400725c0
lea rcx, [rbp - 0x10]
call fcn.1401d43ac
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400f73a8
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x40]
mov rbx, rdx
call fcn.1400edbc0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x78
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400f7406
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
jmp 0x1400f7466
cmp dword [rsp + 0x30], 0x78
je 0x1400f7414
mov ebx, 0x8007000d
jmp 0x1400f7464
mov r8d, 0x3c
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.1400703b4
mov ebx, eax
test eax, eax
js 0x1400f7402
lea rdx, str.spp:migblob_aesencryptor_tokenact
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400f746b
and qword [rsp + 0x20], 0
mov ecx, 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc00004a5
call fcn.1400837f8
mov ebx, 0x80049e59
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006f500
add rsp, 0xd0
pop rbx
ret
Function at 0x140100ea0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
sub rsp, 0x38
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], 8
mov ecx, 0xb9
lea r8d, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140100ed0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
sub rsp, 0x38
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], 9
mov ecx, 0xb9
lea r8d, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140181e94
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
lea rbp, [rsp - 0x37]
sub rsp, 0x90
and dword [rbp - 9], 0
lea rcx, [rbp - 1]
mov rbx, rdx
xor edx, edx
lea r8d, [rdx + 0x38]
call fcn.140383e9c
cmp dword [0x14042a900], 0
jne 0x140181ed4
mov ecx, 0xc004d101
jmp 0x140181f61
and dword [rbp - 9], 0
lea rax, str.data.dat
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x39]
mov rcx, 0xffffffff80000002
mov qword [rbp + 7], rbx
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSoftwareProtectionPlatform
mov qword [rbp + 0xf], rcx
mov qword [rbp + 0x17], rax
xor r9d, r9d
lea rax, str.SYSTEMWPA
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x27], rax
mov ecx, 0xb9
mov rax, qword [0x14042a8e8]
mov qword [rbp + 0x2f], rax
lea r8d, [r9 + 0x28]
lea rax, [0x140063ec0]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x5f]
mov qword [rbp - 0x29], rax
mov rax, qword [0x14042aae8]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x19], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x5f]
test ecx, ecx
jns 0x140181f66
call fcn.140075fa0
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret

Function at 0x140182108
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x48
and qword [r11 - 0x18], 0
lea rax, [0x140059f80]
and qword [r11 - 0x10], 0
lea rdx, [r11 - 0x28]
xor r9d, r9d
mov qword [r11 - 0x28], 3
mov ecx, 0xb9
mov qword [r11 - 0x20], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
add rsp, 0x48
ret

Function at 0x140182370
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x14042a900], ebx
jne 0x14018238e
mov ecx, 0xc004d101
mov ebx, ecx
call fcn.140075fa0
jmp 0x1401823d2
cmp r8d, 2
jne 0x14018239d
mov qword [0x14042a8e8], rdx
jmp 0x1401823d2
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x140059f80]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x30], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, ebx
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x1401829d0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x28], 0
mov rbx, rdx
cmp dword [0x14042a900], 0
jne 0x1401829f5
mov ecx, 0xc004d101
jmp 0x140182a73
lea r9, [rbp + 0x28]
mov r8d, 4
mov rdx, rcx
call fcn.140186628
mov ecx, eax
test eax, eax
js 0x140182a73
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x140182a1e
mov ecx, 0xc004d314
jmp 0x140182a73
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x140064540]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x14042aae8]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x10], 1
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jns 0x140182a78
call fcn.140075fa0
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
lea rcx, [rbp + 0x28]
call fcn.140181c98
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x140182fbc
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
cmp dword [0x14042a900], 0
jne 0x140182fd2
mov ecx, 0xc004d101
jmp 0x140183030
lea rax, [0x14004fd00]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov rax, qword [0x14042aae8]
mov ecx, 0xb9
mov qword [rsp + 0x50], r8
lea r8d, [r9 + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x88]
test ecx, ecx
jns 0x140183035
call fcn.140075fa0
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x140183400
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x48], 0
mov rbx, r8
cmp dword [0x14042a900], 0
mov edi, edx
jne 0x14018342f
mov ecx, 0xc004d101
jmp 0x140183501
test rcx, rcx
je 0x1401834b3
lea r9, [rbp - 0x48]
mov r8d, 4
mov rdx, rcx
call fcn.140186628
mov ecx, eax
test eax, eax
js 0x140183501
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 1
jne 0x140183464
mov ecx, 0xc004d314
jmp 0x140183501
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x14004a540]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x28]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x14042aae8]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x10], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
jmp 0x1401834fd
and qword [rbp - 0x20], 0
lea rax, [0x14004a540]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x40], 3
lea rax, [rbp - 0x50]
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x14042aae8]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x10], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x50]
test ecx, ecx
jns 0x140183506
call fcn.140075fa0
call fcn.140181d1c
mov ecx, eax
mov ebx, eax
call fcn.140083bac
lea rcx, [rbp - 0x48]
call fcn.140181c98
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret