joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a510
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rax
mov rbp, rsp
push r10
push r9
push r8
push rdx
push rax
push rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x10]
movabs rcx, 0x1a4f0
mov qword [rbp], rcx
mov rcx, qword [rbp]
mov r8, qword [rcx + rax + 8]
mov rdx, qword [rcx + rax + 0x10]
mov qword [rcx + rax + 0x10], 0
lea r9, [rax + rdx]
add r9, r8
add r9, 0xfffffffffffffffc
add r8, rax
cmp r8, r9
jae 0x14001a58f
add rdx, rax
add rdx, 0xfffffffffffffffc
nop word [rax + rax]
mov r9d, dword [rcx + rax + 0x18]
xor dword [r8], r9d
mov r9, r8
add r9, 4
mov r10, qword [rcx + rax + 8]
add r10, rdx
mov r8, r9
cmp r9, r10
jb 0x14001a570
mov edx, dword [rcx + rax + 0x18]
mov rcx, qword [rcx + rax]
mov dword [rcx + rax], edx
pop rcx
pop rax
pop rdx
pop r8
pop r9
pop r10
add rsp, 8
pop rbp
ret

Function at 0x14001a600
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rax
mov rbp, rsp
push r10
push r9
push r8
push rdx
push rax
push rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x10]
movabs rcx, 0x1a5e0
mov qword [rbp], rcx
mov rcx, qword [rbp]
mov r8, qword [rcx + rax + 8]
mov rdx, qword [rcx + rax + 0x10]
mov qword [rcx + rax + 0x10], 0
lea r9, [rax + rdx]
add r9, r8
add r9, 0xfffffffffffffffc
add r8, rax
cmp r8, r9
jae 0x14001a67f
add rdx, rax
add rdx, 0xfffffffffffffffc
nop word [rax + rax]
mov r9d, dword [rcx + rax + 0x18]
xor dword [r8], r9d
mov r9, r8
add r9, 4
mov r10, qword [rcx + rax + 8]
add r10, rdx
mov r8, r9
cmp r9, r10
jb 0x14001a660
mov edx, dword [rcx + rax + 0x18]
mov rcx, qword [rcx + rax]
mov dword [rcx + rax], edx
pop rcx
pop rax
pop rdx
pop r8
pop r9
pop r10
add rsp, 8
pop rbp
ret

Function at 0x14001a6f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rax
mov rbp, rsp
push r10
push r9
push r8
push rdx
push rax
push rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x10]
movabs rcx, 0x1a6d0
mov qword [rbp], rcx
mov rcx, qword [rbp]
mov r8, qword [rcx + rax + 8]
mov rdx, qword [rcx + rax + 0x10]
mov qword [rcx + rax + 0x10], 0
lea r9, [rax + rdx]
add r9, r8
add r9, 0xfffffffffffffffc
add r8, rax
cmp r8, r9
jae 0x14001a76f
add rdx, rax
add rdx, 0xfffffffffffffffc
nop word [rax + rax]
mov r9d, dword [rcx + rax + 0x18]
xor dword [r8], r9d
mov r9, r8
add r9, 4
mov r10, qword [rcx + rax + 8]
add r10, rdx
mov r8, r9
cmp r9, r10
jb 0x14001a750
mov edx, dword [rcx + rax + 0x18]
mov rcx, qword [rcx + rax]
mov dword [rcx + rax], edx
pop rcx
pop rax
pop rdx
pop r8
pop r9
pop r10
add rsp, 8
pop rbp
ret
Function at 0x140001000
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
lea rdx, [0x1400022d0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001060
nop
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140001050
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x1b
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0x1b
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001020

Function at 0x140001b6c
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fdiv qword [rsp + rax*2 + 0x11]
invalid
adc dword [rbx - 0x39], esp
invalid
imul ebp, dword [rdi], 0x30774855
invalid
enter 0x711c, 0x27
sbb dword [rsi - 0x191e1f70], edi
push rdx
movabs eax, dword [0xee92dfa62ba231f3]
ret 0xa02
add cl, byte [rdx]
add cl, byte [rdx]
ja 0x14003f655
xlatb
invalid
mov eax, 0xe7306999
sub r11b, byte [rsi + 0x7d7e8313]
ret 0x2cae
mov dh, 0x4f
xchg ebx, eax
ficom word [rax]
invalid
movsd dword [rdi], dword [rsi]
jg case.0x140007272.6
test eax, 0xa4af84b3
in eax, 0x80
xchg edx, eax
adc al, 0xb
fidiv word [rax - 0x20]
je 0x14003f73c
or byte [rcx - 0x6c7786b0], bh
fsub qword [rax]
jnp 0x14003f717
mov byte [rbx + 0x97b20dc], dl
mov dh, 0x21
cmp al, 0xfa
rcr byte [rsi + 1], cl
test al, 0
add dword [rax + 0x59f2f300], ebp
pop rcx
popfq
ret 0x3818
pop rsi
sbb eax, 0xbb3dc77a
invalid
Function at 0x140001e0c
Capabilities:
Parse pe header

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

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

Function at 0x1400b99bd
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
dec eax
mov qword [rsp + rcx - 0xfd7881b], rsi
xor dword [rsp + rcx*4 - 0x3f5e20cc], eax
mov rsi, qword [rsp + rcx - 0xfd7881b]
lea r10, [r9 + rcx + 0x6537ccb2]
movsxd rax, eax
push rcx
add rbp, rax
lea rax, [r9 + rbx*2 + 0x22ab7c84]
call fcn.1400f04f5
mov edx, 0x919ca29b
mov rbx, qword [r11]
mov rcx, qword [r11 + 8]
and edx, 0x6407a58d
push rdx
movsx r10d, word [rsp + rdx*2 - 0x9410e]
lea r11, [r11 + rdx - 0x4a081]
push rdx
adc rbx, rcx
mov qword [rdx + r11 - 0x4a089], rbx
lea r8, [r8 + r10 - 4]
mov ecx, 0xb583c925
mov ecx, dword [r8 + rdx - 0x4a089]
xor ecx, esi
mov ebx, 0x80b88f2a
rol bl, 0x83
xor ecx, 0x22b94694
ror ecx, 1
lea r9, [rdx + rbx - 0xcfd3256]
xor ecx, 0xfb03a713
xchg byte [rsp + rdx*2 - 0x9410c], r10b
not ecx
sub bl, bl
setb dl
rol r9b, 0xe4
mov qword [rsp + rdx - 0x49ff8], rsi
push rbx
add edx, r9d
xor dword [rsp + r10*2 + 0x10], ecx
movsx esi, dl
movsx eax, si
mov rsi, qword [rsp + r10 + 0x10]
call fcn.1400fb3dd

Function at 0x1400dacea
Capabilities:
Authenticate hmac

Disassembly:
mov word [rbp + rdx - 0x5d99040a], bx
mov qword [rsp + rdx - 0x5d99040a], r10
lea rsi, [rsi + rdx - 0x5d99040e]
call fcn.1400e7bfd
Function at 0x140064840
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140354fc0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x140354c91], 0
je 0x140064876
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140355300]
aesenc xmm0, xmmword [0x140355310]
aesenc xmm0, xmmword [0x140355320]
movq rax, xmm0
ret
jmp 0x14000a520

