joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63acd0
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
nop
mov eax, dword [0x00699518]
mov dword [0x00699088], eax
mov eax, dword [0x00693964]
add eax, 1
cmp dword [0x00693964], eax
jne 0x63ad7c
mov eax, dword [0x00699bd8]
test eax, eax
jge 0x63ad1e
call fcn.0040afc0
mov ecx, dword [0x00693944]
test ecx, ecx
jge 0x63ad2d
call fcn.0040afc0
mov edx, dword [0x00695884]
test edx, edx
jge 0x63ad3c
call fcn.0040afc0
mov r8d, dword [0x00696118]
test r8d, r8d
jge 0x63ad4d
call fcn.0040afc0
mov r9d, dword [0x00696aa8]
test r9d, r9d
jge 0x63ad5e
call fcn.0040afc0
mov r10d, ecx
mov r11d, edx
mov ebx, r8d
mov dword [rsp + 0x20], r9d
mov ecx, eax
mov edx, r10d
mov r8d, r11d
mov r9d, ebx
call sub.kernel32.dll_LockFile
call fcn.00638150
cmp eax, dword [0x00693274]
jle 0x63ad93
mov dword [0x00693274], 0x7b
mov eax, dword [0x00696a74]
mov dword [0x006962f8], eax
lea rcx, [rbp + 0x40]
lea rdx, [0x0069271f]
mov r8d, 0xc
mov r9d, 0x2d
call fcn.00597b20
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
xor r8, r8
call fcn.005a8ac0
mov rcx, qword [rbp + 0x48]
call fcn.00410050
mov rcx, rax
call qword [0x006a8b70]
mov rbx, rax
lea rcx, [rbp + 0x38]
lea rdx, [0x0069277b]
mov r8d, 0x10
mov r9d, 0x2d
call fcn.00597b20
mov rcx, qword [rbp + 0x38]
call fcn.0040fbe0
mov rcx, rbx
mov rdx, rax
call qword [0x006a8c48]
mov rcx, rax
lea rdx, [0x0063aad0]
mov r8b, 2
call fcn.005cab20
mov qword [0x00699fe0], rax
test rax, rax
je 0x63aebf
call fcn.00616090
mov eax, dword [0x00699d6c]
add eax, dword [0x006933a4]
mov ecx, dword [0x00693500]
add ecx, dword [0x00694108]
cmp eax, ecx
jle 0x63ae62
mov dword [0x00699d6c], 0x13f
mov eax, dword [0x00699be0]
mov dword [0x00699514], eax
mov eax, dword [0x006932ac]
add eax, 1
cmp dword [0x006932ac], eax
jne 0x63aebf
mov eax, dword [0x00696cc4]
test eax, eax
jge 0x63ae8e
call fcn.0040afc0
mov ecx, dword [0x00698fbc]
test ecx, ecx
jge 0x63ae9d
call fcn.0040afc0
mov edx, dword [0x006995d4]
test edx, edx
jge 0x63aeac
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00699be0]
mov dword [0x00699514], eax
mov eax, dword [0x00698778]
cmp eax, dword [0x00698fc0]
je 0x63aee5
mov eax, dword [0x00698778]
mov dword [0x00698fc0], eax
mov eax, dword [0x006995dc]
mov dword [0x00699384], eax
mov eax, dword [0x006974b4]
add eax, dword [0x00698138]
mov ecx, dword [0x00698e4c]
add ecx, dword [0x006994e0]
cmp eax, ecx
jle 0x63af19
mov eax, dword [0x006994e0]
mov dword [0x006974b4], eax
mov eax, dword [0x006931f4]
mov dword [0x00699a7c], eax
nop
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.0040ea30
lea rcx, [rbp + 0x48]
call fcn.0040e9c0
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x63b0c0
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
nop
mov eax, dword [0x006931f4]
mov dword [0x00699a7c], eax
mov eax, dword [0x00698100]
cmp eax, dword [0x00698b24]
je 0x63b108
mov eax, dword [0x00698100]
mov dword [0x00698b24], eax
mov dword [0x006931d8], 0x2f8
mov eax, dword [0x006931d8]
sub eax, 0x18f
mov dword [0x0069344c], eax
mov eax, dword [0x00699d64]
mov dword [0x00699890], eax
mov eax, dword [0x006934e4]
add eax, 1
cmp dword [0x006934e4], eax
jne 0x63b157
mov eax, dword [0x00699d78]
test eax, eax
jge 0x63b150
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
call fcn.00614990
mov eax, dword [0x00696570]
add eax, dword [0x00696e50]
mov ecx, dword [0x006980ec]
add ecx, dword [0x00698e84]
cmp eax, ecx
jle 0x63b17d
call fcn.004096f0
mov eax, dword [0x006933c0]
mov dword [0x00699d84], eax
call fcn.00614990
mov eax, dword [0x00693424]
add eax, 1
cmp dword [0x00693424], eax
jne 0x63b1df
mov eax, dword [0x006933b4]
test eax, eax
jge 0x63b1ae
call fcn.0040afc0
mov ecx, dword [0x006942dc]
test ecx, ecx
jge 0x63b1bd
call fcn.0040afc0
mov edx, dword [0x00695c1c]
test edx, edx
jge 0x63b1cc
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
lea rcx, [rbp + 0x30]
lea rdx, [0x0069271f]
mov r8d, 0xc
mov r9d, 0x2d
call fcn.00597b20
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
xor r8, r8
call fcn.005a8ac0
mov rcx, qword [rbp + 0x38]
call fcn.00410050
mov rcx, rax
call qword [0x006a8b70]
mov rbx, rax
lea rcx, [rbp + 0x28]
lea rdx, [0x0069276f]
mov r8d, 0xb
mov r9d, 0x2d
call fcn.00597b20
mov rcx, qword [rbp + 0x28]
call fcn.0040fbe0
mov rcx, rbx
mov rdx, rax
call qword [0x006a8c48]
mov rcx, rax
lea rdx, [0x0063af80]
mov r8b, 2
call fcn.005cab20
mov qword [0x00699fd8], rax
test rax, rax
mov eax, dword [0x006933c0]
mov dword [0x00699d84], eax
mov eax, dword [0x00697e70]
cmp eax, dword [0x00698adc]
je 0x63b297
mov eax, dword [0x00697e70]
mov dword [0x00698adc], eax
call fcn.0062aee0
cmp eax, dword [0x00693208]
jle 0x63b2ae
mov dword [0x00693208], 0x78
mov dword [0x006933b0], 0x330
mov eax, dword [0x006933b0]
sub eax, 0x1aa
mov dword [0x00693904], eax
mov dword [0x006933b0], 0x330
mov eax, dword [0x006933b0]
sub eax, 0x1aa
mov dword [0x00693904], eax
mov eax, dword [0x00698fa0]
cmp eax, dword [0x00699558]
je 0x63b300
mov eax, dword [0x00698fa0]
mov dword [0x00699558], eax
call fcn.00639780
cmp eax, dword [0x00693294]
jle 0x63b317
mov dword [0x00693294], 0x83
mov eax, dword [0x00696594]
add eax, dword [0x00696ac4]
mov ecx, dword [0x006978ec]
add ecx, dword [0x00698994]
cmp eax, ecx
jle 0x63b338
call fcn.004096f0
call fcn.0061f1e0
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040ea30
lea rcx, [rbp + 0x38]
call fcn.0040e9c0
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x63b850
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
nop
mov eax, dword [0x00695d74]
mov dword [0x00695854], eax
mov eax, dword [0x006995cc]
mov dword [0x00699374], eax
mov eax, dword [0x00696c90]
add eax, dword [0x006978f8]
mov ecx, dword [0x0069899c]
add ecx, dword [0x00698f8c]
cmp eax, ecx
jle 0x63b8b2
mov eax, dword [0x00698f8c]
mov dword [0x00696c90], eax
lea rcx, [rbp + 0x30]
lea rdx, [0x00692706]
mov r8d, 9
mov r9d, 0x2d
call fcn.00597b20
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
xor r8, r8
call fcn.005a8ac0
mov rcx, qword [rbp + 0x38]
call fcn.00410050
mov rcx, rax
call qword [0x006a8b70]
mov rbx, rax
lea rcx, [rbp + 0x28]
lea rdx, [0x00692799]
mov r8d, 0x14
mov r9d, 0x2d
call fcn.00597b20
mov rcx, qword [rbp + 0x28]
call fcn.0040fbe0
mov rcx, rbx
mov rdx, rax
call qword [0x006a8c48]
mov rcx, rax
lea rdx, [0x0063b430]
mov r8b, 2
call fcn.005cab20
mov qword [0x00699fd0], rax
mov eax, dword [0x00696c90]
add eax, dword [0x006978f8]
mov ecx, dword [0x0069899c]
add ecx, dword [0x00698f8c]
cmp eax, ecx
jle 0x63b969
mov eax, dword [0x00698f8c]
mov dword [0x00696c90], eax
mov eax, dword [0x006980f0]
cmp eax, dword [0x00698b14]
je 0x63b983
mov eax, dword [0x006980f0]
mov dword [0x00698b14], eax
mov eax, dword [0x00693508]
add eax, 1
cmp dword [0x00693508], eax
jne 0x63b9d4
mov eax, dword [0x00698980]
test eax, eax
jge 0x63b9a3
call fcn.0040afc0
mov ecx, dword [0x00699528]
test ecx, ecx
jge 0x63b9b2
call fcn.0040afc0
mov edx, dword [0x00699bf4]
test edx, edx
jge 0x63b9c1
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040ea30
lea rcx, [rbp + 0x38]
call fcn.0040e9c0
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x63db30
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x006940b8]
add eax, 1
cmp dword [0x006940b8], eax
jne 0x63db5c
mov eax, dword [0x0069a04c]
test eax, eax
jge 0x63db55
call fcn.0040afc0
mov ecx, eax
call sub.kernel32.dll_SetConsoleKeyShortcuts
mov eax, dword [0x00693558]
add eax, 1
cmp dword [0x00693558], eax
jne 0x63dbad
mov eax, dword [0x00695d74]
test eax, eax
jge 0x63db7c
call fcn.0040afc0
mov ecx, dword [0x006978c0]
test ecx, ecx
jge 0x63db8b
call fcn.0040afc0
mov edx, dword [0x00699614]
test edx, edx
jge 0x63db9a
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
call fcn.00616be0
mov eax, dword [0x00699d80]
mov dword [0x00699630], eax
mov eax, dword [0x00699388]
cmp eax, dword [0x00699864]
je 0x63dbd8
mov eax, dword [0x00699388]
mov dword [0x00699864], eax
mov ecx, 0xa2
call qword [0x006a90a0]
and ax, 0x80
cmp ax, 0x80
sete bl
mov eax, dword [0x00696ab4]
add eax, dword [0x006978ec]
mov ecx, dword [0x00698f94]
add ecx, dword [0x006994d4]
cmp eax, ecx
jle 0x63dc12
call fcn.004096f0
mov eax, dword [0x00696ab4]
add eax, dword [0x006978ec]
mov ecx, dword [0x00698f94]
add ecx, dword [0x006994d4]
cmp eax, ecx
jle 0x63dc33
call fcn.004096f0
mov eax, dword [0x00698fa4]
cmp eax, dword [0x006994e4]
je 0x63dc4d
mov eax, dword [0x00698fa4]
mov dword [0x006994e4], eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x65a600
Capabilities:
Get disk size

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
lea rcx, [rbp + 0x30]
mov rdx, qword [0x00659ed0]
call fcn.004111e0
nop
mov eax, dword [0x0069a69c]
mov dword [0x0069a000], eax
mov eax, dword [0x006980f0]
add eax, dword [0x00698e3c]
mov ecx, dword [0x00699390]
add ecx, dword [0x0069961c]
cmp eax, ecx
jle 0x65a655
mov eax, dword [0x0069961c]
mov dword [0x006980f0], eax
mov eax, dword [0x00695c20]
mov dword [0x00695894], eax
call fcn.0064d0a0
call fcn.0064de10
cmp eax, dword [0x0069afe0]
jle 0x65a67d
mov dword [0x0069afe0], 0x25
mov eax, dword [0x00699d30]
mov dword [0x00699634], eax
mov dword [0x0069ae34], 0x303
mov eax, dword [0x0069ae34]
sub eax, 0x194
mov dword [0x00693278], eax
mov eax, dword [0x00696a88]
add eax, dword [0x00697484]
mov ecx, dword [0x0069813c]
add ecx, dword [0x00698e88]
cmp eax, ecx
jle 0x65a6c6
call fcn.004096f0
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x20]
mov r8, qword [0x00659ed0]
call fcn.00411890
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov r8, qword [0x00659ed0]
call fcn.00411890
call fcn.00656360
cmp eax, dword [0x006931fc]
jle 0x65a705
mov dword [0x006931fc], 0x62
call fcn.0062aee0
mov eax, dword [0x00693508]
add eax, 1
cmp dword [0x00693508], eax
jne 0x65a772
mov eax, dword [0x006958a0]
test eax, eax
jge 0x65a72a
call fcn.0040afc0
mov ecx, dword [0x0069657c]
test ecx, ecx
jge 0x65a739
call fcn.0040afc0
mov edx, dword [0x0069939c]
test edx, edx
jge 0x65a748
call fcn.0040afc0
mov r8d, dword [0x00699628]
test r8d, r8d
jge 0x65a759
call fcn.0040afc0
mov r9d, ecx
mov r10d, edx
mov r11d, r8d
mov ecx, eax
mov edx, r9d
mov r8d, r10d
mov r9d, r11d
call sub.advapi32.dll_CryptDuplicateKey
mov eax, dword [0x00699d48]
mov dword [0x0069964c], eax
mov eax, dword [0x00696aac]
mov dword [0x006962f8], eax
mov dword [0x0069ae24], 0x300
mov eax, dword [0x0069ae24]
sub eax, 0x193
mov dword [0x00693208], eax
mov rcx, qword [rbp + 0x28]
lea rdx, [rbp + 0x30]
mov r8, qword [0x00659ed0]
call fcn.00411890
call fcn.00647460
cmp eax, dword [0x0069add4]
jle 0x65a7d1
mov dword [0x0069add4], 0x2b
mov eax, dword [0x006974d0]
add eax, dword [0x0069898c]
mov ecx, dword [0x00698fb4]
add ecx, dword [0x00699520]
cmp eax, ecx
jle 0x65a7f9
mov eax, dword [0x00699520]
mov dword [0x006974d0], eax
mov dword [0x0069aff4], 0x2ef
mov eax, dword [0x0069aff4]
sub eax, 0x18a
mov dword [0x006932b4], eax
mov eax, dword [0x0069aaf4]
mov dword [0x0069a954], eax
mov eax, dword [0x00693504]
add eax, 1
cmp dword [0x00693504], eax
jne 0x65a872
mov eax, dword [0x00696a7c]
test eax, eax
jge 0x65a841
call fcn.0040afc0
mov ecx, dword [0x00698af4]
test ecx, ecx
jge 0x65a850
call fcn.0040afc0
mov edx, dword [0x006994c8]
test edx, edx
jge 0x65a85f
call fcn.0040afc0
mov r8d, ecx
mov r9d, edx
mov ecx, eax
mov edx, r8d
mov r8d, r9d
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [0x00696e7c]
mov dword [0x006965e8], eax
nop
lea rcx, [rbp + 0x30]
mov rdx, qword [0x00659ed0]
call fcn.00411390
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x140001030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rdx
xor esi, esi
lea rdx, [0x14002c824]
mov r15d, esi
mov rdi, r8
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.1400039a0
mov r12, rax
test rax, rax
jne 0x140001089
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
jmp 0x1400011aa
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r12
call fcn.14000fa8c
test eax, eax
jns 0x1400010c6
call fcn.140015ca8
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
jmp 0x14000118c
mov ecx, dword [r14 + 0xc]
call fcn.140015ce4
mov r15, rax
test rax, rax
jne 0x140001102
mov ebx, dword [r14 + 0xc]
call fcn.140015ca8
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
jmp 0x14000118c
cmp byte [r14 + 0x10], 1
jne 0x14000111c
mov r9, r15
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.1400011f0
jmp 0x14000117d
mov ebx, dword [r14 + 0xc]
mov qword [rsp + 0x60], rbp
mov rbp, r15
test rbx, rbx
je 0x140001171
mov eax, 0x2000
nop dword [rax]
nop word [rax + rax]
cmp rbx, rax
mov rdi, rbx
mov r9, r12
mov r8d, 1
cmova rdi, rax
mov rcx, rbp
mov rdx, rdi
call fcn.14000f754
cmp rax, 1
jb 0x1400011cd
add rbp, rdi
mov eax, 0x2000
sub rbx, rdi
jne 0x140001140
mov eax, esi
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
test eax, eax
je 0x14000118c
mov rcx, r15
call fcn.140015cd0
mov r15, rsi
mov rcx, r12
call fcn.14000f404
mov rsi, r15
test r15, r15
je 0x1400011aa
mov rdx, rdi
mov rcx, r15
call fcn.140003ad0
mov r13d, eax
mov rcx, rsi
call fcn.140015cd0
mov rbx, qword [rsp + 0x68]
mov eax, r13d
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140015ca8
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 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.14000b1a0
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.140001e50
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.140015ce4
mov r13, rax
test rax, rax
jne 0x1400012b4
call fcn.140015ca8
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 0x140001419
mov ecx, 0x2000
call fcn.140015ce4
mov rbp, rax
test rax, rax
jne 0x1400012e9
call fcn.140015ca8
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 0x140001419
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [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.14000f754
cmp rax, rbx
jne 0x140001411
mov rcx, rdi
call fcn.14000f4c8
test eax, eax
jne 0x140001411
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 0x1400013f6
cmp eax, 2
je 0x1400013f1
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400013b4
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.14000fe94
cmp rax, rbx
jne 0x1400013af
mov rcx, r14
call fcn.14000f4c8
test eax, eax
je 0x1400013ca
mov edi, r15d
jmp 0x1400013f6
test rsi, rsi
je 0x1400013ca
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14002af00
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001350
cmp edi, 1
je 0x1400013ec
test r12, r12
je 0x1400013f6
mov rdi, qword [rsp + 0xc0]
jmp 0x140001300
xor r15d, r15d
jmp 0x140001411
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.140015cd0
mov rcx, rbp
call fcn.140015cd0
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 0x140001450
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, [0x14002c824]
xor r14d, r14d
call fcn.1400039a0
mov r15, rax
test rax, rax
jne 0x14000149c
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.14000fa8c
test eax, eax
jns 0x1400014d8
call fcn.140015ca8
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 0x14000159c
mov ecx, dword [rbp + 0xc]
call fcn.140015ce4
mov r14, rax
test rax, rax
jne 0x140001512
mov ebx, dword [rbp + 0xc]
call fcn.140015ca8
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 0x14000159c
cmp byte [rbp + 0x10], 1
jne 0x14000152b
mov r9, r14
xor r8d, r8d
mov rdx, rbp
mov rcx, r15
call fcn.1400011f0
jmp 0x14000158d
mov ebx, dword [rbp + 0xc]
mov qword [rsp + 0x50], rsi
mov rsi, r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
test rbx, rbx
je 0x14000157c
mov r12d, 0x2000
nop dword [rax + rax]
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rsi
mov rdx, rdi
call fcn.14000f754
cmp rax, 1
jb 0x1400015b6
add rsi, rdi
sub rbx, rdi
jne 0x140001550
xor eax, eax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
test eax, eax
je 0x14000159c
mov rcx, r14
call fcn.140015cd0
xor r14d, r14d
mov rcx, r15
call fcn.14000f404
mov rbx, qword [rsp + 0x68]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
call fcn.140015ca8
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 eax, 0xffffffff
jmp 0x14000157e
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, [0x14002c91c]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.1400039a0
mov r12, rax
test rax, rax
jne 0x140001662
call fcn.140015ca8
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
mov r12, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002c824]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.1400039a0
mov r15, rax
test rax, rax
jne 0x140001698
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
mov ebx, 0xffffffff
jmp 0x140001801
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14000fa8c
test eax, eax
jns 0x1400016d9
call fcn.140015ca8
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 0x1400016f7
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.1400011f0
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.140015ce4
mov r14, rax
test rax, rax
jne 0x140001741
call fcn.140015ca8
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
mov ebx, 0xffffffff
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.14000f754
cmp rax, 1
jb 0x1400017ba
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.14000fe94
cmp rax, 1
jb 0x1400017a5
sub rsi, rbp
jne 0x140001760
jmp 0x1400017dd
call fcn.140015ca8
lea r8, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400017cd
call fcn.140015ca8
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.140015cd0
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000f404
mov rcx, r12
call fcn.14000f404
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret