joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40280f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.004090a0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c880
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4027e0
cmp byte [0x0060164f], 0
je 0x45e935
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45b980
jmp 0x4027e0

Function at 0x45e940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00601920]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0060164f], 0
je 0x45e975
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00601c60]
aesenc xmm0, xmmword [0x00601c70]
aesenc xmm0, xmmword [0x00601c80]
movq rax, xmm0
ret
jmp 0x4092a0

Function at 0x45e980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00601920]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0060164f], 0
je 0x45e9b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00601c60]
aesenc xmm0, xmmword [0x00601c70]
aesenc xmm0, xmmword [0x00601c80]
movq rax, xmm0
ret
jmp 0x409300

Function at 0x4603c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00601be0]
mov qword [rsp + 8], rdx
lea r8d, [0x00601668]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045e860
add rsp, 0x30
ret

Function at 0x460900
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x460930
mov rcx, 0x28
jmp 0x46093b
shl rcx, 3
add rcx, 0x1480
mov qword [0x00601828], rcx
ret
Function at 0x47dda0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0xa0], rbp
lea rbp, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rbx
test byte [rbx], al
mov rdx, qword [rbx]
mov qword [rsp + 0x40], rdx
movups xmm0, xmmword [rbx + 8]
movups xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 9
jmp 0x47de09
mov rdx, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rdx
jg 0x47de1a
jmp 0x47df3b
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x38]
lea rdx, [rsp + rdx*8 + 0x40]
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0xb0]
test byte [rdx], al
lea rbx, [rdx + 0x18]
mov qword [rsp + 0x88], rbx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rcx
test byte [rbx], al
mov rbx, rcx
sar rcx, 0x3f
shr rcx, 0x3d
lea rax, [rbx + rcx]
sar rax, 3
cmp rax, 2
jb 0x47de76
jmp 0x47df65
lea rdx, [rdx + rax]
lea rdx, [rdx + 0x18]
movzx edx, byte [rdx]
mov rcx, rbx
sar rbx, 0x3f
shr rbx, 0x3d
add rbx, rcx
and rbx, 0xfffffffffffffff8
sub rcx, rbx
test rcx, rcx
jge 0x47dea5
nop dword [rax + rax]
jmp 0x47df60
cmp rcx, 0x20
sbb ebx, ebx
mov esi, 1
shl esi, cl
and esi, ebx
test sil, dl
setne byte [rsp + 0x17]
jmp 0x47dec0
jne 0x47dec4
jmp 0x47defa
mov rdx, qword [rsp + 0xb8]
test byte [rdx], al
mov rax, qword [rsp + 0x20]
cmp rax, 9
jb 0x47dedb
jmp 0x47df55
lea rdx, [rdx + rax*8]
lea rdx, [rdx + 0xc0]
mov qword [rsp + 0x98], rdx
test byte [rdx], al
mov rbx, qword [rsp + 0x28]
mov qword [rdx], rbx
jmp 0x47df2f
mov rdx, qword [rsp + 0xb8]
test byte [rdx], al
mov rax, qword [rsp + 0x20]
cmp rax, 9
jb 0x47df11
jmp 0x47df4b
lea rdx, [rdx + rax*8]
lea rdx, [rdx + 0xc0]
mov qword [rsp + 0x90], rdx
test byte [rdx], al
mov qword [rdx], 0
jmp 0x47df2f
jmp 0x47df31
inc qword [rsp + 0x38]
jmp 0x47de09
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
mov ecx, 9
call fcn.0045eee0
mov ecx, 9
call fcn.0045eee0
nop
call fcn.00432420
mov ecx, 2
call fcn.0045eee0
nop
int3
Function at 0x48fec0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4900b6
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x40], xmm15
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0
call fcn.00402760
xorps xmm15, xmm15
mov r14, qword [0x00601828]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x48ff52
jmp 0x48ff9d
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x68], xmm15
lea rdx, [0x00529758]
mov qword [rsp + 0x40], rdx
lea rsi, [0x005290a0]
mov qword [rsp + 0x48], rsi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x38], rcx
inc rcx
mov qword [rsp + 0x30], rcx
lea rax, [0x004eba00]
mov rbx, rcx
nop dword [rax]
call fcn.004460e0
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rsi
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdx
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x28], rsi
cmp rsi, rdx
jg 0x49002a
jmp 0x490031
mov qword [rsp + 0x28], rdx
jmp 0x490033
jmp 0x490033
mov rdx, qword [rsp + 0x90]
nop dword [rax + rax]
cmp qword [rsp + 0x50], rdx
jne 0x490049
jmp 0x490067
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
call fcn.0045f880
jmp 0x490069
jmp 0x490069
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
movups xmmword [rsp + 0x40], xmm15
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c880
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048fec0
Function at 0x13f39b6d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov byte [rsp + 0x48], 0x22
mov eax, 0x66666667
mov byte [rsp + 0x40], 0x3a
movsx ecx, byte [rsp + 0x40]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
je 0x13f39b70e
cmp ecx, 2
je 0x13f39b70a
movzx eax, byte [rsp + 0x40]
jmp 0x13f39b710
mov al, 0xc3
jmp 0x13f39b710
mov al, 0xe9
xor al, 0x6d
mov byte [rsp + 0x49], al
mov eax, 0x66666667
mov byte [rsp + 0x40], 0x8e
movsx ecx, byte [rsp + 0x40]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
je 0x13f39b747
cmp ecx, 2
je 0x13f39b743
movzx eax, byte [rsp + 0x40]
jmp 0x13f39b749
mov al, 0xc3
jmp 0x13f39b749
mov al, 0xe9
xor al, 0x61
xor r8d, r8d
mov byte [rsp + 0x4a], al
mov r10d, 0xefd930a8
xor eax, eax
mov byte [rsp + 0x4b], al
xor ecx, ecx
movzx eax, byte [rsp + 0x48]
add al, 0x18
add al, cl
mov byte [rsp + 0x40], al
mov eax, 0x66666667
movsx r9d, byte [rsp + 0x40]
imul r9d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub r9d, eax
je 0x13f39b79d
cmp r9d, 2
je 0x13f39b799
movzx eax, byte [rsp + 0x40]
jmp 0x13f39b79f
mov al, 0xc3
jmp 0x13f39b79f
mov al, 0xe9
xor byte [rsp + r8 + 0x49], al
add rcx, 0x77ec9854
inc r8
cmp rcx, r10
jb 0x13f39b760
xor r9d, r9d
mov byte [rsp + 0x4b], 0
lea r8, [rsp + 0x49]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
mov rbx, rax
test rax, rax
je 0x13f39b7e5
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0xfeeca3a1
movabs rsi, 0x1fdd94742
nop dword [rax]
nop dword [rax + rax]
mov byte [rsp + 0x50], 0x62
mov byte [rsp + 0x40], 0x62
movzx eax, byte [rsp + 0x40]
xor al, 0x6d
mov byte [rsp + 0x51], al
mov byte [rsp + 0x40], 3
movzx eax, byte [rsp + 0x40]
xor al, 0x71
mov byte [rsp + 0x52], al
xor eax, eax
mov byte [rsp + 0x53], al
xor edx, edx
nop dword [rax]
movzx ecx, byte [rsp + 0x50]
lea rdx, [rdx + 1]
add cl, al
add rax, rdi
mov byte [rsp + 0x40], cl
movzx ecx, byte [rsp + 0x40]
xor byte [rsp + rdx + 0x50], cl
cmp rax, rsi
jb 0x13f39b830
xor r9d, r9d
mov byte [rsp + 0x53], 0
lea r8, [rsp + 0x51]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
cmp rax, qword [0x13f4c55d0]
mov rbx, rax
je 0x13f39b887
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageA]
test rbx, rbx
jne 0x13f39b800
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x13f39e690
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.13f45cca0
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x13f39e720]
xor edx, edx
xor ecx, ecx
call fcn.13f469280
mov qword [rdi], rax
test rax, rax
je 0x13f39e6ec
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.13f45b18c
int3
Function at 0x13f438890
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 1]
mov rdx, rax
lea r10d, [r9 + 0xe]
nop
movzx r8d, byte [rcx]
lea rdx, [rdx + 1]
add r8b, r9b
add r9, 0x61f9e7cd
mov byte [rsp + 8], r8b
movzx r8d, byte [rsp + 8]
xor byte [rdx - 1], r8b
sub r10, 1
jne 0x13f4388a0
mov byte [rcx + 0xf], r10b
ret

Function at 0x13f439510
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
xor r9d, r9d
lea rax, [rcx + 1]
mov r10, rcx
mov rdx, rax
mov ebx, 0x8eab9f2c
lea r11d, [r9 + 0xc]
nop dword [rax + rax]
movzx r8d, byte [r10]
lea rdx, [rdx + 1]
sub r8b, 0x7d
add r8b, r9b
add r9, rbx
mov byte [rsp + 8], r8b
movzx ecx, byte [rsp + 8]
xor byte [rdx - 1], cl
sub r11, 1
jne 0x13f439530
mov rbx, qword [rsp + 0x10]
mov byte [r10 + 0xd], r11b
ret

Function at 0x13f439a60
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 1]
mov rdx, rax
mov r11d, 0xd1d63ecd
lea r10d, [r9 + 0xc]
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rcx]
lea rdx, [rdx + 1]
add r8b, r9b
add r9, r11
mov byte [rsp + 8], r8b
movzx r8d, byte [rsp + 8]
xor byte [rdx - 1], r8b
sub r10, 1
jne 0x13f439a80
mov byte [rcx + 0xd], r10b
ret

Function at 0x13f439bb0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 1]
mov rdx, rax
lea r10d, [r9 + 0x14]
nop
movzx r8d, byte [rcx]
lea rdx, [rdx + 1]
add r8b, r9b
add r9, 0x7f3dbc5
mov byte [rsp + 8], r8b
movzx r8d, byte [rsp + 8]
xor byte [rdx - 1], r8b
sub r10, 1
jne 0x13f439bc0
mov byte [rcx + 0x15], r10b
ret

Function at 0x13f43a1c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
xor r9d, r9d
lea rax, [rcx + 1]
mov r10, rcx
mov rdx, rax
mov ebx, 0xb0f22dac
lea r11d, [r9 + 0xf]
nop dword [rax + rax]
movzx r8d, byte [r10]
lea rdx, [rdx + 1]
sub r8b, 0x7d
add r8b, r9b
add r9, rbx
mov byte [rsp + 8], r8b
movzx ecx, byte [rsp + 8]
xor byte [rdx - 1], cl
sub r11, 1
jne 0x13f43a1e0
mov rbx, qword [rsp + 0x10]
mov byte [r10 + 0x10], r11b
ret

Function at 0x13f43ab80
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 1]
mov rdx, rax
mov r11d, 0xad1f11a5
lea r10d, [r9 + 0xa]
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rcx]
lea rdx, [rdx + 1]
add r8b, r9b
add r9, r11
mov byte [rsp + 8], r8b
movzx r8d, byte [rsp + 8]
xor byte [rdx - 1], r8b
sub r10, 1
jne 0x13f43aba0
mov byte [rcx + 0xb], r10b
ret

Function at 0x13f43b8b0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea rax, [rcx + 1]
mov rdx, rax
lea r10d, [r9 + 0xa]
nop
movzx r8d, byte [rcx]
lea rdx, [rdx + 1]
add r8b, r9b
add r9, 0x5a6141f5
mov byte [rsp + 8], r8b
movzx r8d, byte [rsp + 8]
xor byte [rdx - 1], r8b
sub r10, 1
jne 0x13f43b8c0
mov byte [rcx + 0xb], r10b
ret
Function at 0x13f45dcf0
Capabilities:
Parse pe header

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

Function at 0x13f473c94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x13f473ac0
Function at 0x1400018b0
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
lea rcx, [rcx + 0x70]
lea rdx, [0x140019129]
call fcn.1400043d0
mov rbp, rax
test rax, rax
je 0x1400019e0
mov edx, dword [r12 + 4]
xor r8d, r8d
add edx, dword [rbx]
mov rcx, rax
call fcn.14000f0b0
test eax, eax
js 0x1400019c0
mov esi, dword [r12 + 0xc]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r13, rax
test rax, rax
je 0x1400019f6
cmp byte [r12 + 0x10], 1
je 0x1400019a0
mov rdi, rax
test rsi, rsi
jne 0x140001938
jmp 0x140001980
add rdi, rbx
sub rsi, rbx
je 0x140001980
mov ebx, 0x2000
mov r9, rbp
mov r8d, 1
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call sub.msvcrt.dll_fread
test rax, rax
jne 0x140001930
lea r8, [r12 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002d60
mov rcx, r13
call sub.msvcrt.dll_free
xor r13d, r13d
mov rcx, rbp
call sub.msvcrt.dll_fclose
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r8d, r8d
mov r9, rax
mov rdx, r12
mov rcx, rbp
call fcn.140001490
test eax, eax
je 0x140001980
jmp 0x140001975
lea r8, [r12 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002d60
jmp 0x14000197d
lea rdx, [r12 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
xor r13d, r13d
call fcn.140002be0
jmp 0x140001988
mov r9d, esi
lea r8, [r12 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140002d60
jmp 0x14000197d
Function at 0x140001ac0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [rcx + 0x5074], 1
mov rsi, rcx
mov rbx, rdx
jne 0x140001cc0
cmp byte [rdx + 0x11], 0x6e
je 0x140001be0
lea r13, [rdx + 0x12]
lea rcx, [rcx + 0x3070]
mov rdx, r13
call fcn.140008310
mov r12, rax
test rax, rax
je 0x140001cd6
lea rcx, [rsi + 0x70]
lea rdx, [0x140019129]
call fcn.1400043d0
mov rbp, rax
test rax, rax
je 0x140001c50
mov edx, dword [rbx + 4]
xor r8d, r8d
add edx, dword [rsi]
mov rcx, rax
call fcn.14000f0b0
test eax, eax
js 0x140001ca0
cmp byte [rbx + 0x10], 1
je 0x140001c00
mov ecx, 0x2000
call sub.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x140001cee
mov esi, dword [rbx + 0xc]
test rsi, rsi
jne 0x140001b96
jmp 0x140001c70
mov r9, r12
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_fwrite
test rax, rax
je 0x140001c80
sub rsi, rbx
je 0x140001c70
mov ebx, 0x2000
mov r9, rbp
mov r8d, 1
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call sub.msvcrt.dll_fread
test rax, rax
jne 0x140001b70
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002d60
mov esi, 0xffffffff
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x140001c13
call fcn.140001a20
mov esi, eax
test eax, eax
js 0x140001c38
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r9d, r9d
mov r8, r12
mov rdx, rbx
mov rcx, rbp
call fcn.140001490
mov esi, eax
mov rcx, rbp
call sub.msvcrt.dll_fclose
mov rcx, r12
call sub.msvcrt.dll_fclose
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, [rbx + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140002be0
jmp 0x140001beb
mov rdx, r13
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
mov esi, 0xffffffff
call fcn.140002be0
jmp 0x140001c1b
xor esi, esi
jmp 0x140001bd6
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
call fcn.140002d60
jmp 0x140001bd1
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002d60
mov esi, 0xffffffff
jmp 0x140001c13
lea rcx, str.pyi_arch_extract2fs_was_called_before_temporary_directory_was_initialized__n
call fcn.140002be0
mov esi, 0xffffffff
jmp 0x140001beb
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002d60
jmp 0x140001ccc
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002d60
jmp 0x140001cb6
Function at 0x140001d10
Capabilities:
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdx, [0x140019129]
mov rbx, rcx
lea rcx, [rcx + 0x70]
call fcn.1400043d0
mov rsi, rax
test rax, rax
je 0x140001f11
mov rax, qword [0x14001f2c0]
lea rdx, [rsp + 0x28]
mov r8d, 8
mov rcx, rsi
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
shr rax, 0x18
add eax, 0xc
mov byte [rsp + 0x2b], al
call fcn.140008930
mov rdi, rax
test rax, rax
jne 0x140001d88
mov edi, 0xffffffff
mov rcx, rsi
call sub.msvcrt.dll_fclose
mov eax, edi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
xor r8d, r8d
mov edx, eax
mov rcx, rsi
call fcn.14000f0b0
test eax, eax
js 0x140001ec0
lea rcx, [rbx + 0x18]
mov r9, rsi
mov r8d, 1
mov edx, 0x58
call sub.msvcrt.dll_fread
test rax, rax
je 0x140001ee0
mov eax, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x28]
add rdi, 0x58
xor r8d, r8d
mov dword [rbx + 0x5078], 0
mov edx, dword [rbx + 0x24]
bswap eax
bswap ecx
mov dword [rbx + 0x20], eax
mov eax, eax
mov dword [rbx + 0x28], ecx
mov ecx, dword [rbx + 0x2c]
sub rdi, rax
bswap edx
mov qword [rbx], rdi
bswap ecx
mov dword [rbx + 0x24], edx
add edx, edi
mov dword [rbx + 0x2c], ecx
mov dword [0x140023040], ecx
mov rcx, rsi
call fcn.14000f0b0
movsxd rdi, dword [rbx + 0x28]
mov rcx, rdi
call sub.msvcrt.dll_malloc
mov qword [rbx + 8], rax
mov rcx, rax
test rax, rax
je 0x140001f1b
mov r9, rsi
mov r8d, 1
mov rdx, rdi
call sub.msvcrt.dll_fread
test rax, rax
je 0x140001ea0
movsxd rax, dword [rbx + 0x28]
add rax, qword [rbx + 8]
mov rcx, rsi
mov qword [rbx + 0x10], rax
call sub.msvcrt.dll_ferror
mov edi, eax
test eax, eax
jne 0x140001f00
mov rax, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
cmp rax, r8
jae 0x140001d70
nop word [rax + rax]
mov ecx, dword [rax + 4]
mov edx, dword [rax]
bswap ecx
mov dword [rax + 4], ecx
mov ecx, dword [rax + 8]
bswap edx
mov dword [rax], edx
movsxd rdx, edx
bswap ecx
mov dword [rax + 8], ecx
mov ecx, dword [rax + 0xc]
bswap ecx
mov dword [rax + 0xc], ecx
add rax, rdx
cmp rax, r8
jb 0x140001e70
jmp 0x140001d70
lea rdx, str.Could_not_read_full_TOC__n
lea rcx, str.fread
call fcn.140002d60
jmp 0x140001d6b
lea rdx, str.Failed_to_seek_to_cookie_position__n
lea rcx, str.fseek
call fcn.140002d60
jmp 0x140001d6b
lea rdx, str.Failed_to_read_cookie__n
lea rcx, str.fread
call fcn.140002d60
jmp 0x140001d6b
lea rcx, str.Error_on_file._n
call fcn.140002be0
jmp 0x140001d6b
mov edi, 0xffffffff
jmp 0x140001d78
lea rdx, str.Could_not_allocate_buffer_for_TOC__n
lea rcx, str.malloc
call fcn.140002d60
jmp 0x140001d6b
Function at 0x140007bb0
Capabilities:
Query environment variable

Disassembly:
push rbx
mov eax, 0x4020
call fcn.14000e760
sub rsp, rax
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
lea rbx, [rsp + 0x20]
call fcn.140008e10
mov r8d, 0x2000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140007bf8
xor eax, eax
add rsp, 0x4020
pop rbx
ret
lea rdx, [rsp + 0x2020]
mov r8d, 0x2000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
xor r8d, r8d
mov rdx, rbx
call fcn.140008c40
mov rcx, rax
test rax, rax
je 0x140007be6
cmp byte [rax], 0
je 0x140007be6
call sub.msvcrt.dll__strdup
add rsp, 0x4020
pop rbx
ret

Function at 0x140007ca0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
call fcn.140008e10
xor edx, edx
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_free
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140007fe0
Capabilities:
Delete directory

Disassembly:
push r15
mov eax, 0x44b8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14000e760
sub rsp, rax
mov r8d, 0x1000
lea rax, [rsp + 0x24a0]
mov rdx, rcx
lea r12, [rsp + 0x490]
mov rsi, rax
mov rcx, rax
mov qword [rsp + 0x28], rax
call fcn.140008e10
mov rdx, rsi
mov rcx, r12
call sub.msvcrt.dll_wcscpy
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov r13, rax
movzx eax, word [rsp + rax*2 + 0x48e]
cmp ax, 0x2f
je 0x14000804c
cmp ax, 0x5c
jne 0x1400080a0
lea rdx, [0x14001b48a]
mov rcx, r12
lea rbx, [rsp + 0x260]
call sub.msvcrt.dll_wcscat
mov rdx, rbx
mov rcx, r12
call fcn.14000ed00
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400080b8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.msvcrt.dll__wrmdir]
nop
add rsp, 0x44b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x14001b486]
mov rcx, r12
add r13, 1
call sub.msvcrt.dll_wcscat
jmp 0x14000804c
lea rdi, [rsp + 0x30]
mov ecx, 0x46
mov rsi, rbx
mov rdx, r13
rep movsq qword [rdi], qword [rsi]
lea rbp, [rsp + 0x30]
mov rcx, r12
mov r8, rbp
mov r15, rbp
call fcn.140008120
jmp 0x1400080ff
mov rdi, rbp
mov ecx, 0x46
mov rsi, rbx
mov r8, r15
rep movsq qword [rdi], qword [rsi]
mov rdx, r13
mov rcx, r12
mov rbp, r15
call fcn.140008120
mov rdx, rbx
mov rcx, r14
call fcn.14000edd0
test eax, eax
je 0x1400080e0
mov rcx, r14
call qword [sym.imp.msvcrt.dll__findclose]
jmp 0x140008077

Function at 0x140008120
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
mov eax, 0x1038
push rdi
push rsi
push rbx
call fcn.14000e760
sub rsp, rax
lea rsi, [r8 + 0x24]
mov rbp, rcx
mov rdi, rdx
mov rbx, r8
lea rdx, [0x14001b48e]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140008160
add rsp, 0x1038
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [0x14001b492]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140008151
xor eax, eax
mov rcx, rbp
mov rdx, rsi
mov word [rbp + rdi*2], ax
call sub.msvcrt.dll_wcscat
mov rcx, rbp
test byte [rbx], 0x10
je 0x1400081c0
call fcn.140009130
test eax, eax
jne 0x1400081e8
lea rbx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rbp
mov rcx, rbx
call fcn.140008c40
mov rcx, rbx
call fcn.140007fe0
jmp 0x140008151
mov rbx, qword [sym.imp.msvcrt.dll__wremove]
call rbx
test eax, eax
je 0x140008151
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbp
call rbx
jmp 0x140008151
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wrmdir]
jmp 0x140008151