joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6bb01efc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x7ff6bb01f021
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x7ff6bb01efe0
mov ecx, dword [r10]
jmp 0x7ff6bb01f10a
cmp ecx, 0x4e0
jb 0x7ff6bb01f10a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x7ff6bb01f040
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x7ff6bb01f090
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x7ff6bb01fd90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x7ff6bb01fdbf
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x7ff6bb01fdb7
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x7ff6bb01fe08
mov ecx, dword [0x7ff6bb1557f0]
call qword [sym.imp.kernel32.dll_TlsGetValue]
test rax, rax
je 0x7ff6bb01fdf8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x7ff6bb01fdf8
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x7ff6bb01fe13
inc ecx
inc rax
cmp rax, 2
jl 0x7ff6bb01fde6
mov rcx, rbx
call fcn.7ff6bb030d18
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff6bb020d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x7ff6bb0a5348]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [0x7ff6bb0a5380]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.7ff6bb030d20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [0x7ff6bb0a5380]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x7ff6bb020e17
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x7ff6bb020e53
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x7ff6bb155560]
call fcn.7ff6bb0259f0
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x7ff6bb020e0d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.7ff6bb030750
cmp qword [rsp + 0x50], 0
jne 0x7ff6bb020e7a
mov qword [rsp + 0x60], 0
jmp 0x7ff6bb020e8d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0xa8
ret
Function at 0x7ff6bb022220
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x7ff6bb155710], eax
jle 0x7ff6bb022297
lea rcx, [0x7ff6bb155710]
call fcn.7ff6bb030950
cmp dword [0x7ff6bb155710], 0xffffffff
jne 0x7ff6bb022297
lea rdx, [0x7ff6bb0a53c8]
lea rcx, [0x7ff6bb155718]
call fcn.7ff6bb018900
lea rcx, [0x7ff6bb0342b0]
call fcn.7ff6bb030cd4
nop
lea rcx, [0x7ff6bb155710]
call fcn.7ff6bb0308f0
lea rcx, [0x7ff6bb155718]
call fcn.7ff6bb0184b0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyA]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x60]
call fcn.7ff6bb0184b0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegDeleteKeyA]
test eax, eax
jne 0x7ff6bb022302
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
jne 0x7ff6bb022302
mov dword [rsp + 0x20], 1
jmp 0x7ff6bb02230a
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x58
ret
Function at 0x7ff6bb022330
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rdx, [0x7ff6bb0a53c8]
lea rcx, [rsp + 0x68]
call fcn.7ff6bb018900
nop
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.7ff6bb018630
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0184b0
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegCreateKeyA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x7ff6bb0223ba
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0186d0
movzx eax, byte [rsp + 0x34]
jmp 0x7ff6bb022570
mov byte [rsp + 0x60], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x7ff6bb0a53ec]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x7ff6bb022410
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0186d0
movzx eax, byte [rsp + 0x35]
jmp 0x7ff6bb022570
mov byte [rsp + 0x61], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x61]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x7ff6bb0a53f8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x7ff6bb022466
mov byte [rsp + 0x36], 0
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0186d0
movzx eax, byte [rsp + 0x36]
jmp 0x7ff6bb022570
mov byte [rsp + 0x62], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x62]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x7ff6bb0a5408]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x7ff6bb0224bc
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0186d0
movzx eax, byte [rsp + 0x37]
jmp 0x7ff6bb022570
mov rcx, qword [rsp + 0xa0]
call fcn.7ff6bb0184a0
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xa0]
call fcn.7ff6bb0184b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x7ff6bb0a5410]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x7ff6bb022537
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0186d0
movzx eax, byte [rsp + 0x38]
jmp 0x7ff6bb022570
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
jne 0x7ff6bb022550
mov dword [rsp + 0x3c], 1
jmp 0x7ff6bb022558
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x68]
call fcn.7ff6bb0186d0
movzx eax, byte [rsp + 0x39]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x98
ret
Function at 0x7ff6bb0294f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov rcx, rax
call fcn.7ff6bb029de0
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
mov eax, dword [rax + 0x50]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.7ff6bb029e80
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
call fcn.7ff6bb029d80
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.7ff6bb029d80
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.7ff6bb02a0f0
mov qword [rsp + 0x28], 0
jmp 0x7ff6bb0295e9
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x28], rax
jae 0x7ff6bb029773
imul rax, qword [rsp + 0x28], 0x28
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov rcx, rax
call fcn.7ff6bb023b80
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0x30]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
call fcn.7ff6bb029d80
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x80]
call fcn.7ff6bb029d30
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x90]
call fcn.7ff6bb029d80
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x14]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0xa0]
call fcn.7ff6bb029d30
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x108]
call fcn.7ff6bb02a0f0
jmp 0x7ff6bb0295dc
add rsp, 0x118
ret
Function at 0x7ff6bb02ad30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x7ff6bb0a5348]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [0x7ff6bb0a5380]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.7ff6bb030d20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [0x7ff6bb0a5380]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x7ff6bb02ae27
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x7ff6bb02ae63
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x7ff6bb155580]
call fcn.7ff6bb0259f0
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x7ff6bb02ae1d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.7ff6bb030750
cmp qword [rsp + 0x50], 0
jne 0x7ff6bb02ae8a
mov qword [rsp + 0x60], 0
jmp 0x7ff6bb02ae9d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0xa8
ret
Function at 0x7ff6bb02aed0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x7ff6bb02af76
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
mov eax, dword [rsp + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x7ff6bb02af1a
cmp dword [rsp + 0x30], 0
jge 0x7ff6bb02af97
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
jmp 0x7ff6bb02b08d
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x7ff6bb02afb5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x7ff6bb02b078
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.7ff6bb018900
lea rcx, [rsp + 0x58]
call fcn.7ff6bb0184b0
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
jne 0x7ff6bb02b069
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.7ff6bb0186d0
mov rax, qword [rsp + 0x48]
jmp 0x7ff6bb02b08d
lea rcx, [rsp + 0x58]
call fcn.7ff6bb0186d0
jmp 0x7ff6bb02afab
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x88
ret
Function at 0x7ff6bb02bbd0
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x7ff6bb155738]
call fcn.7ff6bb027790
test rax, rax
jne 0x7ff6bb02bc16
movzx eax, word [0x7ff6bb155770]
test eax, eax
jne 0x7ff6bb02bc16
cmp qword [0x7ff6bb155778], 0
je 0x7ff6bb02bc1b
jmp 0x7ff6bb02be03
lea rcx, [0x7ff6bb0a5570]
call fcn.7ff6bb0216d0
mov r8b, 1
mov rdx, rax
lea rcx, [0x7ff6bb0a16d0]
call fcn.7ff6bb02b0b0
mov dword [0x7ff6bb15576c], eax
xor edx, edx
mov eax, dword [0x7ff6bb15576c]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x7ff6bb155770], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x7ff6bb0a16c0]
call qword [sym.imp.kernel32.dll_LoadLibraryExA]
mov qword [0x7ff6bb155778], rax
mov edx, 0x18
lea rcx, [rsp + 0x98]
call fcn.7ff6bb020d00
lea rcx, [rsp + 0x98]
call fcn.7ff6bb029ff0
nop
lea rax, [0x7ff6bb155580]
mov qword [rsp + 0x38], rax
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.7ff6bb020d00
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.7ff6bb025130
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
call fcn.7ff6bb02ccb0
jmp 0x7ff6bb02bce4
lea rcx, [rsp + 0x90]
call fcn.7ff6bb02cc30
movzx edx, byte [rsp + 0x88]
lea rcx, [rsp + 0x90]
call fcn.7ff6bb02cc70
movzx eax, al
test eax, eax
je 0x7ff6bb02bd99
lea rcx, [rsp + 0x90]
call fcn.7ff6bb02cc50
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rax
lea rax, [0x7ff6bb02be70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.7ff6bb02db40
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.7ff6bb02be30
nop
lea rcx, [rsp + 0x78]
call fcn.7ff6baff9e00
jmp 0x7ff6bb02bcd7
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.7ff6bb0216d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x40]
call fcn.7ff6bb020440
mov qword [rsp + 0x68], rax
jmp 0x7ff6bb02bdd4
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x30], rax
je 0x7ff6bb02bdf6
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.7ff6bb02abc0
jmp 0x7ff6bb02bdc6
lea rcx, [rsp + 0x98]
call fcn.7ff6bb02cb80
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x7ff6bb02ec90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x7ff6bb0bb010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.7ff6bb020d00
mov rcx, qword [rsp + 0xa0]
call fcn.7ff6bb0216e0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x98]
call fcn.7ff6bb0216e0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x90]
call fcn.7ff6bb0216e0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
call fcn.7ff6bb0216e0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.7ff6bb02f700
nop
lea rax, [0x7ff6bb02f7e0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.7ff6bb0216d0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x7ff6bb02eda2
lea rcx, [rsp + 0x60]
call fcn.7ff6bb028740
jmp 0x7ff6bb02edbd
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x60]
call fcn.7ff6bb02f330
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.7ff6bb030660
add rsp, 0x78
ret

Function at 0x7ff6bb02ff38
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, [0x7ff6bb035d70]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff6bb02ffbc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff6bb035c70]
cmp byte [rcx + rax], 0
je 0x7ff6bb02ffbc
dec r8
sub rdx, 1
jne 0x7ff6bb02ffa2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x7ff6bb03032c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.7ff6bb03004c
mov ebx, eax
test eax, eax
jne 0x7ff6bb03035c
and dword [rsp + 0x38], eax
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x7ff6bb0303bf
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7ff6bb0303b6
test al, 0x10
je 0x7ff6bb0303b6
bt eax, 0xa
jae 0x7ff6bb0303af
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.7ff6bb0303d0
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x7ff6bb0303ab
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x7ff6bb0303ab
call qword [sym.imp.ucrtbase.dll_terminate]
int3
test edi, edi
jne 0x7ff6bb0303b6
and dword [rsp + 0x3c], 0
jmp 0x7ff6bb0303bb
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff6bb031324
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff6bb03136e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff6bb03136e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff6bb03136e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff6bb03136e
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff6bb03136e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff6bb031370
xor al, al
add rsp, 0x28
ret