joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442080
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x0069b8f0]
test rcx, rcx
jne 0x4420a4
xor ecx, ecx
xor edx, edx
jmp 0x4420b9
call fcn.00456fe0
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.00442020
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.0043b940
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x442126
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x442162
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00442380]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00464ba0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x4421cb
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00442300]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00464ba0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442020
mov rcx, qword [rsp + 0x20]
mov al, byte [0x00617fd8]
test al, al
je 0x44220b
lea rax, [0x00557f30]
mov qword [rsp], rax
call fcn.00464ba0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442020
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x442258
lea rax, fcn.0043d1c0
mov qword [rsp], rax
call fcn.00464ba0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442020
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x00617fc8]
test al, al
je 0x4422e4
lea rax, [0x00557f28]
mov qword [rsp], rax
call fcn.00464ba0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442020
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x447060
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4471c7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x447072
cmp edx, ecx
jne 0x4471b5
nop word [rax + rax]
test rsi, rsi
jne 0x4471b5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4470d4
nop
call fcn.004688a0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00446f80
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x4471b0
mov rdx, qword [0x00616c48]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x4471a5
mov rcx, qword [0x00616c40]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00617f30]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00617f30], rax
nop
mov edx, 1
lea rsi, [0x00617f38]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x447193
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004f21d9]
mov ebx, 0x28
nop
call fcn.00436fc0
mov rax, rsi
mov rcx, rdx
call fcn.00466fa0
call fcn.00435ba0
lea rax, [0x004f1186]
mov ebx, 0x23
call fcn.00436fc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00447060
Function at 0x484f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48502a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004032c0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48500f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004cbbc0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044ba00
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00485b00
inc rbx
cmp rcx, rbx
jae 0x484ffe
mov edi, 1
lea rsi, [0x004cbbc0]
call fcn.0044bae0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00576848]
lea rsi, [0x00576020]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00484f60
Function at 0x4affc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4b0094
jb 0x4b00f3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004afea0
aeskeygenassist xmm1, xmm0, 1
call fcn.004afec0
aeskeygenassist xmm1, xmm2, 2
call fcn.004afea0
aeskeygenassist xmm1, xmm0, 2
call fcn.004afec0
aeskeygenassist xmm1, xmm2, 4
call fcn.004afea0
aeskeygenassist xmm1, xmm0, 4
call fcn.004afec0
aeskeygenassist xmm1, xmm2, 8
call fcn.004afea0
aeskeygenassist xmm1, xmm0, 8
call fcn.004afec0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004afea0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004afec0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004afea0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004afec0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004afea0
jmp 0x4b0161
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004afe00
aeskeygenassist xmm1, xmm2, 2
call fcn.004afe60
aeskeygenassist xmm1, xmm2, 4
call fcn.004afe00
aeskeygenassist xmm1, xmm2, 8
call fcn.004afe60
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004afe00
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004afe60
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004afe00
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004afe60
jmp 0x4b0161
aeskeygenassist xmm1, xmm0, 1
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 2
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 4
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 8
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004afdc0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004afdc0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4b016e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret

Function at 0x4b36a0
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x4b36e0
cmp ecx, 0x10
jle 0x4b36d6
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x4b4e20
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b555f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4b4e4d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4b50d1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4b50fd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00578180]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004cbac0]
lea rbx, [0x005767c0]
call fcn.00436400
inc rax
cmp rax, r8
jge 0x4b5122
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4b5157
lea rdi, [0x004cbb40]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4b4e43
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4b513b
jmp 0x4b5110
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004b4e20

