joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180040b62
Capabilities:
Read file on windows

Disassembly:
jmp 0x180081ce0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x18011c29d]
call fcn.1800414cc
mov rax, qword [rbp + 0x128]
mov rcx, qword [rax]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x180081d3b
mov rdx, qword [rbp + 0x120]
lea rcx, [0x1800ed548]
call fcn.18003f50a
xor eax, eax
jmp 0x180081da6
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ucrtbased.dll__wfopen]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x180081d71
mov rdx, qword [rbp + 0x120]
lea rcx, [0x1800ed580]
call fcn.18003f50a
xor eax, eax
jmp 0x180081da6
mov r9, qword [rbp + 0x28]
mov rax, qword [rbp + 0x128]
mov r8, qword [rax]
mov edx, 1
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rbp + 0x128]
mov qword [rcx], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x18004101c
Capabilities:
Get file attributes

Disassembly:
jmp 0x180088b70
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x178]
mov rax, qword [0x1801091a8]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x18011c29d]
call fcn.1800414cc
cmp qword [rbp + 0x148], 0
je 0x180088bda
cmp qword [rbp + 0x150], 0
jne 0x180088c0f
mov eax, dword [0x1801080bc]
inc eax
lea rcx, [0x1800ed340]
mov qword [rsp + 0x20], rcx
lea r9, [0x1800ed368]
mov r8d, eax
lea rdx, [0x1800ec920]
mov ecx, 2
call fcn.180041832
cmp eax, 1
jne 0x180088c0f
int3
xor eax, eax
test eax, eax
jne 0x180088bc6
cmp dword [rbp + 0x158], 0
jne 0x180088c67
mov rcx, qword [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x20
test eax, eax
je 0x180088c67
mov dx, 0x5c
mov rcx, qword [rbp + 0x148]
call fcn.180040ecd
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x180088c67
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov eax, dword [rbp + 0x140]
mov dword [rbp + 0x28], eax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x38], rax
mov eax, dword [rbp + 0x158]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x160]
mov dword [rbp + 0x44], eax
mov r9d, dword [rbp + 0x160]
lea r8, [rbp + 0x28]
lea rdx, [0x18007a580]
mov ecx, dword [rbp + 0x140]
call fcn.18003fd9d
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1800df640]
call fcn.180040eaa
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.18004016c
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1800415da
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800b5414
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.180040bc1
and qword [rdi + 0x50], 0
lea rax, [0x180000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1800f40e8]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1800400ef
test eax, eax
jne 0x1800b54ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1800b54ab
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1800b54a4
lea rcx, [0x1800f4100]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x18010c308], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x18004f370
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x1801091a8]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x18011c0c7]
call fcn.1800414cc
mov r8d, 0xf8
xor edx, edx
mov rcx, qword [rbp + 0x1c0]
call fcn.180040bc1
mov rax, qword [rbp + 0x1b8]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x18004f3fa
mov ecx, 0x57
call fcn.18003fb9a
xor eax, eax
jmp 0x18004f505
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.180040bc1
mov r9d, 0x30
lea r8, [rbp + 0x28]
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1b0]
call fcn.18003f726
test rax, rax
jne 0x18004f434
xor eax, eax
jmp 0x18004f505
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rbp + 0x80]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x1b0]
call fcn.18004052c
test eax, eax
jne 0x18004f465
xor eax, eax
jmp 0x18004f505
movzx eax, word [rbp + 0x80]
cmp eax, 0x5a4d
jne 0x18004f48b
mov eax, dword [rbp + 0xbc]
cmp rax, qword [rbp + 0x40]
ja 0x18004f48b
mov eax, dword [rbp + 0xbc]
cmp rax, 0x40
jae 0x18004f499
mov ecx, 0xc1
call fcn.18003fb9a
xor eax, eax
jmp 0x18004f505
movsxd rax, dword [rbp + 0xbc]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
mov r8, qword [rbp + 0x1c0]
mov rdx, rax
mov rcx, qword [rbp + 0x1b0]
call fcn.18004052c
test eax, eax
jne 0x18004f4d7
xor eax, eax
jmp 0x18004f505
mov rax, qword [rbp + 0x1c0]
cmp dword [rax], 0x4550
je 0x18004f4f4
mov ecx, 0xc1
call fcn.18003fb9a
xor eax, eax
jmp 0x18004f505
movsxd rax, dword [rbp + 0xbc]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.180040eaa
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.18004016c
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x180064430
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x40]
lea rcx, [0x18011c0f9]
call fcn.1800414cc
mov qword [rbp + 8], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x1800644fd
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1800644f3
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1800b9100
Capabilities:
Hash data with crc32

