joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f3c20
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, str.cw
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 1
mov ecx, r8d
ror ecx, 8
xor ecx, 1
movd xmm2, r8d
movd xmm0, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm2, r8d
movd xmm1, eax
punpckldq xmm2, xmm1
movd xmm0, ecx
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
pxor xmm0, xmm4
punpcklqdq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xaa
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret
Function at 0x140131000
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
xchg r9, rbx
mov qword [rsp + 0x20], rbx
xchg r9, rbx
mov qword [rsp + 0x18], r8
xchg rdx, r9
mov qword [rsp + 0x10], r9
jne 0x140131042
je 0x140131042
jb 0x140131ed1
lea ecx, [rdx + 0x25de]
pause
pushfq
or r10d, 0x7766cea
rol edi, 0x99
popf
cpuid
pause
jmp 0x1401313c2
jmp 0x14013105f
xchg rdx, r9
xchg rdi, rcx
mov qword [rsp + 8], rdi
xchg rdi, rcx
jmp 0x14013108f
nop
sub rsp, 8
mov qword [rsp], rbp
jmp 0x14013109d
push rbx
nop
mov qword [rsp - 8], rdi
jmp 0x14013112b
sub rsp, 8
nop
test edx, esi
invalid
add eax, dword [rax]
add byte [rdi], cl
invalid
Function at 0x140003690
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400036cb
xor eax, eax
jmp 0x1400037f0
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140003705
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x140003705
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1400037f0
cmp qword [rbx + 0x80], 0
je 0x1400037ee
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003740
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003760
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.14000b7e0
cmp eax, edi
jmp 0x1400037eb
lea r8, [rbp + 0xf]
mov byte [rbp + 7], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 8]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x1400212b8]
test eax, eax
je 0x1400037b5
sub eax, 1
je 0x1400037b5
cmp eax, 2
jne 0x1400037ee
movsx ecx, byte [rbp + 7]
jmp 0x14000374d
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x1400037df
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.14000c0f4
cmp r14, rax
jne 0x1400037ee
lea rax, [rbp + 7]
mov byte [rbx + 0x71], 1
cmp qword [rbp + 0x17], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400051e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140003f50
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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140003f7e
xor eax, eax
jmp 0x140004064
cmp qword [rcx + 0x68], 0
je 0x140003f8f
call fcn.140004080
jmp 0x140004064
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003fa6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003fa8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003fda
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14001f420
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000405e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140004011
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000403a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000bb94
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000405e
cmp rsi, rbx
ja 0x140004018
test rsi, rsi
je 0x14000405e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000bb94
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140004144
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140004173
call fcn.140004204
jmp 0x1400041ea
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000418a
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000418c
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400041e4
test ecx, ecx
jle 0x1400041c5
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.14001f420
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400041e4
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400041e4
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14000c0f4
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140006070
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000e378

Function at 0x14001f020
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f048
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f048
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x30
mov r14, rdx
mov rsi, r8
lea rdx, [0x1400287d4]
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.140003fa0
mov rbp, rax
test rax, rax
jne 0x14000107f
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002080
xor edi, edi
jmp 0x140001154
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, rbp
call fcn.14000f0a8
test eax, eax
jns 0x1400010c6
call fcn.1400133e0
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.140002260
mov rcx, rbp
call fcn.14000eabc
xor edi, edi
jmp 0x140001154
mov ecx, dword [r14 + 0xc]
mov qword [rsp + 0x60], r12
call fcn.14001341c
mov r12, rax
mov rdi, rax
test rax, rax
jne 0x14000110f
mov ebx, dword [r14 + 0xc]
call fcn.1400133e0
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.140002260
mov rcx, rbp
call fcn.14000eabc
jmp 0x14000114f
cmp byte [r14 + 0x10], 1
mov qword [rsp + 0x68], r15
jne 0x140001170
mov r9, r12
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.140001200
test eax, eax
jne 0x1400011da
mov rcx, rbp
call fcn.14000eabc
mov rdx, rsi
mov rcx, r12
call fcn.1400040d0
mov r13d, eax
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, rdi
call fcn.140013408
mov rbx, qword [rsp + 0x78]
mov eax, r13d
add rsp, 0x30
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov ebx, dword [r14 + 0xc]
mov r15, r12
test rbx, rbx
je 0x140001134
mov eax, 0x2000
cmp rbx, rax
mov rsi, rbx
mov r9, rbp
mov r8d, 1
cmova rsi, rax
mov rcx, r15
mov rdx, rsi
call fcn.14000edd8
cmp rax, 1
jb 0x1400011bc
add r15, rsi
mov eax, 0x2000
sub rbx, rsi
jne 0x140001181
mov rsi, qword [rsp + 0x70]
jmp 0x140001134
call fcn.1400133e0
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.140002260
mov rcx, r12
call fcn.140013408
mov rcx, rbp
call fcn.14000eabc
xor edi, edi
jmp 0x14000114a
Function at 0x140001200
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.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.14000c040
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.140002080
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.14001341c
mov r13, rax
test rax, rax
jne 0x1400012c0
call fcn.1400133e0
lea r9, [rbx + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002260
jmp 0x14000141c
mov ecx, 0x2000
call fcn.14001341c
mov rbp, rax
test rax, rax
jne 0x1400012f5
call fcn.1400133e0
lea r9, [rbx + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002260
jmp 0x14000141c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
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.14000edd8
cmp rax, rbx
jne 0x14000140e
mov rcx, rdi
call fcn.14000eb4c
test eax, eax
jne 0x14000140e
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop dword [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.14000a4b0
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.14000f300
cmp rax, rbx
jne 0x1400013ae
mov rcx, r14
call fcn.14000eb4c
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.14000d5b0
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 0x140001301
xor r15d, r15d
jmp 0x140001414
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.140002080
jmp 0x140001414
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000bd10
mov rcx, r13
call fcn.140013408
mov rcx, rbp
call fcn.140013408
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 0x140001460
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, [0x1400287d4]
xor r14d, r14d
call fcn.140003fa0
mov r15, rax
test rax, rax
jne 0x1400014ac
lea rdx, [rbp + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002080
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.14000f0a8
test eax, eax
jns 0x1400014e8
call fcn.1400133e0
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.140002260
jmp 0x1400015c6
mov ecx, dword [rbp + 0xc]
call fcn.14001341c
mov r14, rax
test rax, rax
jne 0x140001522
mov ebx, dword [rbp + 0xc]
call fcn.1400133e0
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.140002260
jmp 0x1400015c6
cmp byte [rbp + 0x10], 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
jne 0x14000154e
mov r9, r14
xor r8d, r8d
mov rdx, rbp
mov rcx, r15
call fcn.140001200
test eax, eax
je 0x1400015b7
jmp 0x1400015ac
mov ebx, dword [rbp + 0xc]
mov rsi, r14
test rbx, rbx
je 0x1400015b7
mov r12d, 0x2000
nop
cmp rbx, r12
mov rdi, rbx
mov r9, r15
mov r8d, 1
cmova rdi, r12
mov rcx, rsi
mov rdx, rdi
call fcn.14000edd8
cmp rax, 1
jb 0x14000158e
add rsi, rdi
sub rbx, rdi
jne 0x140001560
jmp 0x1400015b7
call fcn.1400133e0
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.140002260
mov rcx, r14
call fcn.140013408
xor r14d, r14d
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rcx, r15
call fcn.14000eabc
mov rbx, qword [rsp + 0x68]
mov rax, r14
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x1400015e0
Capabilities:
Read file on windows
Write 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.140002080
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x1400288cc]
mov qword [rsp + 0x60], r12
mov rcx, r8
call fcn.140003fa0
mov r12, rax
test rax, rax
jne 0x140001662
call fcn.1400133e0
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.140002260
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rdx, [0x1400287d4]
mov qword [rsp + 0x20], r15
mov rcx, rbx
call fcn.140003fa0
mov r15, rax
test rax, rax
jne 0x140001697
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002080
lea ebx, [r15 - 1]
jmp 0x140001801
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r15
call fcn.14000f0a8
test eax, eax
jns 0x1400016d8
call fcn.1400133e0
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.140002260
mov ebx, 0xffffffff
jmp 0x1400017f9
cmp byte [rdi + 0x10], 1
jne 0x1400016f6
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001200
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.14001341c
mov r14, rax
test rax, rax
jne 0x14000173f
call fcn.1400133e0
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.140002260
lea ebx, [r14 - 1]
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.14000edd8
cmp rax, 1
jb 0x1400017ba
mov r9, r12
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.14000f300
cmp rax, 1
jb 0x1400017a5
sub rsi, rbp
jne 0x140001760
jmp 0x1400017dd
call fcn.1400133e0
lea r8, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x1400017cd
call fcn.1400133e0
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.140002260
mov ebx, 0xffffffff
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call fcn.140013408
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000eabc
mov rcx, r12
call fcn.14000eabc
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140001d00
Capabilities:
Print debug messages

Disassembly:
push rbx
mov eax, 0x2030
call fcn.14000c9d0
sub rsp, rax
mov rax, qword [0x14003d070]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rbx, rcx
call fcn.1400096a0
mov ecx, 2
test rax, rax
je 0x140001d64
call fcn.140013730
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [0x140028b40]
call fcn.140001e50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140001d84
call fcn.140013730
mov rcx, rax
lea rdx, str._s__ANSI_fallback_
mov r8, rbx
call fcn.140001e00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000c7f0
add rsp, 0x2030
pop rbx
ret

Function at 0x140001f80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2040
call fcn.14000c9d0
sub rsp, rax
mov rax, qword [0x14003d070]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rsi, rcx
lea r14, [rsp + 0x2078]
lea rdi, [rsp + 0x30]
mov ebx, 0x1000
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._PYI__d:_ls_
lea rax, str.DEBUG
mov edx, ebx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140001da0
xor ebp, ebp
test eax, eax
js 0x14000200c
movsxd rcx, eax
lea rdi, [rsp + 0x30]
sub ebx, eax
cmovs ebx, ebp
lea rdi, [rdi + rcx*2]
movsxd rbx, ebx
call fcn.140001020
mov qword [rsp + 0x28], r14
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov rcx, qword [rax]
or rcx, 1
call fcn.140013320
mov ecx, 2
call fcn.140013730
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [0x140028b40]
call fcn.140001e50
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14000c7f0
add rsp, 0x2040
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002160
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2040
call fcn.14000c9d0
sub rsp, rax
mov rax, qword [0x14003d070]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rsi, rcx
lea r14, [rsp + 0x2078]
lea rdi, [rsp + 0x30]
mov ebx, 0x1000
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._PYI__d:_ls_
lea rax, str.ERROR
mov edx, ebx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140001da0
xor ebp, ebp
test eax, eax
js 0x1400021ec
movsxd rcx, eax
lea rdi, [rsp + 0x30]
sub ebx, eax
cmovs ebx, ebp
lea rdi, [rdi + rcx*2]
movsxd rbx, ebx
call fcn.140001020
mov qword [rsp + 0x28], r14
mov r9, rsi
mov r8, rbx
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov rcx, qword [rax]
or rcx, 1
call fcn.140013320
mov ecx, 2
call fcn.140013730
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [0x140028b40]
call fcn.140001e50
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14000c7f0
add rsp, 0x2040
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret