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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x14000db67
mov qword [r11 + 0x18], rbp
lea rbp, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x14000d9ae
cmp r8, rsi
jae 0x14000db44
movzx edx, byte [r8]
test dl, dl
je 0x14000db44
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x805c8]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x14000d9e2
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x14000d9fb
movzx r13d, byte [rax]
jmp 0x14000d9fe
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14000da0d
movzx r12d, byte [rax]
jmp 0x14000da10
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x14000da1f
movzx r15d, byte [rax]
jmp 0x14000da22
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x805e8]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x80618]
shr r11d, 2
shr ebp, cl
mov ecx, pe_nt_image_headers64
cmp ebp, dword [r10 + rax + 0x80600]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0x80630]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x14000db26
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x14000d9a0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x14000db7d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14000f980
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 + 0x5d40], 0
lea rbx, [rcx + 0x5d48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000fa27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14000f9da
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.14001e920
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001e3d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5d40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5d50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1402a7798]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14000fa2f
mov rcx, rbx
call fcn.14001e3d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140018900
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1402a7790]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5ca4], ecx
test rbx, rbx
je 0x14001896f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140018980
lea rdx, [0x1400813ac]
mov rcx, rbx
mov rdi, rax
call fcn.14000cfa0
mov rbx, rax
test rax, rax
je 0x14001896a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001ced0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x1402a7790]
cmp byte [rbx + 0x5ca1], 0
jne 0x14001d02a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d023
lea rdx, [0x1400813a8]
mov qword [rsp + 0x40], rdi
call fcn.14000cfa0
mov rdi, rax
test rax, rax
je 0x14001d01e
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001d00b
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001d00b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001d00b
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001d00b
cmp rsi, 0xffffffffffffffff
je 0x14001d00b
mov rax, qword [0x1402a7790]
test rax, rax
je 0x14001cf95
inc dword [rax + 0x19c]
mov rdx, qword [0x1402a77a0]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001d00b
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001cfd1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001cfe7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001cfe7
mov rdx, rsi
mov rcx, rbp
call fcn.14000f4b0
mov rax, qword [0x1402a7790]
test rax, rax
je 0x14001cff9
dec dword [rax + 0x19c]
mov rdx, qword [0x1402a77a0]
mov rcx, rbp
call qword [0x140094008]
jmp 0x14001d014
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5ca1], 1
movss xmm0, dword [rbx + 0x5ca4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001d06d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5ca4], xmm0
jb 0x14001d06d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001d05c
call fcn.140018900
jmp 0x14001d063
mov byte [rbx + 0x184], 1
mov dword [rbx + 0x5ca4], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140032dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1402a7790]
mov rcx, qword [rax + 0x4bf0]
mov r10, qword [rax + 0x3f90]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x168]
movss xmm4, dword [rcx + 0x168]
movss xmm3, dword [rcx + 0x16c]
movss xmm2, dword [rcx + 0x170]
movss xmm1, dword [rcx + 0x174]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2a8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x248], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2a8]
mov rcx, qword [rcx + 0x198]
add rsp, 0x38
jmp 0x140027860

Function at 0x140032ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1402a7790]
mov rcx, qword [rax + 0x4bf0]
mov r9, qword [rax + 0x3f90]
movups xmm0, xmmword [r9 + 0x248]
movups xmmword [rcx + 0x168], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x148]
movss xmm4, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movss xmm2, dword [rcx + 0x150]
movss xmm1, dword [rcx + 0x154]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x21e]
mov rcx, qword [rcx + 0x198]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp 0x140027860
Function at 0x140061910
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x1402a7200]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], rbx
xor r14d, r14d
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140061960
mov r8, qword [rdx]
mov dword [rsp + 0x30], 0x6f6e746e
mov word [rsp + 0x34], pe_nt_image_headers64
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x20]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x140061980
mov byte [rsp + 0x35], 0
mov rdx, rbx
cmp qword [r9 + 0x18], 0xf
jbe 0x1400619a2
mov rdx, qword [r9]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400619af
mov rcx, qword [rdi]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400619f0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.14004a670
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140061a42
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140061a3d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140061b00
mov rcx, r8
call fcn.14007b9b4
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140061a8b
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140061a86
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140061b07
mov rcx, r8
call fcn.14007b9b4
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140061ad0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140061acb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140061b0e
mov rcx, r8
call fcn.14007b9b4
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rbp
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14007bad0
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14006bcf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
je 0x14006bd13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 2
jb 0x14006bd00
mov byte [rcx + 3], 0
mov rax, rcx
ret

Function at 0x14006bd20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x14006bd43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 3
jb 0x14006bd30
mov byte [rcx + 4], 0
mov rax, rcx
ret

Function at 0x14006bd50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x14006bd73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14006bd60
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x14006bd80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x14006bda3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x14006bd90
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x14006bdb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x14006bdd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x14006bdc0
mov byte [rcx + 7], 0
mov rax, rcx
ret

Function at 0x14006bde0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x14006be03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x14006bdf0
mov byte [rcx + 8], 0
mov rax, rcx
ret