Function at 0x140130270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402fc180]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140130290
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140130298
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140130290
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1401302e5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401302dc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140130290
add rax, 0x28
cmp rax, r9
jne 0x1401302c8
xor eax, eax
ret

Function at 0x1401302f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402fc180]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140130310
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140130318
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140130310
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1401303a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402fc180]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401303c0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1401303c8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140011700
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409f0e34]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140011890
mov rax, qword [0x1409f0e38]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001174c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400117d5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140011730
mov rcx, rdi
call fcn.140012260
test rax, rax
mov r12, rax
je 0x1400118e2
mov rax, qword [0x1409f0e38]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400123a0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409f0e38]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400118c5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400117ce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140011840
add dword [0x1409f0e34], 1
cmp ebx, 8
jae 0x140011801
test bl, 4
jne 0x1400118a0
test ebx, ebx
je 0x1400117f6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400118b4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400117f6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001181a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409f0e38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400117ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140011690
xor esi, esi
jmp 0x140011757
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400117f6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400117f6
mov rax, qword [0x1409f0e38]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140011690
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140011690
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011eb0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409f0ea0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409f0e80]
test rbx, rbx
je 0x140011f04
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 0x140011efb
test rsi, rsi
je 0x140011efb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011ee0
lea rcx, [0x1409f0ea0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012260
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409e9810]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400122cf
mov rcx, r9
call fcn.140012130
test eax, eax
je 0x1400122cf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400122cd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400122c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400122cf
add rdx, 0x28
cmp rdx, r9
jne 0x1400122b0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001c750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013090

Function at 0x14001c760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013090
Function at 0x140001050
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.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.14000b410
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.140002ad0
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.140010d94
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.140002830
jmp 0x140001277
mov ecx, 0x2000
call fcn.140010d94
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.140002830
jmp 0x140001277
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.14000df78
cmp rax, rbx
jne 0x140001269
mov rcx, rdi
call fcn.14000dcbc
test eax, eax
jne 0x140001269
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.140009890
mov edi, eax
mov r15d, 0xffffffff
cmp eax, 0xfffffffc
jl 0x1400011d5
cmp eax, 0xfffffffe
jle 0x140001208
cmp eax, 2
je 0x14000125d
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001225
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.14000e4a0
cmp rax, rbx
jne 0x140001205
mov rcx, r14
call fcn.14000dcbc
test eax, eax
je 0x14000123b
mov edi, r15d
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.140002ad0
jmp 0x14000126f
test rsi, rsi
je 0x14000123b
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000c990
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001264
test r12, r12
je 0x140001208
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
mov edi, 0xfffffffd
jmp 0x140001208
xor r15d, r15d
jmp 0x14000126f
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000b0e0
mov rcx, r13
call fcn.140010d80
mov rcx, rbp
call fcn.140010d80
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.14000bbb0
sub rsp, rax
mov rax, qword [0x140038018]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x1400267c4]
mov ebp, 0xffffffff
call fcn.140003f50
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.140002ad0
xor ebx, ebx
jmp 0x14000143a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.14000e248
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.140002830
mov rcx, r14
call fcn.14000dc2c
xor ebx, ebx
jmp 0x14000143a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.140010d94
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.140002830
mov rcx, r14
call fcn.14000dc2c
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.14000dc2c
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.140007670
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.140001e90
cmp eax, 0x1000
jge 0x140001422
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400040f0
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.140010d80
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000bc20
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.14000df78
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.140002830
mov ebp, 0xffffffff
mov rcx, r12
call fcn.140010d80
mov rcx, r14
call fcn.14000dc2c
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, [0x1400267c4]
xor r14d, r14d
call fcn.140003f50
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.140002ad0
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.14000e248
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.140002830
jmp 0x1400016ef
mov ecx, dword [rsi + 0xc]
call fcn.140010d94
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.140002830
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.14000df78
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.140002830
mov rcx, r14
call fcn.140010d80
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000dc2c
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret