joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180b0f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180b0f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180b0f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180b0f06f
add dl, dl
jne 0x180b0f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180b0f0f6
xor eax, eax
add dl, dl
jne 0x180b0f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180b0f1ad
add dl, dl
jne 0x180b0f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b0f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b0f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b0f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180b0f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180b0f07e
mov eax, 1
add dl, dl
jne 0x180b0f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b0f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180b0f0fb
sub eax, ebx
mov ebx, 1
jne 0x180b0f14c
mov ecx, 1
add dl, dl
jne 0x180b0f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180b0f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180b0f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180b0f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180b0f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180b0f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180b0f15d
cmp eax, 0x7d00
jae 0x180b0f19b
cmp eax, 0x500
jb 0x180b0f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180b0f07e
cmp eax, 0x7f
ja 0x180b0f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180b0f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180b0f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180b0f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800016ae
Capabilities:
Print debug messages

Disassembly:
jmp 0x180057214
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x180057260
test rbx, rbx
je 0x18005724f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1800017fd
cmp eax, 1
je 0x180057260
mov eax, 4
jmp 0x1800572a3
call fcn.1800039bd
cmp eax, 2
jne 0x18005729c
call fcn.18000185c
test al, al
je 0x18005729c
call fcn.180002b21
test al, al
jne 0x180057292
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.1800039f9
jmp 0x1800572a3
call fcn.1800038a0
mov rcx, rax
jmp 0x180057282
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000216c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180076bb0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18009b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x18009db78]
xor r11d, r11d
lea rdi, [0x1800856f4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x180076c20
mov rax, 0xfffffffffffffffe
jmp 0x180076d6d
cmp word [r10 + 6], r11w
jne 0x180076c8f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x180076c4a
test r14, r14
je 0x180076c3b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x180076d6d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x180076c58
mov r8b, 2
jmp 0x180076c76
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180076c66
mov r8b, 3
jmp 0x180076c76
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180076d62
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180076cb8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180076d62
cmp bl, bpl
jb 0x180076d62
cmp bl, r8b
jae 0x180076d62
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x180076ce5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180076d62
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x180076cc7
cmp r9, rbp
jae 0x180076d11
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x180076c14
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180076d62
cmp edx, 0x110000
jae 0x180076d62
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x180076d62
test r14, r14
je 0x180076d50
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1800039f4
jmp 0x180076d6d
mov rdx, rsi
mov rcx, r10
call fcn.18000405c
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800025f4
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800021b2
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x180008a18
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180008aa5
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180008aa5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180008aa5
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180008a8c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180008a86
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180008a8e
add rdx, 0x28
jmp 0x180008a6b
xor edx, edx
test rdx, rdx
jne 0x180008a97
xor al, al
jmp 0x180008aab
cmp dword [rdx + 0x24], 0
jge 0x180008aa1
xor al, al
jmp 0x180008aab
mov al, 1
jmp 0x180008aab
xor al, al
jmp 0x180008aab
add rsp, 0x18
ret

Function at 0x1800024eb
Capabilities:
Get system information on windows

Disassembly:
jmp 0x18007a040
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18007a06e
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x18007a0c7
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x18007a0c7
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x18007a0b9
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x18000272f
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180017588
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180086860]
mov ecx, 2
lea r8, [0x180086858]
lea rdx, str.FlsGetValue
call fcn.180017058
mov ecx, ebx
test rax, rax
je 0x1800175c2
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x180002879
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005ce0c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005ce3c
xor eax, eax
jmp 0x18005ceff
mov rbp, rbx
cmp word [rax], si
je 0x18005ce61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005ce48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005ce44
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800031f7
movsxd r14, eax
test eax, eax
jne 0x18005ce9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005ce35
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18005ceb8
xor ecx, ecx
call fcn.180001168
jmp 0x18005ce94
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800031f7
test eax, eax
jne 0x18005cee9
mov rcx, rdi
call fcn.180001168
jmp 0x18005cef3
xor ecx, ecx
call fcn.180001168
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18000287e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800174d8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180086820]
xor ecx, ecx
lea r8, [0x180086818]
lea rdx, str.FlsAlloc
call fcn.180017058
test rax, rax
je 0x180017511
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1800028fb
Capabilities:
Get geographical location

Disassembly:
jmp 0x18005f264
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x180088958]
mov rbp, rcx
lea r8, [0x180088950]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.18005e784
test rax, rax
je 0x18005f2c4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800a8030]
jmp 0x18005f2de
xor edx, edx
mov rcx, rbp
call fcn.180002207
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18000290a
Capabilities:
Terminate process

Disassembly:
jmp 0x18007ad0c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180003922
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18007a100
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x18007a178
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x18007a178
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x18007a178
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x18007a16c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x18007a18a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x18007a15a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x18007a17a

Function at 0x180003ae4
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800175e0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180086880]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180086878]
call fcn.180017058
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180017620
call qword [0x1800a8020]
jmp 0x180017626
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003c6a
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001f8a8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18001f683
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001f683
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001f683
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001f683
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001f683
cmp dword [rcx + 0x84], 0xe
jbe 0x18001f683
cmp dword [rcx + 0xf8], 0
je 0x18001f683
mov ecx, ebx
call fcn.18001f7ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18001f360
nop
cmp dword [rbp + 0x20], 0
je 0x18001f6d1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001f70c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001f614
Function at 0x140002160
Capabilities:
Clear windows event logs

Disassembly:
push rbx
push rsi
push r12
push r14
sub rsp, 0x28
mov r14, qword [rcx + 0x10]
movabs rbx, 0x7fffffffffffffff
mov r12, qword [rsp + 0x78]
mov rax, rbx
sub rax, r14
mov rsi, rcx
cmp rax, rdx
jb 0x1400022cb
mov qword [rsp + 0x60], rbp
mov rbp, qword [rcx + 0x18]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], r15
lea r15, [rdx + r14]
mov rdx, r15
or rdx, 0xf
cmp rdx, rbx
ja 0x1400021ed
mov rcx, rbp
mov rax, rbx
shr rcx, 1
sub rax, rcx
cmp rbp, rax
ja 0x1400021ed
lea rax, [rcx + rbp]
mov rbx, rdx
cmp rdx, rax
cmovb rbx, rax
lea rax, [rbx + 1]
cmp rax, 0x1000
jb 0x140002217
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x1400022d1
jmp 0x1400021fb
movabs rcx, 0x8000000000000000
add rcx, 0x27
call fcn.140002c5c
test rax, rax
je 0x140002290
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000222b
test rax, rax
je 0x140002229
mov rcx, rax
call fcn.140002c5c
mov rdi, rax
jmp 0x14000222b
xor edi, edi
mov qword [rsi + 0x10], r15
lea r15, [r12 + rdi]
mov qword [rsi + 0x18], rbx
mov r8, r12
lea rdx, str.wevtutil.exe_cl
mov rcx, rdi
cmp rbp, 0xf
jbe 0x140002297
mov rbx, qword [rsi]
call sub.VCRUNTIME140.dll_memcpy
lea r8, [r14 + 1]
mov rdx, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp + 1]
cmp rdx, 0x1000
jb 0x140002286
mov rcx, qword [rbx - 8]
add rdx, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140002290
mov rbx, rcx
mov rcx, rbx
call fcn.140002ca0
jmp 0x1400022ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call sub.VCRUNTIME140.dll_memcpy
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], rdi
mov rax, rsi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop r12
pop rsi
pop rbx
ret
call fcn.1400011a0
int3
call fcn.140001100
int3

Function at 0x140003440
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000348a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000348a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000348a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000348a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000348a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000348c
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.3.1
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.14000b800
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.140002b30
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.1400152b0
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.140002890
jmp 0x14000126c
mov ecx, 0x2000
call fcn.1400152b0
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.140002890
jmp 0x14000126c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
nop dword [rax]
nop word [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.1400107fc
cmp rax, rbx
jne 0x14000125e
mov rcx, rdi
call fcn.140010570
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.140009cb0
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.140010f3c
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.140010570
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.14000cd60
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.140002b30
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000b4e0
mov rcx, r13
call fcn.14001529c
mov rcx, rbp
call fcn.14001529c
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 rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x1050
call fcn.14000bf80
sub rsp, rax
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x14002b844]
mov ebp, 0xffffffff
call fcn.140004080
mov r14, rax
test rax, rax
jne 0x140001311
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002b30
xor ebx, ebx
jmp 0x14000143a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.140010b34
test eax, eax
jns 0x14000134d
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.140002890
mov rcx, r14
call fcn.1400104ac
xor ebx, ebx
jmp 0x14000143a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.1400152b0
mov r12, rax
mov rbx, rax
test rax, rax
jne 0x140001390
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.140002890
mov rcx, r14
call fcn.1400104ac
jmp 0x140001432
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x1090], rdi
mov qword [rsp + 0x1040], r15
jne 0x140001463
mov r9, r12
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
jne 0x1400014d7
mov rcx, r14
add rsi, 0x12
call fcn.1400104ac
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.1400079f0
test eax, eax
js 0x140001422
mov qword [rsp + 0x28], rsi
lea r9, [r13 + 0x3070]
lea r8, str._s_c_s
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.140001ef0
cmp eax, 0x1000
jge 0x140001422
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140004280
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.14001529c
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000bfe0
add rsp, 0x1050
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov edi, dword [rsi + 0xc]
mov r15, r12
test rdi, rdi
je 0x1400013c3
mov eax, 0x2000
nop word [rax + rax]
cmp rdi, rax
mov rbp, rdi
mov r9, r14
mov r8d, 1
cmova rbp, rax
mov rcx, r15
mov rdx, rbp
call fcn.1400107fc
cmp rax, 1
jb 0x1400014bb
add r15, rbp
mov eax, 0x2000
sub rdi, rbp
jne 0x140001480
mov ebp, 0xffffffff
jmp 0x1400013c3
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002890
mov ebp, 0xffffffff
mov rcx, r12
call fcn.14001529c
mov rcx, r14
call fcn.1400104ac
xor ebx, ebx
jmp 0x140001422
Function at 0x1400015a0
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
add rcx, 0x70
lea rdx, [0x14002b844]
xor r14d, r14d
call fcn.140004080
mov r15, rax
test rax, rax
jne 0x1400015f0
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002b30
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]
mov rcx, r15
call fcn.140010b34
test eax, eax
jns 0x140001621
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.140002890
jmp 0x1400016ef
mov ecx, dword [rsi + 0xc]
call fcn.1400152b0
mov r14, rax
test rax, rax
jne 0x140001651
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.140002890
jmp 0x1400016ef
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
jne 0x14000167d
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140001050
test eax, eax
je 0x1400016e0
jmp 0x1400016d5
mov ebx, dword [rsi + 0xc]
mov rbp, r14
test rbx, rbx
je 0x1400016e0
mov r12d, 0x2000
nop
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.1400107fc
cmp rax, 1
jb 0x1400016be
add rbp, rdi
sub rbx, rdi
jne 0x140001690
jmp 0x1400016e0
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002890
mov rcx, r14
call fcn.14001529c
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400104ac
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret