joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x560d9d
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov edx, dword [rbx]
mov rsi, qword [rax + 8]
mov r9, qword [rax]
cmp rsi, rdx
jbe 0x560d91
mov rbx, qword [r9 + rdx*8]
cmp rdi, rdx
jbe 0x560d86
lea rsi, [rdx + rdx*2]
mov r9, qword [rcx + rsi*8]
mov r10, qword [rcx + rsi*8 + 8]
test r10, r10
jbe 0x560d7c
mov r10, qword [r8 + 8]
mov r8, qword [r8]
nop dword [rax]
cmp r10, rdx
jbe 0x560d71
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x60], rcx
mov rdx, qword [r8 + rdx*8]
mov qword [rsp + 0x20], rdx
lea rax, [0x00667c20]
xor ecx, ecx
xor edi, edi
call fcn.00405200
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rax, qword [rsi + rdx*8]
mov rbx, qword [rsi + rdx*8 + 8]
mov rcx, qword [rsi + rdx*8 + 0x10]
call fcn.0040bca0
mov rbx, qword [rsp + 0x30]
lea rcx, [0x00664ca0]
mov rdi, rax
lea rax, [0x00667c20]
call fcn.00405200
mov rdx, qword [rsp + 0x38]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x10], rdx
call fcn.00558da0
xorps xmm15, xmm15
mov r14, qword [0x00866470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, rdx
mov rcx, r10
call fcn.004656a0
xor eax, eax
mov rcx, rax
call fcn.004656a0
mov rax, rdx
mov rcx, rdi
call fcn.004656a0
mov rax, rdx
mov rcx, rsi
call fcn.004656a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
nop dword [rax + rax]
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.00560c60
Function at 0x5625e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5626c7
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x58], rsi
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066af40]
call fcn.00405200
mov rax, qword [rsp + 0x40]
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066ad60]
call fcn.00405200
lea rax, [0x00660320]
mov rbx, qword [rsp + 0x58]
lea rcx, [0x00665460]
lea rdi, [0x0063f908]
call fcn.00405200
mov rcx, qword [rsp + 0x48]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 8], rcx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rcx
call fcn.00558780
xorps xmm15, xmm15
mov r14, qword [0x00866470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.005625e0

Function at 0x562720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x562807
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x58], rsi
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066af40]
call fcn.00405200
mov rax, qword [rsp + 0x40]
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066ad60]
call fcn.00405200
lea rax, [0x006602e0]
mov rbx, qword [rsp + 0x58]
lea rcx, [0x00665460]
lea rdi, [0x0063f908]
call fcn.00405200
mov rcx, qword [rsp + 0x48]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 8], rcx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rcx
call fcn.00558780
xorps xmm15, xmm15
mov r14, qword [0x00866470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.00562720
Function at 0x562860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x562986
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rdx, qword [rsi]
cmp qword [rsi + 8], 0
jbe 0x562976
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x58], rdx
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066af40]
nop
call fcn.00405200
mov rax, qword [rsp + 0x48]
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066ad60]
nop dword [rax]
call fcn.00405200
mov rcx, qword [rsp + 0x98]
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
call fcn.0040bca0
mov rbx, qword [rsp + 0x58]
lea rcx, [0x00663de0]
mov rdi, rax
lea rax, [0x00667c20]
call fcn.00405200
mov rcx, qword [rsp + 0x50]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 8], rcx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rcx
call fcn.00558780
xorps xmm15, xmm15
mov r14, qword [0x00866470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
xor eax, eax
mov rcx, rax
nop dword [rax + rax]
call fcn.004656a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.00562860
Function at 0x5629e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x562ac7
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x58], rsi
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066af40]
call fcn.00405200
mov rax, qword [rsp + 0x40]
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066ad60]
call fcn.00405200
lea rax, [0x0065ffe0]
mov rbx, qword [rsp + 0x58]
lea rcx, [0x00665460]
lea rdi, [0x0063f908]
call fcn.00405200
mov rcx, qword [rsp + 0x48]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 8], rcx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rcx
call fcn.00558780
xorps xmm15, xmm15
mov r14, qword [0x00866470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.005629e0

Function at 0x562b20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x562be5
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x58], rsi
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066af40]
call fcn.00405200
mov rax, qword [rsp + 0x40]
call fcn.0040bb80
mov rbx, rax
xor ecx, ecx
xor edi, edi
lea rax, [0x0066ad60]
call fcn.00405200
mov rcx, qword [rsp + 0x48]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 8], rcx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
nop dword [rax]
call fcn.00558780
xorps xmm15, xmm15
mov r14, qword [0x00866470]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
nop dword [rax]
call fcn.00463020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
nop dword [rax]
jmp fcn.00562b20
Function at 0x56bc70
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [0x0086a490], rax
je 0x56bca5
lea rcx, [0x0086a4a0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.0062f500]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x576172
Capabilities:
Hash data using sha256

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
lea r8, [0x007ce4c0]
lea rdx, [0x007ce420]
mov rcx, qword [rbp + 0x10]
call fcn.0056c3e0
nop
add rsp, 0x20
pop rbp
ret

Function at 0x57624b
Capabilities:
Hash data using sha384

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
lea r8, [0x007ce4e0]
lea rdx, [0x007ce440]
mov rcx, qword [rbp + 0x10]
call fcn.0057029f
nop
add rsp, 0x20
pop rbp
ret

Function at 0x576324
Capabilities:
Hash data using sha512

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
lea r8, [0x007ce4e0]
lea rdx, [0x007ce480]
mov rcx, qword [rbp + 0x10]
call fcn.0057029f
nop
add rsp, 0x20
pop rbp
ret
Function at 0x62b291
Capabilities:
Hash data using sha384

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
sub rax, 0xffffffffffffff80
mov r8d, 0x40
lea rdx, [0x0080bba0]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp - 8]
mov qword [rax + 0xc0], 0
nop
add rsp, 0x30
pop rbp
ret

Function at 0x62b2d8
Capabilities:
Hash data using sha512

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
sub rax, 0xffffffffffffff80
mov r8d, 0x40
lea rdx, [0x0080bbe0]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp - 8]
mov qword [rax + 0xc0], 0
nop
add rsp, 0x30
pop rbp
ret

Function at 0x62e250
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0086aae4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x62e3d8
mov rax, qword [0x0086aae8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x62e29c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x62e325
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x62e280
mov rcx, rbx
call fcn.0062eef0
test rax, rax
mov r12, rax
je 0x62e40d
mov rax, qword [0x0086aae8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.0062f020
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0086aae8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x62e3f0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x62e31e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x62e380
add dword [0x0086aae4], 1
cmp edi, 8
jae 0x62e353
test dil, 4
jne 0x62e3c4
test edi, edi
je 0x62e348
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x62e3df
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x62e348
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x62e36c
jmp 0x62e348
add rsi, qword [0x0086aae8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x62e31e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0062f580
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x62e348
xor esi, esi
jmp 0x62e2a7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x62e348
mov rax, qword [0x0086aae8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.0062f580
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.0062f580
nop
nop dword [rax]
Function at 0x62eb60
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0086adc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0086ada0]
test rbx, rbx
je 0x62ebb4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x62ebab
test rsi, rsi
je 0x62ebab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x62eb90
lea rcx, [0x0086adc0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x62eef0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0080c080]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x62ef5d
mov rcx, r8
call fcn.0062edd0
test eax, eax
je 0x62ef5d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x62ef5d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x62ef54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x62ef5f
add rax, 0x28
cmp rax, r9
jne 0x62ef40
xor eax, eax
add rsp, 0x28
ret

Function at 0x62f580
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0062f500
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.0062f500
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
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.2.13
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.14000a9c0
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.140001f60
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.14001519c
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.140001f20
jmp 0x14000126c
mov ecx, 0x2000
call fcn.14001519c
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.140001f20
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.14000f9ac
cmp rax, rbx
jne 0x14000125e
mov rcx, rdi
call fcn.14000f720
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.140008e70
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.1400100ec
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000f720
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.14000bf00
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.140001f60
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000a6a0
mov rcx, r13
call fcn.140015188
mov rcx, rbp
call fcn.140015188
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.14000b140
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, [0x14002b784]
mov ebp, 0xffffffff
call fcn.1400031b0
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.140001f60
xor ebx, ebx
jmp 0x14000143a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.14000fce4
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.140001f20
mov rcx, r14
call fcn.14000f65c
xor ebx, ebx
jmp 0x14000143a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.14001519c
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.140001f20
mov rcx, r14
call fcn.14000f65c
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.14000f65c
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.1400069d0
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.140001e40
cmp eax, 0x1000
jge 0x140001422
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140003350
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.140015188
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000b1a0
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.14000f9ac
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.140001f20
mov ebp, 0xffffffff
mov rcx, r12
call fcn.140015188
mov rcx, r14
call fcn.14000f65c
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, [0x14002b784]
xor r14d, r14d
call fcn.1400031b0
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.140001f60
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.14000fce4
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.140001f20
jmp 0x1400016ef
mov ecx, dword [rsi + 0xc]
call fcn.14001519c
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.140001f20
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.14000f9ac
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.140001f20
mov rcx, r14
call fcn.140015188
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000f65c
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret