joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400188c0
Capabilities:
Write file on windows

Disassembly:
mov edx, 1
mov rax, rcx
mov ecx, dword [rcx - 4]
shl edx, cl
mov dword [rax + 4], ecx
lea rcx, [rax - 4]
mov dword [rax + 8], edx
jmp fcn.14001a440

Function at 0x14001a440
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
je 0x14001a486
cmp dword [rcx + 8], 9
jle 0x14001a460
add rsp, 0x20
pop rbx
jmp fcn.14001b3e8
xor ecx, ecx
call fcn.14001a220
movsxd rdx, dword [rbx + 8]
lea rax, [0x1408809a0]
cmp dword [0x1408809f0], 2
mov rcx, qword [rax + rdx*8]
mov qword [rax + rdx*8], rbx
mov qword [rbx], rcx
je 0x14001a490
add rsp, 0x20
pop rbx
ret
lea rcx, [0x140880a00]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14001d290
Capabilities:
Write file on windows

Disassembly:
mov rax, qword [rcx + 8]
test rax, rax
mov rdx, rcx
je 0x140013a08
mov ecx, 1
jmp rax
ret
sub rsp, 0x28
call fcn.14001d3c0
mov rcx, qword [rax]
test rcx, rcx
je 0x14001d2c9
movabs rdx, 0xb8b1aabcbcd4d500
add rdx, qword [rcx + 0x50]
cmp rdx, 1
ja 0x14001d2e0
mov edx, dword [rcx + 0x28]
test edx, edx
js 0x14001d2d0
sub edx, 1
je 0x14001d2f8
cmp edx, 0xffffffff
je 0x14001d30c
mov dword [rcx + 0x28], edx
add rsp, 0x28
ret
add edx, 1
jne 0x14001d2c6
mov r8, qword [rcx + 0x20]
mov qword [rax], r8
jmp 0x14001d2c6
add rcx, 0x50
mov qword [rax], 0
add rsp, 0x28
jmp 0x1400139f0
mov rdx, qword [rcx + 0x20]
add rcx, 0x50
mov qword [rax], rdx
add rsp, 0x28
jmp 0x1400139f0
call fcn.14001cf50
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
mov rax, qword [0x140868f18]
cmp rax, rcx
jae 0x14001d350
add rax, qword [0x140868f20]
cmp rcx, rax
jae 0x14001d350
call fcn.14001c1a0
nop
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001b3e8

Function at 0x14001d320
Capabilities:
Write file on windows

Disassembly:
mov rax, qword [rcx + 8]
test rax, rax
mov rdx, rcx
je 0x140013a08
mov ecx, 1
jmp rax
ret
sub rsp, 0x28
call fcn.14001d3c0
mov rcx, qword [rax]
test rcx, rcx
je 0x14001d2c9
movabs rdx, 0xb8b1aabcbcd4d500
add rdx, qword [rcx + 0x50]
cmp rdx, 1
ja 0x14001d2e0
mov edx, dword [rcx + 0x28]
test edx, edx
js 0x14001d2d0
sub edx, 1
je 0x14001d2f8
cmp edx, 0xffffffff
je 0x14001d30c
mov dword [rcx + 0x28], edx
add rsp, 0x28
ret
add edx, 1
jne 0x14001d2c6
mov r8, qword [rcx + 0x20]
mov qword [rax], r8
jmp 0x14001d2c6
add rcx, 0x50
mov qword [rax], 0
add rsp, 0x28
jmp 0x1400139f0
mov rdx, qword [rcx + 0x20]
add rcx, 0x50
mov qword [rax], rdx
add rsp, 0x28
jmp 0x1400139f0
call fcn.14001cf50
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
mov rax, qword [0x140868f18]
cmp rax, rcx
jae 0x14001d350
add rax, qword [0x140868f20]
cmp rcx, rax
jae 0x14001d350
call fcn.14001c1a0
nop
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001b3e8

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

Disassembly:
lea rcx, [0x140868f60]
jmp 0x140013cd0

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

Disassembly:
lea rcx, [0x140868f60]
jmp 0x140013cd0
Function at 0x1408a03c0
Capabilities:
Terminate process

Disassembly:
lea rdx, [rdx - 0x35cdbe71]
jo 0x14096b772
add byte [rsp + 0x30], 0x24
push r9
je fcn.140940493
push 0x5da55597
xchg qword [rsp + 0x48], rdx
push qword [rsp + 0x38]
popfq
lea rsp, [rsp + 0x48]
ret

Function at 0x1408a189a
Capabilities:
Terminate process

Disassembly:
mov rdi, rdx
jb 0x14091a750
jbe fcn.1409461e2
shr r9w, 0x7b
movabs r15, 0xa2281a8b5d815392
mov rsi, qword [rsp + 0x28]
call fcn.1409721b5

Function at 0x1408a7ba6
Capabilities:
Encode data using base64
Packed with generic packer

Disassembly:
nop
xor r12d, 0x469ab989
movabs rdx, 0xb23b6118201d55ad
jae 0x140931b14
xchg esi, esi
xchg eax, edx
xchg ebx, eax
pop rsp
invalid
and dword [rsp + 0x20], 0xef13bd9a
xchg qword [rsp + 0x40], rdx
push qword [rsp + 0x30]
popfq
lea rsp, [rsp + 0x40]
ret
jl 0x14088ca52
and esi, dword [rsp + 0x38]
xchg qword [rsp + r12 - 0x469ab966], rdx
mov rsi, qword [rsp]
setno r8b
jno 0x140994022
jne 0x14097ce54
je 0x14088f215
and r8, 0xffffffffc392d4ad
mov rdx, qword [rsp + r12 - 0x469ab97e]
mov rdx, qword [rdx + r12 - 0x469ab9ae]
mov r8d, 0xf3a2212f
movzx r8w, r8b
movabs rcx, 0x4407fb365104e936
jno 0x1409c1552
or byte [rsp + 0x38], 0x3e
test r12b, cl
bswap ecx
mov rcx, qword [rsp + r12 - 0x469ab99e]
call fcn.1409b6634
mov qword [rsp + 0x30], r8
shr dword [rsp + 0x30], cl
cmp r12b, 0x8f
push rsi
lea rdx, [rdx + r12 - 0x657140ac]
movabs rsi, 0xa1384e8dcb36c925
ja 0x1408a7efb
push rdx
call fcn.14095cb83
not r15w
or r15w, r15w
call fcn.1409c5ee9
fisttp dword [rax]
retf 0x9fec

Function at 0x1408fb728
Capabilities:
Terminate process

Disassembly:
jl fcn.14093c669
lea rdi, [rdi + rsi - 0x2b037ca1]
add qword [rsp + rsi*8 + 0x56520e88], 0xc007
add esi, dword [rsp + rsi*2 + 0x159483b1]
and sil, byte [rsp + 0x10]
setno sil
xchg qword [rsp + 0x28], rdi
mov rsi, qword [rsp + 0x20]
neg byte [rsp + 0x10]
xor dword [rsp + 0x10], 0x66846a07
lea rsp, [rsp + 8]
ret 8

Function at 0x140900cc2
Capabilities:
Encode data using xor

Disassembly:
mov rsi, qword [rsp + 0x28]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rbp
call fcn.1408a0d89
xchg ebp, eax
xor dh, byte [rcx - 0x7c43a170]
imul esp, dword [rax], 0x5a7b3c96
int1
test esp, esi
invalid

Function at 0x140912162
Capabilities:
Authenticate hmac
Packed with generic packer

Disassembly:
call fcn.1409085d8
movzx di, r14b
call fcn.140925b29

Function at 0x140912195
Capabilities:
Authenticate hmac

Disassembly:
shl dword [rsp + 0x60], 0xbf
mov r8, qword [rsp + 0x68]
test r12b, r12b
jne 0x14093d82b

Function at 0x14092623a
Capabilities:
Authenticate hmac

Disassembly:
xchg qword [rsp + r9 - 0x73a826af], rcx
mov r11, qword [rsp + r9 - 0x73a826e7]
jl 0x140967bc4
jne 0x140957975
push rax
push r15
push r11
pushfq
movabs r15, 0x6683daae5434c6ab
sub r15, 0x50975522
jb 0x1409207cf
jb 0x14088d672
mov rax, qword [rsp + 0x20]
lea r15, [r15*8 - 0x1f76fc4a]
jb 0x14095d491

Function at 0x14092beba
Capabilities:
Encode data using base64

Disassembly:
js 0x14091986c
test r8d, 0xc3888bbb
mov r11, rdi
movabs rsi, 0xfa9901a1b001a7ab
add qword [rsp], 0xc7081
movabs rdx, 0xa50d82ad7c824701
add qword [rsp + 0x18], 0x9a49c
call fcn.140942df7
Function at 0x140959141
Capabilities:
Terminate process

Disassembly:
setge byte [rsp + 0x38]
jb 0x1409914f4
push qword [rsp + 0x48]

Function at 0x14096b760
Capabilities:
Terminate process

Disassembly:
add qword [rsp + 0x30], 0xb9927
add qword [rsp], 0xa8f4f
xor bp, 0xb3a2
mov rsi, rbp
jb sub.msvcrt.dll__wcsicmp
setae bpl
movabs rax, 0x7ab7720effb722a2
call fcn.140919864

Function at 0x14096c0d2
Capabilities:
Encode data using xor

Disassembly:
push rdx
or r9w, 0x6e99
push r14
movabs r14, 0x6f9425a848127729
xor r9, 0x418a9ea4
add qword [rsp + 0x28], 0x137b8
mov rdx, r9
call fcn.140997591
lea rax, [rax + 1]
push r9
pushfq
movabs r9, 0xc58aaf914632828c
add r9d, r9d
sub r9, 0xffffffffe20d55a9
jl 0x14094062d
mov qword [rsp + 0x30], rax
jb 0x14093d781

Function at 0x140970691
Capabilities:
Encode data using base64

Disassembly:
add qword [rsp + 0x30], 0xfffffffffff8d1c3
mov rcx, rdi
sub ecx, 0x8e8feb1e
lea rdi, [rdi + rdi*4 + 0x1da665aa]
jb 0x14090c88d

Function at 0x140973be9
Capabilities:
Encode data using xor

Disassembly:
lea rbx, [rbx + 1]
call fcn.1409b431f
or dword [rsi - 0x9a0235b], edx
invalid

Function at 0x140998df4
Capabilities:
Terminate process

Disassembly:
not qword [rsp + rdi*2 + 0xe62bfe6]
call fcn.14092cee8
mov rbx, qword [rsp + 0x20]
mov rbx, qword [rbx]
mov r12w, 0xfb8

Function at 0x1409b0b2b
Capabilities:
Encode data using xor

Disassembly:
lea rbx, [rbx + 1]
xor r11d, 0xd3b45b4
shr r11, 1
jne 0x1408a285e
jae 0x140891b15

Function at 0x1409c8efd
Capabilities:
Encode data using xor

Disassembly:
or qword [rsp + r8 - 0xc8339b9], rbp
mov r9, qword [rsp + r13*2 - 0x6777fe4c]
add r8w, word [rsp + r8 - 0xc8339dd]
shl r13, 0x5e
and r9, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
shr r8w, 0x6b
shl r13, 0xbf
jb 0x1409a9f12
bswap r11
shr dil, 0xf
bswap r11
add qword [rsp + 0x20], 0xfffffffffff36313
or si, 0xd6ba
jno 0x140992acd
movsx r12d, r11w
lea rcx, [rcx*2 - 0x5ccd1ed7]
not r11b
mov r11, qword [rsp + r12 - 0x31]
jbe fcn.1409691a4
lea r12, [r15*4 - 0x49fd2565]
not r15
add qword [rsp + 8], 0xffffffffbf7689dd
lea rcx, [r15*2 + 0x2e12a5aa]
sub r12, qword [rsp + 0x20]
mov r15, qword [rsp + 0x18]
js 0x1408a28d1

Function at 0x14140c8a1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
inc r9w
bsr bx, r8w
sub r9d, r10d
mov qword [rsp + 0x10], rdi
mov r10b, 0x14
sub edi, edi
movzx ebx, r8b
movzx r10, r11w
mov r11, rcx
mov r8b, al
mov r8, rdi
nop
movzx r9d, byte [r11]
movsx r10d, r13w
not r10w
movzx r10d, byte [rdx]
inc r11
inc rdx
test bpl, r11b
test bl, bl
je 0x14140c91c
mov ecx, r8d
movsx ax, bl
btr ax, 0x93
mov eax, 0x808c1620
jmp 0x14140c905
rol eax, cl
cmc
clc
add al, r8b
jmp 0x14140c911
xor r9b, al
jmp 0x14140c919
inc r8
test r9b, r9b
jmp 0x14140c924
je 0x14140c933
cmp r9b, r10b
je 0x14140c8ce
cmp r9b, r10b
jmp 0x14140c93b
jae 0x14140c95f
or eax, 0xffffffff
bswap rdi
mov rbx, qword [rsp + 8]
mov edi, r15d
jmp 0x14140c954
mov rdi, qword [rsp + 0x10]
jmp 0x14140c95e
ret
mov rbx, qword [rsp + 8]
jmp 0x14140c969
seta dil
movsx eax, bx
not eax
mov eax, edi
movsxd rdi, edx
movsx di, r10b
mov dil, r9b
mov rdi, qword [rsp + 0x10]
jmp 0x14140c989
ret
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.14000aa00
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.140001fb0
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.140011384
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.140001f70
jmp 0x14000126c
mov ecx, 0x2000
call fcn.140011384
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.140001f70
jmp 0x14000126c
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.14000d998
cmp rax, rbx
jne 0x14000125e
mov rcx, rdi
call fcn.14000d70c
test eax, eax
jne 0x14000125e
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.140008e50
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001241
cmp eax, 2
je 0x14000123c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001203
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000dec0
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000d70c
test eax, eax
je 0x140001219
mov edi, r15d
jmp 0x140001241
test rsi, rsi
je 0x140001219
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000bf30
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001237
test r12, r12
je 0x140001241
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x140001264
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.140001fb0
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000a6e0
mov rcx, r13
call fcn.140011370
mov rcx, rbp
call fcn.140011370
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.14000b170
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x140026744]
mov ebp, 0xffffffff
call fcn.140003160
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.140001fb0
xor ebx, ebx
jmp 0x14000143a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.14000dc68
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.140001f70
mov rcx, r14
call fcn.14000d67c
xor ebx, ebx
jmp 0x14000143a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.140011384
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.140001f70
mov rcx, r14
call fcn.14000d67c
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.14000d67c
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.1400069b0
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.140003300
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.140011370
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000b1d0
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.14000d998
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.140001f70
mov ebp, 0xffffffff
mov rcx, r12
call fcn.140011370
mov rcx, r14
call fcn.14000d67c
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, [0x140026744]
xor r14d, r14d
call fcn.140003160
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.140001fb0
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.14000dc68
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.140001f70
jmp 0x1400016ef
mov ecx, dword [rsi + 0xc]
call fcn.140011384
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.140001f70
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.14000d998
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.140001f70
mov rcx, r14
call fcn.140011370
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.14000d67c
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140001710
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
cmp dword [rcx + 0x5074], 1
mov rdi, rdx
mov rbx, rcx
je 0x14000173e
lea rcx, str.pyi_arch_extract2fs_was_called_before_temporary_directory_was_initialized__n
call fcn.140001fb0
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
cmp byte [rdx + 0x11], 0x6e
jne 0x140001768
call fcn.1400012b0
mov ebx, eax
test eax, eax
jns 0x14000175f
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140001fb0
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
mov qword [rsp + 0x50], rbp
add rcx, 0x3070
lea rbp, [rdx + 0x12]
mov qword [rsp + 0x60], r12
mov rdx, rbp
call fcn.140006e00
mov r12, rax
test rax, rax
jne 0x1400017b9
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140001f70
mov rbp, qword [rsp + 0x50]
lea eax, [r12 - 1]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rcx, [rbx + 0x70]
mov qword [rsp + 0x20], r15
lea rdx, [0x140026744]
call fcn.140003160
mov r15, rax
test rax, rax
jne 0x1400017ee
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001fb0
lea ebx, [r15 - 1]
jmp 0x14000192f
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx]
mov rcx, r15
call fcn.14000dc68
test eax, eax
jns 0x140001823
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140001f70
mov ebx, 0xffffffff
jmp 0x140001927
cmp byte [rdi + 0x10], 1
jne 0x140001841
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001050
mov ebx, eax
jmp 0x140001927
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.140011384
mov r14, rax
test rax, rax
jne 0x140001882
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140001f70
lea ebx, [r14 - 1]
jmp 0x14000191d
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x140001915
mov qword [rsp + 0x58], rsi
nop dword [rax]
nop word [rax + rax]
cmp rdi, r13
mov rsi, rdi
mov r9, r15
mov r8d, 1
cmova rsi, r13
mov rcx, r14
mov rdx, rsi
call fcn.14000d998
cmp rax, 1
jb 0x1400018f5
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r14
call fcn.14000dec0
cmp rax, 1
jb 0x1400018e5
sub rdi, rsi
jne 0x1400018a0
jmp 0x140001910
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x140001903
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.140001f70
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r14
call fcn.140011370
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.14000d67c
mov rcx, r12
call fcn.14000d67c
mov r15, qword [rsp + 0x20]
mov eax, ebx
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140001a40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rdx, [0x140026744]
add rcx, 0x70
mov esi, 0xffffffff
call fcn.140003160
mov rdi, rax
test rax, rax
je 0x140001c29
mov rax, qword [0x140028960]
lea r8d, [rsi + 9]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
shr rax, 0x18
mov rcx, rdi
add al, 0xc
mov qword [rsp + 0x48], rbp
mov byte [rsp + 0x23], al
call fcn.1400074a0
mov rbp, rax
test rax, rax
je 0x140001c1c
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.14000dc68
test eax, eax
jns 0x140001ae4
lea rdx, str.Failed_to_seek_to_cookie_position__n
lea rcx, str.fseek
call fcn.140001f70
jmp 0x140001c1c
mov edx, 0x58
lea rcx, [rbx + 0x18]
mov r9, rdi
lea r8d, [rdx - 0x57]
call fcn.14000d998
cmp rax, 1
jae 0x140001b17
lea rdx, str.Failed_to_read_cookie__n
lea rcx, str.fread
call fcn.140001f70
jmp 0x140001c1c
mov ecx, dword [rbx + 0x20]
xor r8d, r8d
mov eax, dword [rbx + 0x24]
bswap eax
mov dword [rbx + 0x24], eax
mov eax, dword [rbx + 0x28]
bswap eax
mov dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x2c]
bswap ecx
mov ecx, ecx
sub rbp, rcx
mov dword [rbx + 0x20], ecx
bswap eax
mov dword [rbx + 0x2c], eax
add rbp, 0x58
mov qword [rbx], rbp
mov rcx, rdi
mov dword [rbx + 0x5078], 0
mov dword [0x140039c24], eax
mov edx, dword [rbx + 0x24]
add rdx, qword [rbx]
call fcn.14000dc68
movsxd rcx, dword [rbx + 0x28]
call fcn.140011384
mov qword [rbx + 8], rax
test rax, rax
jne 0x140001b8e
lea rdx, str.Could_not_allocate_buffer_for_TOC__n
lea rcx, str.malloc
call fcn.140001f70
jmp 0x140001c1c
movsxd rdx, dword [rbx + 0x28]
mov r9, rdi
mov r8d, 1
mov rcx, rax
call fcn.14000d998
cmp rax, 1
jae 0x140001bbe
lea rdx, str.Could_not_read_full_TOC__n
lea rcx, str.fread
call fcn.140001f70
jmp 0x140001c1c
movsxd rax, dword [rbx + 0x28]
mov rcx, rdi
add rax, qword [rbx + 8]
mov qword [rbx + 0x10], rax
call fcn.14000d70c
test eax, eax
je 0x140001be4
lea rcx, str.Error_on_file._n
call fcn.140001fb0
jmp 0x140001c1c
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jae 0x140001c1a
nop
mov ecx, dword [rax + 4]
mov edx, dword [rax]
bswap ecx
mov dword [rax + 4], ecx
mov ecx, dword [rax + 8]
bswap ecx
mov dword [rax + 8], ecx
mov ecx, dword [rax + 0xc]
bswap ecx
mov dword [rax + 0xc], ecx
bswap edx
mov dword [rax], edx
movsxd rcx, edx
add rax, rcx
cmp rax, qword [rbx + 0x10]
jb 0x140001bf0
xor esi, esi
mov rcx, rdi
call fcn.14000d67c
mov rbp, qword [rsp + 0x48]
mov eax, esi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000b1d0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140006610
Capabilities:
Create directory
Query environment variable

