joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180067670
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180067743
cmp byte [rcx + 0x71], 0
je 0x180067743
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18006773f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180067704
sub eax, 1
je 0x180067708
cmp eax, 2
jne 0x18006773f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ec5e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180067736
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18006773f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800676ec
xor al, al
jmp 0x1800676ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ec5e0
add rsp, 0x60
pop rbx
ret
Function at 0x180073800
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movsxd rbp, dword [rdx + 1]
mov rsi, rdx
mov rdx, qword [rcx]
mov rdi, r8
mov r14, rcx
mov qword [rsp + 0x80], r8
mov rbx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x18007384f
cmp qword [rax + 0x20], r8
jae 0x180073843
mov rax, qword [rax + 0x10]
jmp 0x180073849
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180073837
cmp byte [rbx + 0x19], 0
jne 0x180073866
cmp r8, qword [rbx + 0x20]
jb 0x180073866
cmp rbx, rdx
je 0x180073866
mov rbx, qword [rbx + 0x28]
jmp 0x1800738a8
mov edx, 0xe
call fcn.180073e20
mov rcx, r14
mov rbx, rax
call fcn.18009b360
lea r9, [rsp + 0x88]
mov qword [rsp + 0x88], rbx
lea r8, [rsp + 0x80]
mov rcx, r14
lea rdx, [rsp + 0x20]
call fcn.180074110
mov rdi, qword [rsp + 0x80]
mov rcx, rbx
mov eax, 0x80000000
sub rcx, rsi
mov edx, 0xffffffff
sub rcx, 5
add rax, rcx
cmp rax, rdx
setbe al
test al, al
je 0x18007395e
xor r14d, r14d
mov dword [rsp + 0x89], ecx
lea r9, [rsp + 0x80]
mov byte [rsp + 0x88], 0xe8
mov rcx, rsi
mov dword [rsp + 0x80], r14d
lea edx, [r14 + 5]
lea r8d, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180073935
mov ecx, dword [rsp + 0x88]
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x80]
lea edx, [r14 + 5]
mov dword [rsi], ecx
movzx ecx, byte [rsp + 0x8c]
mov byte [rsi + 4], cl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r11, [rsp + 0x60]
mov word [rbx], 0x25ff
lea rax, [rsi + 5]
mov dword [rbx + 2], r14d
add rax, rbp
mov qword [rbx + 6], rdi
mov rbp, qword [r11 + 0x38]
mov rbx, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rax, str.C:UsersphilpDocumentsProjectsSkyrimImprovedCameraSE_NGImprovedCamera_vendorCommonLibSSE_NGincludeSKSE_Trampoline.h
mov dword [rsp + 0x40], 0xee
mov qword [rsp + 0x48], rax
lea rdx, str.displacement_is_out_of_range
lea rax, str.void___cdecl_SKSE::Trampoline::write_5branch_unsigned___int64_unsigned___int64_unsigned_char_
mov dword [rsp + 0x44], 0xa
mov r8d, 0x1c
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x30]
call fcn.180028260
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.18002c1d0
int3
Function at 0x180074960
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x180074998
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.180007df0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x180074b04
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x180074a7c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180074af3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180074ab9
mov r10, qword [rdx]
cmp r10, rax
je 0x180074ab3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180074af3
cmp r9, rdx
je 0x180074acf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180074b19
cmp r9, rdx
jne 0x180074ac0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x180074a00
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180074af3
Function at 0x18008c7a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x38], r8
xor ebp, ebp
mov rcx, r8
call fcn.18007c1d0
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18008c7e9
mov rdx, qword [rdi]
movabs r9, 0xcbf29ce484222325
mov rcx, rbp
test r8, r8
je 0x18008c823
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18008c810
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.180027610
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18008c85c
cmp rdx, qword [rsi + 8]
je 0x18008c85c
mov rdx, qword [rdx + 0x30]
shl rdx, 6
add rdx, 0x20
add rdx, qword [rsi + 0x40]
mov rcx, rbx
call fcn.1800232f0
jmp 0x18008c871
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, rdi
call fcn.180007d90
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ec5e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x18008c8a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
call fcn.18007c1d0
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18008c8e4
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x18008c913
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18008c900
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.180027610
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18008c93f
cmp rbx, qword [rbp + 8]
je 0x18008c93f
mov rbx, qword [rbx + 0x30]
lea rsi, [rbp + 0x40]
jmp 0x18008ca16
lea rsi, [rbp + 0x40]
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.18008d870
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm6, xmmword [0x180132c60]
movdqu xmmword [rsp + 0x38], xmm6
mov byte [rsp + 0x28], 0
mov rbp, qword [rsi + 8]
cmp rbp, qword [rsi + 0x10]
je 0x18008c9c3
mov rdx, rdi
mov rcx, rbp
call fcn.1800232f0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm6
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rsi + 8], 0x40
jmp 0x18008c9db
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.18008e370
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18008ca16
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008ca11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008ca11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ecad4
shl rbx, 6
add rbx, qword [rsi]
mov rcx, rdi
call fcn.180007d90
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800ec5e0
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x18008caf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x38], r8
xor ebp, ebp
mov rcx, r8
call fcn.18007c1d0
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18008cb39
mov rdx, qword [rdi]
movabs r9, 0xcbf29ce484222325
mov rcx, rbp
test r8, r8
je 0x18008cb73
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18008cb60
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.180027610
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18008cba9
cmp rcx, qword [rsi + 8]
je 0x18008cba9
imul rdx, qword [rcx + 0x30], 0x78
add rdx, 0x20
add rdx, qword [rsi + 0x40]
mov rcx, rbx
call fcn.18008cee0
jmp 0x18008cbbd
mov rcx, rbx
call fcn.18008d330
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
mov qword [rbx + 0x50], rbp
mov rcx, rdi
call fcn.180007d90
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ec5e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdx
mov rcx, rdx
call fcn.18007c1d0
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18008cc2d
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x18008cc63
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18008cc50
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180027610
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18008cc88
cmp rcx, qword [rbx + 8]
je 0x18008cc88
mov rax, qword [rcx + 0x30]
jmp 0x18008cc93
mov rdx, rdi
mov rcx, rbx
call fcn.18008d140
imul rax, rax, 0x78
add rax, qword [rbx + 0x40]
lea rbx, [rax + 0x20]
mov rcx, rdi
call fcn.180007d90
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800ec5e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18008d720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x18008d737
mov r10, qword [rdx]
xor ebx, ebx
movabs r9, 0xcbf29ce484222325
mov r8d, ebx
test r11, r11
je 0x18008d779
mov qword [rsp + 0x40], rdi
movabs rdi, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x18008d760
mov rdi, qword [rsp + 0x40]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.180027610
cmp qword [rax + 8], rbx
setne bl
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180094890
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [rsp + 0x30], 0
lea rsi, vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x20], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0xfa
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
call qword [rax + 8]
mov rbx, qword [rsp + 0x30]
mov r9, qword [rdi + 0x70]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
jne 0x18009497a
mov qword [rsp + 0x20], rsi
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp rcx, rax
je 0x180094955
mov rdx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180094950
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180094950
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ecad4
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800ec5e0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop
mov ebx, dword [rax]
lea rdx, [rdi + 0x78]
lea rcx, [rsp + 0x140]
call fcn.180095bd0
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x160]
call fcn.180055f30
nop
mov edx, ebx
mov rcx, rax
call fcn.180011f50
int3
Function at 0x180095770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x58]
call fcn.1800232f0
nop
lea r8, [rsp + 0x58]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0xf
cmova r8, r14
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x180095804
movabs r9, 0x100000001b3
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x1800957f0
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x18009586b
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180095842
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
cmp r15, 0xf
cmova rcx, r14
cmp rdi, rax
jne 0x180095860
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18009586d
cmp rbx, rsi
je 0x18009586b
mov rbx, qword [rbx + 8]
jmp 0x180095830
xor ebx, ebx
mov rax, qword [r13 + 0xf8]
test rbx, rbx
cmovne rax, rbx
lea r8, [rsp + 0x58]
cmp rax, qword [r13 + 0xf8]
jne 0x180095968
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.1800954f0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.180014ea0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1800958ee
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800958e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800958e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ecad4
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x18009593b
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18009593b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18009593b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800ec5e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x78]
call fcn.180064f50
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180066490
mov rcx, rax
call fcn.180095b90
int3
Function at 0x180095e20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
push r12
sub rsp, 0x178
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x180095e4d
mov rcx, qword [rcx]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180095ff6
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x180096074
mov rbp, r12
lea r15, [0x180118268]
nop dword [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x180095ea7
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
jbe 0x180095ebd
mov r14, qword [rdi]
test rbx, rbx
je 0x180095f2d
cmp rbp, rsi
jae 0x180095f2d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + r15]
mov rcx, r15
cmp r15, rdx
je 0x180095f00
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rsp + rax + 0x50], 1
cmp rcx, rdx
jne 0x180095ef0
lea rcx, [rsi + r14]
lea rbx, [r14 + rbp]
cmp rbx, rcx
jae 0x180095f2d
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x50], r12b
jne 0x180095f24
inc rbx
cmp rbx, rcx
jb 0x180095f10
jmp 0x180095f2d
sub rbx, r14
cmp rbx, 0xffffffffffffffff
jne 0x180095f31
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x10], rbx
mov r8, rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], r12
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], r12
jbe 0x180095f5c
mov rdx, qword [rdi]
lea rcx, [rsp + 0x28]
call fcn.180008430
cmp qword [rsp + 0x38], r12
je 0x180095fa8
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180095fa8
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
jne 0x18009603b
mov rdx, qword [rsp + 0x40]
lea rbp, [rbx + 1]
cmp rdx, 0xf
jbe 0x180095fe9
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180095fe4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180096078
call fcn.1800ecad4
mov rsi, qword [rdi + 0x10]
cmp rbp, rsi
jb 0x180095ea0
mov al, 1
mov r15, qword [rsp + 0x160]
mov r14, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800ec5e0
add rsp, 0x178
pop r12
pop rdi
ret
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180096074
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009606f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180096078
call fcn.1800ecad4
xor al, al
jmp 0x180095ff8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18009a6e0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [0x180157850]
xor esi, esi
mov rdi, r8
mov rbx, rdx
test rcx, rcx
je 0x18009a710
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x180157850], rsi
mov rcx, qword [0x180157848]
test rcx, rcx
je 0x18009a729
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180157848], rsi
mov r8, qword [rbx]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [0x180157848], rax
test rax, rax
jne 0x18009a78a
mov rcx, qword [0x180157850]
test rcx, rcx
je 0x18009a763
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rax, qword [0x180157848]
mov qword [0x180157850], rsi
test rax, rax
je 0x18009a7c7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov qword [0x180157848], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x180157850], rax
test rax, rax
jne 0x18009a7d9
mov rcx, qword [0x180157848]
test rcx, rcx
je 0x18009a7c7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180157848], rsi
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18009a7f0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov rcx, qword [0x180157850]
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x18009a822
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x180157850], 0
mov rcx, qword [0x180157848]
test rcx, rcx
je 0x18009a83f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180157848], 0
mov rdi, qword [rdi]
xor edx, edx
mov r8, rdi
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [0x180157848], rax
test rax, rax
jne 0x18009a891
mov r9d, dword [rsp + 0x54]
lea r8d, [rax + 4]
mov qword [rsp + 0x28], rdi
lea rcx, [rax - 1]
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x180157848], rax
test rax, rax
jne 0x18009a891
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, qword [rsp + 0x40]
test rax, rax
mov qword [0x180157850], rax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x18009aca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x418
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x400], rax
lea rax, [rsp]
mov r8d, 8
lea rdx, [0x180132800]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r8, 1
jne 0x18009acd0
mov r8, qword [rcx]
xor eax, eax
mov r9, qword [rcx + 8]
add r9, r8
cmp r8, r9
je 0x18009ad5a
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
inc r8
xor eax, dword [rsp + rcx*4]
cmp r8, r9
jne 0x18009ad40
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1800ec5e0
add rsp, 0x418
ret