Disassembly:
mov r8d, ecx
lea r9, [0x1800f4e70]
shr r8d, 8
movzx ecx, cl
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r9 + rdx*4]
mov eax, r8d
ret
Function at 0x140718058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407181df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140718089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071806f
add dl, dl
jne 0x140718096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407180f6
xor eax, eax
add dl, dl
jne 0x1407180a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407181ad
add dl, dl
jne 0x1407180b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407180c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407180d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407180dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407180ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14071807e
mov eax, 1
add dl, dl
jne 0x140718106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140718113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407180fb
sub eax, ebx
mov ebx, 1
jne 0x14071814c
mov ecx, 1
add dl, dl
jne 0x14071812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14071813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140718123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140718168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140718175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071815d
cmp eax, 0x7d00
jae 0x14071819b
cmp eax, 0x500
jb 0x140718196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071807e
cmp eax, 0x7f
ja 0x14071819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407181d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14071807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003fa0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140004030
jmp 0x14000401f
jae 0x1400040f0
cmp r8, 0x201
jae 0x140004030
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140004088
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14000405f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001c780
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400040b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140004158
mov r8d, r14d
cmp r15, r8
jne 0x140004010
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000417b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000401f
jmp 0x140004030
cmp rsi, r8
jb 0x140004195
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140006e20
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140004141
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001270
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140004129
jmp 0x140004141
lea rcx, str.internal_error:_entered_unreachable_code_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001d310
jmp 0x1400041aa
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001d760
ud2
Function at 0x140007820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140007850
test ecx, ecx
jne 0x1400078a0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14000785c
test ecx, ecx
jne 0x1400078a0
mov rcx, rdi
call fcn.140007700
movzx eax, al
test bpl, bpl
jne 0x1400078a7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140007893.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140007a18]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140007893.2
xor eax, eax
test bpl, bpl
je 0x14000786c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400079f9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400078da
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140007959
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140007920
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14000793b
inc rax
dec rdi
cmp rax, 1
jne 0x140007900
jmp 0x140007959
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14000793b
cmp ebx, 0x5c
je 0x14000793b
inc rax
dec rdi
cmp rax, 1
jne 0x140007920
jmp 0x140007959
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140007a07
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140007983
mov al, 9
cmp rdx, 2
je 0x140007987
cmp rdx, 1
jne 0x140007997
cmp byte [r8], 0x2e
jne 0x140007997
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140007997
mov al, 0xa
jmp 0x140007997
cmp byte [r8], 0x2e
jne 0x140007997
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140007893.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140007893.2
mov ecx, 2
jmp case.0x140007893.2
lea r8, str.library_std_srcpath.rs
call fcn.14001d6e0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14001d6e0
ud2
Function at 0x14000bf30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14001fee8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000bf74
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000bfda
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000c011
test eax, eax
js 0x14000bfeb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000c004
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140006960
mov rcx, rax
call fcn.140001c90
mov ecx, 7
int 0x29
ud2

Function at 0x14001a5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001a62a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001a620
cmp r10, r11
jb 0x14001a6c3
cmp r10, rdx
ja 0x14001a6d7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001a622
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001a600
jmp 0x14001a697
ja 0x14001a62a
mov r11, r10
cmp rax, r8
jne 0x14001a5d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001a69b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001a670
mov r8, r10
sub ecx, r9d
jns 0x14001a68e
jmp 0x14001a69d
cmp r10, rdx
je 0x14001a6a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001a69d
xor al, 1
cmp r8, rdx
jne 0x14001a650
jmp 0x14001a69d
xor eax, eax
jmp 0x14001a69d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001d310
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001d7e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001d760
ud2
Function at 0x14001c10c
Capabilities:
Parse pe header

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

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

Function at 0xcb91d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xcb91dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xcb91ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xcb91d5
lea eax, [rcx + 1]
jmp 0xcb91fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xcb920e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xcb91f4
sub eax, 3
jb 0xcb922e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xcb927d
sar eax, 1
movsxd rbp, eax
jb 0xcb9264
jmp 0xcb923c
add ebx, ebx
jne 0xcb923a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xcb9264
inc ecx
add ebx, ebx
jne 0xcb924a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xcb9264
call r11
adc ecx, ecx
add ebx, ebx
jne 0xcb925d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xcb924c
add ecx, 2
jmp 0xcb9269
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00cb9192
jmp 0xcb91dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2bdc00
mov dl, 0x24
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xcb92c9
cmp rsi, rcx
jae 0xcb92d1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xcb92b0
cmp al, 0x8f
ja 0xcb92b0
cmp byte [rsi - 2], 0xf
je 0xcb92b6
sub al, 0xe8
cmp al, 1
ja 0xcb929a
cmp rsi, rcx
jae 0xcb92d1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xcb92a0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xcb92d1
lodsb al, byte [rsi]
jmp 0xcb92b0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8b1000]
mov eax, dword [rdi]
or eax, eax
je 0xcb932e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8b9000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xcb92de
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xcb9328
mov qword [rbx], rax
add rbx, 8
jmp 0xcb92fe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xcb9372
cmp al, 0xef
ja 0xcb935a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xcb933a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xcb9349
mov eax, dword [rdi]
add rdi, 4
jmp 0xcb9349
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xcb93c6
sub rsp, 0xffffffffffffff80
jmp 0x4667a0
Function at 0x140001b5a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1400044ec
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x18
xorps xmm0, xmm0
movaps xmmword [rsp], xmm0
mov r9d, dword [rdx + 0xc]
mov eax, dword [rdx + 0x10]
xor r10d, r10d
mov r11d, dword [rdx + r10*4]
mov dword [rsp + r10*4], r11d
lea r11, [r10 + 1]
mov r10, r11
cmp r11, 3
jne 0x140004501
add r9d, eax
bswap r9d
mov dword [rsp + 0xc], r9d
movdqa xmm0, xmmword [rsp]
pxor xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
add rsp, 0x18
ret