joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065e40
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 0x140065e7a
mov rdx, qword [r8]
jmp 0x140065e7d
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]
mov dword [rsi], eax
cmp eax, 2
jne 0x140065eea
cmp qword [rbx + 0x18], 8
jb 0x140065eaa
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]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x140065f23
cmp qword [rdi + 0x18], 8
jb 0x140065ef4
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x90]
mov r9d, 4
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov dword [rsp + 0x28], r9d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140065f33
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x140065f50
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
mov rbx, r9
and qword [rsp + 0x30], 0
mov rax, r8
mov r10, rdx
mov dil, 1
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x140065f83
mov rax, qword [r8]
lea rcx, [rsp + 0x30]
mov r9d, 0x20106
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [r10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsi], eax
cmp eax, 2
je 0x140065fcc
cmp qword [rbx + 0x18], 8
jb 0x140065fb3
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
mov dword [rsi], eax
sete dil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140065fdc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov al, dil
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140065ff0
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 0x140066035
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]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x1400660c4
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x80], 8
jb 0x140066076
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]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x1400660c4
mov rcx, qword [rsp + 0x88]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400660d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x1400660f0
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 0x14006612a
mov rdx, qword [r8]
jmp 0x14006612d
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]
mov dword [rsi], eax
cmp eax, 2
jne 0x14006619a
cmp qword [rbx + 0x18], 8
jb 0x14006615a
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]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x1400661d6
cmp qword [rdi + 0x18], 8
jb 0x1400661a4
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]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400661e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x14006b55c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rdi, r8
mov r15, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14006b597
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14006b5c6
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14006b5a8
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 0x14006b5ed
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rbx, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x14006b652
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14006b652
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, rdi
call fcn.1400326a0
test al, al
jne 0x14006b62d
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x14006b60d
jmp 0x14006b652
mov rdx, rdi
lea rcx, [rbx + 0x10]
call fcn.1400326a0
test al, al
jne 0x14006b642
mov rbx, qword [rbx]
jmp 0x14006b652
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14006b737
mov rax, qword [r14]
mov r13, qword [rax]
mov r9, rdi
mov r8, qword [r13 + 8]
mov rdx, r13
call fcn.14003c394
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jb 0x14006b74f
inc rax
mov qword [r14 + 8], rax
mov qword [r13 + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rcx, qword [r14]
mov rdi, qword [rcx]
mov qword [rsp + 0x70], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14006b6da
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 0x14006b6f3
mov qword [rdx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x14006b723
cmp qword [rdx + rsi*8], rbx
jne 0x14006b6ff
mov qword [rdx + rsi*8], rdi
jmp 0x14006b723
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x14006b723
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.14006b75c
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.1400931f0
int3
Function at 0x14006b80c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea rsi, [r8 + 0x10]
mov rbx, r8
cmp qword [rsi + 0x18], 8
mov r15, rdx
mov r9, qword [rsi + 0x10]
mov r14, rcx
jb 0x14006b841
mov r8, qword [rsi]
jmp 0x14006b844
mov r8, rsi
xor ebp, ebp
movabs rcx, 0xcbf29ce484222325
mov edx, ebp
add r9, r9
je 0x14006b875
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x14006b857
mov r8, qword [r14 + 0x28]
mov rdx, rcx
shr rdx, 0x20
xor rdx, rcx
and rdx, r8
cmp qword [r14 + 0x30], rdx
ja 0x14006b899
shr r8, 1
or rax, 0xffffffffffffffff
sub rax, r8
add rdx, rax
mov rcx, qword [r14 + 0x10]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14006b8c8
cmp qword [rcx + rdx*8], rbx
jne 0x14006b8bd
mov rax, qword [r14]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r14 + 0x10]
mov rax, qword [r14]
jmp 0x14006b8c1
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14006b8d5
cmp qword [rcx + rdx*8], rbx
jne 0x14006b8d5
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
cmp rbx, qword [r14]
je 0x14006b91b
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rsi + 0x18], 8
jb 0x14006b8ff
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsi + 0x18], 7
mov rcx, rbx
mov qword [rsi + 0x10], rbp
mov word [rsi], bp
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
dec qword [r14 + 8]
mov rbx, qword [rsp + 0x40]
mov rax, r15
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov qword [r15], rdi
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14006baec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r12, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14006bb28
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
mov edx, r10d
lea r9, [rax + rax]
test r9, r9
je 0x14006bb5f
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14006bb41
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 0x14006bb86
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rdi, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rdi, rcx
je 0x14006bc3e
mov rdi, qword [rax + rsi*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rcx
je 0x14006bc3e
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
mov rcx, r12
call fcn.1400326a0
test al, al
jne 0x14006bbce
mov rax, qword [r14 + 0x10]
cmp rdi, qword [rax + rsi*8]
jne 0x14006bbae
jmp 0x14006bc3e
mov rdx, r12
lea rcx, [rdi + 0x10]
call fcn.1400326a0
xor r12d, r12d
test al, al
jne 0x14006bbe6
mov rdi, qword [rdi]
jmp 0x14006bc3e
cmp rbx, qword [r14]
je 0x14006bc2f
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x28], 8
jb 0x14006bc11
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbx + 0x28], 7
mov qword [rbx + 0x20], r12
mov word [rbx + 0x10], r12w
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
dec qword [r14 + 8]
mov qword [r15], rdi
mov byte [r15 + 8], r12b
mov rax, r15
jmp 0x14006bcd2
mov rax, qword [rbx]
cmp rdi, rax
je 0x14006bc73
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r14]
jne 0x14006bc8f
mov qword [rdx + rsi*8], rbx
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rbx
jmp 0x14006bcbe
cmp rax, rdi
jne 0x14006bc9a
mov qword [rdx + rsi*8], rbx
jmp 0x14006bcbe
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rbx
je 0x14006bcbe
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.14006b75c
nop
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14007b494
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov r9, qword [rdx + 0x10]
jb 0x14007b4ab
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x14007b4db
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x14007b4bd
mov rax, rcx
mov edx, 0x1f31d
shr rax, 0x20
xor ecx, eax
btr ecx, 0x1f
call qword [sym.imp.msvcrt.dll_ldiv]
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x14007b514
add ecx, 0x7fffffff
mov rdx, qword [rbx + 0x28]
movsxd rax, ecx
and rax, rdx
cmp qword [rbx + 0x30], rax
ja 0x14007b531
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
add rsp, 0x20
pop rbx
ret

Function at 0x140087414
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14011aa00]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140087452
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140087473
test rbx, rbx
je 0x14008746f
and dword [rbx], 0
call fcn.140088340
mov qword [rbx + 8], rax
mov al, 1
jmp 0x1400874ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
and dword [rsp + 0x20], 0
call fcn.140088340
mov qword [rsp + 0x28], rax
cmp esi, 0xb7
jne 0x1400874b8
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140087670
cmp dword [rax], 3
jne 0x1400874b8
test rbx, rbx
je 0x1400874c8
and dword [rbx], 0
call fcn.140088340
jmp 0x1400874c4
test rbx, rbx
je 0x1400874ef
call fcn.140088340
mov dword [rbx], esi
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400afd50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x48]
call fcn.1400035c0
nop
call fcn.140088340
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140022528
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14008683c
lea rdx, [0x140110b70]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140087548
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14011aa00]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
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.140093f2c
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], sil
lea r8d, [rsi + 0x1f]
lea rdx, str.boost::filesystem::current_path
lea rcx, [rsp + 0x30]
call fcn.140003804
nop
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1400875ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400875ef
mov eax, esi
lea r8, [rsp + 0x30]
mov ecx, eax
call fcn.14008692c
nop
cmp qword [rsp + 0x48], 0x10
jb 0x14008760f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rsi
mov word [r14], si
cmp word [rbx], si
je 0x140087630
inc rbp
cmp word [rbx + rbp*2], si
jne 0x140087624
mov rsi, rbp
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.140005bf4
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rax, r14
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400afd50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140087670
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, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rax, qword [0x14011aa00]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400876b0
mov rcx, qword [rdx]
jmp 0x1400876b3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x1400876d4
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140086da0
jmp 0x1400877e5
xor r12d, r12d
bt r15d, 0xa
jae 0x1400877ab
cmp qword [rdi + 0x18], 8
jb 0x1400876ee
mov rdx, qword [rdi]
jmp 0x1400876f1
mov rdx, rdi
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp word [rdx], r12w
jne 0x14008770d
mov r8, r12
jmp 0x14008771b
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140087711
lea rcx, [rbp - 0x30]
call fcn.140005bf4
mov dword [rsp + 0x28], 0x2000000
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140086ca8
mov rbx, rax
mov qword [rbp - 0x40], rax
cmp qword [rbp - 0x18], 8
jb 0x14008774f
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp rbx, 0xffffffffffffffff
jne 0x140087777
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140086da0
nop
jmp 0x1400877e5
mov rcx, rdi
call fcn.140086ce0
test al, al
jne 0x1400877a2
mov edx, r15d
mov rcx, rdi
call fcn.1400869b8
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400877e5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400877bc
mov dword [r14], r12d
call fcn.140088340
mov qword [r14 + 8], rax
mov edx, r15d
mov rcx, rdi
call fcn.1400869b8
mov dword [rbp - 0x3c], eax
test r15b, 0x10
mov dword [rbp - 0x40], 3
jne 0x1400877de
mov dword [rbp - 0x40], 2
mov rax, qword [rbp - 0x40]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400afd50
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140088680
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14011aa00]
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 [0x14011c2c8]
cmp eax, dword [rsp + 0x30]
je 0x1400887cd
mov ecx, dword [rsp + 0x34]
xor eax, eax
lock cmpxchg dword [0x14011c2c8], ecx
jne 0x1400887fe
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x140088736
cmp byte [rsp + 0x48], bl
jne 0x140088702
lea rcx, [rsp + 0x48]
call fcn.140088574
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14008872c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140088740
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14011ab80], eax
cmp byte [rsp + 0x38], 0
jne 0x14008875f
lock inc dword [0x14011c2cc]
mov byte [rsp + 0x38], 1
mov eax, dword [rsp + 0x30]
xchg dword [0x14011c2c8], eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400887c4
mov eax, dword [0x14011c2cc]
cmp eax, 1
jle 0x1400887cd
cmp byte [rsp + 0x48], bl
jne 0x14008878e
lea rcx, [rsp + 0x48]
call fcn.140088574
lea r9, [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400887ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x1400887d2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x40]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400887e5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400afd50
add rsp, 0xb0
pop rbx
ret
cmp byte [rsp + 0x38], 0
jne 0x14008886d
lock inc dword [0x14011c2cc]
mov byte [rsp + 0x38], 1
mov eax, dword [0x14011c2c8]
cmp eax, dword [rsp + 0x30]
je 0x1400887cd
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140088872
cmp byte [rsp + 0x48], cl
jne 0x140088837
lea rcx, [rsp + 0x48]
call fcn.140088574
lea r9, [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140088863
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbx
jmp 0x1400886c4
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
jmp 0x1400886c4
Function at 0x14008ee60
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]
xor ebx, ebx
test eax, eax
jne 0x14008ee97
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x14008ee99
mov bl, 1
mov rsi, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ac7f0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov dword [rsp + 0x30], eax
lea ecx, [rax + 5]
call fcn.1400940c4
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 0x1400ac83f
cmp ax, 0x31
jne 0x1400ac833
mov ebx, 1
jmp 0x1400ac83f
xor ebx, ebx
cmp ax, 0x32
lea ecx, [rbx + 3]
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret