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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x50
mov rsi, qword [rsp + 0x80]
mov rbx, r9
mov r14, qword [rsp + 0x88]
mov rax, r8
and qword [r11 - 0x18], 0
mov r10, rdx
and qword [rsi], 0
and dword [r14], 0
cmp qword [r8 + 0x18], 8
jb 0x140071765
mov rax, qword [r8]
lea rcx, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [r10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x140071800
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x80], 8
jb 0x1400717ac
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov r9d, 0x48
lea rax, [rsp + 0x88]
mov r8, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x140071800
mov rcx, qword [rsp + 0x88]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140071816
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop r14
ret

Function at 0x140071840
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x14007187a
mov rdx, qword [r8]
jmp 0x14007187d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov dword [rsi], eax
cmp eax, 2
jne 0x1400718f6
cmp qword [rbx + 0x18], 8
jb 0x1400718b0
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x140071938
cmp qword [rdi + 0x18], 8
jb 0x140071900
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x90]
mov r9d, 0xb
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov dword [rsp + 0x28], 8
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007194e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140074eb0
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, r9
mov rdi, r8
mov r14d, edx
mov r15, rcx
mov dword [r9], 2
lea eax, [rdx - 2]
xor r12d, r12d
cmp eax, 1
ja 0x140075051
mov qword [rsp + 0x30], r12
mov r8d, edx
lea rdx, [rbp - 0x19]
call fcn.14006fe48
nop
lea r8d, [r12 + 1]
lea rdx, [0x1400e2758]
mov rcx, rax
call fcn.1400064b8
lea r13d, [r12 + 7]
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x49], r12
mov word [rbp - 0x59], r12w
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.1400066ac
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x140110cb0]
lea rcx, [rbp - 0x59]
call fcn.1400065c8
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x71], r12
mov word [rsp + 0x38], r12w
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400066ac
nop
lea rbx, [rsp + 0x38]
cmp qword [rbp - 0x69], 8
cmovae rbx, qword [rsp + 0x38]
mov edx, r14d
mov rcx, r15
call fcn.14006fdfc
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov dword [rsi], eax
cmp qword [rbp - 0x69], 8
jb 0x140074fcb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x71], r12
mov word [rsp + 0x38], r12w
cmp qword [rbp - 0x41], 8
jb 0x140074ff0
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x49], r12
mov word [rbp - 0x59], r12w
cmp qword [rbp - 1], 8
jb 0x140075014
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
cmp dword [rsi], r12d
jne 0x140075047
cmp qword [rdi + 0x18], 8
jb 0x140075023
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140075078
xor r9d, r9d
mov r8d, 0x100
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov dword [rsi], eax
lea rcx, [rsp + 0x30]
call fcn.140006130
cmp dword [rsi], r12d
sete al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400c2d60
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x19]
call fcn.1400061b0
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.140005a44
lea rdx, [0x140106f30]
lea rcx, [rbp - 0x59]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400778c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov r11, r8
mov r15, rdx
mov r14, rcx
mov rdx, qword [r8 + 0x10]
add rdx, rdx
cmp qword [r8 + 0x18], 8
jb 0x1400778f4
mov r9, qword [r8]
jmp 0x1400778f7
mov r9, r11
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
test rdx, rdx
je 0x140077927
movzx eax, byte [r9 + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc r8
cmp r8, rdx
jb 0x140077909
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [r14 + 0x28]
mov rsi, rdx
and rsi, rcx
cmp qword [r14 + 0x30], rsi
ja 0x14007794e
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rbx, qword [r14]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x1400779b3
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x1400779b3
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r11
call fcn.1400382cc
test al, al
jne 0x14007798e
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x14007796e
jmp 0x1400779b3
mov rdx, r11
lea rcx, [rbx + 0x10]
call fcn.1400382cc
test al, al
jne 0x1400779a3
mov rbx, qword [rbx]
jmp 0x1400779b3
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140077a98
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.140076fec
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jb 0x140077aad
inc rax
mov qword [r14 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rcx, qword [r14]
mov rdi, qword [rcx]
mov qword [rsp + 0x60], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140077a3b
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
cmp qword [rdx + rsi*8], rcx
jne 0x140077a54
mov qword [rdx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x140077a84
cmp qword [rdx + rsi*8], rbx
jne 0x140077a60
mov qword [rdx + rsi*8], rdi
jmp 0x140077a84
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x140077a84
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.140077ac0
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.1400a31cc
int3
Function at 0x140077b9c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
lea r9, [r8 + 0x10]
mov rdi, rdx
mov rbx, qword [r9 + 0x10]
mov r10, rcx
add rbx, rbx
cmp qword [r9 + 0x18], 8
jb 0x140077bc1
mov r9, qword [r9]
xor ecx, ecx
movabs r11, 0xcbf29ce484222325
test rbx, rbx
je 0x140077bf0
movzx eax, byte [r9 + rcx]
movabs rdx, 0x100000001b3
xor r11, rax
inc rcx
imul r11, rdx
cmp rcx, rbx
jb 0x140077bd2
mov rcx, qword [r10 + 0x28]
mov rdx, r11
shr rdx, 0x20
xor rdx, r11
and rdx, rcx
cmp qword [r10 + 0x30], rdx
ja 0x140077c14
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
mov rcx, qword [r10 + 0x10]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140077c43
cmp qword [rcx + rdx*8], r8
jne 0x140077c38
mov rax, qword [r10]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x10]
mov rax, qword [r10]
jmp 0x140077c3c
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140077c50
cmp qword [rcx + rdx*8], r8
jne 0x140077c50
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x30]
mov rcx, r10
call fcn.140077c88
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rax]
mov rax, rdi
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret
Function at 0x140077f08
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rdx, qword [r8 + 0x10]
add rdx, rdx
cmp qword [r8 + 0x18], 8
jb 0x140077f42
mov r9, qword [r8]
jmp 0x140077f45
mov r9, r14
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
test rdx, rdx
je 0x140077f75
movzx eax, byte [r9 + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc r8
cmp r8, rdx
jb 0x140077f57
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [rsi + 0x28]
mov r11, rdx
and r11, rcx
cmp qword [rsi + 0x30], r11
ja 0x140077f9c
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add r11, rax
add r11, r11
mov rax, qword [rsi + 0x10]
mov rbx, qword [rsi]
mov rcx, qword [rax + r11*8]
cmp rbx, rcx
je 0x140078011
mov rbx, qword [rax + r11*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x140078011
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.1400382cc
test al, al
jne 0x140077fdc
mov rax, qword [rsi + 0x10]
cmp rbx, qword [rax + r11*8]
jne 0x140077fbc
jmp 0x140078011
mov rdx, r14
lea rcx, [rbx + 0x10]
call fcn.1400382cc
test al, al
jne 0x140077ff1
mov rbx, qword [rbx]
jmp 0x140078011
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140077c88
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x1400780a5
mov rax, qword [rdi]
cmp rbx, rax
je 0x140078046
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x10]
mov rax, qword [rdx + r11*8]
cmp rax, qword [rsi]
jne 0x140078062
mov qword [rdx + r11*8], rdi
mov rax, qword [rsi + 0x10]
mov qword [rax + r11*8 + 8], rdi
jmp 0x140078091
cmp rax, rbx
jne 0x14007806d
mov qword [rdx + r11*8], rdi
jmp 0x140078091
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r11*8 + 8], rcx
cmp rcx, rdi
je 0x140078091
mov rdx, qword [rsi + 0x10]
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r11*8 + 8], rcx
mov rcx, rsi
call fcn.140077ac0
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140089080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, rcx
mov r9, qword [rdx + 0x10]
jb 0x140089091
mov rdx, qword [rdx]
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
test r9, r9
je 0x1400890bf
movzx eax, byte [rdx + rcx]
movabs r11, 0x100000001b3
xor r8, rax
inc rcx
imul r8, r11
cmp rcx, r9
jb 0x1400890a2
mov rcx, r8
mov eax, 0x69c16bd
shr rcx, 0x20
xor ecx, r8d
btr ecx, 0x1f
mul ecx
mov r8d, ecx
sub r8d, edx
shr r8d, 1
add r8d, edx
mov rdx, qword [r10 + 0x28]
shr r8d, 0x10
imul eax, r8d, 0x1f31d
sub ecx, eax
imul eax, r8d, 0xb14
imul ecx, ecx, 0x41a7
sub ecx, eax
lea eax, [rcx + 0x7fffffff]
cmovns eax, ecx
cdqe
and rax, rdx
cmp qword [r10 + 0x30], rax
ja 0x140089121
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
ret

Function at 0x14009720c
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140097245
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14009726c
test rbx, rbx
je 0x140097268
and dword [rbx], 0
call fcn.14009830c
mov qword [rbx + 8], rax
mov al, 1
jmp 0x1400972c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
and dword [rsp + 0x20], 0
call fcn.14009830c
mov qword [rsp + 0x28], rax
cmp esi, 0xb7
jne 0x1400972b7
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140097498
cmp dword [rax], 3
jne 0x1400972b7
test rbx, rbx
je 0x1400972c7
and dword [rbx], 0
call fcn.14009830c
jmp 0x1400972c3
call fcn.14009830c
test rbx, rbx
je 0x1400972f4
mov dword [rbx], esi
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c2d60
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140027ce8
movups xmm6, xmmword [rax]
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x40]
call fcn.140003b84
nop
movdqu xmmword [rsp + 0x20], xmm6
lea r9, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140096614
lea rdx, [0x140107700]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140097350
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
mov edi, eax
mov eax, 1
xor esi, esi
test edi, edi
cmove edi, eax
mov ecx, edi
lea eax, [rsi + 2]
mul rcx
lea rbp, [rsi - 1]
cmovo rax, rbp
mov rcx, rax
call fcn.1400a40f0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x28], sil
lea r8d, [rsi + 0x1f]
lea rdx, str.boost::filesystem::current_path
lea rcx, [rsp + 0x28]
call fcn.140003da0
nop
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140097403
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140097405
mov eax, esi
lea r8, [rsp + 0x28]
mov ecx, eax
call fcn.140096704
nop
cmp qword [rsp + 0x40], 0x10
jb 0x14009742b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rsi
mov word [r14], si
cmp word [rbx], si
je 0x14009744c
inc rbp
cmp word [rbx + rbp*2], si
jne 0x140097440
mov rsi, rbp
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.1400063d0
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c2d60
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140097498
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400974cd
mov rcx, qword [rdx]
jmp 0x1400974d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x1400974f7
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call fcn.140096bfc
jmp 0x14009761a
xor r12d, r12d
bt r14d, 0xa
jae 0x1400975e0
cmp qword [rdi + 0x18], 8
jb 0x140097511
mov rdx, qword [rdi]
jmp 0x140097514
mov rdx, rdi
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp word [rdx], r12w
jne 0x140097530
mov r8, r12
jmp 0x14009753e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140097534
lea rcx, [rbp - 0x28]
call fcn.1400063d0
mov dword [rsp + 0x28], 0x2000000
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140096ae8
mov rbx, rax
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x10], 8
jb 0x140097578
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp rbx, 0xffffffffffffffff
jne 0x1400975a0
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call fcn.140096bfc
nop
jmp 0x14009761a
mov rcx, rdi
call fcn.140096b2c
test al, al
jne 0x1400975d1
mov edx, r14d
mov rcx, rdi
call fcn.140096798
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14009761a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r15, r15
je 0x1400975f1
mov dword [r15], r12d
call fcn.14009830c
mov qword [r15 + 8], rax
mov edx, r14d
mov rcx, rdi
test r14b, 0x10
mov dword [rbp - 0x30], 3
jne 0x14009760b
mov dword [rbp - 0x30], 2
call fcn.140096798
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp - 0x30]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c2d60
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400986a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x30], 0xc15730e2
mov dword [rsp + 0x34], 0x7f0725e3
mov byte [rsp + 0x38], 0
and qword [rsp + 0x40], 0
mov byte [rsp + 0x48], 0
mov eax, dword [0x140111d18]
cmp eax, dword [rsp + 0x30]
je 0x14009880e
mov ecx, dword [rsp + 0x34]
xor eax, eax
lock cmpxchg dword [0x140111d18], ecx
jne 0x140098846
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x140098759
cmp byte [rsp + 0x48], bl
jne 0x140098719
lea rcx, [rsp + 0x48]
call fcn.140098570
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14009874f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140098769
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
nop
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
nop dword [rax + rax]
mov dword [0x140110b00], eax
cmp byte [rsp + 0x38], 0
jne 0x14009878e
lock inc dword [0x140111d1c]
mov byte [rsp + 0x38], 1
mov eax, dword [rsp + 0x30]
xchg dword [0x140111d18], eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400987ff
mov eax, dword [0x140111d1c]
cmp eax, 1
jle 0x14009880e
cmp byte [rsp + 0x48], bl
jne 0x1400987bd
lea rcx, [rsp + 0x48]
call fcn.140098570
lea r9, [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400987f5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140098813
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14009882c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c2d60
add rsp, 0xb0
pop rbx
ret
cmp byte [rsp + 0x38], 0
jne 0x1400988c1
lock inc dword [0x140111d1c]
mov byte [rsp + 0x38], 1
mov eax, dword [0x140111d18]
cmp eax, dword [rsp + 0x30]
je 0x14009880e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x1400988c6
cmp byte [rsp + 0x48], cl
jne 0x14009887f
lea rcx, [rsp + 0x48]
call fcn.140098570
lea r9, [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400988b7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
jmp 0x1400986db
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
nop dword [rax + rax]
jmp 0x1400986db
Function at 0x14009f480
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, r9
mov rcx, rdi
mov rdx, r8
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x14009f4c3
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x14009f4c5
mov bl, 1
mov rsi, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bf6d0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov ecx, 5
call fcn.1400a4298
mov ebx, 2
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, ebx
lea edx, [rbx + 0x20]
call sub.KERNEL32.dll_GetLocaleInfoW
mov eax, dword [rsp + 0x30]
cmp ax, 0x30
je 0x1400bf720
cmp ax, 0x31
jne 0x1400bf714
mov ebx, 1
jmp 0x1400bf720
xor ebx, ebx
cmp ax, 0x32
lea ecx, [rbx + 3]
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret