joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006c88
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x2c], 0
mov rdi, rcx
mov ebp, edx
mov esi, 3
lea rcx, [rsp + 0x20]
mov edx, esi
mov rbx, r8
call fcn.140001190
and qword [rsp + 0x30], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x30]
mov edx, esi
call fcn.140001190
mov esi, 0x70
lea rcx, [rsp + 0x40]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x68], rbx
lea ebx, [rsi - 0x6f]
test bl, bpl
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], 0x740
mov dword [rsp + 0x70], ebx
je 0x140006d22
and dword [rsp + 0x70], 0
mov dword [rsp + 0x44], 0x8740
lea rax, str.runas
test bpl, 2
lea rdx, [rsp + 0x20]
cmove rax, qword [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x50], rax
call fcn.140006618
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.1400013d4
cmp dword [rsp + 0x28], 0
jne 0x140006d6a
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x20]
jmp 0x140006dc1
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140006db4
bt ebp, 0x10
jb 0x140006da4
mov rcx, qword [rsp + 0xa8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140006db6
xor ebx, ebx
mov rcx, rsi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rdi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea r11, [rsp + 0xb0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000722c
Capabilities:
Create process on windows
Get disk information
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x70
mov rdi, rcx
mov rcx, qword [rcx]
cmp word [rcx + 2], 0x3a
jne 0x140007452
cmp word [rcx + 4], 0x5c
je 0x14000725e
cmp word [rcx + 4], 0x2f
jne 0x140007452
movzx eax, word [rcx]
and word [rsp + 0x8e], 0
lea rcx, [rsp + 0x88]
mov word [rsp + 0x88], ax
mov word [rsp + 0x8a], 0x3a
mov word [rsp + 0x8c], 0x5c
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000744f
lea rdx, str.7ZSfx_03x.cmd
lea rcx, [rsp + 0x50]
call fcn.140005d28
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x140007445
and qword [rsp + 0x40], 0
and dword [rsp + 0x48], 0
and dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x40]
mov edx, 3
call fcn.140001190
lea rdx, str.:Repeat_r_n
lea rcx, [rsp + 0x40]
call fcn.1400013d4
lea rdx, str.del__
lea rcx, [rsp + 0x40]
call fcn.140002d94
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.140001440
lea rdx, [0x140022de0]
lea rcx, [rsp + 0x40]
call fcn.140002d94
lea rdx, str.if_exist__
lea rcx, [rsp + 0x40]
call fcn.140002d94
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.140001440
lea rdx, str.__goto_Repeat_r_n
lea rcx, [rsp + 0x40]
call fcn.140002d94
lea rdx, str.del__
lea rcx, [rsp + 0x40]
call fcn.140002d94
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140001440
lea rdx, [0x140022de0]
lea rcx, [rsp + 0x40]
call fcn.140002d94
mov ebx, dword [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov r8d, 1
call fcn.140003308
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rdx, qword [rax]
mov r8d, ebx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140007431
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x80], eax
jne 0x140007431
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
and dword [rsp + 0x28], 0
mov r8, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14000743b
mov rcx, qword [rsp + 0x50]
call fcn.140003bb8
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rdi]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140009ad0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rcx, rax
mov qword [rbx], rax
call fcn.140009a3c
add rsp, 0x30
pop rbx
ret
Function at 0x14000c280
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x510
mov rdi, rcx
mov rcx, qword [rcx + 8]
mov edx, 0x4b6
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400021cc
mov r11d, dword [rsp + 0x3c]
mov ebx, 1
sub r11d, dword [rsp + 0x34]
mov r8d, ebx
mov edx, 0x4b6
add r11d, 2
mov rcx, rdi
mov dword [rdi + 0x80], r11d
call fcn.140009f84
mov r8d, ebx
mov ebx, 0x4b7
mov rcx, rdi
mov edx, ebx
call fcn.140009f84
lea rcx, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x250]
lea rcx, [rsp + 0x40]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x103
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11, qword [rsp + 0x250]
mov rcx, qword [rdi + 8]
mov edx, ebx
mov qword [rdi + 0x70], r11
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r8, [0x14000a850]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, rdi
mov qword [rdi + 0x78], rax
call fcn.14000be00
mov rcx, rdi
mov ebx, eax
call fcn.14000ad10
mov eax, ebx
mov rbx, qword [rsp + 0x520]
add rsp, 0x510
pop rdi
ret
Function at 0x14000cd60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push r14
push r15
sub rsp, 0x20
mov r10d, dword [r9]
xor r15d, r15d
mov esi, r8d
and r10d, 7
cmp rdx, 5
mov r14, rcx
mov r11, r15
jae 0x14000cd98
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdi
mov qword [rsp + 8], r12
add esi, 5
mov qword [rsp], r13
mov r13d, dword [rsp + 0x60]
or r12, 0xffffffffffffffff
lea rdi, [rcx + rdx - 4]
lea r9, [0x140000000]
nop
nop
lea r8, [r11 + r14]
cmp r8, rdi
jae 0x14000cdf3
nop
nop
movzx eax, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x14000cdf3
add r8, 1
cmp r8, rdi
jb 0x14000cde0
mov r11, r8
sub r11, r14
cmp r8, rdi
jae 0x14000cf41
mov rax, r11
sub rax, r12
cmp rax, 3
jbe 0x14000ce32
mov r10d, r15d
movzx eax, byte [r8 + 4]
mov r12, r11
test al, al
je 0x14000ce7a
cmp al, 0xff
je 0x14000ce7a
and r10d, 3
add r10d, r10d
or r10d, 1
add r11, 1
jmp 0x14000cdd0
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x14000ce11
movzx eax, byte [r10 + r9 + 0x23310]
mov rcx, r8
sub rcx, rax
cmp byte [r10 + r9 + 0x23308], r15b
movzx eax, byte [rcx + 4]
je 0x14000ce63
test al, al
je 0x14000ce63
cmp al, 0xff
jne 0x14000ce11
and r10d, 3
mov r12, r11
add r10d, r10d
or r10d, 1
add r11, 1
jmp 0x14000cdd0
movzx r9d, al
movzx eax, byte [r8 + 3]
movsxd rbp, r10d
shl r9d, 8
lea r14, [0x140000000]
or r9d, eax
movzx eax, byte [r8 + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 1]
shl r9d, 8
or r9d, eax
nop
test r13d, r13d
je 0x14000cebd
lea edx, [r11 + r9]
add edx, esi
jmp 0x14000cec5
mov edx, r9d
sub edx, r11d
sub edx, esi
test r10d, r10d
je 0x14000cf07
movzx ebx, byte [r14 + rbp + 0x23310]
mov ecx, 0x18
mov r9d, edx
shl ebx, 3
sub ecx, ebx
shr r9d, cl
test r9b, r9b
je 0x14000ceee
cmp r9b, 0xff
jne 0x14000cf07
mov ecx, 0x20
mov r9d, 1
sub ecx, ebx
shl r9d, cl
sub r9d, 1
xor r9d, edx
jmp 0x14000ceb0
mov r14, qword [rsp + 0x40]
mov eax, edx
mov byte [r8 + 1], dl
shr eax, 0x18
lea r9, [0x140000000]
and al, 1
sub al, 1
not al
mov byte [r8 + 4], al
mov eax, edx
shr eax, 0x10
mov byte [r8 + 3], al
mov eax, edx
shr eax, 8
add r11, 5
mov byte [r8 + 2], al
jmp 0x14000cdd0
mov r13, qword [rsp]
mov rdi, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x48]
mov rax, r11
sub rax, r12
mov r12, qword [rsp + 8]
cmp rax, 3
ja 0x14000cf72
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
mov r15d, r10d
mov rax, qword [rsp + 0x58]
mov dword [rax], r15d
mov rax, r11
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140013b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
add byte [rcx + 1], 4
mov rax, qword [rbx]
add word [rax + 2], 4
movzx eax, byte [rcx - 5]
cmp byte [rcx + 1], al
jbe 0x140013be8
mov eax, dword [rcx]
lea rdx, [rcx - 6]
lea r8, [rsp + 0x30]
mov dword [r8], eax
movzx eax, word [rcx + 4]
mov word [r8 + 4], ax
mov eax, dword [rdx]
mov dword [rcx], eax
movzx eax, word [rdx + 4]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x30]
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
mov qword [rbx + 0x10], rdx
cmp byte [rdx + 1], 0x7c
jbe 0x140013be8
mov rcx, rbx
call fcn.140013940
mov rcx, qword [rbx + 0x10]
movzx edx, word [rcx + 4]
movzx eax, word [rcx + 2]
shl edx, 0x10
or rdx, rax
add rdx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x140013c17
cmp rdx, qword [rbx + 0x58]
jbe 0x140013c17
mov qword [rbx + 8], rdx
mov qword [rbx], rdx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140013480

Function at 0x1400148d4
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov ebx, eax
jne 0x140014904
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140014904
xor al, al
jmp 0x140014917
mov ecx, dword [rsp + 0x40]
mov rax, rbx
mov al, 1
shl rcx, 0x20
add rcx, rbx
mov qword [rdi], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140014a2c
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
and dword [rsp + 0x58], 0
and qword [rsp + 0x20], 0
mov rbx, r9
lea r9, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
mov eax, dword [0x140027ab0]
cmp r8d, eax
cmova r8d, eax
jmp 0x140014a2c

Function at 0x140014a60
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
and dword [rsp + 0x58], 0
and qword [rsp + 0x20], 0
mov rbx, r9
lea r9, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
mov eax, dword [0x140027ab0]
cmp r8d, eax
cmova r8d, eax
jmp 0x140014a2c

Function at 0x140014ac8
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x140027ab0]
mov rcx, qword [rcx]
mov rbx, r9
cmp r8d, eax
lea r9, [rsp + 0x50]
cmova r8d, eax
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x140014b08
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.140014924
xor ebx, ebx
cmp al, bl
jne 0x140014b34
xor al, al
jmp 0x140014b49
cmp qword [rsp + 0x40], rdi
jne 0x140014b30
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, ebx
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ed80
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
lea r10, [0x1400280a0]
xor edx, edx
mov r8, r10
mov ecx, edx
mov eax, edx
add edx, 1
shr eax, 1
and ecx, 1
add r8, 4
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
xor eax, ecx
cmp edx, 0x100
mov dword [r8 - 4], eax
jb 0x14001ed90
mov eax, 0x800
movsxd rcx, edx
cmp edx, eax
jae 0x14001ee81
sub eax, edx
lea r8, [r10 + rcx*4]
mov r9d, eax
nop
nop
mov edx, dword [r8 - 0x400]
add r8, 4
movzx ecx, dl
shr edx, 8
mov eax, dword [r10 + rcx*4]
xor eax, edx
sub r9, 1
mov dword [r8 - 4], eax
jne 0x14001ee60
lea rax, [0x14001f0a0]
mov qword [0x140028058], rax
call fcn.14001eec0
mov rcx, qword [0x140028058]
lea rdx, [0x14001efb0]
test eax, eax
cmove rcx, rdx
mov qword [0x140028058], rcx
add rsp, 0x28
ret
Function at 0x14001f68c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14002a0a8], rdi
je 0x14001f6e5
cmp rax, rdi
jne 0x14001f6d8
mov esi, 1
jmp 0x14001f6e5
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001f6bf
mov eax, dword [0x14002a0a0]
cmp eax, 1
jne 0x14001f6fa
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14001f75f
mov eax, dword [0x14002a0a0]
test eax, eax
jne 0x14001f755
mov dword [0x14002a0a0], 1
lea r12, [0x1400217e8]
lea rdi, [0x1400217d0]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x14001f747
test eax, eax
jne 0x14001f747
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001f73c
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x14001f725
test eax, eax
je 0x14001f75f
mov eax, 0xff
jmp 0x14001f8a9
mov dword [0x140028084], 1
mov eax, dword [0x14002a0a0]
cmp eax, 1
jne 0x14001f787
lea rdx, [0x1400217c8]
lea rcx, [0x140021710]
call sub.msvcrt.dll__initterm
mov dword [0x14002a0a0], 2
test esi, esi
jne 0x14001f794
xor eax, eax
xchg qword [0x14002a0a8], rax
cmp qword [0x14002a0b0], 0
je 0x14001f7bd
lea rcx, [0x14002a0b0]
call fcn.14001fa98
test eax, eax
je 0x14001f7bd
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14002a0b0]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x14001f848
cmp byte [rdi], 0
je 0x14001f7de
test esi, esi
jne 0x14001f848
cmp byte [rdi], 0
je 0x14001f7f2
cmp byte [rdi], 0x20
ja 0x14001f7f2
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x14001f7de
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400099fc
mov dword [0x140028080], eax
cmp dword [0x140028064], 0
jne 0x14001f831
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140028084], 0
jne 0x14001f846
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140028080]
jmp 0x14001f8a9
cmp byte [rdi], 0x22
jne 0x14001f85a
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14001f86f
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x14001f7d0
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.14001fb8c
add rsp, 0x28
jmp 0x14001f68c
Function at 0x14001faec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x14001fb39
cmp rcx, 0xffffffffffffffff
je 0x14001fb39
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001fb31
cmp dword [rcx + 0x3c], edx
jl 0x14001fb31
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001fb31
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14001fb39
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001050
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, [0x14002a844]
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.140003f90
mov rbp, rax
test rax, rax
jne 0x14000109a
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025e0
xor ebx, ebx
jmp 0x140001167
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, rbp
call fcn.1400101b0
test eax, eax
jns 0x1400010da
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.140002750
mov rcx, rbp
call fcn.14000fb48
xor ebx, ebx
jmp 0x140001167
mov ecx, dword [r14 + 0xc]
mov qword [rsp + 0x58], r12
call fcn.1400147d0
mov r12, rax
mov rbx, rax
test rax, rax
jne 0x140001118
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.140002750
mov rcx, rbp
call fcn.14000fb48
jmp 0x140001162
cmp byte [r14 + 0x10], 1
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x68], r15
jne 0x14000117e
mov r9, r12
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.140001200
test eax, eax
jne 0x1400011e2
mov rcx, rbp
call fcn.14000fb48
mov rdx, rsi
mov rcx, r12
call fcn.1400040c0
mov r13d, eax
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400147bc
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 0x140001142
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.14000fe98
cmp rax, 1
jb 0x1400011cb
add r15, rsi
mov eax, 0x2000
sub rdi, rsi
jne 0x140001190
mov rsi, qword [rsp + 0x60]
jmp 0x140001142
lea r8, [r14 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002750
mov rcx, r12
call fcn.1400147bc
mov rcx, rbp
call fcn.14000fb48
xor ebx, ebx
jmp 0x140001158
Function at 0x140001200
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.14000b0a0
mov r15d, eax
test eax, eax
je 0x140001283
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.1400025e0
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.1400147d0
mov r13, rax
test rax, rax
jne 0x1400012b9
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140002750
jmp 0x14000141c
mov ecx, 0x2000
call fcn.1400147d0
mov rbp, rax
test rax, rax
jne 0x1400012e7
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140002750
jmp 0x14000141c
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.14000fe98
cmp rax, rbx
jne 0x14000140e
mov rcx, rdi
call fcn.14000fc0c
test eax, eax
jne 0x14000140e
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.140009520
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x1400013f1
cmp eax, 2
je 0x1400013ec
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400013b3
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.1400105a4
cmp rax, rbx
jne 0x1400013ae
mov rcx, r14
call fcn.14000fc0c
test eax, eax
je 0x1400013c9
mov edi, r15d
jmp 0x1400013f1
test rsi, rsi
je 0x1400013c9
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000c630
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001350
cmp edi, 1
je 0x1400013e7
test r12, r12
je 0x1400013f1
mov rdi, qword [rsp + 0xc0]
jmp 0x140001300
xor r15d, r15d
jmp 0x140001414
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.1400025e0
jmp 0x140001414
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000ad70
mov rcx, r13
call fcn.1400147bc
mov rcx, rbp
call fcn.1400147bc
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 0x140001460
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, [0x14002a844]
xor r14d, r14d
call fcn.140003f90
mov r15, rax
test rax, rax
jne 0x1400014ac
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025e0
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.1400101b0
test eax, eax
jns 0x1400014e1
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.140002750
jmp 0x1400015af
mov ecx, dword [rsi + 0xc]
call fcn.1400147d0
mov r14, rax
test rax, rax
jne 0x140001511
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.140002750
jmp 0x1400015af
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
jne 0x14000153d
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140001200
test eax, eax
je 0x1400015a0
jmp 0x140001595
mov ebx, dword [rsi + 0xc]
mov rbp, r14
test rbx, rbx
je 0x1400015a0
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.14000fe98
cmp rax, 1
jb 0x14000157e
add rbp, rdi
sub rbx, rdi
jne 0x140001550
jmp 0x1400015a0
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002750
mov rcx, r14
call fcn.1400147bc
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000fb48
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret