joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402b9900
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
lea r14, [0x1405a3e20]
mov rdi, r8
mov rax, rdx
mov rbx, rcx
test r8, r8
je 0x1402b9935
mov dword [r8], 0
mov byte [r8 + 4], 0
mov qword [r8 + 8], r14
test rax, rax
je 0x1402b995f
cmp qword [rcx + 0x18], 8
mov rdx, rbx
jb 0x1402b9947
mov rdx, qword [rcx]
cmp qword [rax + 0x18], 8
jb 0x1402b9951
mov rax, qword [rax]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
jmp 0x1402b9971
cmp qword [rcx + 0x18], 8
jb 0x1402b9969
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1402b9988
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov rdx, rbx
mov byte [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], r14
mov esi, eax
call fcn.1402bb070
cmp dword [rax], 3
je 0x1402b99d2
lea r9, str.boost::filesystem::create_directory
mov r8, rdi
mov rdx, rbx
mov ecx, esi
call fcn.1402bf080
mov rsi, qword [rsp + 0x40]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1402b99f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
mov eax, 1
test edi, edi
cmove edi, eax
mov r8d, edi
mov eax, 2
mul r8
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1402c0150
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rdx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor edi, edi
test eax, eax
jne 0x1402b9a78
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1402b9a78
lea r8, str.boost::filesystem::current_path
mov rdx, r14
mov ecx, eax
call fcn.1402bf130
jmp 0x1402b9a8f
test r14, r14
je 0x1402b9a8f
mov dword [r14], edi
mov byte [r14 + 4], dil
lea rax, [0x1405a3e20]
mov qword [r14 + 8], rax
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 7
mov word [r15], di
nop
inc rbx
cmp word [rsi + rbx*2], di
jne 0x1402b9aa0
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call fcn.14005c800
nop
mov rcx, rsi
call fcn.1402bf814
mov rax, r15
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1402bb070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14061da68]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1402bb0aa
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1402bb0ca
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.1402ba380
jmp 0x1402bb265
xor r14d, r14d
test r15, r15
je 0x1402bb0e4
mov dword [r15], r14d
mov byte [r15 + 4], r14b
lea rax, [0x1405a3e20]
mov qword [r15 + 8], rax
mov edx, ebp
mov rcx, rsi
call fcn.1402ba250
mov r12d, eax
bt ebp, 0xa
jae 0x1402bb23b
mov rcx, rsi
call fcn.1402b9f60
test al, al
jne 0x1402bb112
mov dword [rdi], 9
jmp 0x1402bb261
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1402bb11f
mov rdx, qword [rsi]
movdqa xmm0, xmmword [0x1405b3040]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1402bb140
lea rcx, [rsp + 0x48]
call fcn.14005c800
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1402bb1d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402bb1cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402bb28a
call fcn.1402bf814
nop
movdqa xmm0, xmmword [0x1405b3040]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
cmp rbx, 0xffffffffffffffff
jne 0x1402bb200
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.1402ba380
nop
jmp 0x1402bb265
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1402bb22d
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.1402ba380
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1402bb265
mov ebp, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
and ebp, 0x10
je 0x1402bb246
mov eax, dword [rsp + 0x40]
jmp 0x1402bb24e
mov eax, r12d
mov r12d, dword [rsp + 0x40]
test ebp, ebp
setne r14b
add r14d, 2
mov dword [rdi], r14d
test ebp, ebp
cmove r12d, eax
mov dword [rdi + 4], r12d
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1402bf7f0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1402d3d9c
nop
Function at 0x1402d46c8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1402d455b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402d455b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402d455b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402d455b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402d455b
cmp dword [rcx + 0x84], 0xe
jbe 0x1402d455b
cmp dword [rcx + 0xf8], 0
je 0x1402d455b
mov ecx, ebx
call fcn.1402d45fc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1402d43ec
cmp dword [rbp + 0x20], 0
je 0x1402d45a8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1402d45b0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1402d44f4
Function at 0x140131c3b
Capabilities:
Contain obfuscated stackstrings
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rdi
ror byte [rcx + 3], 0xc9
mov edi, 0xec3e
cmp ebx, 0x6e089c75
call rcx
pop rdi
rcr r14d, 0xde
jne 0x140131c94
je 0x140131c94
xor r12d, 0xc87ed615
or r8d, 0x4b508f29
lea r10d, [rcx + 0x792c]
call rax
rol esi, 0x76
and r10d, 0xc3fa0046
inc rcx
dec rcx
lea r8d, [rbx + 0xf2c2]
xor ebp, 0x943d6ee9
or r8d, 0xbbb43f12
inc rsi
dec r11
movabs r14, 0x641ccde54e2259eb
rcl edi, 0xb6
call fcn.140132b9e
jmp 0x140131cef
jg 0x140130909
popfq
ja 0x140131dbd
test r10d, 0x5ea896de
sub edi, 0x1f9c4b8b
int3
test dword [rax + 0x41000001], esp
mov edx, esi

Function at 0x140133840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test bh, 0x85
nop
add byte [rax], al
add byte [rbx + rdi + 0x14], cl
push rdi
and eax, 0xd99c3f85
mov dword [0x1221289ad], edx
cmp r9, rdx
jno 0x1401335a9
cmp r10d, 0xf23413b5
lea edi, [rdi + 0xec]
call fcn.1401335f0
xchg r12, r9
mov qword [rsp + 0x20], r12
xchg r9, r12
xchg r15, r8
jmp 0x14013386f
xchg r15, rcx
sub rsp, 0x28
lea rax, [0x140133aa0]
xchg r15, rax
mov qword [rsp + 0x18], r15
xchg r15, rax
jmp 0x140133888
mov qword [rsp + 0x18], r15
xchg r15, r8
mov dword [rsp + 0x10], edx
xchg r15, rcx
mov qword [rsp + 8], r15
invalid
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140015370
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 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012ea0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012ec0
xor al, al
jmp 0x140012f41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012ed3
xor al, al
jmp 0x140012f41
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 0x140012efd
xor al, al
jmp 0x140012f41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012f11
xor al, al
jmp 0x140012f41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012f23
xor al, al
jmp 0x140012f41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012f3f
xor al, al
jmp 0x140012f41
mov al, 1
add rsp, 0x38
ret
Function at 0x140011410
Capabilities:
Capture screenshot

Disassembly:
jmp 0x140015ab0
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x50]
lea rcx, [0x1400220a7]
call fcn.14001137a
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 4], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x24], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbp + 0x68], rax
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp + 0xa8], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.GDI32.dll_BitBlt]
nop
xor ecx, ecx
call fcn.140011e50
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x2710
mov dword [rbp + 0xc4], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [rbp + 0xc4]
jae 0x140015be4
mov dword [rsp + 0x40], 0x550009
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.GDI32.dll_BitBlt]
nop
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x140015b8c
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.GDI32.dll_BitBlt]
nop
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.GDI32.dll_SelectObject]
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011ca0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a2
movzx eax, al
test eax, eax
jne 0x140011cc0
mov ecx, 7
call fcn.140011316
nop
mov byte [rsp + 0x20], 0
call fcn.14001132a
mov byte [rsp + 0x21], al
cmp dword [0x14001c220], 1
jne 0x140011ce4
mov ecx, 7
call fcn.140011316
nop
jmp 0x140011d3c
cmp dword [0x14001c220], 0
jne 0x140011d37
mov dword [0x14001c220], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.1400111ae
test eax, eax
je 0x140011d18
mov eax, 0xff
jmp 0x140011e41
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.140011320
mov dword [0x14001c220], 2
jmp 0x140011d3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011307
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011d99
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140011d99
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 [0x140023020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011dcd
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140011dcd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001135c
nop
call fcn.140011ef0
mov dword [rsp + 0x28], eax
call fcn.140011280
movzx eax, al
test eax, eax
jne 0x140011dec
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011dfb
call fcn.140011366
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x140011e41
add rsp, 0x68
ret
Function at 0x140b13058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b131df
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 0x140b13089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b1306f
add dl, dl
jne 0x140b13096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b130f6
xor eax, eax
add dl, dl
jne 0x140b130a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b131ad
add dl, dl
jne 0x140b130b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b130c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b130d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b130dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b130ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b1307e
mov eax, 1
add dl, dl
jne 0x140b13106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b13113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b130fb
sub eax, ebx
mov ebx, 1
jne 0x140b1314c
mov ecx, 1
add dl, dl
jne 0x140b1312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b1313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b13123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b1307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b13168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b13175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b1315d
cmp eax, 0x7d00
jae 0x140b1319b
cmp eax, 0x500
jb 0x140b13196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b1307e
cmp eax, 0x7f
ja 0x140b1319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b1307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b131d2
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 0x140b1307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002810
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
lea rax, [fcn.140002810]
mov cl, byte [rsp + 0x1f]
mov byte [rsp + 0x1f], cl
mov byte [rsp + 0x15], cl
mov qword [rsp + 8], rax
jmp 0x14000286a
mov qword [rsp + 0x20], 0x177fb266
mov rax, qword [rsp]
add rax, 0xfffffffffffff000
and rax, 0xfffffffffffff000
mov qword [rsp + 0x20], 0x798e5bdb
mov qword [rsp + 8], rax
jmp 0x14000286a
mov al, byte [rsp + 0x15]
xor al, 0xff
mov byte [rsp + 0x1f], al
mov rax, qword [rsp]
add rsp, 0x28
ret
mov rax, qword [rsp + 8]
cmp word [rax], 0x5a4d
mov qword [rsp], rax
jne 0x14000282e
mov byte [rsp + 0x1f], 0x42
mov ax, word [rsp + 0x16]
mov word [rsp + 0x16], ax
mov rcx, qword [rsp]
mov edx, dword [rcx + 0x3c]
mov r8d, dword [rsp + 0x18]
movsxd r9, edx
imul r8d, dword [rsp + 0x18]
mov dword [rsp + 0x18], r8d
cmp dword [rcx + r9], 0x4550
je 0x140002857
jmp 0x14000282e

Function at 0x140003008
Capabilities:
Encode data using xor

Disassembly:
mov ax, 0xa74a
mov ecx, 0x4ca534bd
mov edx, ecx
mov ecx, dword [rsp + 0xa4]
add byte [rax], al
Function at 0x140001030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push r13
push r14
sub rsp, 0x20
mov r14, rdx
mov rsi, r8
lea rdx, [0x14002c7a4]
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.1400031a0
mov rbp, rax
test rax, rax
jne 0x14000107a
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001de0
xor ebx, ebx
jmp 0x140001147
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, rbp
call fcn.14000f704
test eax, eax
jns 0x1400010ba
lea r8, [r14 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140001da0
mov rcx, rbp
call fcn.14000f07c
xor ebx, ebx
jmp 0x140001147
mov ecx, dword [r14 + 0xc]
mov qword [rsp + 0x58], r12
call fcn.140015860
mov r12, rax
mov rbx, rax
test rax, rax
jne 0x1400010f8
mov r9d, dword [r14 + 0xc]
lea r8, [r14 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140001da0
mov rcx, rbp
call fcn.14000f07c
jmp 0x140001142
cmp byte [r14 + 0x10], 1
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x68], r15
jne 0x14000115e
mov r9, r12
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.1400011e0
test eax, eax
jne 0x1400011c2
mov rcx, rbp
call fcn.14000f07c
mov rdx, rsi
mov rcx, r12
call fcn.1400032d0
mov r13d, eax
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rcx, rbx
call fcn.14001584c
mov eax, r13d
add rsp, 0x20
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov edi, dword [r14 + 0xc]
mov r15, r12
test rdi, rdi
je 0x140001122
mov eax, 0x2000
nop
cmp rdi, rax
mov rsi, rdi
mov r9, rbp
mov r8d, 1
cmova rsi, rax
mov rcx, r15
mov rdx, rsi
call fcn.14000f3cc
cmp rax, 1
jb 0x1400011ab
add r15, rsi
mov eax, 0x2000
sub rdi, rsi
jne 0x140001170
mov rsi, qword [rsp + 0x60]
jmp 0x140001122
lea r8, [r14 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140001da0
mov rcx, r12
call fcn.14001584c
mov rcx, rbp
call fcn.14000f07c
xor ebx, ebx
jmp 0x140001138
Function at 0x1400011e0
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.14000a410
mov r15d, eax
test eax, eax
je 0x140001263
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140001de0
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.140015860
mov r13, rax
test rax, rax
jne 0x140001299
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140001da0
jmp 0x1400013fc
mov ecx, 0x2000
call fcn.140015860
mov rbp, rax
test rax, rax
jne 0x1400012c7
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140001da0
jmp 0x1400013fc
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.14000f3cc
cmp rax, rbx
jne 0x1400013ee
mov rcx, rdi
call fcn.14000f140
test eax, eax
jne 0x1400013ee
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.1400088c0
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x1400013d1
cmp eax, 2
je 0x1400013cc
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001393
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000fb0c
cmp rax, rbx
jne 0x14000138e
mov rcx, r14
call fcn.14000f140
test eax, eax
je 0x1400013a9
mov edi, r15d
jmp 0x1400013d1
test rsi, rsi
je 0x1400013a9
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000b960
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001330
cmp edi, 1
je 0x1400013c7
test r12, r12
je 0x1400013d1
mov rdi, qword [rsp + 0xc0]
jmp 0x1400012e0
xor r15d, r15d
jmp 0x1400013f4
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.140001de0
jmp 0x1400013f4
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000a0f0
mov rcx, r13
call fcn.14001584c
mov rcx, rbp
call fcn.14001584c
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 0x140001440
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
lea rdx, [0x14002c7a4]
xor r14d, r14d
call fcn.1400031a0
mov r15, rax
test rax, rax
jne 0x14000148c
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001de0
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 + 0x1000]
mov rcx, r15
call fcn.14000f704
test eax, eax
jns 0x1400014c1
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.140001da0
jmp 0x14000158f
mov ecx, dword [rsi + 0xc]
call fcn.140015860
mov r14, rax
test rax, rax
jne 0x1400014f1
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.140001da0
jmp 0x14000158f
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
jne 0x14000151d
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.1400011e0
test eax, eax
je 0x140001580
jmp 0x140001575
mov ebx, dword [rsi + 0xc]
mov rbp, r14
test rbx, rbx
je 0x140001580
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.14000f3cc
cmp rax, 1
jb 0x14000155e
add rbp, rdi
sub rbx, rdi
jne 0x140001530
jmp 0x140001580
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140001da0
mov rcx, r14
call fcn.14001584c
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000f07c
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret