joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403eef60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1403eef6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1403eef7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1403eef65
lea eax, [rcx + 1]
jmp 0x1403eef8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1403eef9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1403eef84
sub eax, 3
jb 0x1403eefbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1403ef00d
sar eax, 1
movsxd rbp, eax
jb 0x1403eeff4
jmp 0x1403eefcc
add ebx, ebx
jne 0x1403eefca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403eeff4
inc ecx
add ebx, ebx
jne 0x1403eefda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403eeff4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1403eefed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1403eefdc
add ecx, 2
jmp 0x1403eeff9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1403eef22
jmp 0x1403eef6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x112000
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1403ef059
cmp rsi, rcx
jae 0x1403ef061
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1403ef040
cmp al, 0x8f
ja 0x1403ef040
cmp byte [rsi - 2], 0xf
je 0x1403ef046
sub al, 0xe8
cmp al, 1
ja 0x1403ef02a
cmp rsi, rcx
jae 0x1403ef061
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1403ef030
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1403ef061
lodsb al, byte [rsi]
jmp 0x1403ef040
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3eb000]
mov eax, dword [rdi]
or eax, eax
je 0x1403ef0ca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3ef1dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1403ef06e
jns 0x1403ef0a3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1403ef0ad
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1403ef0c4
mov qword [rbx], rax
add rbx, 8
jmp 0x1403ef08e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1403ef10e
cmp al, 0xef
ja 0x1403ef0f6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1403ef0d6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1403ef0e5
mov eax, dword [rdi]
add rdi, 4
jmp 0x1403ef0e5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1403ef162
sub rsp, 0xffffffffffffff80
jmp 0x14008ca64
Function at 0x1403f0050
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1403f005d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1403f006d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1403f0055
lea eax, [rcx + 1]
jmp 0x1403f007b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1403f008e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1403f0074
sub eax, 3
jb 0x1403f00ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1403f00fd
sar eax, 1
movsxd rbp, eax
jb 0x1403f00e4
jmp 0x1403f00bc
add ebx, ebx
jne 0x1403f00ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403f00e4
inc ecx
add ebx, ebx
jne 0x1403f00ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403f00e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1403f00dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1403f00cc
add ecx, 2
jmp 0x1403f00e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1403f0012
jmp 0x1403f005d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x112200
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1403f0149
cmp rsi, rcx
jae 0x1403f0151
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1403f0130
cmp al, 0x8f
ja 0x1403f0130
cmp byte [rsi - 2], 0xf
je 0x1403f0136
sub al, 0xe8
cmp al, 1
ja 0x1403f011a
cmp rsi, rcx
jae 0x1403f0151
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1403f0120
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1403f0151
lodsb al, byte [rsi]
jmp 0x1403f0130
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3ec000]
mov eax, dword [rdi]
or eax, eax
je 0x1403f01ba
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3f01dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1403f015e
jns 0x1403f0193
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1403f019d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1403f01b4
mov qword [rbx], rax
add rbx, 8
jmp 0x1403f017e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1403f01fe
cmp al, 0xef
ja 0x1403f01e6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1403f01c6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1403f01d5
mov eax, dword [rdi]
add rdi, 4
jmp 0x1403f01d5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1403f0252
sub rsp, 0xffffffffffffff80
jmp 0x14008ca64
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x140013340
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112da
Capabilities:
Execute command
Get session user name

Disassembly:
jmp 0x140011b50
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x3b0], rax
lea rcx, [0x1400240a4]
call fcn.14001141a
nop
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rbp + 8], rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov dword [rbp + 0x154], 0x101
lea rdx, [rbp + 0x154]
lea rcx, [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
nop
lea r8, [rbp + 0x30]
lea rdx, str.Hallo__s_...
lea rcx, [rbp + 0x178]
call fcn.1400113de
nop
lea r8, [rbp + 0x30]
lea rdx, str.Wollen_wir_spielen___s_
lea rcx, [rbp + 0x1c0]
call fcn.1400113de
nop
lea rcx, [0x14001adf4]
call fcn.1400112ad
mov qword [rbp + 0x3a8], rax
lea rcx, [rbp + 0x178]
call fcn.1400112ad
xor r9d, r9d
mov rcx, qword [rbp + 0x3a8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [0x14001adf4]
call fcn.1400112ad
mov qword [rbp + 0x3a8], rax
lea rcx, [rbp + 0x1c0]
call fcn.1400112ad
mov r9d, 4
mov rcx, qword [rbp + 0x3a8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rbp + 0x214], eax
cmp dword [rbp + 0x214], 6
jne 0x140011c80
lea rcx, str.start_iexplore_https:__www.youtube.com_channel_UCcWAh6ZCS0S7OKn42USLq7Q
call qword [sym.imp.ucrtbased.dll_system]
nop
cmp dword [rbp + 0x214], 7
jne 0x140011ccf
lea rcx, [0x14001adf4]
call fcn.1400112ad
mov qword [rbp + 0x3a8], rax
lea rcx, str.WARUM_NICHT______
call fcn.1400112ad
xor r9d, r9d
mov rcx, qword [rbp + 0x3a8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, str.shutdown__s__t_0
call qword [sym.imp.ucrtbased.dll_system]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad70]
call fcn.14001138e
mov eax, edi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rbp
call fcn.1400111f9
lea rsp, [rbp + 0x3c8]
pop rdi
pop rbp
ret
Function at 0x1400112e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014690
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400146b0
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400146c3
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400146ed
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014701
xor al, al
jmp 0x140014731
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014713
xor al, al
jmp 0x140014731
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001472f
xor al, al
jmp 0x140014731
mov al, 1
add rsp, 0x38
ret
Function at 0x140012510
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011442
movzx eax, al
test eax, eax
jne 0x140012530
mov ecx, 7
call fcn.140011398
nop
mov byte [rsp + 0x20], 0
call fcn.1400113bb
mov byte [rsp + 0x21], al
cmp dword [0x14001eb28], 1
jne 0x140012554
mov ecx, 7
call fcn.140011398
nop
jmp 0x1400125ac
cmp dword [0x14001eb28], 0
jne 0x1400125a7
mov dword [0x14001eb28], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111e5
test eax, eax
je 0x140012588
mov eax, 0xff
jmp 0x1400126b1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.1400113ac
mov dword [0x14001eb28], 2
jmp 0x1400125ac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011384
call fcn.14001130c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012609
mov rcx, qword [rsp + 0x30]
call fcn.140011190
movzx eax, al
test eax, eax
je 0x140012609
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.14001134d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001263d
mov rcx, qword [rsp + 0x38]
call fcn.140011190
movzx eax, al
test eax, eax
je 0x14001263d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113fc
nop
call fcn.140012760
mov dword [rsp + 0x28], eax
call fcn.1400112e9
movzx eax, al
test eax, eax
jne 0x14001265c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001266b
call fcn.140011406
nop
xor edx, edx
mov cl, 1
call fcn.14001117c
mov eax, dword [rsp + 0x28]
jmp 0x1400126b1
add rsp, 0x68
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, [0x14002d824]
mov r15d, esi
mov rdi, r8
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.1400039e0
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.14000fbcc
test eax, eax
jns 0x1400010c6
call fcn.140015de8
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.140015e24
mov r15, rax
test rax, rax
jne 0x140001102
mov ebx, dword [r14 + 0xc]
call fcn.140015de8
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.14000f894
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.140015e10
mov r15, rsi
mov rcx, r12
call fcn.14000f544
mov rsi, r15
test r15, r15
je 0x1400011aa
mov rdx, rdi
mov rcx, r15
call fcn.140003b10
mov r13d, eax
mov rcx, rsi
call fcn.140015e10
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.140015de8
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.14000b2e0
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.140015e24
mov r13, rax
test rax, rax
jne 0x1400012b4
call fcn.140015de8
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.140015e24
mov rbp, rax
test rax, rax
jne 0x1400012e9
call fcn.140015de8
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.14000f894
cmp rax, rbx
jne 0x140001411
mov rcx, rdi
call fcn.14000f608
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.140009720
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.14000ffd4
cmp rax, rbx
jne 0x1400013af
mov rcx, r14
call fcn.14000f608
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.14002b040
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.14000afc0
mov rcx, r13
call fcn.140015e10
mov rcx, rbp
call fcn.140015e10
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, [0x14002d824]
xor r14d, r14d
call fcn.1400039e0
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.14000fbcc
test eax, eax
jns 0x1400014d8
call fcn.140015de8
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.140015e24
mov r14, rax
test rax, rax
jne 0x140001512
mov ebx, dword [rbp + 0xc]
call fcn.140015de8
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.14000f894
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.140015e10
xor r14d, r14d
mov rcx, r15
call fcn.14000f544
mov rbx, qword [rsp + 0x68]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
call fcn.140015de8
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, [0x14002d91c]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.1400039e0
mov r12, rax
test rax, rax
jne 0x140001662
call fcn.140015de8
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, [0x14002d824]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.1400039e0
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.14000fbcc
test eax, eax
jns 0x1400016d9
call fcn.140015de8
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.140015e24
mov r14, rax
test rax, rax
jne 0x140001741
call fcn.140015de8
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.14000f894
cmp rax, 1
jb 0x1400017ba
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.14000ffd4
cmp rax, 1
jb 0x1400017a5
sub rsi, rbp
jne 0x140001760
jmp 0x1400017dd
call fcn.140015de8
lea r8, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400017cd
call fcn.140015de8
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.140015e10
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000f544
mov rcx, r12
call fcn.14000f544
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret