joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e570
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
jne 0x14001e5a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str._Failed_to_get_module_handle:__d___GetSectionAddress_n
mov edx, 2
mov r9d, eax
call fcn.140012580
xor eax, eax
add rsp, 0x28
ret
mov eax, 0x5a4d
cmp word [r9], ax
je 0x14001e5c8
lea r8, str._Invalid_DOS_header___GetSectionAddress._n
mov edx, 2
call fcn.1400122f0
xor eax, eax
add rsp, 0x28
ret
movsxd rcx, dword [r9 + 0x3c]
add rcx, r9
cmp dword [rcx], 0x4550
je 0x14001e5ef
lea r8, str._Invalid_NT_header___GetSectionAddress._n
mov edx, 2
call fcn.1400122f0
xor eax, eax
add rsp, 0x28
ret
movzx edx, word [rcx + 0x14]
lea r10, str..text
add rdx, 0x18
add rdx, rcx
xor r8d, r8d
test rdx, rdx
je 0x14001e62f
xor eax, eax
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x14001e62f
cmp rax, 6
jne 0x14001e610
mov eax, dword [rdx + 0xc]
add rax, r9
add rsp, 0x28
ret
add rdx, 0x28
inc r8d
cmp r8d, 6
jl 0x14001e604
lea r8, str..text_section_not_found._n
mov edx, 1
call fcn.1400122f0
xor eax, eax
add rsp, 0x28
ret
Function at 0x14001e960
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa70
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0xa60], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x48], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x48]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14001eb19
mov ecx, dword [rsp + 0x48]
mov eax, ecx
shr rax, 3
cmp qword [r14 + 0xb0], rax
jae 0x14001eb2a
mov ebp, r15d
test ecx, 0xfffffff8
jbe 0x14001eaf5
movabs r12, 0xaaaaaaaaaaaaaaa
nop dword [rax]
mov ecx, 0x620
call fcn.14001f070
mov rdi, rax
xor edx, edx
mov r8d, 0x620
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, ebp
lea rsi, [rsp + 0x50]
lea rsi, [rsi + rcx*8]
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x104
lea r8, [rsp + 0x850]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14001eb10
lea rcx, [rdi + 0x200]
lea r8, [rsp + 0x850]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rax, qword [rsi]
mov qword [rdi + 0x618], rax
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x14001eb07
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x600], rax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x608], eax
lea rbx, [r14 + 0xa8]
mov rsi, qword [rbx]
cmp qword [rbx + 8], r12
je 0x14001eaf9
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r15
mov ecx, 0x18
call fcn.14001f070
mov qword [rax + 0x10], rdi
inc qword [rbx + 8]
mov rcx, qword [rsi + 8]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rsp + 0x28], r15
mov qword [rsi + 8], rax
mov qword [rcx], rax
inc ebp
mov eax, dword [rsp + 0x48]
shr eax, 3
cmp ebp, eax
jb 0x14001e9f0
mov al, 1
jmp 0x14001eb2c
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r8, str.Unable_to_parse_module_information___Process::FillModuleList
jmp 0x14001eb20
lea r8, str.Unable_to_parse_module_named___Process::FillModuleList
jmp 0x14001eb20
lea r8, str.EnumProcessModules_failed___Process::FillModuleList
mov edx, 2
call fcn.1400122f0
xor al, al
mov rcx, qword [rsp + 0xa60]
xor rcx, rsp
call fcn.14001f050
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001eb60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rax + 0xd0]
add rbx, rax
je 0x14001ebda
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov edx, 8
mov r8d, 0x40
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001ebda
mov rax, qword [rbx + 0x18]
lea rcx, [0x14001cfd0]
mov qword [rax], rcx
mov al, 1
jmp 0x14001ebdc
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001f050
add rsp, 0x30
pop rbx
ret

Function at 0x14001ebf0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x20], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14001ecf7
lea r9, [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14001ecd2
mov r9d, 0x104
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14001ecc3
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001eca0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140015250
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001ed11
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.GetModuleBaseName_failed_with_error__d____Process::GetProcessName
jmp 0x14001ecdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.EnumProcessModules_failed_with_error__d____Process::GetProcessName
mov r9d, eax
mov edx, 2
call fcn.140012580
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001ed11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.OpenProcess_failed_with_error__d____Process::GetProcessName
mov edx, 2
call fcn.140012580
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001f050
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x14001ed40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x650
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov rax, qword gs:[0x60]
mov ecx, 0x18
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rbx, qword [rsi]
call fcn.14001f070
mov rdi, rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov r8, qword [rbx + 0x50]
lea rcx, [rsp + 0x220]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, qword [rbx + 0x60]
lea rcx, [rsp + 0x20]
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rax, qword [rbx + 0x30]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x638], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x620], rax
mov eax, dword [rbx + 0x40]
mov dword [rsp + 0x628], eax
cmp rdx, qword [rdi + 0x10]
je 0x14001ee06
mov rcx, rdx
mov r8d, 0x620
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 8], 0x620
jmp 0x14001ee13
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.140015de0
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14001ed92
mov rax, rdi
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.14001f050
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14001ee50
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r8, rcx
mov r10, rcx
mov r9, qword [rax + 0x18]
add r9, 0x10
mov rdi, qword [r9]
mov rax, qword [rdi + 0x60]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001ee94
add rax, 2
test ecx, ecx
jne 0x14001ee80
test edx, edx
je 0x14001eed8
nop dword [rax + rax]
mov rdi, qword [rdi]
cmp rdi, r9
je 0x14001ef4f
mov rax, qword [rdi + 0x60]
mov r8, r10
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001eed4
add rax, 2
test ecx, ecx
jne 0x14001eec0
test edx, edx
jne 0x14001eea0
mov ecx, 0x620
mov qword [rsp + 0x30], rbx
call fcn.14001f070
xor edx, edx
mov r8d, 0x620
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rdi + 0x50]
lea rcx, [rbx + 0x200]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, qword [rdi + 0x60]
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, qword [rdi + 0x30]
mov qword [rbx + 0x618], rcx
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x600], rax
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x608], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14001efb0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14001efdf
mov rcx, rbx
test eax, eax
je 0x14001efd9
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001fcc4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001fd0e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001fd0e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001fd0e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001fd0e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001fd0e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001fd10
xor al, al
add rsp, 0x28
ret

Function at 0x14178a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14178a1df
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 0x14178a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14178a06f
add dl, dl
jne 0x14178a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14178a0f6
xor eax, eax
add dl, dl
jne 0x14178a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14178a1ad
add dl, dl
jne 0x14178a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14178a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14178a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14178a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14178a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14178a07e
mov eax, 1
add dl, dl
jne 0x14178a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14178a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14178a0fb
sub eax, ebx
mov ebx, 1
jne 0x14178a14c
mov ecx, 1
add dl, dl
jne 0x14178a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14178a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14178a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14178a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14178a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14178a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14178a15d
cmp eax, 0x7d00
jae 0x14178a19b
cmp eax, 0x500
jb 0x14178a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14178a07e
cmp eax, 0x7f
ja 0x14178a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14178a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14178a1d2
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 0x14178a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rdx
xor esi, esi
lea rdx, [0x14002d824]
mov r15d, esi
mov rdi, r8
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.1400039f0
mov r12, rax
test rax, rax
jne 0x140001089
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
jmp 0x1400011aa
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r12
call fcn.14000fbcc
test eax, eax
jns 0x1400010c6
call fcn.140015de8
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002020
jmp 0x14000118c
mov ecx, dword [r14 + 0xc]
call fcn.140015e24
mov r15, rax
test rax, rax
jne 0x140001102
mov ebx, dword [r14 + 0xc]
call fcn.140015de8
lea r9, [r14 + 0x12]
mov dword [rsp + 0x20], ebx
lea r8, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
jmp 0x14000118c
cmp byte [r14 + 0x10], 1
jne 0x14000111c
mov r9, r15
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.1400011f0
jmp 0x14000117d
mov ebx, dword [r14 + 0xc]
mov qword [rsp + 0x60], rbp
mov rbp, r15
test rbx, rbx
je 0x140001171
mov eax, 0x2000
nop dword [rax]
nop word [rax + rax]
cmp rbx, rax
mov rdi, rbx
mov r9, r12
mov r8d, 1
cmova rdi, rax
mov rcx, rbp
mov rdx, rdi
call fcn.14000f894
cmp rax, 1
jb 0x1400011cd
add rbp, rdi
mov eax, 0x2000
sub rbx, rdi
jne 0x140001140
mov eax, esi
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
test eax, eax
je 0x14000118c
mov rcx, r15
call fcn.140015e10
mov r15, rsi
mov rcx, r12
call fcn.14000f544
mov rsi, r15
test r15, r15
je 0x1400011aa
mov rdx, rdi
mov rcx, r15
call fcn.140003b20
mov r13d, eax
mov rcx, rsi
call fcn.140015e10
mov rbx, qword [rsp + 0x68]
mov eax, r13d
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140015de8
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
call fcn.140002020
mov eax, r13d
jmp 0x140001173
Function at 0x140001450
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov rbx, rcx
lea rdx, [0x14002d824]
xor r14d, r14d
call fcn.1400039f0
mov r15, rax
test rax, rax
jne 0x14000149c
lea rdx, [rbp + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
mov edx, dword [rbp + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14000fbcc
test eax, eax
jns 0x1400014d8
call fcn.140015de8
lea r9, [rbp + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002020
jmp 0x14000159c
mov ecx, dword [rbp + 0xc]
call fcn.140015e24
mov r14, rax
test rax, rax
jne 0x140001512
mov ebx, dword [rbp + 0xc]
call fcn.140015de8
lea r9, [rbp + 0x12]
mov dword [rsp + 0x20], ebx
lea r8, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
jmp 0x14000159c
cmp byte [rbp + 0x10], 1
jne 0x14000152b
mov r9, r14
xor r8d, r8d
mov rdx, rbp
mov rcx, r15
call fcn.1400011f0
jmp 0x14000158d
mov ebx, dword [rbp + 0xc]
mov qword [rsp + 0x50], rsi
mov rsi, r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
test rbx, rbx
je 0x14000157c
mov r12d, 0x2000
nop dword [rax + rax]
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rsi
mov rdx, rdi
call fcn.14000f894
cmp rax, 1
jb 0x1400015b6
add rsi, rdi
sub rbx, rdi
jne 0x140001550
xor eax, eax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
test eax, eax
je 0x14000159c
mov rcx, r14
call fcn.140015e10
xor r14d, r14d
mov rcx, r15
call fcn.14000f544
mov rbx, qword [rsp + 0x68]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
call fcn.140015de8
lea r9, [rbp + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
call fcn.140002020
mov eax, 0xffffffff
jmp 0x14000157e
Function at 0x1400015e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
cmp byte [rdx + 0x11], 0x6e
mov rdi, rdx
mov rbx, rcx
jne 0x140001617
call fcn.140001030
mov ebx, eax
test eax, eax
jns 0x14000160e
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140001e50
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002d91c]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.1400039f0
mov r12, rax
test rax, rax
jne 0x140001662
call fcn.140015de8
lea r9, [rdi + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
mov edx, dword [rax]
call fcn.140002020
mov r12, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002d824]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.1400039f0
mov r15, rax
test rax, rax
jne 0x140001698
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001e50
mov ebx, 0xffffffff
jmp 0x140001801
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14000fbcc
test eax, eax
jns 0x1400016d9
call fcn.140015de8
lea r9, [rdi + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002020
mov ebx, 0xffffffff
jmp 0x1400017f9
cmp byte [rdi + 0x10], 1
jne 0x1400016f7
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.1400011f0
mov ebx, eax
jmp 0x1400017f9
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.140015e24
mov r14, rax
test rax, rax
jne 0x140001741
call fcn.140015de8
lea r9, [rdi + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002020
mov ebx, 0xffffffff
jmp 0x1400017ef
mov qword [rsp + 0x58], rsi
mov esi, dword [rdi + 0xc]
test rsi, rsi
je 0x1400017e2
mov qword [rsp + 0x50], rbp
nop word [rax + rax]
cmp rsi, r13
mov rbp, rsi
mov r9, r15
mov r8d, 1
cmova rbp, r13
mov rcx, r14
mov rdx, rbp
call fcn.14000f894
cmp rax, 1
jb 0x1400017ba
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.14000ffd4
cmp rax, 1
jb 0x1400017a5
sub rsi, rbp
jne 0x140001760
jmp 0x1400017dd
call fcn.140015de8
lea r8, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400017cd
call fcn.140015de8
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
lea r9, [rdi + 0x12]
call fcn.140002020
mov ebx, 0xffffffff
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call fcn.140015e10
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000f544
mov rcx, r12
call fcn.14000f544
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140007150
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
xor edi, edi
lea rdx, [0x14002d824]
call fcn.1400039f0
mov rbx, rax
test rax, rax
je 0x1400071b2
lea rdx, [0x14002d91c]
mov rcx, rsi
call fcn.1400039f0
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x1400071bc
call fcn.14000f544
mov eax, 0xffffffff
jmp 0x140007251
call fcn.14000f5dc
test eax, eax
jne 0x14000723f
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000f894
test rax, rax
je 0x140007226
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000ffd4
test rax, rax
je 0x140007221
mov rcx, rsi
call fcn.14000f608
test eax, eax
jne 0x140007221
mov rcx, rbx
call fcn.14000f5dc
test eax, eax
je 0x1400071d0
jmp 0x14000723f
mov rcx, rsi
jmp 0x140007235
mov rcx, rbx
call fcn.14000f608
test eax, eax
je 0x14000723f
mov rcx, rbx
call fcn.1400181f4
mov edi, 0xffffffff
mov rcx, rbx
call fcn.14000f544
mov rcx, rsi
call fcn.14000f544
mov eax, edi
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007280
Capabilities:
Create directory

Disassembly:
push rdi
push r14
mov eax, 0x3058
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x3030], rax
mov rdi, r8
mov r14, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x1400072b0
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400072c1
inc rax
mov qword [rsp + 0x3050], rbx
add rax, rcx
mov qword [rsp + 0x3048], rbp
mov qword [rsp + 0x3040], rsi
cmp rax, 0x1000
jae 0x1400073b6
mov r9, rdx
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea r8, str._s_c
lea rcx, [rsp + 0x30]
call fcn.140001c60
mov edx, 0x5c
movsxd rbp, eax
mov rcx, rdi
call fcn.14000c940
mov rbx, rax
test rax, rax
je 0x1400073b2
mov esi, 0x1000
sub rsi, rbp
lea rbp, [rsp + rbp + 0x30]
nop
mov r9d, ebx
mov qword [rsp + 0x20], rdi
sub r9d, edi
lea r8, [0x14002f47c]
mov rdx, rsi
mov rcx, rbp
call fcn.140001c60
lea rcx, [rsp + 0x30]
call fcn.140003990
test eax, eax
jne 0x14000739c
mov r8d, 0x1000
lea rdx, [rsp + 0x1030]
lea rcx, [rsp + 0x30]
call fcn.1400088f0
mov rdx, qword [r14 + 0x3038]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400073b6
lea rcx, [rbx + 1]
mov edx, 0x5c
call fcn.14000c940
mov rbx, rax
test rax, rax
jne 0x140007340
xor eax, eax
jmp 0x1400073bb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x3040]
mov rbp, qword [rsp + 0x3048]
mov rbx, qword [rsp + 0x3050]
mov rcx, qword [rsp + 0x3030]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x3058
pop r14
pop rdi
ret
Function at 0x1400073f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.140015e24
mov r15, rax
test rax, rax
je 0x140007503
xor edx, edx
mov r8d, 2
mov rcx, r12
call fcn.14000fbcc
test eax, eax
js 0x140007503
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.1400187a4
mov rbx, rax
cmp rax, rsi
jb 0x1400074fe
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax + rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x1400074f4
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.14000fbcc
test eax, eax
js 0x1400074f4
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14000f894
cmp rax, rbx
jne 0x1400074f4
sub rbx, rsi
add rbx, 1
je 0x1400074db
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14002ba80
test eax, eax
je 0x1400074ed
dec rdi
sub rbx, 1
jne 0x1400074c0
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x140007460
jmp 0x1400074f4
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.140015e10
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret