joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e390
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, qword [rbp + 0x67]
mov esi, dword [rbp + 0x6f]
lea rdx, [rbp + 0x37]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005e4e4
mov rbx, qword [rbp + 0x37]
test rbx, rbx
jne 0x14005e401
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140133600
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
xor eax, eax
mov qword [rbp + 0xf], rax
movdqa xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x1f], al
mov dword [rbp + 0x17], eax
mov qword [rbp + 7], rax
mov byte [rbp - 1], al
mov qword [rbp - 9], 0xffffffffffffffff
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.14008e630
lea rcx, [rbp - 9]
call fcn.14008e740
nop
test rbx, rbx
js 0x14005e4bd
cmp byte [rbp + 0x1f], 0
je 0x14005e49c
mov r8d, esi
mov rdx, rbx
mov rbx, qword [rbp + 0x27]
mov rcx, rbx
call fcn.14005e2a0
movzx edi, al
test rbx, rbx
je 0x14005e474
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14005e483
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 9]
cmp rcx, 0xffffffffffffffff
je 0x14005e493
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
jmp 0x14005e3e2
lea rdx, str.Unable_to_retrieve_pointer_of_the_unmapped_view_
lea rcx, [rbp - 0x39]
call fcn.1400966e0
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x39]
call fcn.140135f84
int3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x39]
call fcn.14000c180
lea rdx, [0x14020e200]
lea rcx, [rbp - 0x39]
call fcn.140135f84
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_get_file_size_
lea rcx, [rbp - 0x39]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x39]
call fcn.140135f84
int3
Function at 0x1400686a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rdi, qword [rbp + 0xd0]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea rax, vtable.asw::log::detail::LogModule.1.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0xc]
lea rax, vtable.asw::log::detail::LogModule.2.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0x10]
lea rax, vtable.asw::log::detail::LogModule.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea edx, [rcx - 0x20]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0x10]
lea edx, [rcx - 0x48]
mov dword [rcx + rdi - 4], edx
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x30], 0x38333235
mov dword [rsp + 0x34], 0x44303533
mov dword [rsp + 0x40], 0x5f676f6c
mov dword [rsp + 0x44], 0x75646f6d
mov dword [rsp + 0x48], 0x656c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x1f
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rax, qword [rax + 0x20]
call qword [case.0x1400cc851.0]
lea rcx, [rsp + 0x60]
call fcn.1400692f0
lea rcx, [rsp + 0x60]
call fcn.14006a340
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x30], 0x38333235
mov dword [rsp + 0x34], 0x44303533
mov dword [rsp + 0x40], 0x5f676f6c
mov dword [rsp + 0x44], 0x75646f6d
mov dword [rsp + 0x48], 0x656c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x20
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rax, qword [rax + 0x20]
call qword [case.0x1400cc851.0]
lea rcx, [rsp + 0x60]
call fcn.140069340
lea rcx, [rsp + 0x60]
call fcn.14006a340
lea rcx, [rdi + 8]
call fcn.14002a5e0
nop
lea rcx, [rdi + 0x40]
call fcn.14006a000
lea rax, vtable.asw::mi::IExportable.0
mov qword [rdi + 0x20], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0xffffffff
mov rdx, qword [rsp + 0x30]
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
jmp fcn.14006b310
Function at 0x14006bff0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rcx
mov rbp, rdx
mov eax, dword [rcx + 0xe0]
cmp dword [rdx], eax
jl 0x14006c198
call fcn.14006c810
lea rax, [0x1401dfedc]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, rbp
call fcn.140070860
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rcx, [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0xb0]
test rax, rax
je 0x14006c097
lock inc dword [rax + 8]
mov r14, qword [rsi + 0xa8]
mov qword [rsp + 0x80], r14
mov rax, qword [rsi + 0xb0]
mov qword [rsp + 0x88], rax
lea rcx, [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor eax, eax
mov dword [rsp + 0x78], eax
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rdx, qword [rsp + 0x90]
lea rdi, [rax - 1]
test r14, r14
je 0x14006c0f1
mov rcx, qword [r14]
jmp 0x14006c0f4
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14006c1c0
mov eax, dword [rsi + 0xe4]
cmp dword [rbp], eax
jl 0x14006c13b
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x14006c131
mov rcx, qword [rax]
jmp 0x14006c134
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14006c18b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c18b
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400cc851.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006c18b
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400cc851.0]
nop
lea rcx, [rsp + 0x90]
call fcn.140023540
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400966b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x50]
call fcn.140135f84
int3
Function at 0x14006c810
Capabilities:
Get file size

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rbx, [rcx + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r14, [rsi + 0xa8]
mov rax, qword [r14 + 8]
test rax, rax
je 0x14006c86c
lock inc dword [rax + 8]
mov r15, qword [r14]
mov qword [rsp + 0x60], r15
mov rax, qword [r14 + 8]
mov qword [rsp + 0x68], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdi, 0xffffffffffffffff
test r15, r15
je 0x14006c898
mov rcx, qword [r15]
jmp 0x14006c89b
mov rcx, rdi
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006c9f9
mov rax, qword [rsi + 0xd8]
cmp qword [rsp + 0x70], rax
jl 0x14006c95e
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14006c8dc
mov rcx, qword [rcx]
jmp 0x14006c8df
mov rcx, rdi
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006c9cd
mov rax, qword [rsi + 0xd8]
cmp qword [rsp + 0x78], rax
jl 0x14006c952
mov rax, qword [r14]
test rax, rax
je 0x14006c90d
mov rcx, qword [rax]
jmp 0x14006c910
mov rcx, rdi
lea rbx, [rsi + 0xb8]
mov rdx, rbx
call fcn.14006b930
cmp qword [rbx + 0x18], 7
jbe 0x14006c929
mov rbx, qword [rbx]
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14006c1f0
mov rdx, rax
mov rcx, r14
call fcn.140040380
lea rcx, [rsp + 0x28]
call fcn.14002a5e0
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006c9a4
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c9a4
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400cc851.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006c9a4
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400cc851.0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.Unable_to_get_file_size_
lea rcx, [rsp + 0x38]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x38]
call fcn.140135f84
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_get_file_size_
lea rcx, [rsp + 0x38]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x38]
call fcn.140135f84
int3
Function at 0x14006e300
Capabilities:
Create thread

Disassembly:
movsxd rax, dword [rcx - 4]
sub rcx, rax
jmp 0x14006e300
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0x60]
xor ebp, ebp
mov ecx, 0xb0
call fcn.14013365c
mov rbx, rax
mov qword [rsp + 0x40], rax
mov word [rax], bp
lea rcx, [rax + 8]
mov dword [rcx], ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rbp
lea edx, [rbp + 2]
call fcn.1401321ec
lea rcx, [rbx + 0x58]
call fcn.1401323dc
xorps xmm0, xmm0
movups xmmword [rbx + 0xa0], xmm0
mov rdi, qword [rsi - 0x28]
mov qword [rsi - 0x28], rbx
test rdi, rdi
je 0x14006e3b8
cmp dword [rdi + 0xa8], ebp
jne 0x14006e456
lea rcx, [rdi + 0x58]
call fcn.1400ca4c0
lea rcx, [rdi + 8]
call fcn.1400ca4c0
mov edx, 0xb0
mov rcx, rdi
call fcn.140133620
lea rbx, [rsi - 0x110]
mov ecx, 8
call fcn.14013365c
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14006f320]
xor edx, edx
xor ecx, ecx
call fcn.140154878
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006e447
mov rax, qword [rsi - 0x28]
cmp dword [rax + 0xa8], 0
jne 0x14006e45c
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rax + 0xa0], xmm1
cmp dword [rsp + 0x38], 0
jne 0x14006e45c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140133600
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140132168
nop
call fcn.14015470c
int3
call fcn.14015470c
int3
Function at 0x1400701f0
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov dword [rax - 0x28], ebx
mov rsi, r8
mov rdi, rdx
sub rsi, rdx
xorps xmm0, xmm0
mov r14, rcx
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
mov dword [rax - 0x28], 1
lea rcx, [rsi + 2]
movabs rax, 0x5555555555555556
imul rcx
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, 4
mul rdx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.14000c470
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140070280
mov r9, qword [r14]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp rsi, 3
jl 0x14007031e
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
shr rdx, 1
imul rax, rdx, 0xfffffffffffffffd
add rsi, rax
nop dword [rax + rax]
movzx r8d, byte [rdi]
movzx eax, byte [rdi + 1]
movzx ecx, byte [rdi + 2]
add rdi, 3
shl r8, 8
or r8, rax
shl r8, 8
or r8, rcx
mov rax, r8
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [r9 + rbx], al
mov rax, r8
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r9 + rbx + 1], al
mov rax, r8
shr rax, 6
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r9 + rbx + 2], al
and r8d, 0x3f
movzx eax, byte [r8 + r10]
mov byte [r9 + rbx + 3], al
add rbx, 4
sub rdx, 1
jne 0x1400702b0
cmp rsi, 2
jne 0x140070382
movzx edx, byte [rdi]
shl rdx, 8
movzx eax, byte [rdi + 1]
or rdx, rax
shl rdx, 8
mov rax, rdx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [r9 + rbx], al
mov rcx, rdx
shr rcx, 0xc
and ecx, 0x3f
movzx ecx, byte [rcx + r10]
mov byte [r9 + rbx + 1], cl
shr rdx, 6
and edx, 0x3f
movzx ecx, byte [rdx + r10]
mov byte [r9 + rbx + 2], cl
mov byte [r9 + rbx + 3], 0x3d
mov rax, r14
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
cmp rsi, 1
jne 0x1400703b8
movzx ecx, byte [rdi]
shl rcx, 0x10
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [r9 + rbx], al
shr rcx, 0xc
and ecx, 0x3f
movzx eax, byte [rcx + r10]
mov byte [r9 + rbx + 1], al
mov word [r9 + rbx + 2], 0x3d3d
mov rax, r14
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140071310
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, qword [rsp + 0x40]
mov ecx, 0x58
call fcn.14013365c
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rax
test rcx, rcx
je 0x14007135c
mov edx, 0x58
call fcn.140133620
mov rax, qword [rbx + 8]
mov qword [rax + 0x10], 0
mov dword [rax], 0x67452301
mov dword [rax + 4], 0xefcdab89
mov dword [rax + 8], 0x98badcfe
mov dword [rax + 0xc], 0x10325476
add rsp, 0x30
pop rbx
ret

Function at 0x140071770
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x40]
mov ecx, 0x140
call fcn.14013365c
xor edx, edx
mov r8d, 0x140
mov rcx, rax
mov rbx, rax
call fcn.140176680
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], rbx
test rcx, rcx
je 0x1400717b8
mov edx, 0x140
call fcn.140133620
mov rcx, qword [rdi + 8]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400725e0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, qword [rsp + 0x30]
xor edx, edx
movups xmm0, xmmword [0x1401e5040]
mov r8d, 0x100
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x20]
movups xmm1, xmmword [0x1401e5050]
movups xmmword [rbx + 0x10], xmm1
call fcn.140176680
mov rcx, qword [0x14021e330]
xor eax, eax
mov qword [rbx + 0x120], rax
mov dword [rbx + 0x128], eax
mov qword [rbx + 0x130], rax
mov qword [rbx + 0x138], rax
movabs rax, 0x1000000010000000
test rax, rcx
je 0x14007266c
mov edx, 0x20
lea ecx, [rdx + 0x20]
call fcn.140076ef0
mov rcx, qword [0x14021e330]
mov qword [rbx + 0x130], rax
lea rax, [0x140001740]
mov qword [rbx + 0x138], rax
test cl, 0x20
je 0x1400726e8
lea rax, [0x140002840]
mov qword [rbx + 0x138], rax
bt rcx, 0x12
jae 0x1400726a8
lea rax, [0x140007340]
mov qword [rbx + 0x138], rax
add rsp, 0x20
pop rbx
ret
bt rcx, 0xa
jae 0x1400726e8
mov rax, rcx
and eax, 0x5000
cmp rax, 0x5000
jne 0x1400726d3
lea rax, [0x140005300]
mov qword [rbx + 0x138], rax
add rsp, 0x20
pop rbx
ret
bt rcx, 0x29
jae 0x1400726e8
lea rax, [0x140003d60]
mov qword [rbx + 0x138], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140071800
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.140072930
Function at 0x1400725e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x40]
mov ecx, 0x140
call fcn.14013365c
xor edx, edx
mov r8d, 0x140
mov rcx, rax
mov rbx, rax
call fcn.140176680
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], rbx
test rcx, rcx
je 0x1400717b8
mov edx, 0x140
call fcn.140133620
mov rcx, qword [rdi + 8]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400725e0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, qword [rsp + 0x30]
xor edx, edx
movups xmm0, xmmword [0x1401e5040]
mov r8d, 0x100
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x20]
movups xmm1, xmmword [0x1401e5050]
movups xmmword [rbx + 0x10], xmm1
call fcn.140176680
mov rcx, qword [0x14021e330]
xor eax, eax
mov qword [rbx + 0x120], rax
mov dword [rbx + 0x128], eax
mov qword [rbx + 0x130], rax
mov qword [rbx + 0x138], rax
movabs rax, 0x1000000010000000
test rax, rcx
je 0x14007266c
mov edx, 0x20
lea ecx, [rdx + 0x20]
call fcn.140076ef0
mov rcx, qword [0x14021e330]
mov qword [rbx + 0x130], rax
lea rax, [0x140001740]
mov qword [rbx + 0x138], rax
test cl, 0x20
je 0x1400726e8
lea rax, [0x140002840]
mov qword [rbx + 0x138], rax
bt rcx, 0x12
jae 0x1400726a8
lea rax, [0x140007340]
mov qword [rbx + 0x138], rax
add rsp, 0x20
pop rbx
ret
bt rcx, 0xa
jae 0x1400726e8
mov rax, rcx
and eax, 0x5000
cmp rax, 0x5000
jne 0x1400726d3
lea rax, [0x140005300]
mov qword [rbx + 0x138], rax
add rsp, 0x20
pop rbx
ret
bt rcx, 0x29
jae 0x1400726e8
lea rax, [0x140003d60]
mov qword [rbx + 0x138], rax
add rsp, 0x20
pop rbx
ret
Function at 0x140072930
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov edi, r8d
test rcx, rcx
je 0x140072aa6
mov qword [rax + 0x20], rsi
mov rsi, rdx
test rdx, rdx
jne 0x140072966
test dil, 1
je 0x1400729b1
mov rcx, rbx
call fcn.140072870
test rsi, rsi
je 0x1400729b1
mov eax, dword [rbx]
bswap eax
mov dword [rsi], eax
mov eax, dword [rbx + 4]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbx + 8]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0xc]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbx + 0x10]
bswap eax
mov dword [rsi + 0x10], eax
mov eax, dword [rbx + 0x14]
bswap eax
mov dword [rsi + 0x14], eax
mov eax, dword [rbx + 0x18]
bswap eax
mov dword [rsi + 0x18], eax
mov eax, dword [rbx + 0x1c]
bswap eax
mov dword [rsi + 0x1c], eax
test dil, 3
je 0x140072a08
test dil, 2
je 0x140072aa1
movups xmm0, xmmword [0x1401e5040]
lea rcx, [rbx + 0x20]
xor edx, edx
mov r8d, 0x100
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x1401e5050]
movups xmmword [rbx + 0x10], xmm1
call fcn.140176680
mov rsi, qword [rsp + 0x58]
mov qword [rbx + 0x120], 0
mov dword [rbx + 0x128], 0
add rsp, 0x28
pop rdi
pop rbx
ret
mov rsi, qword [rbx + 0x130]
and edi, 8
test rsi, rsi
je 0x140072a82
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140072a53
mov qword [rsp + 0x20], r14
test edi, edi
je 0x140072a34
mov r8d, dword [rsi + 0x24]
xor edx, edx
call fcn.140176680
mov edx, dword [rsi + 0x24]
mov r8d, 0x8000
mov rcx, qword [rsi + 0x10]
mov rax, qword [0x14021e348]
call qword [case.0x1400cc851.0]
mov r14, qword [rsp + 0x20]
test edi, edi
je 0x140072a67
xor edx, edx
mov r8d, 0xc0
mov rcx, rsi
call fcn.140176680
mov rax, qword [0x14021e338]
mov rcx, rsi
call qword [case.0x1400cc851.0]
mov qword [rbx + 0x130], 0
mov qword [rbx + 0x138], 0
test edi, edi
je 0x140072aa1
xor edx, edx
mov r8d, 0x140
mov rcx, rbx
call fcn.140176680
mov rsi, qword [rsp + 0x58]
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x140081900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140081984
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140081984
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
add rdx, rbx
mov ecx, dword [rsp + 0x40]
and ecx, 0xf
jbe 0x14008196d
cmp rbx, rdx
jae 0x140081984
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add ecx, 0xffffffff
jne 0x140081958
cmp rbx, rdx
jae 0x140081984
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140082940
Capabilities:
Clear file content

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov rdi, rdx
cmp rcx, 0xffffffffffffffff
je 0x140082a98
test rdx, rdx
js 0x140082a98
mov qword [r11 - 0x58], 0
lea r8, [r11 - 0x18]
mov rdx, qword [r11 - 0x58]
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400829ff
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140082a55
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140082a55
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140082a2a
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140133600
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_retrieve_the_file_pointer_
lea rcx, [rsp + 0x28]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x28]
call fcn.140135f84
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_set_the_file_pointer_
lea rcx, [rsp + 0x28]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x28]
call fcn.140135f84
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_set_size_of_file_to__bytes_
mov qword [rsp + 0x58], 0x27
mov qword [rsp + 0x50], rcx
lea r9, [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov edx, eax
lea r8, [rsp + 0x50]
call fcn.140082be0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x28]
call fcn.140135f84
int3
mov edx, 0x57
lea rcx, [rsp + 0x28]
call fcn.1400966b0
lea rcx, [rsp + 0x28]
lea rdx, [0x14020e468]
call fcn.140135f84
int3