Disassembly:
push rdi
mov eax, 0x4030
call fcn.14000b170
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.140007fa0
mov rdi, rax
test rax, rax
jne 0x140006659
lea rcx, str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140001fb0
xor eax, eax
jmp 0x140006768
mov r8d, 0x1000
mov qword [rsp + 0x4048], rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.140011370
test ebx, ebx
jne 0x140006696
lea rcx, str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140001fb0
xor eax, eax
jmp 0x140006760
lea rcx, [rsp + 0x20]
call fcn.140007af0
test eax, eax
je 0x1400066b0
lea rcx, [rsp + 0x20]
call fcn.1400138ec
jmp 0x1400066c2
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.1400124f8
mov rbx, rax
test rax, rax
jne 0x1400066dd
lea rcx, str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140001fb0
xor eax, eax
jmp 0x140006760
xor edx, edx
lea rcx, [rsp + 0x2020]
mov r8d, 0x2000
call fcn.14000c8f0
mov edx, 0x5c
mov rcx, rbx
call fcn.14000c764
mov rdi, rax
test rax, rax
je 0x140006752
nop word [rax + rax]
mov r8, rdi
lea rcx, [rsp + 0x2020]
sub r8, rbx
mov rdx, rbx
sar r8, 1
inc r8
call fcn.140013970
xor edx, edx
lea rcx, [rsp + 0x2020]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000c764
mov rdi, rax
test rax, rax
jne 0x140006710
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rbx
mov rbx, qword [rsp + 0x4048]
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000b1d0
add rsp, 0x4030
pop rdi
ret