joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400460dc
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
and qword [rbp - 8], 0
lea rdx, [rbp - 0x18]
lea rcx, [0x140045d24]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, qword [rbp - 0x10]
mov r8, rdx
mov rcx, qword [rbp - 0x18]
sub r8, rcx
sar r8, 5
mov r9b, byte [rbp + 0x28]
call fcn.140049f70
mov rdx, qword [rbp - 0x18]
cmp rdx, qword [rbp - 0x10]
je 0x1400461fc
mov rcx, rsi
call fcn.1400036b8
nop
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400461e6
mov r14, qword [rbp - 0x10]
mov edi, 0x1000
cmp rbx, r14
je 0x1400461b2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140046195
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x140046190
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400462cd
mov rcx, r8
call fcn.1400b3484
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, r14
jne 0x14004615f
mov rbx, qword [rbp - 0x18]
mov rdx, qword [rbp - 8]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, rdi
mov rax, rbx
jb 0x1400461de
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400462cd
mov rcx, rbx
call fcn.1400b3484
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
and qword [rsi + 0x10], 0
and qword [rsi + 0x18], 0
mov qword [rbp + 0x28], 0x1f
lea rdx, [rbp + 0x28]
call fcn.1400042dc
mov rdx, rax
mov qword [rsi], rax
mov qword [rsi + 0x10], 0x17
mov rcx, qword [rbp + 0x28]
mov qword [rsi + 0x18], rcx
movups xmm0, xmmword [str.Spotify_is_not_running.]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400e3f78]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1400e3f7c]
mov word [rax + 0x14], cx
mov al, byte [0x1400e3f7e]
mov byte [rdx + 0x16], al
mov byte [rdx + 0x17], 0
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400461e6
mov r14, qword [rbp - 0x10]
mov edi, 0x1000
cmp rbx, r14
je 0x1400461b2
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400462af
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x1400462aa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400462cd
mov rcx, r8
call fcn.1400b3484
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, r14
jne 0x14004627d
jmp 0x1400461ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004a8b8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x14004a923
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x14004a8e6
mov ecx, dword [r9]
jmp 0x14004a9f9
cmp ecx, 0x4e0
jb 0x14004a9f9
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14004a949
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14004a98e
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x14005c0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.14004b170
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x14005c116
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x14005c16d
mov ebp, 0x4b0000
jmp 0x14005c17b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.14004d5b0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x14005c191
mov eax, r12d
jmp 0x14005c19a
mov edx, edi
mov ecx, ebp
call fcn.14004d5b0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x14005c1b6
shl esi, 0x10
mov ecx, esi
jmp 0x14005c2a5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x14005c214
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.14004b170
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x14005c204
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.14004d480
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.14004b170
add ebx, eax
jmp 0x14005c2ae
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x14005c221
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x14005c260
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.14004b170
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x14005c265
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.14004d480
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.14004b170
add ebx, eax
jmp 0x14005c2ae
cmp eax, r12d
jge 0x14005c29e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.14004b170
sub ebp, eax
sub r15d, esi
je 0x14005c29e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.14004d480
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.14004b170
add ebx, eax
jmp 0x14005c2ae
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.14004b170
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.14004b170
Function at 0x1400a82f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1400f5040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400a848c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400a848c
cmp r10d, r14d
jne 0x1400a8390
sub rbx, 0x10
jmp 0x1400a84d4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400a8402
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400a83c4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400a83cc
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400a83eb
movzx edx, r11b
mov rcx, rsi
call fcn.1400a94a0
test al, al
jne 0x1400a84e5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400a9b10
test al, al
jne 0x1400a84e5
mov edx, dword [rsi + 0x64]
lea r9, [0x1400a9e70]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400a842e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400a8170
jmp 0x1400a8482
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400a8170
test dil, dil
je 0x1400a847a
cmp byte [rsi + 0x6a], 0
jne 0x1400a847a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400a84e5
sub rbx, 0x10
jmp 0x1400a84d4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400a84e9
mov ebp, dword [rbx]
jmp 0x1400a8350
mov al, 1
jmp 0x1400a84f2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b3420
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400af730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400af73b
xor eax, eax
ret
lea r11, [0x1400d44e0]
not ecx
cmp r8d, 8
jb 0x1400af811
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400af760
test r8d, r8d
je 0x1400af83d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400af820
not ecx
mov eax, ecx
ret
Function at 0x1400b43c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b440a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b440a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b440a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b440a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b440a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b440c
xor al, al
add rsp, 0x28
ret

Function at 0x1400b4600
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400b463a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400b463f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400b4688
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d4cc0]
cmp byte [rcx + rax], 0
je 0x1400b4688
dec r8
sub rdx, 1
jne 0x1400b466e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400b4e4c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400b4718
mov ebx, eax
test eax, eax
jne 0x1400b4e7c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400b4edf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b4ed6
test al, 0x10
je 0x1400b4ed6
bt eax, 0xa
jae 0x1400b4ecf
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400b4ef0
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400b4ecb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400b4ecb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400b4ed6
and dword [rsp + 0x3c], 0
jmp 0x1400b4edb
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x41180d
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 0x41187d
jmp 0x411894
lea rax, str.Errore_nellapertura_del_file_ZIP_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x411a83
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 0x411a74
jmp 0x4118cf
mov eax, dword [rbp - 0x68]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x68], eax
jmp 0x4118ae
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 0x4118ff
jmp 0x411916
lea rax, str.Errore_nel_recupero_delle_informazioni_del_file_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x4118c1
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 0x411960
jmp 0x411984
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 0x4118c1
lea rax, [0x00b6fef1]
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 0x4119c0
jmp 0x4119f6
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 0x4118c1
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 0x4118c1
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call fcn.004115f5
leave
ret
Function at 0x411818
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 0x41187d
jmp 0x411894
lea rax, str.Errore_nellapertura_del_file_ZIP_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x411a83
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 0x411a74
jmp 0x4118cf
mov eax, dword [rbp - 0x68]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x68], eax
jmp 0x4118ae
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 0x4118ff
jmp 0x411916
lea rax, str.Errore_nel_recupero_delle_informazioni_del_file_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
jmp 0x4118c1
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 0x411960
jmp 0x411984
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 0x4118c1
lea rax, [0x00b6fef1]
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 0x4119c0
jmp 0x4119f6
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 0x4118c1
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 0x4118c1
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
call fcn.004115f5
leave
ret

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1e8571460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp - 4], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x800
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1e85714bb
mov eax, 0xffffffff
jmp 0x1e8571500
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, 0x800
lea r8, sym.evil.dll_shellcode
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1e85714f5
mov eax, 0xfffffffe
jmp 0x1e8571500
mov rax, qword [rbp - 0x18]
call rax
mov eax, 1
add rsp, 0x50
pop rbp
ret

Function at 0x1e8571506
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
cmp dword [rbp + 0x18], 3
je 0x1e8571584
cmp dword [rbp + 0x18], 3
ja 0x1e857158b
cmp dword [rbp + 0x18], 2
je 0x1e8571587
cmp dword [rbp + 0x18], 2
ja 0x1e857158b
cmp dword [rbp + 0x18], 0
je 0x1e857158a
cmp dword [rbp + 0x18], 1
jne 0x1e857158b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [sym.evil.dll_ThreadFunction_void_]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x1e857158b
nop
jmp 0x1e857158b
nop
jmp 0x1e857158b
nop
mov eax, 1
add rsp, 0x40
pop rbp
ret

Function at 0x1e8571740
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]