joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d72c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x140113970]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rdx, qword [r8 + 0x10]
add rdx, rdx
cmp qword [r8 + 0x18], 8
jb 0x14004d771
mov r9, qword [r8]
jmp 0x14004d774
mov r9, r14
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
test rdx, rdx
je 0x14004d7a4
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc r8
cmp r8, rdx
jb 0x14004d786
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 0x14004d7cb
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 0x14004d840
mov rbx, qword [rax + r11*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14004d840
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.1400397f0
test al, al
jne 0x14004d80b
mov rax, qword [rsi + 0x10]
cmp rbx, qword [rax + r11*8]
jne 0x14004d7eb
jmp 0x14004d840
mov rdx, r14
lea rcx, [rbx + 0x10]
call fcn.1400397f0
test al, al
jne 0x14004d820
mov rbx, qword [rbx]
jmp 0x14004d840
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14004d4d4
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004d8d4
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004d875
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 0x14004d891
mov qword [rdx + r11*8], rdi
mov rax, qword [rsi + 0x10]
mov qword [rax + r11*8 + 8], rdi
jmp 0x14004d8c0
cmp rax, rbx
jne 0x14004d89c
mov qword [rdx + r11*8], rdi
jmp 0x14004d8c0
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r11*8 + 8], rcx
cmp rcx, rdi
je 0x14004d8c0
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.14004d304
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140070f48
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140113970]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rdx
lea r8, str.BackupProfile::GetDeviceFolderName__
lea rdx, str.UevCommon
lea rcx, [rsp + 0x30]
call fcn.14004e088
nop
xor esi, esi
mov edi, esi
xor r8d, r8d
lea rdx, [0x1400dd700]
mov rcx, r14
call fcn.14000643c
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x50]
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007108a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
cmp edi, 0x800700ea
jne 0x1400710cb
mov ecx, dword [rsp + 0x20]
lea eax, [rsi + 2]
mul rcx
lea rcx, [rsi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.1400a5d68
mov rbx, rax
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov rdx, rax
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007104f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140071079
mov edi, esi
mov r8d, dword [rsp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.14000643c
mov r8d, 7
lea rdx, str.Success
lea rcx, [rsp + 0x70]
call fcn.14000643c
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
jmp 0x1400710cb
cmp word [rbp - 0x50], si
je 0x1400710a4
lea rax, [rbp - 0x50]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140071098
mov rsi, rcx
mov r8, rsi
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14000643c
mov r8d, 7
lea rdx, str.Success
lea rcx, [rsp + 0x70]
call fcn.14000643c
nop
lea rcx, [rsp + 0x30]
call fcn.14004e19c
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400c4a70
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140071ac4
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140113970]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov rdi, r8
mov r15d, edx
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x69], r12
mov rcx, r9
call fcn.14004f790
mov ecx, 0x200
call fcn.1400a5d68
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
jne 0x140071b57
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x69]
call fcn.14000619c
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x69], r12
jne 0x140071cf3
cmp qword [rdi + 0x18], 8
jb 0x140071b6b
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.140071a1c
lea rcx, [rbp - 0x69]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071b1d
mov esi, r12d
mov dword [rbp - 0x61], 0x100
mov rcx, qword [rbp - 0x69]
test rcx, rcx
setne al
test al, al
je 0x140071cc4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x61]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071c91
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rbx], r12w
jne 0x140071c0f
mov r8, r12
jmp 0x140071c1d
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x140071c13
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.14000643c
nop
mov r15, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140078c4c
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140071cb7
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 0xf], 8
jb 0x140071c7e
mov rcx, qword [rbp - 9]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc esi
cmp esi, 0x1000
jb 0x140071ba7
jmp 0x140071b1d
cmp eax, 0x103
jne 0x140071caa
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x140071b1d
mov rcx, r14
call fcn.14004f790
jmp 0x140071b1d
lea rcx, str.list_T__too_long
call fcn.1400a4e3c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 9]
call fcn.14000621c
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 9]
call fcn.14000621c
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140071d28
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x140113970]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r8
mov r15d, edx
mov rsi, rcx
mov r14, qword [rbp + 0x7f]
xor r12d, r12d
mov qword [rbp - 0x71], r12
mov rcx, r14
call fcn.14004f790
mov ecx, 0x8000
call fcn.1400a5d68
mov rbx, rax
mov qword [rbp - 0x61], rax
test rax, rax
jne 0x140071dbc
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x71]
call fcn.14000619c
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x71], r12
jne 0x140071f66
cmp qword [rdi + 0x18], 8
jb 0x140071dd0
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.140071a1c
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071d82
mov esi, r12d
mov dword [rbp - 0x69], 0x4000
mov rcx, qword [rbp - 0x71]
test rcx, rcx
setne al
test al, al
je 0x140071f37
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071f04
cmp dword [rbp - 0x65], 1
jne 0x140071ef1
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
cmp word [rbx], r12w
jne 0x140071e82
mov r8, r12
jmp 0x140071e90
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x140071e86
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14000643c
nop
mov r15, qword [r14]
lea r9, [rbp - 0x11]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140078c4c
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140071f2a
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 7], 8
jb 0x140071ef1
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc esi
cmp esi, 0x1000
jae 0x140071d82
jmp 0x140071e0c
cmp eax, 0x103
jne 0x140071f1d
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x140071d82
mov rcx, r14
call fcn.14004f790
jmp 0x140071d82
lea rcx, str.list_T__too_long
call fcn.1400a4e3c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x11]
call fcn.14000621c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 0x11]
call fcn.14000621c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140076ac0
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 [0x140113970]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, r9
mov rdi, r8
mov r14d, edx
mov r15, rcx
xor r12d, r12d
mov dword [r9], 2
lea eax, [rdx - 2]
cmp eax, 1
ja 0x140076c61
mov qword [rsp + 0x30], r12
mov r8d, edx
lea rdx, [rbp - 0x19]
call fcn.140071a68
nop
lea r8d, [r12 + 1]
lea rdx, [0x1400e4788]
mov rcx, rax
call fcn.14000652c
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.140006720
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x140113ca0]
lea rcx, [rbp - 0x59]
call fcn.14000663c
mov qword [rbp - 0x69], r13
mov qword [rbp - 0x71], r12
mov word [rsp + 0x38], r12w
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140006720
nop
lea rbx, [rsp + 0x38]
cmp qword [rbp - 0x69], 8
cmovae rbx, qword [rsp + 0x38]
mov edx, r14d
mov rcx, r15
call fcn.140071a1c
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 0x140076bdb
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 0x140076c00
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 0x140076c24
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 0x140076c57
cmp qword [rdi + 0x18], 8
jb 0x140076c33
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140076c88
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.14000619c
cmp dword [rsi], r12d
sete al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400c4a70
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.14000621c
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x59]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14008ac60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, rcx
mov r9, qword [rdx + 0x10]
jb 0x14008ac71
mov rdx, qword [rdx]
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
test r9, r9
je 0x14008ac9f
movzx eax, byte [rdx + rcx]
movabs r11, 0x100000001b3
xor r8, rax
inc rcx
imul r8, r11
cmp rcx, r9
jb 0x14008ac82
mov rcx, r8
mov r9d, 0x69c16bd
shr rcx, 0x20
mov eax, r9d
xor ecx, r8d
btr ecx, 0x1f
mul ecx
mov r8d, ecx
mov eax, r9d
sub r8d, edx
shr r8d, 1
add r8d, edx
mul ecx
mov eax, ecx
shr r8d, 0x10
sub eax, edx
shr eax, 1
add eax, edx
mov rdx, qword [r10 + 0x28]
shr eax, 0x10
imul eax, eax, 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 0x14008ad14
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
ret

Function at 0x140098e6c
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 [0x140113970]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140098ea5
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140098ecc
test rbx, rbx
je 0x140098ec8
and dword [rbx], 0
call fcn.140099f5c
mov qword [rbx + 8], rax
mov al, 1
jmp 0x140098f29
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
and dword [rsp + 0x20], 0
call fcn.140099f5c
mov qword [rsp + 0x28], rax
cmp esi, 0xb7
jne 0x140098f17
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400990f4
cmp dword [rax], 3
jne 0x140098f17
test rbx, rbx
je 0x140098f27
and dword [rbx], 0
call fcn.140099f5c
jmp 0x140098f23
call fcn.140099f5c
test rbx, rbx
je 0x140098f54
mov dword [rbx], esi
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c4a70
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.1400281a8
movups xmm6, xmmword [rax]
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x40]
call fcn.140003bf4
nop
movdqu xmmword [rsp + 0x20], xmm6
lea r9, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140098274
lea rdx, [0x140109ea0]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140098fb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140113970]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
mov edi, eax
lea eax, [rsi + 1]
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.1400a5d68
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.140003e10
nop
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140099061
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140099063
mov eax, esi
lea r8, [rsp + 0x30]
mov ecx, eax
call fcn.140098364
nop
cmp qword [rsp + 0x48], 0x10
jb 0x140099089
mov rcx, qword [rsp + 0x30]
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 0x1400990aa
inc rbp
cmp word [rbx + rbp*2], si
jne 0x14009909e
mov rsi, rbp
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.14000643c
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 + 0x50]
xor rcx, rsp
call fcn.1400c4a70
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 0x1400990f4
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 [0x140113970]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x140099129
mov rcx, qword [rdx]
jmp 0x14009912c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140099153
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call fcn.14009885c
jmp 0x140099276
xor r12d, r12d
bt r14d, 0xa
jae 0x14009923c
cmp qword [rdi + 0x18], 8
jb 0x14009916d
mov rdx, qword [rdi]
jmp 0x140099170
mov rdx, rdi
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp word [rdx], r12w
jne 0x14009918c
mov r8, r12
jmp 0x14009919a
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140099190
lea rcx, [rbp - 0x28]
call fcn.14000643c
mov dword [rsp + 0x28], 0x2000000
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140098748
mov rbx, rax
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x10], 8
jb 0x1400991d4
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 0x1400991fc
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call fcn.14009885c
nop
jmp 0x140099276
mov rcx, rdi
call fcn.14009878c
test al, al
jne 0x14009922d
mov edx, r14d
mov rcx, rdi
call fcn.1400983f8
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x140099276
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r15, r15
je 0x14009924d
mov dword [r15], r12d
call fcn.140099f5c
mov qword [r15 + 8], rax
mov edx, r14d
mov rcx, rdi
test r14b, 0x10
mov dword [rbp - 0x30], 3
jne 0x140099267
mov dword [rbp - 0x30], 2
call fcn.1400983f8
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.1400c4a70
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14009a2f0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140113970]
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 [0x140114d30]
cmp eax, dword [rsp + 0x30]
je 0x14009a45e
mov ecx, dword [rsp + 0x34]
xor eax, eax
lock cmpxchg dword [0x140114d30], ecx
jne 0x14009a496
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x14009a3a9
cmp byte [rsp + 0x48], bl
jne 0x14009a369
lea rcx, [rsp + 0x48]
call fcn.14009a1c0
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 0x14009a39f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x14009a3b9
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 [0x140113af0], eax
cmp byte [rsp + 0x38], 0
jne 0x14009a3de
lock inc dword [0x140114d34]
mov byte [rsp + 0x38], 1
mov eax, dword [rsp + 0x30]
xchg dword [0x140114d30], eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x14009a44f
mov eax, dword [0x140114d34]
cmp eax, 1
jle 0x14009a45e
cmp byte [rsp + 0x48], bl
jne 0x14009a40d
lea rcx, [rsp + 0x48]
call fcn.14009a1c0
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 0x14009a445
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x14009a463
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 0x14009a47c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0xb0
pop rbx
ret
cmp byte [rsp + 0x38], 0
jne 0x14009a511
lock inc dword [0x140114d34]
mov byte [rsp + 0x38], 1
mov eax, dword [0x140114d30]
cmp eax, dword [rsp + 0x30]
je 0x14009a45e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14009a516
cmp byte [rsp + 0x48], cl
jne 0x14009a4cf
lea rcx, [rsp + 0x48]
call fcn.14009a1c0
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 0x14009a507
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
jmp 0x14009a32b
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
nop dword [rax + rax]
jmp 0x14009a32b