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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov eax, dword [0x14003fb1c]
mov dword [rsp + 0x20], eax
cmp byte [0x14003fb1f], 0
je 0x14000e6ed
xor ecx, ecx
cmp dword [0x14004c090], 2
jl 0x14000e6b6
movdqa xmm3, xmmword [0x1400457b0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140045d90]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140045d90]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.5555]
psubd xmm3, xmm0
andps xmm3, xmmword [0x140045820]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x140045860]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x14000e6ed
lea r8, [rsp + 0x20]
nop dword [rax + rax]
mov eax, 0x3521cfb3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x14000e6c0
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140010b90
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movzx eax, word [0x14003faf0]
mov word [rsp + 0x20], ax
cmp byte [0x14003faf1], 0
je 0x14000e724
mov byte [rsp + 0x20], 0x2a
xor byte [rsp + 0x21], 0x39
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140010d70
nop
mov rdx, rax
mov rcx, rbx
call fcn.140010f10
nop
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000e775
nop dword [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.14003cda0
mov rcx, rbx
test rbx, rbx
jne 0x14000e760
mov edx, 0x20
mov rcx, qword [rsp + 0x28]
call fcn.14003cda0
movzx eax, word [0x14003fab8]
mov word [rsp + 0x20], ax
movzx eax, byte [0x14003faba]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov byte [rsp + 0x20], 0x5d
xor byte [rsp + 0x21], 0x39
xor al, 0x3a
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
call fcn.140010b90
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000e7c5
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011150
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000e80c
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000e807
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e837
mov rcx, r8
call fcn.14003cda0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003cd80
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000ff40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmm0, xmmword [0x140045da0]
mov r8, rcx
movdqa xmm2, xmmword [0x1400457b0]
xor eax, eax
movdqa xmm3, xmmword [0x140045820]
movdqa xmmword [rsp], xmm0
mov r9d, dword [rsp]
nop word [rax + rax]
movsxd rdx, eax
lea ecx, [rax + 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movd xmm0, r9d
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [rdx + r8]
xorps xmm1, xmm0
movd xmm0, r9d
movd dword [rdx + r8], xmm1
movd xmm1, ecx
lea ecx, [rax + 8]
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [rdx + r8 + 4]
xorps xmm1, xmm0
movd xmm0, r9d
movd dword [rdx + r8 + 4], xmm1
movd xmm1, ecx
lea ecx, [rax + 0xc]
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [rdx + r8 + 8]
xorps xmm1, xmm0
movd xmm0, r9d
movd dword [rdx + r8 + 8], xmm1
movd xmm1, ecx
lea ecx, [rax + 0x10]
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [rdx + r8 + 0xc]
xorps xmm1, xmm0
movd xmm0, r9d
movd dword [rdx + r8 + 0xc], xmm1
movd xmm1, ecx
lea ecx, [rax + 0x14]
pshufd xmm1, xmm1, 0
add eax, 0x18
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [rdx + r8 + 0x10]
xorps xmm1, xmm0
movd xmm0, r9d
movd dword [rdx + r8 + 0x10], xmm1
movd xmm1, ecx
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
psubb xmm1, xmm0
movd xmm0, dword [rdx + r8 + 0x14]
xorps xmm1, xmm0
movd dword [rdx + r8 + 0x14], xmm1
cmp eax, 0x18
jb 0x14000ff70
cmp eax, 0x1a
jae 0x1400100d1
nop dword [rax]
movsxd rdx, eax
lea ecx, [rax - 0x7d]
inc eax
xor byte [rdx + r8], cl
cmp eax, 0x1a
jb 0x1400100c0
mov rax, r8
mov byte [r8 + 0x1a], 0
add rsp, 0x18
ret

Function at 0x140013420
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001347d
lea rbx, [0x14003fe20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140013464
cmp r10, 2
jb 0x140013464
cmp byte [r9], r8b
jne 0x140013464
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140013440
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400134bf
lea rbx, [0x14003fe20]
cmp r8b, 0x23
jne 0x1400134a3
cmp byte [r9], r8b
jne 0x1400134a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140013490
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140013600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001361a
mov qword [r8], 0
lea rdx, [0x14004516c]
call fcn.1400134d0
mov rbx, rax
test rax, rax
jne 0x14001363a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140013713
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140013713
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140013713
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140013713
cmp rdi, 0xffffffffffffffff
je 0x140013713
mov rax, qword [0x14004c8a0]
test rax, rax
je 0x1400136b0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140013713
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140013700
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004c8a0]
test rax, rax
je 0x1400136f5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001371c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001370e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001371e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140016390
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x14003fe20]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14004c8a0]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140016425
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140027cb0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140021ae0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004c8a0]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140021b41
cmp byte [rbx + 0x4a2e], 0
jne 0x140021b41
movsx r9d, word [rbx + 0x5b2a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400133a0
test dil, 1
je 0x140021c68
jmp 0x140021bcc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b2a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400456c8]
mov edx, 0x10
mulss xmm1, dword [0x1400456bc]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400455b8]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.1400133a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140021c20
lea r11, [0x14003fe20]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021c03
cmp byte [r8], r9b
jne 0x140021c03
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140021bf0
not ecx
call fcn.140019ac0
test rax, rax
je 0x140021c68
cmp byte [rax + 0xae], 0
je 0x140021c68
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b2a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b2a]
call fcn.1400133a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001c1f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003cd80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140026550
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c10], 0
lea rbx, [rcx + 0x5c18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400265f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400265aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140028ae0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140013a60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004c7cf]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400265ff
mov rcx, rbx
call fcn.140013a60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140026b70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14004c8a0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140026bd3
mov qword [rsp], rbx
lea rbx, [0x14003fe20]
nop dword [rax]
cmp r9b, 0x23
jne 0x140026bb3
cmp byte [r8], r9b
jne 0x140026bb3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140026ba0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b88]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140026c07
mov r10, qword [r10 + 0x5b90]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140026c0e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140026bf4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14003daf0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x48]
call fcn.1400024c0
nop
lea rcx, [rbp - 0x48]
call fcn.14000a5f4
lea r8, [rbp - 0x48]
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.14000a3d4
lea rcx, [rbp - 0x48]
call fcn.1400085e0
lea edi, [rbx + 1]
test al, al
jne 0x140013bf8
lea rcx, [rbp - 0x48]
call fcn.140007048
lea rdx, str.sfxname
lea rcx, [rbp - 0x28]
call fcn.140001b9c
nop
mov dword [rbp - 0x50], edi
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140012f04
test al, al
je 0x140013ba4
lea rcx, [rbp - 0x48]
call fcn.14000694c
test al, al
mov sil, bl
je 0x140013ba7
mov sil, dil
mov eax, edi
and eax, 0xfffffffe
mov dword [rbp - 0x50], eax
lea rcx, [rbp - 0x28]
call fcn.140002050
test sil, sil
jne 0x140013bf8
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.14000a2e8
lea rcx, [rbp - 0x48]
call fcn.1400085e0
test al, al
je 0x140013bfb
mov rcx, r14
call fcn.1400018c0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400018c0
mov r8d, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x140013bfe
mov bl, dil
mov dil, bl
lea rcx, [rbp - 0x48]
call fcn.140002050
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400143d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140015434
Capabilities:
Parse pe header

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

