joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, rcx
lea rdx, [rcx + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.140002fb0
nop
lea rbx, [rbp + 0xd0]
mov rcx, qword [rbx]
lea rdi, [rbx + 0x10]
lea r14, [rbx + 8]
test rcx, rcx
je 0x140005867
mov rax, qword [rbx + 0x10]
inc rax
xor edx, edx
div rcx
cmp rdx, qword [rbx + 8]
jne 0x140005867
mov rcx, qword [rbp + 0xd8]
shl rcx, 5
mov rax, qword [rbp + 0xf0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rcx + rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
xor edx, edx
mov qword [rcx + rax + 0x10], rdx
mov qword [rcx + rax + 0x18], 7
mov word [rcx + rax], dx
mov rax, qword [rbx + 8]
inc rax
div qword [rbx]
mov qword [rbx + 8], rdx
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140005815
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.1400636b4
test eax, eax
jne 0x14000591b
lea rdi, [rbx + 0x10]
lea r14, [rbx + 8]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005867
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000585a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005962
call fcn.14003bf68
lea rdi, [rbx + 0x10]
lea r14, [rbx + 8]
cmp qword [rbx], 0
jbe 0x1400058aa
mov rcx, qword [rdi]
shl rcx, 5
add rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.140005d70
mov rcx, qword [rbx]
mov rax, qword [rdi]
inc rax
xor edx, edx
div rcx
mov qword [rdi], rdx
mov rax, qword [r14]
cmp rdx, rax
jne 0x1400058aa
inc rax
xor edx, edx
div rcx
mov qword [r14], rdx
inc qword [rbx + 0x18]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400058e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005915
call fcn.14003bf68
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14003ba20
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1400423a4
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005d10
call fcn.1400451e4
mov ebx, dword [rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14002cae0
nop
mov r8, rax
lea rdx, str.Failed_removing_daily_file
lea rcx, [rsp + 0x80]
call fcn.1400061d0
nop
mov edx, ebx
mov rcx, rax
call fcn.14002bf00
nop
call fcn.1400423a4
int3
Function at 0x1400085e0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x240
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx + 0x40]
cmp eax, 2
setle r13b
movzx esi, byte [rcx + 0xd8]
jle 0x14000863d
test sil, sil
je 0x140008836
mov qword [rsp + 0x100], 0
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x108], 0xfa
mov rax, qword [rsp + 0x280]
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140008689
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rax
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0x30], 0xd
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [r9]
movaps xmmword [rsp + 0xc0], xmm1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xf0]
call fcn.14001b970
mov r15, qword [rsp + 0x100]
mov r12, qword [rsp + 0xf8]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x140008717
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x40], rcx
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x48], rax
movups xmm6, xmmword [r14]
movsd xmm7, qword [r14 + 0x10]
call fcn.14003a270
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 2
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov ecx, 0x18
mov eax, dword [rcx + r14]
mov edx, 0x10
test al, 1
jne 0x140008785
or eax, 1
mov dword [rcx + r14], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov eax, eax
mov ecx, 0x10
add rcx, r14
mov qword [rcx], rax
jmp 0x140008789
lea rcx, [r14 + rdx]
mov rax, qword [rcx]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
movups xmmword [rsp + 0x98], xmm6
movsd qword [rsp + 0xa8], xmm7
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r15
movzx r9d, sil
movzx r8d, r13b
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14002edb0
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
cmp rcx, rax
je 0x140008836
mov rdx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008830
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000886e
call fcn.14003bf68
nop
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14003ba20
lea r11, [rsp + 0x240]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.1400423a4
nop
int3
Function at 0x1400160f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140016121
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14001619b
mov rdi, r14
mov rcx, rbx
call fcn.140017490
test rax, rax
jle 0x140016173
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14003d9d0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001618b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140016193
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140016135
sub r14, rdi
jmp 0x14001627f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400161b2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400161b4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400161e6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14003d9d0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14001627c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140016221
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14001625d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140046f94
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14001627c
cmp rbp, rax
ja 0x140016230
test rbp, rbp
je 0x14001627c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140046f94
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001a030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor edi, edi
mov dword [rbp - 0x60], edi
mov dword [rbp - 0x58], 0xf
mov dword [rbp - 0x54], 0x10
lea rax, str.C:_a_work1_s_srccommonSettingsAPI_settings_helpers.cpp
mov qword [rbp - 0x50], rax
lea rax, str.class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t______cdecl_PTSettingsHelper::get_root_save_folder_location_void_
mov qword [rbp - 0x48], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140076698]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14001a1b6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov rdx, qword [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x14001a0c0
mov rcx, rbx
call fcn.140002280
mov dword [rbp - 0x60], 1
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
lea rdx, str.MicrosoftPowerToys
mov rcx, rbx
call fcn.140003260
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001a0ff
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002280
mov dword [rbp - 0x60], 7
lea rcx, [rbp - 0x30]
call fcn.140019cc0
test al, al
jne 0x14001a150
mov dword [rbp - 0x58], edi
lea rax, [0x140089d28]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.140019dd0
cmp dword [rbp - 0x58], 0
jne 0x14001a1c2
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14001a18c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a1b0
call fcn.14003bf68
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003ba20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400423a4
int3
lea rdx, [rbp - 0x58]
mov ecx, eax
call fcn.140014530
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x58]
lea rcx, str.create_directories
call fcn.140019c60
int3
Function at 0x14002c780
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 r14
sub rsp, 0x60
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
call fcn.14003a174
test eax, eax
jne 0x14002c86c
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x70], rdi
jb 0x14002c7c4
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x14002c7f3
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x14002c7e0
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xf0]
call fcn.140037ce0
mov rax, qword [rax + 8]
test rax, rax
jne 0x14002c817
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x14002c829
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x14002c845
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14002c836
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.14003a17c
mov rdi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rax, rsi
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, eax
call fcn.140062df8
int3
Function at 0x14002c880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x68]
call fcn.140003140
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x14002c913
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14002c900
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0xf0]
call fcn.140037ce0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14002c939
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x68]
cmp rcx, qword [rsi + 0xf8]
jne 0x14002ca22
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 0xf0]
call fcn.140033240
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.140005660
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x14002c9a8
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c9a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca1c
call fcn.14003bf68
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14002c9f7
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002c9f7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002c9f7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14003ba20
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400423a4
nop
lea rcx, [rsp + 0x88]
call fcn.1400302a0
nop
lea r8, [0x140079ad0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140030130
mov rcx, rax
call fcn.14002bf90
int3
Function at 0x1400301a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
mov r15, qword [r8 + 0x18]
mov rdi, r8
mov rbp, qword [r8 + 0x10]
mov r12, rdx
mov r10, rcx
cmp r15, 0x10
jb 0x1400301d0
mov r8, qword [r8]
xor esi, esi
movabs r9, 0xcbf29ce484222325
mov edx, esi
test rbp, rbp
je 0x140030204
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, rbp
jb 0x1400301f0
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r9
mov r13, qword [r10 + 8]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, r13
je 0x140030272
mov qword [rsp + 0x50], r14
mov r14, qword [rax + rcx*8]
nop dword [rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140030242
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x14003024e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x14003025f
mov r8, rbp
call fcn.14003e4c0
test eax, eax
je 0x14003026a
cmp rbx, r14
je 0x14003026d
mov rbx, qword [rbx + 8]
jmp 0x140030230
mov rsi, rbx
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
test rsi, rsi
mov rbp, qword [rsp + 0x60]
mov rax, r12
cmove rsi, r13
mov qword [r12], rsi
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400377e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14003796f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002ffe0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140037934
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400378af
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140037923
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1400378e8
mov r10, qword [rdx]
cmp r10, rax
je 0x1400378e2
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 0x140037923
cmp r8, rdx
je 0x1400378ff
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140037949
cmp r8, rdx
jne 0x1400378f0
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, rbx
jne 0x140037880
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x140037923
lea rcx, str.invalid_hash_bucket_count
call fcn.140039ed4
int3
Function at 0x140039970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x140089080]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140039b4b
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.14003a174
test eax, eax
jne 0x140039b78
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x140039adf
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x140039adf
test rax, rax
je 0x140039a3d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l2_1_0.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x140039a5e
lea ebp, [rax + 7]
jmp 0x140039a79
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l2_1_0.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x140039aa6
sub ecx, r8d
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l2_1_0.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x140039b03
sub ecx, edx
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleA]
jmp 0x140039b03
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x140039b43
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039b3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039b72
call fcn.14003bf68
nop
mov rcx, rbx
call fcn.14003a17c
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14003ba20
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400423a4
nop
mov ecx, eax
call fcn.140062df8
int3
Function at 0x14003ad88
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003ae0c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140069850]
cmp byte [rcx + rax], 0
je 0x14003ae0c
dec r8
sub rdx, 1
jne 0x14003adf2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003c7a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14003c7ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003c7ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003c7ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003c7ea
cmp dword [rcx + 0x84], 0xe
jbe 0x14003c7ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003c7ec
xor al, al
add rsp, 0x28
ret
Function at 0x140055084
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400550b6
call fcn.1400451e4
mov dword [rax], 0x16
call fcn.140042384
jmp 0x1400551d5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400551d5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400551d5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400550e5
lock or dword [rcx + 0x14], 0x10
jmp 0x1400551d5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400550f9
call fcn.14005647c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140051fa8
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140056994
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400551c3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14005518e
mov rcx, rsi
call fcn.140051fa8
cmp eax, edi
je 0x140055179
mov rcx, rsi
call fcn.140051fa8
cmp eax, 0xfffffffe
je 0x140055179
mov rcx, rsi
call fcn.140051fa8
movsxd rbx, eax
lea r14, [0x14008e6a0]
mov rcx, rsi
sar rbx, 6
call fcn.140051fa8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140055180
lea rdx, [0x140089430]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14005518e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400551b2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400551b2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400551b2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400551d8
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret