joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008c450
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400bcc10
sub rsp, rax
mov r10, qword [rbp + 0x11c10]
mov rdi, rcx
movzx ecx, word [rdx]
mov r11d, 0xffdf
lea eax, [rcx - 0x41]
test r11w, ax
jne 0x14008c504
cmp word [rdx + 2], 0
jne 0x14008c504
cmp word [r8], 0
jne 0x14008c504
cmp word [r9], 0
jne 0x14008c504
cmp word [r10], 0
jne 0x14008c504
mov qword [rsp + 0x11cf0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x14008c4d3
cmp byte [rdi + 0x12a], 0
jne 0x14008c4d3
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ecx, ecx
test eax, eax
cmove rbx, rcx
cmp byte [rbp + 0x11c20], 0
je 0x14008c4e8
test rbx, rbx
je 0x14008c4e8
mov qword [rdi + 0xf8], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x11cf0]
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
test cx, cx
jne 0x14008c534
cmp word [r8], cx
jne 0x14008c534
cmp word [r9], cx
jne 0x14008c534
cmp word [r10], cx
jne 0x14008c534
mov rcx, rdi
call fcn.14008c6b0
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
xor ecx, ecx
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r9
lea rax, [0x1400e8120]
mov r9, r8
mov dword [rsp + 0x30], ecx
mov r8, rdx
mov byte [rbp + 0x1781], cl
mov dword [rbp + 0x1784], ecx
xorps xmm0, xmm0
mov qword [rbp + 0x1788], rcx
mov rdx, rdi
mov dword [rbp + 0x17a0], ecx
mov qword [rbp + 0x17a8], rcx
mov qword [rbp + 0x17b8], rcx
mov qword [rbp + 0x17c0], rcx
lea rcx, [rsp + 0x30]
mov qword [rbp + 0xf48], rax
movdqa xmmword [rbp + 0x1790], xmm0
call fcn.14008d480
test eax, eax
je 0x14008c656
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov rax, qword [rbp + 0x11c28]
mov qword [rbp + 0x1798], rax
mov eax, dword [rbp + 0x11c30]
mov dword [rbp + 0x17a0], eax
je 0x14008c669
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x14008c62b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008c656
cmp byte [rdi + 0x12a], 0
jne 0x14008c624
mov rcx, qword [rbp + 0xf68]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14008c624
mov rcx, qword [rbp + 0xf68]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x14008c656
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x14008c645
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.14008d920
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14008da10
test rax, rax
jne 0x14008c67b
xor eax, eax
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x14008c740]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rbp + 0x11c20], 0
mov rax, qword [rbp + 0x1788]
je 0x14008c697
test rax, rax
je 0x14008c697
mov qword [rdi + 0xf8], rax
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
Function at 0x14008d920
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x14008da03
mov eax, dword [rbx]
test eax, eax
je 0x14008da03
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x14008d95f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x14008d97d
mov r8d, 0x7fff
lea rdx, [rbx + 0x189c]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14008d97d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x14008d996
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x14008d9d4
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14008d9d4
movzx r9d, byte [rbx + 0x1850]
lea rdx, [rbx + 0x11a9c]
mov ecx, dword [rsp + 0x30]
call fcn.14005d1a0
test eax, eax
jne 0x14008d9d4
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x14008da03
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x14008e250
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400bcc10
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14008e30a
xor r9d, r9d
mov byte [rsp + 0x18a0], dl
lea rcx, [0x1400e8120]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov byte [rsp + 0x1871], r9b
lea rcx, [0x14008eb50]
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
movdqa xmmword [rsp + 0x1880], xmm0
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x14008e30a
mov rax, qword [0x1400fcaa8]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14008e30a
mov edx, 1
call fcn.1400018c0
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x14008e320
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r14d, dl
mov rbx, rcx
jne 0x14008e34a
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1400fcaa8]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.14008e8f0
cmp byte [rbx], 0
mov rbp, rax
je 0x14008e381
test rax, rax
jne 0x14008e38a
jmp 0x14008e422
test rax, rax
jne 0x14008e41d
test rdi, rdi
je 0x14008e41d
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.1400018c0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008e3ff
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x14008e3ff
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400018c0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14008e3d0
mov rax, qword [0x1400fcaa8]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14008e41d
mov edx, 1
call fcn.1400018c0
cmp byte [rbx], 0
je 0x14008e436
xor r9d, r9d
mov r8, rbp
movzx edx, r14b
mov rcx, rbx
call fcn.14008e460
jmp 0x14008e442
movzx edx, r14b
mov rcx, rbx
call fcn.14008e650
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14008e650
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400bcc10
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x14008e814
xor edx, edx
call fcn.14008e830
test eax, eax
jne 0x14008e690
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1400fcaa8]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.14008e8f0
mov ecx, dword [0x140105304]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x30], ebp
lea rax, [0x1400e8120]
mov dword [rsp + 0x1884], ebp
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [0x140105304], ecx
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x14008e71a
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x14008e722
mov byte [rsp + 0x1881], 1
mov rax, qword [0x140105310]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x18a0], ecx
lea rcx, [0x14008ea10]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x14008e7d8
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x14008d1a0]
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x14008e7a0
mov rcx, qword [rsp + 0x1888]
call fcn.14008df60
mov qword [rsp + 0x1888], r10
jmp 0x14008e7a8
mov r10, qword [rsp + 0x1888]
mov rcx, r10
call fcn.14008be80
mov rcx, qword [rsp + 0x1888]
call fcn.14008df60
mov rcx, qword [0x1400fcaa8]
mov ecx, dword [rcx + 0x74]
cmp ecx, 0xffffffff
jle 0x14008e804
mov edx, 1
call fcn.1400018c0
jmp 0x14008e804
mov eax, dword [0x140105304]
test eax, eax
je 0x14008e804
cmp eax, 1
mov dword [0x140105304], ebp
setg al
test al, al
je 0x14008e804
mov rcx, rsi
call fcn.14008df60
xor edx, edx
mov rcx, rbx
call fcn.14008e650
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
Function at 0x1400a3410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400a34a1
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400a34a1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a34a1
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400a3485
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400a347f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400a3487
add rdx, 0x28
jmp 0x1400a3464
xor edx, edx
test rdx, rdx
jne 0x1400a3490
xor al, al
jmp 0x1400a34a7
test dword [rdx + 0x24], 0x80000000
je 0x1400a349d
xor al, al
jmp 0x1400a34a7
mov al, 1
jmp 0x1400a34a7
xor al, al
jmp 0x1400a34a7
add rsp, 0x18
ret

Function at 0x1400ab84c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400ab620
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ab620
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ab620
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ab620
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ab620
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ab620
cmp dword [rcx + 0xf8], esi
je 0x1400ab620
mov ecx, r14d
call fcn.1400ab768
mov ecx, 2
call fcn.1400b4a84
nop
cmp byte [0x1400ffa90], 0
jne 0x1400ab6ea
mov r15d, 1
mov eax, r15d
xchg dword [0x1400ffa84], eax
test ebx, ebx
jne 0x1400ab693
mov rdi, qword [0x1400fc018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400ffa88]
cmp rcx, rax
je 0x1400ab68a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140015e60]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400ffab8]
jmp 0x1400ab69f
cmp ebx, r15d
jne 0x1400ab6a5
lea rcx, [0x1400ffad0]
call fcn.1400b1330
nop
test ebx, ebx
jne 0x1400ab6bc
lea rdx, [0x1400c3f30]
lea rcx, [0x1400c3f10]
call fcn.1400b1a38
lea rdx, [0x1400c3f40]
lea rcx, [0x1400c3f38]
call fcn.1400b1a38
movzx eax, byte [0x1400ffa90]
test esi, esi
cmove eax, r15d
mov byte [0x1400ffa90], al
jmp 0x1400ab6ea
mov ecx, 2
call fcn.1400b4ad8
test esi, esi
jne 0x1400ab701
mov ecx, r14d
call fcn.1400ab71c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400ab5b0
Function at 0x1412dd978
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1412dd982
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1412dd9ab
pop rbp
sub rbp, 0x33
sub rbp, 0x12dd978
sub rsp, 0x20
jmp 0x1412dd9ca
mov rax, 0x12dd978
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x7b1a1b6d
xor byte [rax], dl
inc rax
dec rcx
jne 0x1412dd9e9
jmp 0x1412dda00
and eax, 0xe4e684e4
push rcx
insd dword [rdi], dx
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0x6c65acec
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0xaa25846c
lodsd eax, dword [rsi]
push 0x6d
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0x6d45afaa
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0x6c258f9a
lodsb al, byte [rsi]
out 0xec, al
invalid
Function at 0x140001050
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.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.14000bb00
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.140002ba0
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.1400155b0
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.140002900
jmp 0x14000126c
mov ecx, 0x2000
call fcn.1400155b0
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.140002900
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.140010afc
cmp rax, rbx
jne 0x14000125e
mov rcx, rdi
call fcn.140010870
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.140009fb0
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.14001123c
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.140010870
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.14000d060
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.140002ba0
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000b7e0
mov rcx, r13
call fcn.14001559c
mov rcx, rbp
call fcn.14001559c
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.14000c280
sub rsp, rax
mov rax, qword [0x140040058]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x14002c844]
mov ebp, 0xffffffff
call fcn.1400042d0
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.140002ba0
xor ebx, ebx
jmp 0x14000143a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.140010e34
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.140002900
mov rcx, r14
call fcn.1400107ac
xor ebx, ebx
jmp 0x14000143a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.1400155b0
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.140002900
mov rcx, r14
call fcn.1400107ac
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.1400107ac
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.140007d40
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.140001f60
cmp eax, 0x1000
jge 0x140001422
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140004470
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.14001559c
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000c2e0
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.140010afc
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.140002900
mov ebp, 0xffffffff
mov rcx, r12
call fcn.14001559c
mov rcx, r14
call fcn.1400107ac
xor ebx, ebx
jmp 0x140001422
Function at 0x1400015c0
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, [0x14002c844]
xor r14d, r14d
call fcn.1400042d0
mov r15, rax
test rax, rax
jne 0x140001610
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002ba0
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.140010e34
test eax, eax
jns 0x140001641
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.140002900
jmp 0x14000170f
mov ecx, dword [rsi + 0xc]
call fcn.1400155b0
mov r14, rax
test rax, rax
jne 0x140001671
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.140002900
jmp 0x14000170f
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
jne 0x14000169d
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140001050
test eax, eax
je 0x140001700
jmp 0x1400016f5
mov ebx, dword [rsi + 0xc]
mov rbp, r14
test rbx, rbx
je 0x140001700
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.140010afc
cmp rax, 1
jb 0x1400016de
add rbp, rdi
sub rbx, rdi
jne 0x1400016b0
jmp 0x140001700
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002900
mov rcx, r14
call fcn.14001559c
xor r14d, r14d
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400107ac
mov rbx, qword [rsp + 0x58]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140001730
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
cmp dword [rcx + 0x5074], 1
mov rdi, rdx
mov rbx, rcx
je 0x14000175e
lea rcx, str.pyi_arch_extract2fs_was_called_before_temporary_directory_was_initialized__n
call fcn.140002ba0
mov eax, 0xffffffff
add rsp, 0x38
pop rdi
pop rbx
ret
cmp byte [rdx + 0x11], 0x6e
jne 0x140001788
call fcn.1400012b0
mov ebx, eax
test eax, eax
jns 0x14000177f
lea rdx, [rdi + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140002ba0
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.1400081a0
mov r12, rax
test rax, rax
jne 0x1400017d9
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002900
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, [0x14002c844]
call fcn.1400042d0
mov r15, rax
test rax, rax
jne 0x14000180e
mov rdx, rbp
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002ba0
lea ebx, [r15 - 1]
jmp 0x14000194f
mov edx, dword [rdi + 4]
xor r8d, r8d
add rdx, qword [rbx]
mov rcx, r15
call fcn.140010e34
test eax, eax
jns 0x140001843
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002900
mov ebx, 0xffffffff
jmp 0x140001947
cmp byte [rdi + 0x10], 1
jne 0x140001861
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, r15
call fcn.140001050
mov ebx, eax
jmp 0x140001947
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r13d, 0x2000
mov qword [rsp + 0x28], r14
mov ecx, r13d
call fcn.1400155b0
mov r14, rax
test rax, rax
jne 0x1400018a2
mov r8, rbp
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002900
lea ebx, [r14 - 1]
jmp 0x14000193d
mov edi, dword [rdi + 0xc]
test rdi, rdi
je 0x140001935
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.140010afc
cmp rax, 1
jb 0x140001915
mov r9, r12
mov r8d, 1
mov rdx, rsi
mov rcx, r14
call fcn.14001123c
cmp rax, 1
jb 0x140001905
sub rdi, rsi
jne 0x1400018c0
jmp 0x140001930
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
jmp 0x140001923
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov r8, rbp
call fcn.140002900
mov ebx, 0xffffffff
mov rsi, qword [rsp + 0x58]
mov rcx, r14
call fcn.14001559c
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, r15
call fcn.1400107ac
mov rcx, r12
call fcn.1400107ac
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