Function at 0x4b5700
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4b5717
inc rax
cmp rax, 4
jge 0x4b572f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4b5714
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4b5740
inc rax
cmp rax, 4
jge 0x4b574e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4b5777
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4b575b
jmp 0x4b573d
Function at 0x4c0060
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4c02f9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004dcea0]
call fcn.0040df40
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004e8cc4]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004dcea0]
call fcn.0040df40
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004e8a34]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004dcde0]
call fcn.0040df40
cmp dword [0x0069bb90], 0
jne 0x4c00f7
mov rcx, qword [rsp + 0x70]
jmp 0x4c0104
call fcn.00466be0
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004e9b28]
mov qword [rax], rcx
nop
lea rax, [0x004dcde0]
call fcn.0040df40
cmp dword [0x0069bb90], 0
jne 0x4c0140
mov rcx, qword [rsp + 0x68]
jmp 0x4c014d
call fcn.00466be0
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004e9684]
mov qword [rax], rcx
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rcx
lea rax, [0x004ccce0]
call fcn.0040df40
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004bd4e0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4c02ee
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004ccc80]
call fcn.0040df40
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004bd4e0
movzx ecx, word [0x0069b944]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x78], rdx
lea rax, [0x004ccd40]
nop dword [rax]
call fcn.0040df40
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004b36a0
xorps xmm15, xmm15
mov r14, qword [0x0069bb58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.00463620
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00466fa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464cc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004c0060
Function at 0x411ce7
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x2e0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
movabs rax, 0x60
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov r9, rax
mov rax, qword [rbp + 0x18]
mov r8, rax
mov rax, qword [rbp + 0x10]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040f14b
cmp eax, 0
je 0x411d57
jmp 0x411d6e
lea rax, str.Errore_nellapertura_del_file_ZIP_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x411f5d
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call fcn.0040f49c
mov dword [rbp - 0x64], eax
mov eax, 0
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x64]
cmp eax, ecx
jge 0x411f4e
jmp 0x411da9
mov eax, dword [rbp - 0x68]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x68], eax
jmp 0x411d88
lea rax, [rbp - 0x2b0]
mov r8, rax
mov eax, dword [rbp - 0x68]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040f5f4
cmp eax, 0
je 0x411dd9
jmp 0x411df0
lea rax, str.Errore_nel_recupero_delle_informazioni_del_file_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x411d9b
mov eax, 0
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, dword [rbp - 0x68]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0041078b
mov qword [rbp - 0x2b8], rax
mov rax, qword [rbp - 0x2b8]
cmp rax, 0
je 0x411e3a
jmp 0x411e5e
lea rax, [rbp - 0x26c]
mov r11, rax
lea rax, str.Errore_nellestrazione_del_file:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
jmp 0x411d9b
lea rax, [0x0041542a]
mov r11, rax
lea rax, [rbp - 0x26c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x2c0], rax
mov rax, qword [rbp - 0x2c0]
cmp rax, 0
je 0x411e9a
jmp 0x411ed0
lea rax, [rbp - 0x26c]
mov r11, rax
lea rax, str.Errore_nella_creazione_del_file:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
call fcn.00401306
jmp 0x411d9b
mov rax, qword [rbp - 0x2c0]
mov r9, rax
mov rax, qword [rbp - 0x288]
mov r8, rax
movabs rax, 1
mov r11, rax
mov rax, qword [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x2c0]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
call fcn.00401306
lea rax, [rbp - 0x26c]
mov r11, rax
lea rax, str.File_estratto:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
jmp 0x411d9b
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call fcn.004115f5
leave
ret
Function at 0x411cf2
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x2e0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
movabs rax, 0x60
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0
mov r9, rax
mov rax, qword [rbp + 0x18]
mov r8, rax
mov rax, qword [rbp + 0x10]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040f14b
cmp eax, 0
je 0x411d57
jmp 0x411d6e
lea rax, str.Errore_nellapertura_del_file_ZIP_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x411f5d
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call fcn.0040f49c
mov dword [rbp - 0x64], eax
mov eax, 0
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x64]
cmp eax, ecx
jge 0x411f4e
jmp 0x411da9
mov eax, dword [rbp - 0x68]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x68], eax
jmp 0x411d88
lea rax, [rbp - 0x2b0]
mov r8, rax
mov eax, dword [rbp - 0x68]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040f5f4
cmp eax, 0
je 0x411dd9
jmp 0x411df0
lea rax, str.Errore_nel_recupero_delle_informazioni_del_file_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x411d9b
mov eax, 0
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, dword [rbp - 0x68]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0041078b
mov qword [rbp - 0x2b8], rax
mov rax, qword [rbp - 0x2b8]
cmp rax, 0
je 0x411e3a
jmp 0x411e5e
lea rax, [rbp - 0x26c]
mov r11, rax
lea rax, str.Errore_nellestrazione_del_file:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
jmp 0x411d9b
lea rax, [0x0041542a]
mov r11, rax
lea rax, [rbp - 0x26c]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x2c0], rax
mov rax, qword [rbp - 0x2c0]
cmp rax, 0
je 0x411e9a
jmp 0x411ed0
lea rax, [rbp - 0x26c]
mov r11, rax
lea rax, str.Errore_nella_creazione_del_file:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
call fcn.00401306
jmp 0x411d9b
mov rax, qword [rbp - 0x2c0]
mov r9, rax
mov rax, qword [rbp - 0x288]
mov r8, rax
movabs rax, 1
mov r11, rax
mov rax, qword [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x2c0]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
call fcn.00401306
lea rax, [rbp - 0x26c]
mov r11, rax
lea rax, str.File_estratto:__s_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
jmp 0x411d9b
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call fcn.004115f5
leave
ret
Function at 0x14002e9e0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x28
call fcn.140083708
mov qword [rbp - 8], rax
mov rcx, rax
mov rdx, rbx
call fcn.14002ebe0
mov r9, qword [rbp - 8]
mov qword [r9 + 0x20], rdi
mov qword [rbp - 0x10], r9
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x14002eb40]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x14002ea56
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x14007fb00
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
cmp edx, 0xffffffff
je 0x14007fc1b
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14007fb4b
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x14007fb4b
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x14007fc60
cmp qword [rdi + 0x80], 0
je 0x14007fc1f
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x14007fb85
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14007fc26
mov byte [rsp + 0x4f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x50]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x4f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x14007fc3f
mov r15, qword [rsp + 0x50]
sub r15, r14
je 0x14007fc0b
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x14007fc5e
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x58], rbx
mov eax, 0xffffffff
jmp 0x14007fc59
xor esi, esi
jmp 0x14007fc60
mov esi, 0xffffffff
jmp 0x14007fc60
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x14007fc60
cmp eax, 3
jne 0x14007fc5e
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x4f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400800c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x1400800fb
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je case.default.0x1400800f4
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
xor esi, esi
jmp 0x1400801f9
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140080155
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140080155
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x140080166
jmp 0x1400801f6
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x1400801f6
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140080192
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x1400801d1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x1400801a0
jmp 0x1400801f6
test r14, r14
je 0x1400801f3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x1400801f6
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
imul ebx, dword gs:[rdi + 0x65], 0x6c
pop rsi
imul ebx, dword fs:[rdi + 0x65], 0x6d
pop rdi
insb byte [rdi], dx
invalid