joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001fd94
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rdi, rcx
or ebx, 0xffffffff
xor r14d, r14d
cmp edx, ebx
jne 0x14001fde4
cmp edx, ebx
cmove esi, r14d
mov eax, esi
jmp 0x14001ffb7
mov rax, qword [rcx + 0x40]
cmp qword [rax], r14
je 0x14001fe18
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x14001fe18
lea ecx, [r8 - 1]
mov dword [rdx], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x14001fddd
cmp qword [rdi + 0x80], r14
je 0x14001ffb5
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14001fe52
mov rdx, qword [rdi + 0x90]
mov rcx, qword [rdi + 0x88]
mov qword [r8], rcx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
cmp qword [rdi + 0x68], r14
jne 0x14001fe72
movsx ecx, sil
mov rdx, qword [rdi + 0x80]
call fcn.140070078
cmp eax, ebx
cmovne ebx, esi
jmp 0x14001ffb5
mov byte [rbp - 0x19], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.140017cd4
nop
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae r8, qword [rbp + 7]
lea r9, [rbp + 7]
cmovae r9, qword [rbp + 7]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r8, qword [rbp + 0x17]
mov rax, qword [rdx + 0x38]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r9
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x19]
lea rdx, [rdi + 0x74]
call qword [case.0x14003f2e6.0]
test eax, eax
js 0x14001ff7b
cmp eax, 1
jg 0x14001ff61
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
cmovae rax, r10
mov r15, qword [rbp - 0x11]
sub r15, rax
je 0x14001ff2a
lea rcx, [rbp + 7]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r15
mov edx, 1
call fcn.14006fca0
cmp r15, rax
jne 0x14001ff7b
mov byte [rdi + 0x71], 1
lea rax, [rbp - 0x19]
cmp qword [rbp - 9], rax
jne 0x14001ff5d
test r15, r15
jne 0x14001fe87
cmp qword [rbp + 0x17], 0x20
jae 0x14001ff7b
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.140004e10
jmp 0x14001fe87
mov ebx, esi
jmp 0x14001ff7b
cmp eax, 3
jne 0x14001ff7b
movsx ecx, byte [rbp - 0x19]
mov rdx, qword [rdi + 0x80]
call fcn.140070078
cmp eax, ebx
cmovne ebx, esi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14001ffb5
inc rdx
mov r10, qword [rbp + 7]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001ffad
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ffdf
mov rcx, r10
call fcn.14003e9b0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003e950
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140060238
int3
Function at 0x140035598
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
xor r10d, r10d
sar r8, 1
movabs rax, 0xcbf29ce484222325
add r8, r8
mov r9, rdx
lea rcx, [r8 + rdx]
cmp rdx, rcx
cmova r8, r10
test r8, r8
je 0x1400355e4
movzx ecx, byte [r9]
movabs r10, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, rdx
imul rax, r10
cmp rcx, r8
jne 0x1400355c1
ret

Function at 0x14003ce38
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
mov r10, r8
sub r10, rdx
movabs rax, 0xcbf29ce484222325
cmp rdx, r8
mov r9, rdx
cmova r10, rcx
test r10, r10
je 0x14003ce7c
movzx ecx, byte [r9]
movabs r8, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, rdx
imul rax, r8
cmp rcx, r10
jne 0x14003ce59
ret

Function at 0x140042868
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14004287b
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14004c7bc
lea rdx, [0x1400b2ce8]
lea rcx, [rsp + 0x20]
call fcn.14005d238
int3

Function at 0x1400487bc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [0x1400baca0]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400487e1
mov rcx, rax
call fcn.14004d5a0
cmp rax, rdi
je 0x14004882a
mov bl, 1
mov rcx, rdi
mov dl, bl
call fcn.140048848
mov al, byte [0x1400bad94]
mov dl, 4
mov r8d, dword [rdi + 0x258]
cmp al, dl
jb 0x14004880f
mov eax, dword [0x1400bad90]
test bl, al
jne 0x140048811
xor bl, bl
test bl, bl
je 0x14004881f
mov ecx, 7
call fcn.14004c278
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.14004c694
lea rdx, [0x1400b2e68]
lea rcx, [rsp + 0x20]
call fcn.14005d238
int3

Function at 0x14004d154
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400baca0]
xor edx, edx
jmp fcn.140042868

Function at 0x14004daec
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400baca0]
jmp fcn.140042868

Function at 0x140059718
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400597d4]
mov r9, qword [r9 + 8]
jmp fcn.14004a934

Function at 0x1400597ac
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1400597e4]
mov r9, qword [r9 + 8]
jmp fcn.14004a934

Function at 0x1400713f0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140071214
Function at 0x140079ce4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140079a0a
call fcn.140064d30
mov dword [rax], SafeArrayUnaccessData
call fcn.140060218
jmp 0x140079b55
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140079b55
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140079b55
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140079a39
lock or dword [rcx + 0x14], 0x10
jmp 0x140079b55
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140079a4d
call fcn.14007a084
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x140079a5d
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x140079a60
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.140075748
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1400828c0
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140079b43
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140079af1
mov rcx, rbx
call fcn.140075748
cmp eax, 0xffffffff
je 0x140079adc
mov rcx, rbx
call fcn.140075748
cmp eax, 0xfffffffe
je 0x140079adc
mov rcx, rbx
call fcn.140075748
movsxd rdi, eax
lea r14, [0x1400bb480]
mov rcx, rbx
sar rdi, 6
call fcn.140075748
mov rcx, qword [r14 + rdi*8]
and eax, 0x3f
shl rax, 6
lea rdx, [rax + rcx]
jmp 0x140079ae3
lea rdx, [0x1400b6570]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140079af1
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140079b15
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140079b15
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140079b15
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140079b33
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x140079b3e
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x140079b5a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1400799d4
Function at 0x141832058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1418321df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141832089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14183206f
add dl, dl
jne 0x141832096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418320f6
xor eax, eax
add dl, dl
jne 0x1418320a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418321ad
add dl, dl
jne 0x1418320b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418320c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418320d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418320dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1418320ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14183207e
mov eax, 1
add dl, dl
jne 0x141832106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141832113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418320fb
sub eax, ebx
mov ebx, 1
jne 0x14183214c
mov ecx, 1
add dl, dl
jne 0x14183212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14183213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141832123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14183207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141832168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141832175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14183215d
cmp eax, 0x7d00
jae 0x14183219b
cmp eax, 0x500
jb 0x141832196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14183207e
cmp eax, 0x7f
ja 0x14183219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14183207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1418321d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14183207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001050
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, [0x14002b8b4]
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.1400045f0
mov rbp, rax
test rax, rax
jne 0x14000109f
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002710
xor edi, edi
jmp 0x140001174
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, rbp
call fcn.1400110c0
test eax, eax
jns 0x1400010e6
call fcn.1400157a8
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.140002910
mov rcx, rbp
call fcn.140010a58
xor edi, edi
jmp 0x140001174
mov ecx, dword [r14 + 0xc]
mov qword [rsp + 0x60], r12
call fcn.1400157e4
mov r12, rax
mov rdi, rax
test rax, rax
jne 0x14000112f
mov ebx, dword [r14 + 0xc]
call fcn.1400157a8
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.140002910
mov rcx, rbp
call fcn.140010a58
jmp 0x14000116f
cmp byte [r14 + 0x10], 1
mov qword [rsp + 0x68], r15
jne 0x140001190
mov r9, r12
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.140001220
test eax, eax
jne 0x1400011fa
mov rcx, rbp
call fcn.140010a58
mov rdx, rsi
mov rcx, r12
call fcn.140004720
mov r13d, eax
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400157d0
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 0x140001154
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.140010da8
cmp rax, 1
jb 0x1400011dc
add r15, rsi
mov eax, 0x2000
sub rbx, rsi
jne 0x1400011a1
mov rsi, qword [rsp + 0x70]
jmp 0x140001154
call fcn.1400157a8
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.140002910
mov rcx, r12
call fcn.1400157d0
mov rcx, rbp
call fcn.140010a58
xor edi, edi
jmp 0x14000116a
Function at 0x140001220
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.14000bdb0
mov r15d, eax
test eax, eax
je 0x1400012a3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140002710
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.1400157e4
mov r13, rax
test rax, rax
jne 0x1400012e0
call fcn.1400157a8
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.140002910
jmp 0x14000143c
mov ecx, 0x2000
call fcn.1400157e4
mov rbp, rax
test rax, rax
jne 0x140001315
call fcn.1400157a8
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.140002910
jmp 0x14000143c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
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.140010da8
cmp rax, rbx
jne 0x14000142e
mov rcx, rdi
call fcn.140010b1c
test eax, eax
jne 0x14000142e
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop dword [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.14000a200
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001411
cmp eax, 2
je 0x14000140c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400013d3
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.1400114b4
cmp rax, rbx
jne 0x1400013ce
mov rcx, r14
call fcn.140010b1c
test eax, eax
je 0x1400013e9
mov edi, r15d
jmp 0x140001411
test rsi, rsi
je 0x1400013e9
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000d310
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001370
cmp edi, 1
je 0x140001407
test r12, r12
je 0x140001411
mov rdi, qword [rsp + 0xc0]
jmp 0x140001321
xor r15d, r15d
jmp 0x140001434
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.140002710
jmp 0x140001434
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000ba90
mov rcx, r13
call fcn.1400157d0
mov rcx, rbp
call fcn.1400157d0
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 0x140001480
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, [0x14002b8b4]
xor r14d, r14d
call fcn.1400045f0
mov r15, rax
test rax, rax
jne 0x1400014cc
lea rdx, [rbp + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002710
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.1400110c0
test eax, eax
jns 0x140001508
call fcn.1400157a8
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.140002910
jmp 0x1400015e6
mov ecx, dword [rbp + 0xc]
call fcn.1400157e4
mov r14, rax
test rax, rax
jne 0x140001542
mov ebx, dword [rbp + 0xc]
call fcn.1400157a8
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.140002910
jmp 0x1400015e6
cmp byte [rbp + 0x10], 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
jne 0x14000156e
mov r9, r14
xor r8d, r8d
mov rdx, rbp
mov rcx, r15
call fcn.140001220
test eax, eax
je 0x1400015d7
jmp 0x1400015cc
mov ebx, dword [rbp + 0xc]
mov rsi, r14
test rbx, rbx
je 0x1400015d7
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.140010da8
cmp rax, 1
jb 0x1400015ae
add rsi, rdi
sub rbx, rdi
jne 0x140001580
jmp 0x1400015d7
call fcn.1400157a8
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.140002910
mov rcx, r14
call fcn.1400157d0
xor r14d, r14d
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rcx, r15
call fcn.140010a58
mov rbx, qword [rsp + 0x68]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x140001600
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 0x140001637
call fcn.140001050
mov ebx, eax
test eax, eax
jns 0x14000162e
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140002710
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002b9ac]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.1400045f0
mov r12, rax
test rax, rax
jne 0x140001682
call fcn.1400157a8
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.140002910
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002b8b4]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.1400045f0
mov r15, rax
test rax, rax
jne 0x1400016b7
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002710
lea ebx, [r15 - 1]
jmp 0x140001821
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.1400110c0
test eax, eax
jns 0x1400016f8
call fcn.1400157a8
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.140002910
mov ebx, 0xffffffff
jmp 0x140001819
cmp byte [rdi + 0x10], 1
jne 0x140001716
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001220
mov ebx, eax
jmp 0x140001819
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.1400157e4
mov r14, rax
test rax, rax
jne 0x14000175f
call fcn.1400157a8
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.140002910
lea ebx, [r14 - 1]
jmp 0x14000180f
mov qword [rsp + 0x58], rsi
mov esi, dword [rdi + 0xc]
test rsi, rsi
je 0x140001802
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.140010da8
cmp rax, 1
jb 0x1400017da
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.1400114b4
cmp rax, 1
jb 0x1400017c5
sub rsi, rbp
jne 0x140001780
jmp 0x1400017fd
call fcn.1400157a8
lea r8, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400017ed
call fcn.1400157a8
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.140002910
mov ebx, 0xffffffff
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call fcn.1400157d0
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.140010a58
mov rcx, r12
call fcn.140010a58
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140007d40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.14000c710
sub rsp, rax
mov rax, qword [0x14003e030]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
xor edi, edi
lea rdx, [0x14002b8b4]
call fcn.1400045f0
mov rbx, rax
test rax, rax
je 0x140007da2
lea rdx, [0x14002b9ac]
mov rcx, rsi
call fcn.1400045f0
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x140007dac
call fcn.140010a58
mov eax, 0xffffffff
jmp 0x140007e41
call fcn.140010af0
test eax, eax
jne 0x140007e2f
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.140010da8
test rax, rax
je 0x140007e16
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.1400114b4
test rax, rax
je 0x140007e11
mov rcx, rsi
call fcn.140010b1c
test eax, eax
jne 0x140007e11
mov rcx, rbx
call fcn.140010af0
test eax, eax
je 0x140007dc0
jmp 0x140007e2f
mov rcx, rsi
jmp 0x140007e25
mov rcx, rbx
call fcn.140010b1c
test eax, eax
je 0x140007e2f
mov rcx, rbx
call fcn.140017b84
mov edi, 0xffffffff
mov rcx, rbx
call fcn.140010a58
mov rcx, rsi
call fcn.140010a58
mov eax, edi
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000c530
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007e70
Capabilities:
Create directory

Disassembly:
push rdi
push r14
mov eax, 0x3058
call fcn.14000c710
sub rsp, rax
mov rax, qword [0x14003e030]
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 0x140007ea0
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140007eb1
inc rax
mov qword [rsp + 0x3050], rbx
add rax, rcx
mov qword [rsp + 0x3048], rbp
mov qword [rsp + 0x3040], rsi
cmp rax, 0x1000
jae 0x140007fa6
mov r9, rdx
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea r8, str._s_c
lea rcx, [rsp + 0x30]
call fcn.140001c80
mov edx, 0x5c
movsxd rbp, eax
mov rcx, rdi
call fcn.14000dd48
mov rbx, rax
test rax, rax
je 0x140007fa2
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, [0x14002d53c]
mov rdx, rsi
mov rcx, rbp
call fcn.140001c80
lea rcx, [rsp + 0x30]
call fcn.140004590
test eax, eax
jne 0x140007f8c
mov r8d, 0x1000
lea rdx, [rsp + 0x1030]
lea rcx, [rsp + 0x30]
call fcn.1400093d0
mov rdx, qword [r14 + 0x3038]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140007fa6
lea rcx, [rbx + 1]
mov edx, 0x5c
call fcn.14000dd48
mov rbx, rax
test rax, rax
jne 0x140007f30
xor eax, eax
jmp 0x140007fab
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.14000c530
add rsp, 0x3058
pop r14
pop rdi
ret