joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a928c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14008a1d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a9316
cmp byte [rbp - 0x21], r15b
je 0x1400a9311
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a934c
call fcn.140096148
test eax, eax
jne 0x1400a9338
cmp byte [rbp - 0x21], r15b
je 0x1400a9330
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a934c
cmp byte [rbp - 0x21], r15b
je 0x1400a9349
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14008e70c
test eax, eax
jne 0x1400a93ec
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14008a1d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a938b
cmp byte [rbp - 0x21], r15b
je 0x1400a93c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a93c0
call fcn.140096148
test eax, eax
jne 0x1400a93ac
cmp byte [rbp - 0x21], r15b
je 0x1400a93a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a93c0
cmp byte [rbp - 0x21], r15b
je 0x1400a93bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14008e70c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a93ec
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a93ef
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a93fd
mov rcx, rdi
call fcn.140094b24
cmp byte [rbp + 0x3f], r15b
je 0x1400a940c
mov rcx, qword [rbp + 0x27]
call fcn.140094b24
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400a9e60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a9e88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a9e88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002e10
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002e42
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002e42
nop word cs:[rax + rax]
jmp 0x180002e40
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002f18
mov rsi, r10
test r8b, r8b
je 0x180002f30
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002eb0
test r9b, r9b
je 0x180002f40
sub rsi, rcx
je 0x180002f14
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002f10
test ebp, ebp
jne 0x180002f10
add rbx, 1
cmp rsi, rbx
jne 0x180002ed0
jmp 0x180002f14
test ebp, ebp
jne 0x180002e9c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002f30
jmp 0x180002f40
Function at 0x140061404
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140159460]
test rax, rax
je 0x14006144e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006144e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006144e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006144e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006144e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140061450
xor al, al
add rsp, 0x28
ret
Function at 0x140002ff0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140002fb2
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140003444
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140572af8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140572af4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140003492
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000348a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140003579
inc ebx
add rax, 0x28
jmp 0x14000346a
mov rcx, r12
call fcn.140003c71
mov rbp, rax
test rax, rax
jne 0x1400034b1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400033e0
movsxd rbx, ebx
mov rax, qword [0x140572af8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140003d1f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140572af8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140003513
mov rax, qword [0x140572af8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400033e0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140003573
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140003573
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140572af8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003573
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400033e0
inc dword [0x140572af4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400039a0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140572b60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140572b40]
test rbx, rbx
je 0x1400039ec
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x1400039e6
test eax, eax
jne 0x1400039e6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x1400039be
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140003ba0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003bc3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140003bc3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140003bc4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140003bfe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140003bf5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140003c00
inc r8d
add rax, 0x28
jmp 0x140003bdc
xor eax, eax
ret

Function at 0x140003c71
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14056eb30]
mov r8, rcx
mov rcx, r9
call fcn.140003ba0
test eax, eax
je 0x140003c9d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140003bc4
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800028e0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002912
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002912
nop word cs:[rax + rax]
jmp 0x180002910
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800029e8
mov rsi, r10
test r8b, r8b
je 0x180002a00
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002980
test r9b, r9b
je 0x180002a10
sub rsi, rcx
je 0x1800029e4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800029e0
test ebp, ebp
jne 0x1800029e0
add rbx, 1
cmp rsi, rbx
jne 0x1800029a0
jmp 0x1800029e4
test ebp, ebp
jne 0x18000296c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002a00
jmp 0x180002a10
Function at 0x140001050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
mov rsi, rdx
xor ebp, ebp
lea rdx, [0x14002b874]
mov r15d, ebp
mov rdi, r8
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.140003f50
mov r12, rax
test rax, rax
jne 0x1400010a8
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025f0
jmp 0x1400011aa
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r12
call fcn.14000f764
test eax, eax
jns 0x1400010dd
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002760
jmp 0x14000118c
mov ecx, dword [rsi + 0xc]
call fcn.1400140a0
mov r15, rax
test rax, rax
jne 0x14000110d
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140002760
jmp 0x14000118c
cmp byte [rsi + 0x10], 1
jne 0x140001126
mov r9, r15
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
call fcn.1400011f0
jmp 0x14000117d
mov ebx, dword [rsi + 0xc]
mov qword [rsp + 0x50], r14
mov r14, r15
test rbx, rbx
je 0x140001171
mov eax, 0x2000
nop dword [rax + rax]
cmp rbx, rax
mov rdi, rbx
mov r9, r12
mov r8d, 1
cmova rdi, rax
mov rcx, r14
mov rdx, rdi
call fcn.14000f418
cmp rax, 1
jb 0x1400011cc
add r14, rdi
mov eax, 0x2000
sub rbx, rdi
jne 0x140001140
mov eax, ebp
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
test eax, eax
je 0x14000118c
mov rcx, r15
call fcn.140014090
mov r15, rbp
mov rcx, r12
call fcn.14000f0bc
mov rbp, r15
test r15, r15
je 0x1400011aa
mov rdx, rdi
mov rcx, r15
call fcn.140004080
mov r13d, eax
mov rcx, rbp
call fcn.140014090
mov rbx, qword [rsp + 0x58]
mov eax, r13d
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002760
mov eax, r13d
jmp 0x140001173
Function at 0x1400011f0
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
mov r8d, 0x58
mov qword [rsp + 0x60], rax
lea rdx, str.1.3.1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov ebp, eax
mov rsi, r9
call fcn.14000ae00
mov r15d, eax
test eax, eax
je 0x140001277
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.1400025f0
mov eax, 0xffffffff
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.1400140a0
mov r13, rax
test rax, rax
jne 0x1400012ad
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140002760
jmp 0x140001409
mov ecx, 0x2000
call fcn.1400140a0
mov rbp, rax
test rax, rax
jne 0x1400012db
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140002760
jmp 0x140001409
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [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.14000f418
cmp rax, rbx
jne 0x140001401
mov rcx, rdi
call fcn.14000f180
test eax, eax
jne 0x140001401
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.140009240
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x1400013e6
cmp eax, 2
je 0x1400013e1
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400013a4
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.14000fb6c
cmp rax, rbx
jne 0x14000139f
mov rcx, r14
call fcn.14000f180
test eax, eax
je 0x1400013ba
mov edi, r15d
jmp 0x1400013e6
test rsi, rsi
je 0x1400013ba
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400290f0
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001340
cmp edi, 1
je 0x1400013dc
test r12, r12
je 0x1400013e6
mov rdi, qword [rsp + 0xc0]
jmp 0x1400012f0
xor r15d, r15d
jmp 0x140001401
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.1400025f0
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000aae0
mov rcx, r13
call fcn.140014090
mov rcx, rbp
call fcn.140014090
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 0x140001440
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
lea rdx, [0x14002b874]
xor r14d, r14d
call fcn.140003f50
mov r15, rax
test rax, rax
jne 0x14000148c
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025f0
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14000f764
test eax, eax
jns 0x1400014c1
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002760
jmp 0x14000157c
mov ecx, dword [rsi + 0xc]
call fcn.1400140a0
mov r14, rax
test rax, rax
jne 0x1400014f1
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140002760
jmp 0x14000157c
cmp byte [rsi + 0x10], 1
jne 0x14000150a
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.1400011f0
jmp 0x14000156d
mov ebx, dword [rsi + 0xc]
mov qword [rsp + 0x40], rbp
mov rbp, r14
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x14000155c
mov r12d, 0x2000
nop word [rax + rax]
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.14000f418
cmp rax, 1
jb 0x140001596
add rbp, rdi
sub rbx, rdi
jne 0x140001530
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
test eax, eax
je 0x14000157c
mov rcx, r14
call fcn.140014090
xor r14d, r14d
mov rcx, r15
call fcn.14000f0bc
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002760
mov eax, 0xffffffff
jmp 0x14000155e
Function at 0x1400015c0
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 0x1400015f7
call fcn.140001050
mov ebx, eax
test eax, eax
jns 0x1400015ee
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.1400025f0
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002b96c]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.140003f50
mov r12, rax
test rax, rax
jne 0x14000163b
lea r8, [rdi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002760
mov r12, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002b874]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.140003f50
mov r15, rax
test rax, rax
jne 0x140001671
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025f0
mov ebx, 0xffffffff
jmp 0x1400017c5
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14000f764
test eax, eax
jns 0x1400016ab
lea r8, [rdi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002760
mov ebx, 0xffffffff
jmp 0x1400017bd
cmp byte [rdi + 0x10], 1
jne 0x1400016c9
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.1400011f0
mov ebx, eax
jmp 0x1400017bd
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.1400140a0
mov r14, rax
test rax, rax
jne 0x14000170c
lea r8, [rdi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002760
mov ebx, 0xffffffff
jmp 0x1400017b3
mov qword [rsp + 0x58], rsi
mov esi, dword [rdi + 0xc]
test rsi, rsi
je 0x1400017a6
mov qword [rsp + 0x50], rbp
nop dword [rax]
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.14000f418
cmp rax, 1
jb 0x140001785
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.14000fb6c
cmp rax, 1
jb 0x140001775
sub rsi, rbp
jne 0x140001730
jmp 0x1400017a1
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x140001793
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
lea r8, [rdi + 0x12]
call fcn.140002760
mov ebx, 0xffffffff
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call fcn.140014090
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000f0bc
mov rcx, r12
call fcn.14000f0bc
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140007350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.14000b8c0
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
xor edi, edi
lea rdx, [0x14002b874]
call fcn.140003f50
mov rbx, rax
test rax, rax
je 0x1400073b2
lea rdx, [0x14002b96c]
mov rcx, rsi
call fcn.140003f50
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x1400073bc
call fcn.14000f0bc
mov eax, 0xffffffff
jmp 0x140007451
call fcn.14000f154
test eax, eax
jne 0x14000743f
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000f418
test rax, rax
je 0x140007426
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000fb6c
test rax, rax
je 0x140007421
mov rcx, rsi
call fcn.14000f180
test eax, eax
jne 0x140007421
mov rcx, rbx
call fcn.14000f154
test eax, eax
je 0x1400073d0
jmp 0x14000743f
mov rcx, rsi
jmp 0x140007435
mov rcx, rbx
call fcn.14000f180
test eax, eax
je 0x14000743f
mov rcx, rbx
call fcn.140016320
mov edi, 0xffffffff
mov rcx, rbx
call fcn.14000f0bc
mov rcx, rsi
call fcn.14000f0bc
mov eax, edi
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000b5c0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007480
Capabilities:
Create directory

Disassembly:
push rdi
push r14
mov eax, 0x3058
call fcn.14000b8c0
sub rsp, rax
mov rax, qword [0x14003e040]
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 0x1400074b0
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400074c1
inc rax
mov qword [rsp + 0x3050], rbx
add rax, rcx
mov qword [rsp + 0x3048], rbp
mov qword [rsp + 0x3040], rsi
cmp rax, 0x1000
jae 0x1400075b6
mov r9, rdx
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea r8, str._s_c
lea rcx, [rsp + 0x30]
call fcn.140001bf0
mov edx, 0x5c
movsxd rbp, eax
mov rcx, rdi
call fcn.14000c480
mov rbx, rax
test rax, rax
je 0x1400075b2
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, [0x14002d344]
mov rdx, rsi
mov rcx, rbp
call fcn.140001bf0
lea rcx, [rsp + 0x30]
call fcn.140003ef0
test eax, eax
jne 0x14000759c
mov r8d, 0x1000
lea rdx, [rsp + 0x1030]
lea rcx, [rsp + 0x30]
call fcn.140008410
mov rdx, qword [r14 + 0x3038]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400075b6
lea rcx, [rbx + 1]
mov edx, 0x5c
call fcn.14000c480
mov rbx, rax
test rax, rax
jne 0x140007540
xor eax, eax
jmp 0x1400075bb
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.14000b5c0
add rsp, 0x3058
pop r14
pop rdi
ret
Function at 0x1400075f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.1400140a0
mov r15, rax
test rax, rax
je 0x140007703
xor edx, edx
mov r8d, 2
mov rcx, r12
call fcn.14000f764
test eax, eax
js 0x140007703
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.1400168d4
mov rbx, rax
cmp rax, rsi
jb 0x1400076fe
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax + rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x1400076f4
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.14000f764
test eax, eax
js 0x1400076f4
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14000f418
cmp rax, rbx
jne 0x1400076f4
sub rbx, rsi
add rbx, 1
je 0x1400076db
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.140029b30
test eax, eax
je 0x1400076ed
dec rdi
sub rbx, 1
jne 0x1400076c0
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x140007660
jmp 0x1400076f4
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.140014090
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret