joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006dcd4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14007849c
nop
cmp dword [0x1419d7168], 1
je 0x14006dc80
mov dword [0x1419d7164], 1
mov byte [0x1419d7160], r12b
test ebx, ebx
jne 0x14006dc6c
mov rcx, qword [0x1419d9350]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006dc59
mov rcx, qword [0x1419d9348]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14006dbf8
call fcn.14006f264
cmp qword [rdi], rax
jne 0x14006dbf8
jmp 0x14006dbde
cmp rdi, rsi
jb 0x14006dc59
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14006f264
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1419d9350]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1419d9348]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14006dc37
cmp r13, rax
je 0x14006dc57
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14006dbde
lea rdx, [0x140089128]
lea rcx, [0x140089110]
call fcn.14006da28
lea rdx, [0x140089138]
lea rcx, [0x140089130]
call fcn.14006da28
nop
test r12d, r12d
je 0x14006dc8f
mov ecx, 8
call fcn.14007839c
test r12d, r12d
jne 0x14006dcba
mov dword [0x1419d7168], 1
lea ecx, [r12 + 8]
call fcn.14007839c
mov ecx, r15d
call fcn.14006d9bc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14006db48

Function at 0x14006dce0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14006db48
Function at 0x14007447f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1419d0c58]
jne 0x1400686aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400686a6
repz ret
ror rcx, 0x10
jmp 0x1400743d8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1419d77b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1419d78a8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14007445d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1419d77b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14007447f
mov rax, qword [rsp + 0x88]
mov qword [0x1419d78a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1419d7848], rax
mov rax, qword [0x1419d78a8]
mov qword [0x1419d7720], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1419d7830], rax
mov dword [0x1419d7710], 0xc0000409
mov dword [0x1419d7714], 1
mov rax, qword [0x1419d0c58]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1419d0c60]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1419d77a8], eax
mov ecx, 1
call fcn.1400799f8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400a2ea0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1419d77a8], 0
jne 0x140074506
mov ecx, 1
call fcn.1400799f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400795dc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14006f264
xor ebx, ebx
mov rdi, rax
cmp qword [0x1419d7fd0], rbx
jne 0x1400796e2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400797b7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400797b7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400a2ff8]
mov rcx, rsi
mov qword [0x1419d7fd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400a2fe0]
mov rcx, rsi
mov qword [0x1419d7fd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1419d7fe0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1419d7ff0], rax
test rax, rax
je 0x1400796d9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1419d7fe8], rax
jmp 0x1400796e9
mov rax, qword [0x1419d7fe8]
jmp 0x1400796f0
mov rax, qword [0x1419d7fe8]
mov r11, qword [0x1419d7ff0]
cmp rax, rdi
je 0x140079758
cmp r11, rdi
je 0x140079758
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1419d7ff0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140079758
test rax, rax
je 0x140079758
call rsi
test rax, rax
je 0x140079752
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140079752
test byte [rsp + 0x38], 1
jne 0x140079758
bts ebp, 0x15
jmp 0x140079796
mov rcx, qword [0x1419d7fd8]
cmp rcx, rdi
je 0x140079796
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140079796
call rax
mov rbx, rax
test rax, rax
je 0x140079796
mov rcx, qword [0x1419d7fe0]
cmp rcx, rdi
je 0x140079796
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140079796
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1419d7fd0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400797b7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400797b9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14001a06c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rcx
call fcn.14001a914
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14001a0a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14001a12d
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001a0dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov ebx, eax
call fcn.14001a144
mov eax, ebx
jmp 0x14001a12d
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14001a0c3
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov dword [rdi + 0x18], eax
test eax, eax
je 0x14001a0c3
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14001a0c3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001af98
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140033880], eax
call fcn.14001b6d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140033880], 0
jne case.default.0x14001afee
mov ecx, 1
call fcn.14001b6d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
lodsb al, byte [rsi]
push rsp
fidivr word [rsi - 0x2a0e313]
pop rdi
std
invalid
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, [0x14002c884]
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.140003f40
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.1400025c0
xor ebx, ebx
jmp 0x140001167
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, rbp
call fcn.140010844
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.140002730
mov rcx, rbp
call fcn.1400101bc
xor ebx, ebx
jmp 0x140001167
mov ecx, dword [r14 + 0xc]
mov qword [rsp + 0x58], r12
call fcn.140014fc0
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.140002730
mov rcx, rbp
call fcn.1400101bc
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.1400101bc
mov rdx, rsi
mov rcx, r12
call fcn.140004070
mov r13d, eax
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140014fac
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.14001050c
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.140002730
mov rcx, r12
call fcn.140014fac
mov rcx, rbp
call fcn.1400101bc
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.14000b070
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.1400025c0
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.140014fc0
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.140002730
jmp 0x140001414
mov ecx, 0x2000
call fcn.140014fc0
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.140002730
jmp 0x140001414
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [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.14001050c
cmp rax, rbx
jne 0x14000140c
mov rcx, rdi
call fcn.140010280
test eax, eax
jne 0x14000140c
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.1400094b0
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.140010c4c
cmp rax, rbx
jne 0x1400013ae
mov rcx, r14
call fcn.140010280
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.140029f90
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 0x14000140c
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.1400025c0
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000ad50
mov rcx, r13
call fcn.140014fac
mov rcx, rbp
call fcn.140014fac
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 0x140001450
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, [0x14002c884]
xor r14d, r14d
call fcn.140003f40
mov r15, rax
test rax, rax
jne 0x14000149c
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025c0
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.140010844
test eax, eax
jns 0x1400014d1
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.140002730
jmp 0x14000159f
mov ecx, dword [rsi + 0xc]
call fcn.140014fc0
mov r14, rax
test rax, rax
jne 0x140001501
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.140002730
jmp 0x14000159f
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
jne 0x14000152d
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140001200
test eax, eax
je 0x140001590
jmp 0x140001585
mov ebx, dword [rsi + 0xc]
mov rbp, r14
test rbx, rbx
je 0x140001590
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.14001050c
cmp rax, 1
jb 0x14000156e
add rbp, rdi
sub rbx, rdi
jne 0x140001540
jmp 0x140001590
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002730
mov rcx, r14
call fcn.140014fac
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400101bc
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x1400015c0
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 0x1400015f7
call fcn.140001050
mov ebx, eax
test eax, eax
jns 0x1400015ee
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.1400025c0
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002c97c]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.140003f40
mov r12, rax
test rax, rax
jne 0x14000163b
lea r8, [rdi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002730
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x14002c884]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.140003f40
mov r15, rax
test rax, rax
jne 0x140001670
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.1400025c0
lea ebx, [r15 - 1]
jmp 0x1400017b5
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.140010844
test eax, eax
jns 0x1400016aa
lea r8, [rdi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002730
mov ebx, 0xffffffff
jmp 0x1400017ad
cmp byte [rdi + 0x10], 1
jne 0x1400016c8
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001200
mov ebx, eax
jmp 0x1400017ad
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.140014fc0
mov r14, rax
test rax, rax
jne 0x14000170a
lea r8, [rdi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002730
lea ebx, [r14 - 1]
jmp 0x1400017a3
mov qword [rsp + 0x58], rsi
mov esi, dword [rdi + 0xc]
test rsi, rsi
je 0x140001796
mov qword [rsp + 0x50], rbp
nop dword [rax]
cmp rsi, r13
mov rbp, rsi
mov r9, r15
mov r8d, 1
cmova rbp, r13
mov rcx, r14
mov rdx, rbp
call fcn.14001050c
cmp rax, 1
jb 0x140001775
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.140010c4c
cmp rax, 1
jb 0x140001765
sub rsi, rbp
jne 0x140001720
jmp 0x140001791
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x140001783
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
lea r8, [rdi + 0x12]
call fcn.140002730
mov ebx, 0xffffffff
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call fcn.140014fac
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.1400101bc
mov rcx, r12
call fcn.1400101bc
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x1400073f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.14000b9d0
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
xor edi, edi
lea rdx, [0x14002c884]
call fcn.140003f40
mov rbx, rax
test rax, rax
je 0x140007452
lea rdx, [0x14002c97c]
mov rcx, rsi
call fcn.140003f40
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x14000745c
call fcn.1400101bc
mov eax, 0xffffffff
jmp 0x1400074f1
call fcn.140010254
test eax, eax
jne 0x1400074df
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14001050c
test rax, rax
je 0x1400074c6
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.140010c4c
test rax, rax
je 0x1400074c1
mov rcx, rsi
call fcn.140010280
test eax, eax
jne 0x1400074c1
mov rcx, rbx
call fcn.140010254
test eax, eax
je 0x140007470
jmp 0x1400074df
mov rcx, rsi
jmp 0x1400074d5
mov rcx, rbx
call fcn.140010280
test eax, eax
je 0x1400074df
mov rcx, rbx
call fcn.140017478
mov edi, 0xffffffff
mov rcx, rbx
call fcn.1400101bc
mov rcx, rsi
call fcn.1400101bc
mov eax, edi
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000b7f0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007520
Capabilities:
Create directory

Disassembly:
push rdi
push r14
mov eax, 0x3058
call fcn.14000b9d0
sub rsp, rax
mov rax, qword [0x14003f040]
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 0x140007550
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140007561
inc rax
mov qword [rsp + 0x3050], rbx
add rax, rcx
mov qword [rsp + 0x3048], rbp
mov qword [rsp + 0x3040], rsi
cmp rax, 0x1000
jae 0x140007656
mov r9, rdx
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea r8, str._s_c
lea rcx, [rsp + 0x30]
call fcn.140001bd0
mov edx, 0x5c
movsxd rbp, eax
mov rcx, rdi
call fcn.14000c590
mov rbx, rax
test rax, rax
je 0x140007652
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, [0x14002e37c]
mov rdx, rsi
mov rcx, rbp
call fcn.140001bd0
lea rcx, [rsp + 0x30]
call fcn.140003ee0
test eax, eax
jne 0x14000763c
mov r8d, 0x1000
lea rdx, [rsp + 0x1030]
lea rcx, [rsp + 0x30]
call fcn.140008690
mov rdx, qword [r14 + 0x3038]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140007656
lea rcx, [rbx + 1]
mov edx, 0x5c
call fcn.14000c590
mov rbx, rax
test rax, rax
jne 0x1400075e0
xor eax, eax
jmp 0x14000765b
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.14000b7f0
add rsp, 0x3058
pop r14
pop rdi
ret
Function at 0x140007690
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.140014fc0
mov r15, rax
test rax, rax
je 0x1400077a3
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, r12
call fcn.140010844
test eax, eax
js 0x1400077a3
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.140017a28
mov rbx, rax
cmp rax, rsi
jb 0x14000779e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x140007794
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.140010844
test eax, eax
js 0x140007794
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14001050c
cmp rax, rbx
jne 0x140007794
sub rbx, rsi
add rbx, 1
je 0x14000777b
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.14002a9d0
test eax, eax
je 0x14000778d
dec rdi
sub rbx, 1
jne 0x140007760
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x140007700
jmp 0x140007794
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.140014fac
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret