joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005e50
Capabilities:
Create thread
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov r9, r8
mov rbp, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x20], 0x10000
call fcn.14000ce9c
mov rbx, rax
test rax, rax
jne 0x140005eb7
lea rax, [rsp + 0x30]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.14000ce9c
mov rbx, rax
cmp dword [0x140027080], 0
je 0x140005f74
lea rcx, str.J2D_D3D
call fcn.14000a6ec
test rax, rax
je 0x140005ef4
lea rdx, str.false
mov rcx, rax
call fcn.14001d264
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000a6ec
mov rdi, rax
test rax, rax
je 0x140005f29
lea rdx, str.false
mov rcx, rax
call fcn.14001d264
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
jmp 0x140005f2f
mov ecx, dword [0x140027080]
test ecx, ecx
jns 0x140005f66
and dword [0x140027080], 0
test rdi, rdi
je 0x140005f74
lea rdx, str.true
mov rcx, rdi
call fcn.14001d264
mov ecx, dword [0x140027080]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140027080], ecx
test ecx, ecx
je 0x140005f74
lea rcx, str.preloadD3D
call fcn.140005ce8
test rbx, rbx
je 0x140005f9e
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005fa7
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140028ae0], 0
je 0x140005fbe
mov rax, qword [0x140028b00]
test rax, rax
je 0x140005fbe
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140006210
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.1400042a8
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.1400042a8
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.1400042a8
lea rdx, [0x140028b10]
mov rcx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140006287
mov rcx, rbp
call fcn.14000432c
mov rcx, rsi
call fcn.140005fd8
xor eax, eax
jmp 0x1400063c9
lea r15, [0x140028b3c]
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov r12, qword [rbp + 8]
test r12, r12
je 0x1400062a6
and qword [rbp + 8], 0
jmp 0x1400062bf
mov rcx, qword [rbp]
lea rdx, [0x140028b10]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb r12, r12
and r12, r15
test r12, r12
je 0x1400063ab
mov rcx, r12
call fcn.14000ac20
cmp eax, 4
jl 0x140006296
movsxd rcx, eax
cmp byte [rcx + r12 - 4], 0x2e
jne 0x140006296
lea rbx, [rcx + r12 - 3]
lea rdx, [0x14001fd84]
mov rcx, rbx
call fcn.14000b4d0
test eax, eax
je 0x14000630b
lea rdx, [0x14001fd80]
mov rcx, rbx
call fcn.14000b4d0
test eax, eax
jne 0x140006296
mov edx, 0x3b
mov rcx, r12
call fcn.14000cd1c
test rax, rax
jne 0x140006296
mov rcx, r14
call fcn.14000ac20
mov rcx, r12
mov rdi, rax
call fcn.14000ac20
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.1400042a8
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000adc0
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, r12
call fcn.14000adc0
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x140006398
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x14000637c
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.1400042d4
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x140006296
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 8]
call fcn.14000432c
mov rcx, rbp
call fcn.14000432c
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140006548
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0x2a
mov rdi, rcx
call fcn.14000cd1c
test rax, rax
jne 0x14000656e
mov rax, rdi
jmp 0x1400065be
mov dl, 0x3b
mov rcx, rdi
call fcn.1400060f8
mov rcx, rax
mov rbx, rax
call fcn.1400063e8
mov dl, 0x3b
mov rcx, rbx
call fcn.140006034
mov rcx, rbx
mov rsi, rax
call fcn.140005fd8
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a6ec
test rax, rax
je 0x1400065bb
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.14000a584
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006768
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov rbp, r8
mov rdi, rdx
mov esi, ecx
je 0x1400068bf
cmp qword [rdx], 0xffffffffffffffff
je 0x1400068bf
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.14000d028
test rax, rax
js 0x1400068bf
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000bfe4
mov rbx, rax
test rax, rax
je 0x1400068bf
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.140018c38
movsxd rcx, eax
cmp rcx, r12
jne 0x1400068b7
cmp dword [rdi + 0x18], 0
jne 0x140006809
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x140006801
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x1400068c1
cmp dword [rdi + 0x18], 8
jne 0x1400068b7
mov eax, dword [rdi + 8]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x58
lea r8, str.1.2.8
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.140007aac
test eax, eax
js 0x1400068b7
mov rcx, qword [rdi]
inc rcx
call fcn.14000bfe4
mov rsi, rax
test rax, rax
je 0x1400068b7
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.140007c7c
mov rcx, rbx
test eax, eax
jns 0x14000688e
call fcn.14000a908
mov rcx, rsi
jmp 0x1400068ba
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000a908
lea rcx, [rsp + 0x20]
call fcn.1400092d4
test eax, eax
js 0x140006889
test rbp, rbp
je 0x1400068b2
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x1400068c1
mov rcx, rbx
call fcn.14000a908
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x140006960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea rdx, [r8 - 0x14]
xor r8d, r8d
mov edi, ecx
call fcn.14000d028
mov rsi, rax
test rax, rax
jns 0x14000698e
or rax, 0xffffffffffffffff
jmp 0x1400069ce
mov r8d, 0x14
mov rdx, rbx
mov ecx, edi
call fcn.140018c38
test eax, eax
js 0x140006988
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
or rax, 0xffffffffffffffff
cmp ecx, 0x7064b50
cmove rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400069e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rsi, rdx
mov edi, 2
mov rdx, 0xffffffffffffffea
mov r8d, edi
mov ebp, ecx
call fcn.14000d028
mov rbx, rax
test rax, rax
js 0x140006b70
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.140018c38
test eax, eax
js 0x140006b70
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140006a7d
mov rcx, rsi
call fcn.1400068e0
test eax, eax
je 0x140006a75
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.140006960
mov rbx, rax
mov rax, rbx
jmp 0x140006b74
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.14000d028
mov r13, rax
test rax, rax
js 0x140006b70
mov r12d, 0x10015
mov r8d, edi
mov ecx, ebp
cmp rax, r12
mov ebx, r12d
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.14000d028
test rax, rax
js 0x140006b70
mov ecx, r12d
call fcn.14000bfe4
mov rdi, rax
test rax, rax
je 0x140006b70
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.140018c38
test eax, eax
js 0x140006b68
movsxd r12, eax
add eax, 0xffffffea
movsxd rbx, eax
add r12, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140006b68
cmp byte [rbx], 0x50
jne 0x140006b3f
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140006b3f
movzx eax, byte [rbx + 0x15]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rbx + 0x14]
or rcx, rax
lea rax, [rcx + rbx + 0x16]
cmp rax, r12
je 0x140006b44
dec rbx
jmp 0x140006af6
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000adc0
mov rcx, rdi
call fcn.14000a908
sub rbx, r12
add rbx, r13
jmp 0x140006a59
mov rcx, rdi
call fcn.14000a908
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14000a524
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000a394

Function at 0x14000cd38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x14000cd62
call fcn.14000cab0
and dword [rax], 0
call fcn.14000ca90
mov ebx, 0x16
mov dword [rax], ebx
call fcn.14000dbac
mov eax, ebx
jmp 0x14000cdb2
test edx, 0xfffffff9
jne 0x14000cd45
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000cd8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000cad0
call fcn.14000ca90
mov eax, dword [rax]
jmp 0x14000cdb2
test al, 0x10
jne 0x14000cdb0
test al, 1
je 0x14000cdb0
test bl, 2
je 0x14000cdb0
call fcn.14000cab0
mov dword [rax], 5
call fcn.14000ca90
mov dword [rax], 0xd
jmp 0x14000cd82
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14001205f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400270d0]
jne 0x14000b4ba
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b4b6
repz ret
ror rcx, 0x10
jmp 0x140011fb8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400297a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140029898]
mov qword [rsp + 0x58], rax
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 0x14001203d
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, [0x1400297a0]
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 0x14001205f
mov rax, qword [rsp + 0x88]
mov qword [0x140029898], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140029838], rax
mov rax, qword [0x140029898]
mov qword [0x140029710], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140029820], rax
mov dword [0x140029700], 0xc0000409
mov dword [0x140029704], 1
mov rax, qword [0x1400270d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400270d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140029798], eax
mov ecx, 1
call fcn.1400166e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140023880]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140029798], 0
jne 0x1400120e6
mov ecx, 1
call fcn.1400166e4
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 0x140016734
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400270d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000dc08
xor ebx, ebx
cmp qword [0x140029ca0], rbx
mov rdi, rax
jne 0x140016847
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001691e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001691e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140029ca0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140029ca8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140029cb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140029cc0], rax
test rax, rax
je 0x14001683e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140029cb8], rax
jmp 0x14001684e
mov rax, qword [0x140029cb8]
jmp 0x140016855
mov rax, qword [0x140029cb8]
mov r11, qword [0x140029cc0]
cmp rax, rdi
je 0x1400168bc
cmp r11, rdi
je 0x1400168bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140029cc0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400168bc
test rax, rax
je 0x1400168bc
call rsi
test rax, rax
je 0x1400168b6
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400168b6
test byte [rsp + 0x40], 1
jne 0x1400168bc
bts ebp, 0x15
jmp 0x1400168fc
mov rcx, qword [0x140029ca8]
cmp rcx, rdi
je 0x1400168fc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400168fc
call rax
mov rbx, rax
test rax, rax
je 0x1400168fc
mov rcx, qword [0x140029cb0]
cmp rcx, rdi
je 0x1400168fc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400168fc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140029ca0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001691e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140016920
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b4a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001040
Capabilities:
Read file on windows
Write 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.11
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.1400087a0
mov r15d, eax
test eax, eax
je 0x1400010c3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140001c70
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.14000c9c8
mov r13, rax
test rax, rax
jne 0x1400010f9
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140001c30
jmp 0x14000125c
mov ecx, 0x2000
call fcn.14000c9c8
mov rbp, rax
test rax, rax
jne 0x140001127
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140001c30
jmp 0x14000125c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi]
mov eax, 0x2000
cmp r12, rax
mov rbx, r12
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14000bf20
cmp rax, rbx
jne 0x14000124e
mov rcx, qword [rdi]
call fcn.14000bc94
test eax, eax
jne 0x14000124e
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.140006c60
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001231
cmp eax, 2
je 0x14000122c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400011f3
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000c928
cmp rax, rbx
jne 0x1400011ee
mov rcx, r14
call fcn.14000bc94
test eax, eax
je 0x140001209
mov edi, r15d
jmp 0x140001231
test rsi, rsi
je 0x140001209
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000a7c0
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001190
cmp edi, 1
je 0x140001227
test r12, r12
je 0x140001231
mov rdi, qword [rsp + 0xc0]
jmp 0x140001140
xor r15d, r15d
jmp 0x140001254
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.140001c70
jmp 0x140001254
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.140008490
mov rcx, r13
call fcn.14000c9b4
mov rcx, rbp
call fcn.14000c9b4
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 0x1400012a0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov rax, qword [rcx]
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x1400012e8
add rcx, 0x78
lea rdx, [0x140025420]
call fcn.140002d90
mov qword [r14], rax
test rax, rax
jne 0x1400012e8
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001c70
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000c1f0
test eax, eax
jns 0x14000131f
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.140001c30
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x20], r15
call fcn.14000c9c8
mov r15, rax
test rax, rax
jne 0x140001354
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.140001c30
jmp 0x140001404
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
jne 0x140001385
mov r9, r15
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001040
test eax, eax
je 0x1400013f0
jmp 0x1400013e5
mov ebx, dword [rsi + 0xc]
mov rbp, r15
test rbx, rbx
je 0x1400013f0
mov r12d, 0x2000
nop word [rax + rax]
mov r9, qword [r14]
cmp rbx, r12
mov rdi, rbx
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.14000bf20
cmp rax, 1
jb 0x1400013ce
add rbp, rdi
sub rbx, rdi
jne 0x1400013a0
jmp 0x1400013f0
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140001c30
mov rcx, r15
call fcn.14000c9b4
xor r15d, r15d
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov rcx, qword [r14]
test rcx, rcx
je 0x140001418
call fcn.14000bc04
mov qword [r14], 0
mov rax, r15
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x140001430
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov r14, rcx
call fcn.140005480
cmp eax, 0xffffffff
jne 0x140001452
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
lea rcx, [r14 + 0x2078]
lea rbp, [rdi + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.1400057a0
mov r12, rax
test rax, rax
jne 0x140001497
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140001c30
lea eax, [r12 - 1]
jmp 0x140001625
mov rax, qword [r14]
test rax, rax
jne 0x1400014d0
lea rcx, [r14 + 0x78]
lea rdx, [0x140025420]
call fcn.140002d90
mov qword [r14], rax
test rax, rax
jne 0x1400014d0
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001c70
mov ebx, 0xffffffff
jmp 0x140001607
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000c1f0
test eax, eax
jns 0x140001506
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140001c30
mov ebx, 0xffffffff
jmp 0x140001607
cmp byte [rdi + 0x10], 1
jne 0x140001524
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r14
call fcn.140001040
mov ebx, eax
jmp 0x140001607
mov qword [rsp + 0x28], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x20], r15
mov ecx, r13d
call fcn.14000c9c8
mov r15, rax
test rax, rax
jne 0x140001565
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140001c30
lea ebx, [r15 - 1]
jmp 0x1400015fd
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x1400015f5
mov qword [rsp + 0x58], rsi
nop word [rax + rax]
mov r9, qword [r14]
cmp rdi, r13
mov rsi, rdi
mov r8d, 1
cmova rsi, r13
mov rcx, r15
mov rdx, rsi
call fcn.14000bf20
cmp rax, 1
jb 0x1400015d5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r15
call fcn.14000c928
cmp rax, 1
jb 0x1400015c5
sub rdi, rsi
jne 0x140001580
jmp 0x1400015f0
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400015e3
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.140001c30
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r15
call fcn.14000c9b4
mov r13, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000161b
call fcn.14000bc04
mov qword [r14], 0
mov rcx, r12
call fcn.14000bc04
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret