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

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
je 0x14000a900
mov ecx, dword [0x140022a48]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test eax, eax
jg 0x14000a900
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
cmp byte [rax + 0xc], 0
jne 0x14000a913
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400142a0
add rsp, 0x58
ret
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14000a941
test byte [rcx + 0x1c], 1
je 0x14000a941
mov rcx, qword [rcx + 0x10]
lea r8, [0x140018928]
mov edx, 0x15
call fcn.140009df0
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
call fcn.14000a6c4
lea rdx, [0x14001dcc0]
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3

Function at 0x14000a978
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, edx
mov ecx, dword [0x140022a44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov ecx, dword [0x140022a44]
mov edx, ebx
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14000aa18
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x14000aa3f
mov r9, qword [rsi + 0x30]
mov r11, qword [rsi + 0x18]
and r9, r8
mov rdx, qword [rsi + 8]
add r9, r9
mov rbx, qword [r11 + r9*8]
cmp qword [r11 + r9*8], rdx
jne 0x14000aa7f
mov rax, rdx
jmp 0x14000aa87
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14000aac8
mov r8, qword [r10]
cmp qword [rbx + 0x10], r8
je 0x14000aa9a
mov rbx, qword [rbx]
jmp 0x14000aa74
mov rcx, rbx
mov rdi, rbx
cmp qword [r11 + r9*8], rdx
jne 0x14000aaab
mov rax, rdx
jmp 0x14000aab3
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14000aac3
cmp r8, qword [rbx + 0x10]
jne 0x14000aac3
mov rbx, qword [rbx]
jmp 0x14000aaa0
cmp rcx, rbx
jne 0x14000aace
mov rdi, rdx
mov rbx, rdx
xor ebp, ebp
mov rax, rdi
cmp rdi, rbx
je 0x14000aae3
mov rax, qword [rax]
inc rbp
cmp rax, rbx
jne 0x14000aad8
cmp rdi, qword [rdx]
jne 0x14000ab56
cmp rbx, rdx
jne 0x14000ab56
mov rax, qword [rdx + 8]
and qword [rax], 0
mov rcx, qword [rdx]
test rcx, rcx
je 0x14000ab12
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.1400142c8
mov rcx, rbx
test rbx, rbx
jne 0x14000aafd
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.14000b264
jmp 0x14000ab5b
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rdi, qword [rdi]
mov rcx, rsi
call fcn.14000ae2c
cmp rdi, rbx
jne 0x14000ab43
mov rbx, qword [rsp + 0x38]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000aca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rbp, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x14000accc
mov rdx, qword [rbp + 0x30]
and rdx, r8
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + rdx*8]
lea rsi, [rbp + 8]
mov rbx, qword [rsi]
cmp qword [r8 + rdx*8], rbx
jne 0x14000ad0f
mov rcx, rbx
jmp 0x14000ad17
mov rcx, qword [r8 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14000ad2f
mov rcx, qword [r14]
cmp qword [rax + 0x10], rcx
je 0x14000ad2a
mov rax, qword [rax]
jmp 0x14000ad04
mov rcx, rax
jmp 0x14000ad35
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x14000adb4
mov rbx, qword [rbx]
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 8], rax
jne 0x14000ad61
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rsi
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.140014490
mov rcx, qword [r14]
mov qword [rax + 0x10], rcx
and qword [rax + 0x18], 0
mov qword [rax], rbx
mov qword [rax + 8], rdi
inc qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rax, qword [rsi]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14000b750
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14000ae2c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x14000ae49
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14000aea1
cmp qword [rcx + rdx*8], r8
jne 0x14000ae96
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14000ae9a
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14000aeae
cmp qword [rcx + rdx*8], r8
jne 0x14000aeae
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.1400142c8
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x14000b780
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x14000b80a
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x14000b80a
mov rdi, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x14000b7c2
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
dec qword [r9 + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.1400142c8
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14000b8a1
mov rax, qword [rbx]
cmp rdi, rax
je 0x14000b83f
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 [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x14000b85f
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14000b88e
cmp rax, rdi
jne 0x14000b86a
mov qword [rdx + r8*8], rbx
jmp 0x14000b88e
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14000b88e
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.14000b8b8
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140012168
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 1], rdx
lea rax, [rbp - 0x49]
mov qword [rbp - 9], rax
and qword [rbp - 0x11], 0
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x1400121fe
cmp rcx, rdx
sete al
test al, al
je 0x1400121f5
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
mov rax, qword [rax + 8]
call qword [0x140018000]
mov qword [rbp - 0x11], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400121fe
mov rax, qword [rcx]
cmp rcx, rbx
sete dl
xor dl, 1
mov rax, qword [rax + 0x20]
call qword [0x140018000]
and qword [rbx + 0x38], 0
jmp 0x1400121fe
mov qword [rbp - 0x11], rcx
and qword [rdx + 0x38], 0
lea rax, [rbp - 0x49]
mov qword [rbp - 9], rax
mov ecx, dword [0x140022a48]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test eax, eax
jg 0x140012313
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
je 0x14001237d
lea rcx, [0x140022a90]
call fcn.14000a168
call fcn.14000aefc
mov rsi, rax
mov qword [rbp + 7], rax
lea rcx, [rax + 0x10]
mov qword [rbp + 0xf], rcx
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
mov rcx, rsi
call qword [0x140018000]
nop
call fcn.14000a8a8
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
lea rdi, [rax + 0x10]
lea rax, [rbp - 0x49]
cmp rdi, rax
je 0x140012302
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400122b1
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
and qword [rdi + 0x38], 0
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140012302
lea rax, [rbp - 0x49]
cmp rcx, rax
jne 0x1400122f9
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 8]
call qword [0x140018000]
mov qword [rdi + 0x38], rax
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140012302
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
jmp 0x1400122fd
mov qword [rdi + 0x38], rcx
and qword [rbp - 0x11], 0
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [0x140018000]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140012334
lea rdx, [rbp - 0x49]
cmp rcx, rdx
mov rax, qword [rcx]
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140012355
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
and qword [rbx + 0x38], 0
mov rax, r14
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400142a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edx, 0x8000ffff
lea rcx, [rbp + 0x17]
call fcn.140008134
lea rdx, [0x14001dbc8]
lea rcx, [rbp + 0x17]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x14001243c
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rdx
mov rbx, rcx
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_701992cd54336967b334c5b58053aba8___void___.0
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rcx
lea rax, [r11 - 0x78]
mov qword [r11 - 0x40], rax
lea rdx, [r11 - 0x78]
lea rcx, [rsp + 0x20]
call fcn.140012168
nop
mov rcx, qword [0x140022aa0]
test rcx, rcx
je 0x1400124a8
movabs rax, 0x346dc5d63886594b
mul qword [rcx]
shr rdx, 0xb
jmp 0x1400124ab
or edx, 0xffffffff
xor r9d, r9d
mov r8d, edx
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableSRW]
nop dword [rax + rax]
test eax, eax
jne 0x14001255d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x5b4
jne 0x1400125f8
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
je 0x140012559
call fcn.14000aefc
mov rbx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
mov rcx, rbx
call qword [0x140018000]
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
lea rdi, [rax + 0x10]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140012548
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
and qword [rdi + 0x38], 0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x140018000]
nop
xor al, al
jmp 0x1400125d6
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
je 0x1400125d4
call fcn.14000aefc
mov rbx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
mov rcx, rbx
call qword [0x140018000]
mov ecx, dword [0x140022a40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
lea rdi, [rax + 0x10]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400125c3
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [0x140018000]
and qword [rdi + 0x38], 0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x140018000]
nop
mov al, 1
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400142a0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
nop
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rsp + 0x70]
call fcn.140008134
lea rdx, [0x14001dbc8]
lea rcx, [rsp + 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x1400142d4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140022850], eax
call fcn.140014910
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140022850], 0
jne case.default.0x14001432a
mov ecx, 1
call fcn.140014910
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
jnp 0x1400368ea
out 0x4b, al
invalid
sub esi, esp
push rbp
adc rax, 0xffffffffbe686c2a
xor dword [rcx], eax
adc byte [rcx + rbx - 0x2c9f0330], cl
adc eax, 0x81ec5a
div ebx
pop rbx
mov eax, 0xdb8dbeb8
adc byte [0x141fbed48], al
sub ah, byte [rbp + rbp*8 - 0x22]
out dx, al
fdiv qword cs:[rsi]
fdiv qword [rsi]
add ebx, dword [rsi + 0x7b6be058]
pop rax
add dword [rax], eax
in al, 7
loopne 0x140036927
js 0x140036917
out dx, eax
ret
Function at 0x140008840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x39], rcx
xor r15d, r15d
mov dword [rbp - 0x45], r15d
lea rcx, [rbp - 0x11]
call fcn.14000eb60
nop
cmp qword [rbp - 1], r15
jne 0x1400088c9
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
mov dword [rbp - 0x45], 1
lea rcx, [rbp - 0x11]
call fcn.140003cc0
nop
jmp 0x140008a6c
lea rcx, [rbp - 0x31]
call fcn.14000e990
nop
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rbp - 0x31]
call fcn.140007160
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.140007160
mov r8d, 0x1e
lea rdx, str.Resources_builtin_extensions_
lea rcx, [rbp - 0x31]
call fcn.140007160
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140008927
mov rdx, qword [rdi]
lea r14, [rdi + 0x10]
mov r8, qword [r14]
lea rcx, [rbp - 0x31]
call fcn.140007160
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000895b
shr eax, 4
and al, 1
jne 0x1400089f1
lea rcx, [rbp + 0xf]
call fcn.14000e990
mov rsi, rax
lea rax, [rbp - 0x31]
cmp rax, rsi
je 0x140008998
lea rcx, [rbp - 0x31]
call fcn.140003cc0
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
lea rcx, [rbp + 0xf]
call fcn.140003cc0
nop
mov r8d, 0x1e
lea rdx, str.Resources_builtin_extensions_
lea rcx, [rbp - 0x31]
call fcn.140007160
cmp qword [rdi + 0x18], 8
jb 0x1400089c2
mov rdi, qword [rdi]
mov r8, qword [r14]
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.140007160
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140008a2f
shr eax, 4
and al, 1
je 0x140008a2f
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140147cc0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r15w
mov dword [rbp - 0x45], 1
lea rcx, [rbp - 0x31]
call fcn.140003cc0
nop
lea rcx, [rbp - 0x11]
call fcn.140003cc0
nop
jmp 0x140008a6c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
xor r8d, r8d
lea rdx, [0x14013c890]
mov rcx, rbx
call fcn.140003d30
mov dword [rbp - 0x45], 1
lea rcx, [rbp - 0x31]
call fcn.140003cc0
nop
lea rcx, [rbp - 0x11]
call fcn.140003cc0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400dd420
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008aa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.140008840
nop
xor esi, esi
cmp qword [rbp - 9], rsi
jne 0x140008b5f
lea rcx, [rbp + 0x27]
call fcn.140010510
mov rbx, rax
lea rax, [rbp - 0x19]
cmp rax, rbx
je 0x140008b25
lea rcx, [rbp - 0x19]
call fcn.140003cc0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rcx, [rbp + 0x27]
call fcn.140003cc0
nop
mov r8d, 0x15
lea rdx, str.OverwolfExtensions_
lea rcx, [rbp - 0x19]
call fcn.140007160
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140008b52
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140007160
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140008c49
shr eax, 4
and al, 1
je 0x140008c49
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call fcn.140018b00
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140007fb0
nop
lea rdx, [rbp + 7]
mov rcx, qword [rbp - 0x31]
call fcn.140019020
nop
cmp qword [rbp - 9], 0
je 0x140008c04
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rbp - 0x19]
call fcn.140007160
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.140007160
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140008ce0
mov rsi, rax
lea rcx, [rbp + 7]
call fcn.140003cc0
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140008c49
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008c49
mov rbx, qword [rbp - 0x29]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140008c49
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x19]
call fcn.140003cc0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008ce0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rsi, rcx
lea rcx, [r11 - 0x70]
call fcn.140005b20
nop
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rsp + 0x78]
call fcn.140007160
mov r8d, 0xd
lea rdx, str.manifest.json
lea rcx, [rsp + 0x78]
call fcn.140007160
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rcx, qword [rsp + 0x78]
call fcn.140017e20
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140008010
nop
mov rcx, qword [rsp + 0x30]
add rcx, 8
call fcn.140002e40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140008e1d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xb8]
call fcn.1400024c0
mov rdi, rax
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.1400024c0
mov rbx, rax
cmp qword [rdi + 0x18], 0x10
jb 0x140008dcb
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x140008dd5
mov rbx, qword [rax]
call fcn.140002cd0
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r9, str.Manifest_file___s__doesnt_exist:__s
xor edx, edx
lea r8d, [rdx + 2]
call fcn.140016a90
nop
lea rcx, [rsp + 0x98]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
lea rcx, [rsp + 0xb8]
call sym.OverwolfLauncher.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
nop
xor esi, esi
jmp 0x140008ea4
mov ecx, 0x88
call fcn.1400dd794
mov rdi, rax
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140005b20
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rax, vtable.ExtensionManifestReader.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005b20
nop
lea rcx, [rdi + 0x28]
mov rdx, rbx
call fcn.140005b20
nop
xor esi, esi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], 7
mov word [rdi + 0x48], si
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], 7
mov word [rdi + 0x68], si
mov rcx, rdi
call fcn.140008f20
nop
mov rcx, rbx
call fcn.140003cc0
nop
mov rsi, rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140008ee2
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008ee2
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140008ee2
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x78]
call fcn.140003cc0
nop
mov rax, rsi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret