joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140218950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x88], r15
mov qword [rcx + 0x30], rax
mov r14d, edx
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov word [rcx + 0x7a], r15w
mov ebp, r15d
mov dword [rcx + 0x44], r15d
movzx esi, r15w
mov qword [rcx + 0x80], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x78], r15w
cmp r15w, word [rcx + 0xc8]
jge 0x140218aa9
movzx r10d, r15w
mov edi, r15d
nop dword [rax]
mov rax, qword [rbx + 0xe0]
mov r9d, r14d
mov dword [rbx + 0x98], r15d
movzx edx, r10w
mov qword [rbx + 0x90], r15
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.140218600
test al, al
jne 0x140218b36
mov rax, qword [rbx + 0xe0]
mov r9d, dword [rbx + 4]
mov edx, dword [rbx + 0x6c]
movzx r10d, word [rdi + rax]
lea eax, [r9 - 1]
test edx, eax
jne 0x140218a3a
cmp edx, dword [rbx + 0x70]
jl 0x140218a3a
cmp edx, dword [rbx + 0x74]
jg 0x140218a3a
mov r8, qword [rbx + 0x90]
test r8, r8
je 0x140218a3a
mov rax, qword [rbx + 0x80]
mov ecx, dword [rax + 0x18]
xor ecx, dword [r8 + 0x18]
test cl, 8
jne 0x140218a3a
add qword [rbx + 0x38], 0xfffffffffffffffc
mov r11, qword [rbx + 0x80]
mov ecx, r9d
mov r8d, dword [rbx + 8]
neg ecx
test byte [r11 + 0x18], 8
je 0x140218a5c
mov eax, edx
and eax, ecx
sub edx, eax
cmp edx, r8d
jmp 0x140218a69
lea eax, [r9 - 1]
add eax, edx
and eax, ecx
sub eax, edx
cmp eax, r8d
setge dl
mov rcx, rbx
call fcn.1402178d0
test al, al
jne 0x140218b36
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x140218a8c
mov qword [r11 + 0x28], rax
movsx eax, word [rbx + 0xc8]
inc ebp
add rdi, 2
inc r10w
cmp ebp, eax
jl 0x1402189c0
movzx esi, word [rbx + 0x78]
mov rdx, qword [rbx + 0x88]
cmp si, 1
jbe 0x140218b3a
test rdx, rdx
je 0x140218b3a
mov ebp, 0xffff
lea r14, [rdx + 8]
cmp si, 1
jbe 0x140218adc
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r8, [rax + rcx*4]
jmp 0x140218adf
mov r8, r15
mov qword [r14], r8
test byte [rdx + 0x18], 8
mov edi, dword [rdx + 0x20]
mov r8d, edi
mov eax, dword [rdx + 0x1c]
je 0x140218af7
dec edi
add edi, eax
jmp 0x140218b0e
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.140217980
test al, al
jne 0x140218b36
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.140217980
test al, al
jne 0x140218b36
mov rdx, qword [r14]
add si, bp
jne 0x140218ac4
jmp 0x140218b41
mov al, 1
jmp 0x140218b4c
mov qword [rbx + 0x88], r15
mov rax, qword [rbx + 0x30]
cmp qword [rbx + 0x38], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140232130
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rsi
push r12
push r13
sub rsp, 0x90
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, qword [rcx + 0x2e0]
mov r12, r8
mov r13d, 6
test rsi, rsi
je 0x140232340
mov eax, dword [rsi + 4]
cmp eax, edx
jne 0x140232340
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x20], rbp
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r14
test eax, eax
je 0x140232249
lea rcx, [rsp + 0x20]
mov qword [r11 - 0x38], r15
sub r12, rcx
lea rdi, [rsp + 0x20]
lea rbx, [rsi + 0xb8]
mov r15d, eax
nop word [rax + rax]
movzx r8d, byte [rbx - 0x10]
xor eax, eax
mov r10d, dword [r12 + rdi]
mov ebp, 0xffffffff
mov r14, qword [rbx - 8]
mov r9d, ebp
mov r11, qword [rbx]
test r8d, r8d
je 0x14023222d
mov rcx, r14
cmp r10d, dword [rcx]
je 0x140232227
jl 0x1402321e9
mov r9d, eax
add rcx, 4
inc eax
cmp eax, r8d
jb 0x1402321d2
jmp 0x1402321eb
mov ebp, eax
test r9d, r9d
js 0x14023222d
test ebp, ebp
jns 0x1402321fb
mov eax, dword [r11 + r8*4 - 4]
jmp 0x140232230
movsxd rax, ebp
lea rdx, [rax*4]
movsxd rax, r9d
mov r8d, dword [rdx + r14]
mov edx, dword [rdx + r11]
sub r10d, dword [r14 + rax*4]
sub r8d, dword [r14 + rax*4]
mov ecx, r10d
sub edx, dword [r11 + rax*4]
call fcn.1401fae50
jmp 0x140232230
mov eax, dword [r11 + rax*4]
jmp 0x140232230
mov eax, dword [r11]
mov dword [rdi], eax
add rbx, 0x18
add rdi, 4
sub r15, 1
jne 0x1402321b0
mov r15, qword [rsp + 0x70]
test rsi, rsi
je 0x140232323
xor r11d, r11d
cmp dword [rsi], r11d
jbe 0x140232320
mov r14d, 0x10000
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rsi + 4]
mov r10d, r14d
test eax, eax
je 0x140232309
mov ebx, 1
lea rdi, [rsp + 0x20]
mov ebp, eax
nop word [rax + rax]
mov eax, dword [rdi]
lea rdi, [rdi + 4]
xor ecx, ecx
mov r8d, r10d
test eax, eax
mov r9d, r14d
cmovns ecx, eax
mov eax, ebx
cmp ecx, r14d
cmovg ecx, r14d
sub r9d, ecx
and eax, r11d
cmovne r9d, ecx
sar r8d, 0x1f
and r8d, 0xfffffffe
mov eax, r9d
cdq
inc r8d
xor eax, edx
sub eax, edx
movsxd rcx, eax
mov eax, r10d
neg eax
test r10d, r10d
cmovns eax, r10d
movsxd r10, eax
imul r10, rcx
mov ecx, r8d
add r10, 0x8000
neg ecx
sar r10, 0x10
test r9d, r9d
mov eax, r10d
cmovns ecx, r8d
neg eax
test ecx, ecx
cmovle r10d, eax
rol ebx, 1
sub rbp, 1
jne 0x140232290
mov rax, qword [rsi + 0x108]
mov dword [rax + r11*4], r10d
inc r11d
cmp r11d, dword [rsi]
jb 0x140232270
xor r13d, r13d
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xb8]
mov eax, r13d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14023ed20
add rsp, 0x90
pop r13
pop r12
pop rsi
ret
Function at 0x140267d3c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140267b10
xor ecx, ecx
call qword [case.0x14024b920.66]
test rax, rax
je 0x140267b10
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140267b10
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140267b10
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140267b10
cmp dword [rcx + 0x84], 0xe
jbe 0x140267b10
cmp dword [rcx + 0xf8], esi
je 0x140267b10
mov ecx, r14d
call fcn.140267c58
mov ecx, 2
call fcn.14027a3f8
nop
cmp byte [0x1404a0f60], 0
jne 0x140267bda
mov r15d, 1
mov eax, r15d
xchg dword [0x1404a0f50], eax
test ebx, ebx
jne 0x140267b83
mov rdi, qword [0x140479080]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1404a0f58]
cmp rcx, rax
je 0x140267b7a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000b2e0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1404a1318]
jmp 0x140267b8f
cmp ebx, r15d
jne 0x140267b95
lea rcx, [0x1404a1330]
call fcn.14027fca8
nop
test ebx, ebx
jne 0x140267bac
nop
nop
nop
nop
mov ecx, 0xb494c10d
mov ecx, 0xa842b97c
call fcn.14053b530
nop
nop
nop
nop
mov ecx, 0xf5004bfe
mov ecx, 0x9baac75c
call fcn.14053b530
movzx eax, byte [0x1404a0f60]
test esi, esi
cmove eax, r15d
mov byte [0x1404a0f60], al
jmp 0x140267bda
mov ecx, 2
call fcn.14027a44c
test esi, esi
jne 0x140267bf1
mov ecx, r14d
call fcn.140267c0c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140267aa0
Function at 0x14028402c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140283ecc
call fcn.1402743a0
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1402672bc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140283eb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140283eb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140283efe
lock or dword [rax + 0x14], 0x10
jmp 0x140283eb4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140283f1b
mov rcx, qword [rbp + 0x10]
call fcn.140289b0c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14027797c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140281918
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x140283f72
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140283eb4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140283fde
mov rcx, qword [rbp + 0x10]
call fcn.14027797c
cmp eax, 0xffffffff
je 0x140283fc5
mov rcx, qword [rbp + 0x10]
call fcn.14027797c
cmp eax, 0xfffffffe
je 0x140283fc5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14027797c
movsxd rdi, eax
lea rsi, [0x1404a1530]
mov rcx, rbx
sar rdi, 6
call fcn.14027797c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140283fcc
lea rax, [0x1404794e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140283fde
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140284014
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140284010
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140284010
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x140283eb7
jmp 0x140283e84

Function at 0x1405379c0
Capabilities:
Encode data using xor

Disassembly:
movzx edx, byte [rcx]
xor r8d, r8d
mov r9, rcx
mov eax, r8d
test dl, dl
je 0x1405379ef
movsx edx, dl
lea r8d, [r8 + 1]
add edx, eax
imul eax, edx, 0x401
movzx edx, byte [r8 + r9]
mov ecx, eax
shr ecx, 6
xor eax, ecx
test dl, dl
jne 0x1405379d0
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x140001030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x30
mov r14, rdx
mov rsi, r8
lea rdx, [0x14002d834]
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.1400039a0
mov rbp, rax
test rax, rax
jne 0x14000107f
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
xor edi, edi
jmp 0x140001154
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, rbp
call fcn.14001090c
test eax, eax
jns 0x1400010c6
call fcn.140016b28
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002020
mov rcx, rbp
call fcn.140010284
xor edi, edi
jmp 0x140001154
mov ecx, dword [r14 + 0xc]
mov qword [rsp + 0x60], r12
call fcn.140016b64
mov r12, rax
mov rdi, rax
test rax, rax
jne 0x14000110f
mov ebx, dword [r14 + 0xc]
call fcn.140016b28
lea r9, [r14 + 0x12]
mov dword [rsp + 0x20], ebx
lea r8, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
mov rcx, rbp
call fcn.140010284
jmp 0x14000114f
cmp byte [r14 + 0x10], 1
mov qword [rsp + 0x68], r15
jne 0x140001170
mov r9, r12
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.140001200
test eax, eax
jne 0x1400011da
mov rcx, rbp
call fcn.140010284
mov rdx, rsi
mov rcx, r12
call fcn.140003ad0
mov r13d, eax
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, rdi
call fcn.140016b50
mov rbx, qword [rsp + 0x78]
mov eax, r13d
add rsp, 0x30
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov ebx, dword [r14 + 0xc]
mov r15, r12
test rbx, rbx
je 0x140001134
mov eax, 0x2000
cmp rbx, rax
mov rsi, rbx
mov r9, rbp
mov r8d, 1
cmova rsi, rax
mov rcx, r15
mov rdx, rsi
call fcn.1400105d4
cmp rax, 1
jb 0x1400011bc
add r15, rsi
mov eax, 0x2000
sub rbx, rsi
jne 0x140001181
mov rsi, qword [rsp + 0x70]
jmp 0x140001134
call fcn.140016b28
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
call fcn.140002020
mov rcx, r12
call fcn.140016b50
mov rcx, rbp
call fcn.140010284
xor edi, edi
jmp 0x14000114a
Function at 0x140001200
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
xor eax, eax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
lea rdx, str.1.3.1
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x58]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rsi, r9
mov ebp, eax
call fcn.14000b1a0
mov r15d, eax
test eax, eax
je 0x140001283
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140001e50
lea eax, [rbp - 1]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x2000
mov qword [rsp + 0x80], r13
call fcn.140016b64
mov r13, rax
test rax, rax
jne 0x1400012c0
call fcn.140016b28
lea r9, [rbx + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
jmp 0x140001424
mov ecx, 0x2000
call fcn.140016b64
mov rbp, rax
test rax, rax
jne 0x1400012f5
call fcn.140016b28
lea r9, [rbx + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
jmp 0x140001424
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop word [rax + rax]
mov eax, 0x2000
mov rbx, r12
cmp r12, rax
mov r9, rdi
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.1400105d4
cmp rax, rbx
jne 0x14000141c
mov rcx, rdi
call fcn.140010348
test eax, eax
jne 0x14000141c
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop word [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.1400095e0
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001401
cmp eax, 2
je 0x1400013fc
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400013c3
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.140010d14
cmp rax, rbx
jne 0x1400013be
mov rcx, r14
call fcn.140010348
test eax, eax
je 0x1400013d9
mov edi, r15d
jmp 0x140001401
test rsi, rsi
je 0x1400013d9
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14002bd80
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001360
cmp edi, 1
je 0x1400013f7
test r12, r12
je 0x140001401
mov rdi, qword [rsp + 0xc0]
jmp 0x140001310
xor r15d, r15d
jmp 0x14000141c
mov edi, 0xfffffffd
mov rdx, qword [rsp + 0xc8]
lea rcx, str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
add rdx, 0x12
mov r8d, edi
call fcn.140001e50
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000ae80
mov rcx, r13
call fcn.140016b50
mov rcx, rbp
call fcn.140016b50
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001460
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov rbx, rcx
lea rdx, [0x14002d834]
xor r14d, r14d
call fcn.1400039a0
mov r15, rax
test rax, rax
jne 0x1400014ac
lea rdx, [rbp + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
mov edx, dword [rbp + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14001090c
test eax, eax
jns 0x1400014e8
call fcn.140016b28
lea r9, [rbp + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002020
jmp 0x1400015c6
mov ecx, dword [rbp + 0xc]
call fcn.140016b64
mov r14, rax
test rax, rax
jne 0x140001522
mov ebx, dword [rbp + 0xc]
call fcn.140016b28
lea r9, [rbp + 0x12]
mov dword [rsp + 0x20], ebx
lea r8, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
jmp 0x1400015c6
cmp byte [rbp + 0x10], 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
jne 0x14000154e
mov r9, r14
xor r8d, r8d
mov rdx, rbp
mov rcx, r15
call fcn.140001200
test eax, eax
je 0x1400015b7
jmp 0x1400015ac
mov ebx, dword [rbp + 0xc]
mov rsi, r14
test rbx, rbx
je 0x1400015b7
mov r12d, 0x2000
nop
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rsi
mov rdx, rdi
call fcn.1400105d4
cmp rax, 1
jb 0x14000158e
add rsi, rdi
sub rbx, rdi
jne 0x140001560
jmp 0x1400015b7
call fcn.140016b28
lea r9, [rbp + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
call fcn.140002020
mov rcx, r14
call fcn.140016b50
xor r14d, r14d
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rcx, r15
call fcn.140010284
mov rbx, qword [rsp + 0x68]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x1400015e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
cmp byte [rdx + 0x11], 0x6e
mov rdi, rdx
mov rbx, rcx
jne 0x140001617
call fcn.140001030
mov ebx, eax
test eax, eax
jns 0x14000160e
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140001e50
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002d92c]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.1400039a0
mov r12, rax
test rax, rax
jne 0x140001662
call fcn.140016b28
lea r9, [rdi + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
mov edx, dword [rax]
call fcn.140002020
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002d834]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.1400039a0
mov r15, rax
test rax, rax
jne 0x140001697
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
lea ebx, [r15 - 1]
jmp 0x140001801
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14001090c
test eax, eax
jns 0x1400016d8
call fcn.140016b28
lea r9, [rdi + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002020
mov ebx, 0xffffffff
jmp 0x1400017f9
cmp byte [rdi + 0x10], 1
jne 0x1400016f6
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001200
mov ebx, eax
jmp 0x1400017f9
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.140016b64
mov r14, rax
test rax, rax
jne 0x14000173f
call fcn.140016b28
lea r9, [rdi + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
lea ebx, [r14 - 1]
jmp 0x1400017ef
mov qword [rsp + 0x58], rsi
mov esi, dword [rdi + 0xc]
test rsi, rsi
je 0x1400017e2
mov qword [rsp + 0x50], rbp
nop word [rax + rax]
cmp rsi, r13
mov rbp, rsi
mov r9, r15
mov r8d, 1
cmova rbp, r13
mov rcx, r14
mov rdx, rbp
call fcn.1400105d4
cmp rax, 1
jb 0x1400017ba
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.140010d14
cmp rax, 1
jb 0x1400017a5
sub rsi, rbp
jne 0x140001760
jmp 0x1400017dd
call fcn.140016b28
lea r8, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400017cd
call fcn.140016b28
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
lea r9, [rdi + 0x12]
call fcn.140002020
mov ebx, 0xffffffff
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call fcn.140016b50
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.140010284
mov rcx, r12
call fcn.140010284
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140007020
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.14000bb00
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
xor edi, edi
lea rdx, [0x14002d834]
call fcn.1400039a0
mov rbx, rax
test rax, rax
je 0x140007082
lea rdx, [0x14002d92c]
mov rcx, rsi
call fcn.1400039a0
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x14000708c
call fcn.140010284
mov eax, 0xffffffff
jmp 0x140007121
call fcn.14001031c
test eax, eax
jne 0x14000710f
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.1400105d4
test rax, rax
je 0x1400070f6
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.140010d14
test rax, rax
je 0x1400070f1
mov rcx, rsi
call fcn.140010348
test eax, eax
jne 0x1400070f1
mov rcx, rbx
call fcn.14001031c
test eax, eax
je 0x1400070a0
jmp 0x14000710f
mov rcx, rsi
jmp 0x140007105
mov rcx, rbx
call fcn.140010348
test eax, eax
je 0x14000710f
mov rcx, rbx
call fcn.140018f34
mov edi, 0xffffffff
mov rcx, rbx
call fcn.140010284
mov rcx, rsi
call fcn.140010284
mov eax, edi
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000b920
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007150
Capabilities:
Create directory

Disassembly:
push rdi
push r14
mov eax, 0x3058
call fcn.14000bb00
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x3030], rax
mov rdi, r8
mov r14, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140007180
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140007191
inc rax
mov qword [rsp + 0x3050], rbx
add rax, rcx
mov qword [rsp + 0x3048], rbp
mov qword [rsp + 0x3040], rsi
cmp rax, 0x1000
jae 0x140007286
mov r9, rdx
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea r8, str._s_c
lea rcx, [rsp + 0x30]
call fcn.140001c60
mov edx, 0x5c
movsxd rbp, eax
mov rcx, rdi
call fcn.14000c690
mov rbx, rax
test rax, rax
je 0x140007282
mov esi, 0x1000
sub rsi, rbp
lea rbp, [rsp + rbp + 0x30]
nop
mov r9d, ebx
mov qword [rsp + 0x20], rdi
sub r9d, edi
lea r8, [0x14002f43c]
mov rdx, rsi
mov rcx, rbp
call fcn.140001c60
lea rcx, [rsp + 0x30]
call fcn.140003940
test eax, eax
jne 0x14000726c
mov r8d, 0x1000
lea rdx, [rsp + 0x1030]
lea rcx, [rsp + 0x30]
call fcn.1400087c0
mov rdx, qword [r14 + 0x3038]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140007286
lea rcx, [rbx + 1]
mov edx, 0x5c
call fcn.14000c690
mov rbx, rax
test rax, rax
jne 0x140007210
xor eax, eax
jmp 0x14000728b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x3040]
mov rbp, qword [rsp + 0x3048]
mov rbx, qword [rsp + 0x3050]
mov rcx, qword [rsp + 0x3030]
xor rcx, rsp
call fcn.14000b920
add rsp, 0x3058
pop r14
pop rdi
ret