Function at 0x1400212a8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400210a4
Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140133000
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140021810]
mov dword [rax], 1
mov rax, qword [0x140021820]
mov dword [rax], 1
mov rax, qword [0x140021830]
mov dword [rax], 1
mov rax, qword [0x140021790]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001b30
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
lea rcx, [rcx + 0x70]
lea rdx, [0x14001b179]
call fcn.140004650
mov rbp, rax
test rax, rax
je 0x140001c60
mov edx, dword [r12 + 4]
xor r8d, r8d
add edx, dword [rbx]
mov rcx, rax
call fcn.140010020
test eax, eax
js 0x140001c40
mov esi, dword [r12 + 0xc]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r13, rax
test rax, rax
je 0x140001c76
cmp byte [r12 + 0x10], 1
je 0x140001c20
mov rdi, rax
test rsi, rsi
jne 0x140001bb8
jmp 0x140001c00
add rdi, rbx
sub rsi, rbx
je 0x140001c00
mov ebx, 0x2000
mov r9, rbp
mov r8d, 1
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call sub.msvcrt.dll_fread
test rax, rax
jne 0x140001bb0
lea r8, [r12 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002fe0
mov rcx, r13
call sub.msvcrt.dll_free
xor r13d, r13d
mov rcx, rbp
call sub.msvcrt.dll_fclose
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r8d, r8d
mov r9, rax
mov rdx, r12
mov rcx, rbp
call fcn.140001710
test eax, eax
je 0x140001c00
jmp 0x140001bf5
lea r8, [r12 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002fe0
jmp 0x140001bfd
lea rdx, [r12 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
xor r13d, r13d
call fcn.140002e60
jmp 0x140001c08
mov r9d, esi
lea r8, [r12 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140002fe0
jmp 0x140001bfd
Function at 0x140001d40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [rcx + 0x5074], 1
mov rsi, rcx
mov rbx, rdx
jne 0x140001f40
cmp byte [rdx + 0x11], 0x6e
je 0x140001e60
lea r13, [rdx + 0x12]
lea rcx, [rcx + 0x3070]
mov rdx, r13
call fcn.140008590
mov r12, rax
test rax, rax
je 0x140001f56
lea rcx, [rsi + 0x70]
lea rdx, [0x14001b179]
call fcn.140004650
mov rbp, rax
test rax, rax
je 0x140001ed0
mov edx, dword [rbx + 4]
xor r8d, r8d
add edx, dword [rsi]
mov rcx, rax
call fcn.140010020
test eax, eax
js 0x140001f20
cmp byte [rbx + 0x10], 1
je 0x140001e80
mov ecx, 0x2000
call sub.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x140001f6e
mov esi, dword [rbx + 0xc]
test rsi, rsi
jne 0x140001e16
jmp 0x140001ef0
mov r9, r12
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_fwrite
test rax, rax
je 0x140001f00
sub rsi, rbx
je 0x140001ef0
mov ebx, 0x2000
mov r9, rbp
mov r8d, 1
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call sub.msvcrt.dll_fread
test rax, rax
jne 0x140001df0
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002fe0
mov esi, 0xffffffff
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x140001e93
call fcn.140001ca0
mov esi, eax
test eax, eax
js 0x140001eb8
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r9d, r9d
mov r8, r12
mov rdx, rbx
mov rcx, rbp
call fcn.140001710
mov esi, eax
mov rcx, rbp
call sub.msvcrt.dll_fclose
mov rcx, r12
call sub.msvcrt.dll_fclose
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, [rbx + 0x12]
lea rcx, str.Failed_to_create_symbolic_link__s__n
call fcn.140002e60
jmp 0x140001e6b
mov rdx, r13
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
mov esi, 0xffffffff
call fcn.140002e60
jmp 0x140001e9b
xor esi, esi
jmp 0x140001e56
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_write_data_chunk__n
lea rcx, str.fwrite
call fcn.140002fe0
jmp 0x140001e51
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002fe0
mov esi, 0xffffffff
jmp 0x140001e93
lea rcx, str.pyi_arch_extract2fs_was_called_before_temporary_directory_was_initialized__n
call fcn.140002e60
mov esi, 0xffffffff
jmp 0x140001e6b
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_open_target_file__n
lea rcx, str.fopen
call fcn.140002fe0
jmp 0x140001f4c
mov r8, r13
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_buffer__n
lea rcx, str.malloc
call fcn.140002fe0
jmp 0x140001f36