joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010e58
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x60
xor r9d, r9d
mov rbx, rcx
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 8], eax
cmp eax, 0xffffffff
je 0x140010e96
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, rbx
add rsp, 0x60
pop rbx
ret
lea rdx, str.unable_to_create_tls_index
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3

Function at 0x140010f08
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140010f42
add dword [rax], 0xffffffff
jne 0x140010f3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140010f65
add rsp, 0x60
pop rbx
ret
lea rdx, str.likely_unbalanced_enter_exit_monitor_pair__extra_exit_
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3
lea rdx, str.unable_to_set_tls_value
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3

Function at 0x140010f88
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140010fa2
mov eax, dword [rax]
test eax, eax
jne 0x140010fb0
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.14001106c
inc dword [rax]
add rsp, 0x20
pop rbx
ret

Function at 0x140010fc0
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140010fcc
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140010fe5
mov eax, dword [rax]
test eax, eax
je 0x140011015
mov rcx, rbx
call fcn.140010f08
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140011001
mov eax, dword [rax]
test eax, eax
jne 0x14001100f
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop rbx
ret
lea rdx, str.must_own_monitor_prior_to_calling_exit__
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3
Function at 0x140010fcc
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140010fcc
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140010fe5
mov eax, dword [rax]
test eax, eax
je 0x140011015
mov rcx, rbx
call fcn.140010f08
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140011001
mov eax, dword [rax]
test eax, eax
jne 0x14001100f
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop rbx
ret
lea rdx, str.must_own_monitor_prior_to_calling_exit__
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3

Function at 0x14001106c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400110b1
lea edx, [rax + 4]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400110bf
and dword [rax], 0
mov rdx, rax
mov ecx, dword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400110e2
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rdx, str.unable_to_create_tls_data
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3
lea rdx, str.unable_to_set_tls_value
lea rcx, [rsp + 0x20]
call fcn.140004600
lea rdx, [0x140039690]
lea rcx, [rsp + 0x20]
call fcn.14001351c
int3

Function at 0x1400111f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov ecx, 8
call fcn.1400118c4
xor ecx, ecx
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140011214
mov qword [rax], rcx
jmp 0x140011217
mov rax, rcx
mov qword [rsp + 0x28], rcx
lea r8, [0x1400112c0]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x20]
mov qword [rcx], rax
add rsp, 0x30
pop rbx
ret

Function at 0x14001f424
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001f250
Function at 0x140004af0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140004b21
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400ca698]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400ca6a8]
lea rdx, [rdi + rdi]
call fcn.1400046b0
mov rax, qword [0x1400ca698]
lea r9, [rdi - 1]
mov qword [0x1400ca6c0], r9
mov qword [0x1400ca6c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140004c94
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400ca6a8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140004be0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140004c55
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140004c1d
mov r10, qword [rdx]
cmp r10, rax
je 0x140004c17
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140004c55
cmp r9, rdx
je 0x140004c31
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140004c69
cmp r9, rdx
jne 0x140004c22
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140004c8f
mov r9, qword [0x1400ca6c0]
jmp 0x140004b91
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140004c55
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006810
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000686d
lea rbx, [0x140036a40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140006854
cmp r10, 2
jb 0x140006854
cmp byte [r9], r8b
jne 0x140006854
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140006830
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400068af
lea rbx, [0x140036a40]
cmp r8b, 0x23
jne 0x140006893
cmp byte [r9], r8b
jne 0x140006893
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140006880
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400069f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140006a0a
mov qword [r8], 0
lea rdx, [0x1400365b0]
call fcn.1400068c0
mov rbx, rax
test rax, rax
jne 0x140006a2a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140006b03
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140006b03
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006b03
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140006b03
cmp rdi, 0xffffffffffffffff
je 0x140006b03
mov rax, qword [0x1400ca5e0]
test rax, rax
je 0x140006aa0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140006b03
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140006af0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400ca5e0]
test rax, rax
je 0x140006ae5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140006b0c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140006afe
mov qword [r14], rdi
mov rax, rsi
jmp 0x140006b0e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140009820
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140036a40]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x1400098b4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001bdf0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400158a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140042040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400ca5e0]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140015901
cmp byte [rbx + 0x4a5e], 0
jne 0x140015901
movsx r9d, word [rbx + 0x5b82]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140006790
test dil, 1
je 0x140015a2f
jmp 0x14001598c
movss xmm1, dword [rbx + 0x38bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b82]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003b8a8]
mov edx, 0x10
mulss xmm1, dword [0x14003b894]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c8], rax
mov dword [rbx + 0x47b4], 1
movss dword [rbx + 0x47c0], xmm0
movss dword [rbx + 0x47c4], xmm1
movss xmm0, dword [rbx + 0x3928]
mulss xmm0, dword [0x14003b834]
or dword [rbx + 0x47b0], 0x41
movss dword [rbx + 0x4810], xmm0
call fcn.140006790
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400159e0
lea r11, [0x140036a40]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400159c3
cmp byte [r8], r9b
jne 0x1400159c3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400159b0
not ecx
call fcn.14000cf20
test rax, rax
je 0x140015a2f
cmp byte [rax + 0xb6], 0
je 0x140015a2f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b82]
movsx r9d, word [rbx + 0x5b82]
call fcn.140006790
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f790
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140032e80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a720
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c68], 0
lea rbx, [rcx + 0x5c70]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a7c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a77a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ca50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140006e50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c68]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c78]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400ca5f0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a7cf
mov rcx, rbx
call fcn.140006e50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ab60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400ca5e0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001abc3
mov qword [rsp], rbx
lea rbx, [0x140036a40]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001aba3
cmp byte [r8], r9b
jne 0x14001aba3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ab90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5be0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001abf7
mov r10, qword [r10 + 0x5be8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001abfe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001abe4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140033be0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033c2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140033c2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140033c2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140033c2a
cmp dword [rcx + 0x84], 0xe
jbe 0x140033c2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140033c2c
xor al, al
add rsp, 0x28
ret
Function at 0x140001050
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.2.13
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.14000a610
mov r15d, eax
test eax, eax
je 0x1400010d3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140002770
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.1400140b0
mov r13, rax
test rax, rax
jne 0x140001109
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.1400024d0
jmp 0x14000126c
mov ecx, 0x2000
call fcn.1400140b0
mov rbp, rax
test rax, rax
jne 0x140001137
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.1400024d0
jmp 0x14000126c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi]
mov eax, 0x2000
cmp r12, rax
mov rbx, r12
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14000f5fc
cmp rax, rbx
jne 0x14000125e
mov rcx, qword [rdi]
call fcn.14000f370
test eax, eax
jne 0x14000125e
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.140008a60
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001241
cmp eax, 2
je 0x14000123c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001203
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000fd3c
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000f370
test eax, eax
je 0x140001219
mov edi, r15d
jmp 0x140001241
test rsi, rsi
je 0x140001219
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000bb60
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001237
test r12, r12
je 0x140001241
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x140001264
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.140002770
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000a2f0
mov rcx, r13
call fcn.14001409c
mov rcx, rbp
call fcn.14001409c
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 0x1400012b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov rax, qword [rcx]
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x1400012f8
add rcx, 0x78
lea rdx, [0x14002a640]
call fcn.140003cb0
mov qword [r14], rax
test rax, rax
jne 0x1400012f8
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002770
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000f934
test eax, eax
jns 0x14000132f
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.1400024d0
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x20], r15
call fcn.1400140b0
mov r15, rax
test rax, rax
jne 0x140001364
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.1400024d0
jmp 0x140001414
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
jne 0x140001395
mov r9, r15
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
je 0x140001400
jmp 0x1400013f5
mov ebx, dword [rsi + 0xc]
mov rbp, r15
test rbx, rbx
je 0x140001400
mov r12d, 0x2000
nop word [rax + rax]
mov r9, qword [r14]
cmp rbx, r12
mov rdi, rbx
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.14000f5fc
cmp rax, 1
jb 0x1400013de
add rbp, rdi
sub rbx, rdi
jne 0x1400013b0
jmp 0x140001400
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.1400024d0
mov rcx, r15
call fcn.14001409c
xor r15d, r15d
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov rcx, qword [r14]
test rcx, rcx
je 0x140001428
call fcn.14000f2ac
mov qword [r14], 0
mov rax, r15
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x140001440
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov r14, rcx
call fcn.140006720
cmp eax, 0xffffffff
jne 0x140001462
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
lea rcx, [r14 + 0x3078]
lea rbp, [rdi + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.140006a40
mov r12, rax
test rax, rax
jne 0x1400014a7
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.1400024d0
lea eax, [r12 - 1]
jmp 0x140001635
mov rax, qword [r14]
test rax, rax
jne 0x1400014e0
lea rcx, [r14 + 0x78]
lea rdx, [0x14002a640]
call fcn.140003cb0
mov qword [r14], rax
test rax, rax
jne 0x1400014e0
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002770
mov ebx, 0xffffffff
jmp 0x140001617
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000f934
test eax, eax
jns 0x140001516
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.1400024d0
mov ebx, 0xffffffff
jmp 0x140001617
cmp byte [rdi + 0x10], 1
jne 0x140001534
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140001050
mov ebx, eax
jmp 0x140001617
mov qword [rsp + 0x28], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x20], r15
mov ecx, r13d
call fcn.1400140b0
mov r15, rax
test rax, rax
jne 0x140001575
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.1400024d0
lea ebx, [r15 - 1]
jmp 0x14000160d
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x140001605
mov qword [rsp + 0x58], rsi
nop word [rax + rax]
mov r9, qword [r14]
cmp rdi, r13
mov rsi, rdi
mov r8d, 1
cmova rsi, r13
mov rcx, r15
mov rdx, rsi
call fcn.14000f5fc
cmp rax, 1
jb 0x1400015e5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r15
call fcn.14000fd3c
cmp rax, 1
jb 0x1400015d5
sub rdi, rsi
jne 0x140001590
jmp 0x140001600
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400015f3
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.1400024d0
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r15
call fcn.14001409c
mov r13, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000162b
call fcn.14000f2ac
mov qword [r14], 0
mov rcx, r12
call fcn.14000f2ac
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret