joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010e950
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14010eab0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1401942e0]
cmp ecx, 0xffffffff
jne 0x14010ead8
xor esi, esi
jmp 0x14010eae1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x14010eb25
mov rax, qword [rsi + 0x30]
nop
mov rbx, qword [rsi + 0x18]
test rax, rax
jne 0x14010eb68
test rbx, rbx
jne 0x14010eb70
lea rdx, [0x14010e050]
lea rcx, [0x1401a47e8]
call fcn.14010db20
mov ecx, dword [0x1401942e0]
cmp ecx, 0xffffffff
je 0x14010eb25
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x14010eb58
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14010eb58
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14010ebc4
nop dword [rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x14010eba7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x14010eb70
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14010eaf0
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14010ebff
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x14010ebff
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.14010e290
mov rax, qword [rsi + 0x30]
test rax, rax
jne 0x14010ebe0
jmp 0x14010eaf0
Function at 0x14010eab0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14010eab0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1401942e0]
cmp ecx, 0xffffffff
jne 0x14010ead8
xor esi, esi
jmp 0x14010eae1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x14010eb25
mov rax, qword [rsi + 0x30]
nop
mov rbx, qword [rsi + 0x18]
test rax, rax
jne 0x14010eb68
test rbx, rbx
jne 0x14010eb70
lea rdx, [0x14010e050]
lea rcx, [0x1401a47e8]
call fcn.14010db20
mov ecx, dword [0x1401942e0]
cmp ecx, 0xffffffff
je 0x14010eb25
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x14010eb58
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14010eb58
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14010ebc4
nop dword [rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x14010eba7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x14010eb70
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14010eaf0
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14010ebff
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x14010ebff
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.14010e290
mov rax, qword [rsi + 0x30]
test rax, rax
jne 0x14010ebe0
jmp 0x14010eaf0
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, 0x78b540ab
adc ecx, dword [rsp + rax*8 - 0xf]
xchg byte [rbx], sil
mov ebp, 0x7ca65e69
sar bl, cl
sub al, 0xc
mov ecx, 0x1302a6b5
loop 0x14003f6af
fidiv word [rsi - 0x56038ed9]
pop rax
cwde
leave
insd dword [rdi], dx
invalid
push rax
pop rbp
xchg ebp, eax
int 0x1e
xor al, 5
add eax, 0xcc84454a
ret
invalid
xlatb
out 0xa6, al
mov dword [rdi + 0xc], 0xabf060cf
jae 0x14003f64a
stosd dword [rdi], eax
invalid
invalid
stosd dword [rdi], eax
and r14b, cl
and edx, dword [rsi]
ja 0x14003f682
sal byte es:[rsi + 0x6595513f], 0x78
iretd
mov al, 0x7a
invalid
mov ecx, 0x6c31e16d
xor dword [rdx + rsi + 0x48], ebp
pop rdi
fmul dword [rax + rax*4 + 0x3b]
loopne 0x14003f754
or bh, byte [rbp - 0x2b]
fstp dword [rcx]
pushfq
or ebp, dword [rbp - 0x63]
adc eax, 0xa765d5b2
mov dl, 0xd5
cmpsd dword gs:[rsi], dword [rdi]
invalid
mov dl, 0xd5
cmpsd dword gs:[rsi], dword [rdi]
movsd dword [rdi], dword [rsi]
in al, dx
sal byte [rsi - 0x3c3b4e50], 0x33
wait
mov byte [rax + rbp*2 - 0x6ebf14db], dh
fst dword [rdi + 0x3ec3ca3]
xchg edi, eax
invalid
cmp al, 0xec
invalid
stosb byte [rdi], al
invalid
xchg edi, eax
movabs dword [0x1efee6dbaa03ec3c], eax
imul edi, dword [rcx + 0x7e236ce1], 0xffffffef
loope 0x14003f782
and edi, dword [rsi - 0x11]
invalid
loope 0x14003f76e
pop rax
mov ch, 0xcc
cmp al, 0xb0
jle 0x14003f7b6
out dx, al
ja 0x14003f777
or dword [rdi], ecx
xor byte fs:[rdi], bh
xor dword [rcx - 0x3d], eax
nop
invalid
vcvtsd2ss xmm10, xmm8, qword [rbp - 0x1916bccf]
call 0x17800f7bf
call 0x17800f7bf
fild word [rsi - 0x13]
invalid
sbb dword [rcx + 0x6129fd12], ebp
movabs dword [0x98fee12e039a4502], eax
jp 0x14003f7fe
test al, 0x83
setae byte [rax + 0x4bd0b07f]
xlatb
sti
invalid
invalid
inc dword [rcx + 0x4dbf455e]
jae 0x14003f84a
mov dl, bl
insd dword [rdi], dx
push rsp
cli
cmpsb byte [rsi], byte [rdi]
cmp eax, 0xccb59362
or eax, 0x79435920
sar dword [r10 + rbx*4 - 0x52bc270f], 1
ror dword [rbp + 0x29], cl
add byte [rsi + 0x5b46cdc5], ah
pop rbx
ret 0xf3be
in eax, dx
xor al, 0x14
push rsp
loop 0x14003f8af
cld
invalid
outsb dx, byte [rsi]
sar byte [rax], cl
invalid
Function at 0x1400081d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007fd4
Function at 0x14000d47c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d4ac
xor eax, eax
jmp 0x14000d56f
mov rbp, rbx
cmp word [rax], si
je 0x14000d4d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d4b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d4b4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d39c
movsxd r14, eax
test eax, eax
jne 0x14000d50f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d4a5
mov rcx, r14
call fcn.140009ccc
mov rdi, rax
test rax, rax
jne 0x14000d528
xor ecx, ecx
call fcn.140009054
jmp 0x14000d504
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d39c
test eax, eax
jne 0x14000d559
mov rcx, rdi
call fcn.140009054
jmp 0x14000d563
xor ecx, ecx
call fcn.140009054
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001188c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400118a2
mov al, 1
jmp 0x140011902
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400118b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011900
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000dd9c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011900
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011900
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011900
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011902
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140012940
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140007314
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400129ca
cmp byte [rbp - 0x21], r15b
je 0x1400129c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012a00
call fcn.1400092a4
test eax, eax
jne 0x1400129ec
cmp byte [rbp - 0x21], r15b
je 0x1400129e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012a00
cmp byte [rbp - 0x21], r15b
je 0x1400129fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000bae8
test eax, eax
jne 0x140012aa0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007314
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012a3f
cmp byte [rbp - 0x21], r15b
je 0x140012a74
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012a74
call fcn.1400092a4
test eax, eax
jne 0x140012a60
cmp byte [rbp - 0x21], r15b
je 0x140012a59
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012a74
cmp byte [rbp - 0x21], r15b
je 0x140012a71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000bae8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012aa0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012aa3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012ab1
mov rcx, rdi
call fcn.140009054
cmp byte [rbp + 0x3f], r15b
je 0x140012ac0
mov rcx, qword [rbp + 0x27]
call fcn.140009054
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400014e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov eax, 0x5a4d
mov rdi, rdx
mov r11, rcx
cmp word [rcx], ax
jne 0x1400015b3
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
cmp dword [r8], 0x4550
jne 0x1400015b3
mov edx, 0x20b
mov eax, 0x88
cmp word [r8 + 0x18], dx
mov ecx, 0x78
cmovne eax, ecx
xor r10d, r10d
mov ebp, dword [rax + r8]
mov r15d, dword [r11 + rbp + 0x1c]
lea r14, [r11 + rbp]
mov r12d, dword [r14 + 0x24]
add r15, r11
mov esi, dword [r14 + 0x20]
add r12, r11
mov r9d, dword [r14 + 0x18]
add rsi, r11
sub r9d, 1
mov r13d, dword [rax + r8 + 4]
js 0x1400015b3
nop dword [rax + rax]
lea r8d, [r9 + r10]
mov rax, rdi
sar r8d, 1
movsxd rbx, r8d
mov edx, dword [rsi + rbx*4]
add rdx, r11
sub rdx, rdi
movzx ecx, byte [rax]
cmp cl, byte [rax + rdx]
jne 0x140001599
inc rax
test cl, cl
jne 0x140001586
xor eax, eax
jmp 0x14000159e
sbb eax, eax
or eax, 1
test eax, eax
jns 0x1400015a8
lea r9d, [r8 - 1]
jmp 0x1400015ae
jle 0x1400015d2
lea r10d, [r8 + 1]
cmp r9d, r10d
jge 0x140001570
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
cmp r9d, r10d
jl 0x1400015b3
cmp r8d, dword [r14 + 0x14]
jge 0x1400015b3
movzx eax, word [r12 + rbx*2]
mov ecx, dword [r15 + rax*4]
cmp ecx, ebp
jb 0x1400015f3
mov eax, r13d
add eax, ebp
cmp ecx, eax
jb 0x1400015b3
lea rax, [r11 + rcx]
jmp 0x1400015b5
Function at 0x140001920
Capabilities:
Access peb ldr_data
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400fcdc0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov qword [rcx], 0
lea rdx, [rsp + 0x58]
mov eax, dword [0x14007afc8]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x14007afc0]
mov rdi, rcx
mov dword [rsp + 0x60], eax
mov esi, 0x23f0
movzx eax, byte [0x14007afcc]
mov r9d, 0x7ffe0030
mov byte [rsp + 0x64], al
mov eax, dword [str.CI.dll]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14007afd4]
mov word [rsp + 0x54], ax
movzx eax, byte [0x14007afd6]
mov byte [rsp + 0x56], al
movsd qword [rsp + 0x58], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rsp + 0x50]
cmp word [rcx + 0x120], si
lea rcx, [rsp + 0x70]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.1400027d0
lea r9, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140001600
mov ebx, eax
test eax, eax
jns 0x140001a1b
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, str.Failed_to_map__ls:__08X_n
call fcn.1400018c0
jmp 0x140001b50
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x140001a84
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001d30
mov ebx, eax
test eax, eax
jns 0x140001a59
mov edx, eax
lea rcx, str.Failed_to_FindKernelModule__08X_n
call fcn.1400018c0
jmp 0x140001b3e
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140001fe0
test eax, eax
je 0x140001b39
mov rax, qword [rsp + 0x30]
xor ebx, ebx
mov qword [rdi], rax
jmp 0x140001b3e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140001d30
mov ebx, eax
test eax, eax
js 0x140001b3e
mov r11, qword [rsp + 0x48]
xor r10d, r10d
xor r9d, r9d
test r11, r11
je 0x140001b2d
mov rbx, qword [rsp + 0x40]
lea rsi, [0x14007af04]
nop dword [rax]
mov r8, r9
xor edx, edx
sub r8, rsi
mov rax, rsi
add r8, rbx
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x140001add
test cl, cl
jne 0x140001b29
inc edx
inc rax
cmp edx, 4
jb 0x140001ad0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x140001ac0
test rax, rax
je 0x140001b2d
movsxd rcx, dword [rax + rbx + 4]
mov rbx, qword [rsp + 0x30]
add rcx, rax
add rbx, 8
add rbx, rcx
lea rcx, str.i_:_0x_llx_n_gCiEnabled_:__llx_n_gCiEnabledAddress_:__llx_n
call fcn.1400018c0
mov qword [rdi], rbx
xor ebx, ebx
jmp 0x140001b3e
xor cl, cl
jmp 0x140001ae9
lea rcx, str.failed_to_find_CiEnabled_n
call fcn.1400018c0
mov ebx, 0xc0000225
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140076da0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001b80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400fcdc0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140001c90
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x140001c67
lea r8, [0x14007b048]
mov dword [rsp + 0x30], 1
mov edx, 5
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001c00
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x40]
mov rdx, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x140001c67
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140076da0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x140001d30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov r11, rsp
push rbp
push r14
sub rsp, 0x168
mov rax, qword [0x1400fcdc0]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov r14, rdx
mov qword [rdx], 0
xor edx, edx
mov dword [r11 - 0x28], 0
mov rbp, rcx
lea r9, [r11 - 0x28]
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001edf
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x150]
mov qword [rsp + 0x198], rsi
add r8, r8
mov qword [rsp + 0x160], rdi
mov rdx, qword [rax + 0x60]
mov rcx, qword [rdx + 0x30]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x150]
xor r9d, r9d
add r8d, r8d
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
test eax, eax
js 0x140001eb1
mov qword [rsp + 0x190], rbx
xor ebx, ebx
cmp dword [rdi], ebx
jbe 0x140001ea9
mov ecx, ebx
lea rax, [rsp + 0x20]
imul rcx, rcx, 0x128
mov edx, 2
add rcx, 8
add rcx, rdi
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001e10
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rbp
movzx eax, word [rsp + 0x46]
add rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001e9f
inc ebx
cmp ebx, dword [rdi]
jb 0x140001df2
jmp 0x140001ea9
mov rax, qword [rsp + 0x30]
xor esi, esi
mov qword [r14], rax
mov rbx, qword [rsp + 0x190]
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x160]
mov eax, esi
mov rsi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140076da0
add rsp, 0x168
pop r14
pop rbp
ret
Function at 0x140001fe0
Capabilities:
Disable driver code integrity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rdx
xor ebx, ebx
lea rdx, str.CiInitialize
mov qword [r8], rbx
mov r14, r8
mov rsi, rcx
call fcn.1400014e0
lea rdx, str.CiInitialize
mov rcx, rsi
mov rdi, rax
call fcn.1400014e0
mov r9, rax
test rax, rax
je 0x14000211d
mov rax, qword gs:[0x30]
mov r10d, ebx
mov r8d, ebx
mov rcx, qword [rax + 0x60]
mov eax, 0x3fab
cmp word [rcx + 0x120], ax
jb 0x1400020b2
lea r11, [0x14007aed0]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140002072
test dl, dl
jne 0x1400020ae
inc ecx
inc rax
cmp ecx, 0x10
jb 0x140002065
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140002060
movzx ecx, bx
nop dword [rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x1400020a0
jmp 0x14000210c
xor cl, cl
jmp 0x14000207e
lea r11, [0x14007aee8]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x1400020d2
test dl, dl
jne 0x140002124
inc ecx
inc rax
cmp ecx, 0xc
jb 0x1400020c5
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x1400020c0
mov ecx, ebx
nop dword [rax + rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x140002100
test r10d, r10d
jne 0x140002128
lea rcx, str.failed_to_find_CipInitialize_n
call fcn.1400018c0
xor eax, eax
jmp 0x1400021e9
xor cl, cl
jmp 0x1400020de
movzx r8d, cx
mov r9d, ebx
movsxd rcx, r10d
mov r10d, ebx
lea rax, [rcx + r8]
mov r11d, dword [rax + rdi]
add rdi, 4
add r11, rcx
add r11, r8
add r11, rdi
lea rdi, [0x14007aef8]
mov r8, r11
sub r8, rdi
nop word [rax + rax]
mov ecx, ebx
mov rax, rdi
movzx edx, byte [rax]
cmp byte [r8 + rax], dl
je 0x140002172
test dl, dl
jne 0x1400021c2
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140002165
mov cl, 1
test cl, cl
mov eax, r9d
cmove eax, r10d
inc r9d
inc r8
movsxd r10, eax
cmp r9d, 0xff
jl 0x140002160
nop dword [rax]
inc bx
movzx r8d, bx
cmp byte [r8 + rdi], 0
jne 0x1400021a0
test eax, eax
jne 0x1400021c6
lea rcx, str.failed_to_find_Ci_gOptions_n
call fcn.1400018c0
xor eax, eax
jmp 0x1400021e9
xor cl, cl
jmp 0x14000217e
lea rax, [r10 + r8]
movsxd rax, dword [rax + r11]
sub rax, rsi
add rax, 4
add rax, r10
add rax, r8
add rax, r11
add rax, rbp
mov qword [r14], rax
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140002830
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400fcdc0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.140076dc0
test rax, rax
je 0x140002861
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140003570]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400028ae
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140076da0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1400030e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x3f], 0
mov rbx, rcx
je 0x140003106
xor eax, eax
lea r8d, [rax + 0x64]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x3e
jb 0x1400030f1
mov byte [rdx + 0x3f], 0
call fcn.140002e80
mov rax, rbx
add rsp, 0x20
pop rbx
ret