Function at 0x14006be10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x14006be33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x14006be20
mov byte [rcx + 9], 0
mov rax, rcx
ret

Function at 0x14006be40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x14006be63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x14006be50
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x14006be70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x14006be93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x14006be80
mov byte [rcx + 0x15], 0
mov rax, rcx
ret

Function at 0x14006bea0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2a], 0
je 0x14006bec3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x29
jb 0x14006beb0
mov byte [rcx + 0x2a], 0
mov rax, rcx
ret

Function at 0x14006bed0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x14006bef3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x14006bee0
mov byte [rcx + 0xb], 0
mov rax, rcx
ret
Function at 0x14006bf00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x14006bf23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x14006bf10
mov byte [rcx + 0xd], 0
mov rax, rcx
ret

Function at 0x14006bf30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x14006bf53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x20]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x14006bf40
mov byte [rcx + 0xf], 0
mov rax, rcx
ret
Function at 0x14007c640
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007c68a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007c68a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007c68a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007c68a
cmp dword [rcx + 0x84], 0xe
jbe 0x14007c68a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007c68c
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
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.11
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.1400092f0
mov r15d, eax
test eax, eax
je 0x1400010c3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140002790
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.14000f834
mov r13, rax
test rax, rax
jne 0x1400010f9
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.1400024f0
jmp 0x14000125c
mov ecx, 0x2000
call fcn.14000f834
mov rbp, rax
test rax, rax
jne 0x140001127
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.1400024f0
jmp 0x14000125c
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.14000ea9c
cmp rax, rbx
jne 0x14000124e
mov rcx, qword [rdi]
call fcn.14000e810
test eax, eax
jne 0x14000124e
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.1400077b0
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001231
cmp eax, 2
je 0x14000122c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400011f3
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000f774
cmp rax, rbx
jne 0x1400011ee
mov rcx, r14
call fcn.14000e810
test eax, eax
je 0x140001209
mov edi, r15d
jmp 0x140001231
test rsi, rsi
je 0x140001209
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000b330
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001190
cmp edi, 1
je 0x140001227
test r12, r12
je 0x140001231
mov rdi, qword [rsp + 0xc0]
jmp 0x140001140
xor r15d, r15d
jmp 0x140001254
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.140002790
jmp 0x140001254
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.140008fe0
mov rcx, r13
call fcn.14000f820
mov rcx, rbp
call fcn.14000f820
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 0x1400012a0
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 0x1400012e8
add rcx, 0x78
lea rdx, [0x140029520]
call fcn.140003b50
mov qword [r14], rax
test rax, rax
jne 0x1400012e8
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002790
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.14000edd4
test eax, eax
jns 0x14000131f
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.1400024f0
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x20], r15
call fcn.14000f834
mov r15, rax
test rax, rax
jne 0x140001354
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.1400024f0
jmp 0x140001404
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 0x140001385
mov r9, r15
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001040
test eax, eax
je 0x1400013f0
jmp 0x1400013e5
mov ebx, dword [rsi + 0xc]
mov rbp, r15
test rbx, rbx
je 0x1400013f0
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.14000ea9c
cmp rax, 1
jb 0x1400013ce
add rbp, rdi
sub rbx, rdi
jne 0x1400013a0
jmp 0x1400013f0
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.1400024f0
mov rcx, r15
call fcn.14000f820
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 0x140001418
call fcn.14000e74c
mov qword [r14], 0
mov rax, r15
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x140001430
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov r14, rcx
call fcn.140006220
cmp eax, 0xffffffff
jne 0x140001452
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
lea rcx, [r14 + 0x2078]
lea rbp, [rdi + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.140006540
mov r12, rax
test rax, rax
jne 0x140001497
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.1400024f0
lea eax, [r12 - 1]
jmp 0x140001625
mov rax, qword [r14]
test rax, rax
jne 0x1400014d0
lea rcx, [r14 + 0x78]
lea rdx, [0x140029520]
call fcn.140003b50
mov qword [r14], rax
test rax, rax
jne 0x1400014d0
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002790
mov ebx, 0xffffffff
jmp 0x140001607
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000edd4
test eax, eax
jns 0x140001506
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.1400024f0
mov ebx, 0xffffffff
jmp 0x140001607
cmp byte [rdi + 0x10], 1
jne 0x140001524
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140001040
mov ebx, eax
jmp 0x140001607
mov qword [rsp + 0x28], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x20], r15
mov ecx, r13d
call fcn.14000f834
mov r15, rax
test rax, rax
jne 0x140001565
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.1400024f0
lea ebx, [r15 - 1]
jmp 0x1400015fd
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x1400015f5
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.14000ea9c
cmp rax, 1
jb 0x1400015d5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r15
call fcn.14000f774
cmp rax, 1
jb 0x1400015c5
sub rdi, rsi
jne 0x140001580
jmp 0x1400015f0
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400015e3
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.1400024f0
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r15
call fcn.14000f820
mov r13, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000161b
call fcn.14000e74c
mov qword [r14], 0
mov rcx, r12
call fcn.14000e74c
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret