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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14002e580]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14001d43e
cmp word [rdx], r12w
jne 0x14001d43e
or byte [rax + r8*8 + 0x38], cl
jmp 0x14001d444
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14001d59f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14001d57a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14001d47d
mov rcx, r9
jmp 0x14001d4a0
cmp r9, rdx
jae 0x14001d4b7
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14001d461
jmp 0x14001d59f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001d574
cmp dword [rsp + 0x80], edi
je 0x14001d574
mov rdx, r14
lea r11, [0x14002e580]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14001d54d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14001d520
mov word [rbx], r12w
jmp 0x14001d59b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14001d529
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14001d59b
cmp word [rsp + 0x70], r12w
jne 0x14001d55a
cmp rbx, rsi
je 0x14001d51a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14001d300
cmp word [rsp + 0x70], r12w
je 0x14001d59f
mov word [rbx], r13w
jmp 0x14001d59b
lea r11, [0x14002e580]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14001d597
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001d59f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001ef8c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d300
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d300
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14001f0dc
cmp rax, 0xffffffffffffffff
je 0x14001f0dc
xor edi, edi
test rbp, rbp
jle 0x14001f087
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140010ae8
mov rbx, rax
test rax, rax
jne 0x14001f014
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14001f07d
mov edx, 0x8000
mov ecx, r14d
call fcn.14000fba8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400187f4
cmp eax, 0xffffffff
je 0x14001f05d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14001f024
mov edx, r15d
mov ecx, r14d
call fcn.14000fba8
jmp 0x14001f07d
cmp byte [rsi + 0x38], dil
je 0x14001f074
cmp dword [rsi + 0x34], 5
jne 0x14001f074
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14001f07d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400105c8
jmp 0x14001f0f0
jns 0x14001f0f0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d300
cmp rax, 0xffffffffffffffff
jne 0x14001f0a8
cmp byte [rsi + 0x30], dil
je 0x14001f0f0
mov edi, dword [rsi + 0x2c]
jmp 0x14001f0f0
mov ecx, r14d
call fcn.140016e34
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001f0f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14001f0f0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14001f0e9
mov eax, dword [rsi + 0x2c]
jmp 0x14001f0ee
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d300
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14001fe80
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rsi
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdx, qword [rcx + 8]
mov qword [rbp - 8], rcx
mov r8, qword [rcx + 0x10]
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x18], rdx
call fcn.1400072f0
mov rcx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140003336
mov qword [rbp + 8], rcx
mov qword [rbp], rsi
lea rax, str.open
mov qword [rbp - 0x48], rax
lea rax, str.Errore__H
mov qword [rbp - 0x40], rax
mov word [rbp - 0x38], 0
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x48]
call fcn.140001720
mov rdx, qword [rbp - 0x28]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov qword [rbp - 0x10], rdx
mov r8, qword [rbp]
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, eax
call fcn.1400072c0
mov rsi, rax
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14000331b
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x10]
call fcn.1400037f0
mov rdx, qword [rbp + 8]
test rdx, rdx
mov rcx, qword [rbp]
je 0x140003336
add rdx, rdx
mov r8d, 2
call fcn.1400037f0
mov rax, qword [rbp - 8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003351
mov r8d, 1
mov rcx, qword [rbp - 0x18]
call fcn.1400037f0
mov rax, rsi
add rsp, 0x98
pop rsi
pop rbp
ret
Function at 0x140003440
Capabilities:
Set console window title

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], r8
call fcn.140003fb0
mov rcx, rsi
test al, al
je 0x140003492
mov rdx, rbx
mov r8, rdi
call fcn.140001d30
test rax, rax
setne cl
cmovne rsi, rax
jmp 0x14000358d
call fcn.14000b8e0
test rax, rax
je 0x1400034a6
mov cl, 1
mov rsi, rax
jmp 0x14000358d
lea rax, [rbp - 0x18]
mov qword [rbp - 8], rax
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 2
mov qword [rbp + 0x20], 0
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [0x1400030e0]
mov qword [rbp - 0x20], rax
lea rax, [0x140826df0]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov byte [rbp + 0x2f], 1
lea rdx, [0x140826d10]
lea rcx, [rbp + 0x10]
lea r8, [rbp - 0x58]
call fcn.14001ee80
test al, al
jne 0x1400035b9
mov rdx, qword [rbp + 0x20]
cmp rdx, qword [rbp + 0x10]
jne 0x14000353f
mov byte [rbp + 0x2f], 1
lea rcx, [rbp + 0x10]
call fcn.140003720
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov word [rax + rdx*2], 0
inc qword [rbp + 0x20]
mov rax, qword [rbp + 0x10]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x18]
mov qword [rbp], rcx
call sub.KERNEL32.dll_SetConsoleTitleW
test eax, eax
je 0x14000359f
xor edi, edi
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x140003583
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp]
call fcn.1400037f0
test rdi, rdi
setne cl
cmovne rsi, rdi
movzx eax, cl
mov rdx, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rdx, qword [rbp + 8]
test rdx, rdx
jne 0x140003571
jmp 0x140003583
mov byte [rbp + 0x2f], 1
lea rax, [0x140826e88]
mov qword [rsp + 0x20], rax
lea rcx, str.formatting_failedC:UsersThis_PC.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrossterm_0.22.1_src_terminal_syswindows.rs
lea r9, [0x140826ca8]
lea r8, [rbp - 0x58]
mov edx, 0x11
call fcn.1400254e0
ud2
Function at 0x140004fe0
Capabilities:
Manipulate console buffer

Disassembly:
push rsi
sub rsp, 0xa0
mov word [rsp + 0x2c], dx
mov word [rsp + 0x2e], r8w
test dx, dx
js 0x140005024
test r8w, r8w
js 0x140005072
mov rcx, qword [rcx + 0x10]
shl r8d, 0x10
movzx edx, dx
or edx, r8d
call sub.KERNEL32.dll_SetConsoleCursorPosition
test eax, eax
je 0x1400050e2
xor eax, eax
add rsp, 0xa0
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x1400223c0]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x70]
jmp 0x1400050c1
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x30], rax
lea rax, [0x1400223c0]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_Y:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x88]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14001d8f0
mov cl, 0x27
mov rdx, rsi
call fcn.140004930
nop
add rsp, 0xa0
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.1400011c0
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0xa0
pop rsi
ret
Function at 0x140009b90
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], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140009c30
jmp 0x140009c1f
jae 0x140009cf0
cmp r8, 0x201
jae 0x140009c30
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140009c88
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140009c5f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140024830
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
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 0x140009cb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009d58
mov r8d, r14d
cmp r15, r8
jne 0x140009c10
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140009d85
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140009c1f
jmp 0x140009c30
cmp rsi, r8
jb 0x140009d9f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000cca0
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 rbx, rbx
je 0x140009d41
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400037f0
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 + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140009d29
jmp 0x140009d41
lea rcx, str.internal_error:_entered_unreachable_code_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.1400251b0
jmp 0x140009db4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140025600
ud2
Function at 0x14000a4b0
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x14000a4c0
mov rcx, rdx
mov rdx, r8
jmp fcn.14000a4d0
mov rcx, rdx
mov rdx, r8
jmp fcn.140012770

Function at 0x140012770
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140014a90
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x140012831
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.140013660
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
je 0x140012831
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140012805
test rdi, rdi
je 0x140012801
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1400037f0
xor esi, esi
jmp 0x140012831
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
je 0x14001282e
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1400037f0
mov rsi, rbx
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret

Function at 0x140012c20
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 [0x140829a88]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140012c64
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 0x140012cca
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140012d01
test eax, eax
js 0x140012cdb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140012cf4
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 dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 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.14000c960
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140007e90
mov ecx, 7
int 0x29
ud2
Function at 0x1400217b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002182a
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 0x140021820
cmp r11, r10
ja 0x1400218b5
cmp r10, rdx
ja 0x1400218c7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140021822
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140021800
jmp 0x140021897
ja 0x14002182a
mov r11, r10
cmp rax, r8
jne 0x1400217d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14002189b
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 0x140021870
mov r8, r10
sub ecx, r9d
jns 0x14002188e
jmp 0x14002189d
cmp r10, rdx
je 0x1400218a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002189d
xor al, 1
cmp r8, rdx
jne 0x140021850
jmp 0x14002189d
xor eax, eax
jmp 0x14002189d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140025050
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140025680
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140025600
int3
Function at 0x140024080
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x1400240de
mov rdi, rax
lea rdx, [0x140827976]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400240de
mov rsi, rax
lea rdx, [0x140827984]
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400240de
mov rdi, rax
xor ebx, ebx
jmp 0x140024160
lea rcx, [0x140827910]
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x1400241d3
mov rsi, rax
lea rdx, [0x14082791a]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400241d3
mov rdi, rax
lea rdx, [0x14082792d]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400241d3
mov rbx, rax
lea rdx, [0x140827941]
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400241d3
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1400241d3
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x140834121]
mov ecx, 0x18
mov edx, 8
call fcn.1400037e0
test rax, rax
je 0x1400241d8
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x140834138], rcx
je 0x1400241c7
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1400241b0
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call sub.KERNEL32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1400037f0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.140024050
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140024fd0
ud2

Function at 0x140f741d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f741de
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 0x140f74207
pop rbp
sub rbp, 0x33
sub rbp, 0xf741d4
sub rsp, 0x20
jmp 0x140f74226
mov rax, 0xf741d4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5f36e69a
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f74245
jmp 0x140f7425c
rcl byte [rbx], cl
jae 0x140f74271
adc esp, dword [rsi - 0x2d656566]
sbb ebx, dword [rbx - 0x6e]
wait
invalid
pop rdx
xchg edx, eax
invalid
Function at 0x140001d80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x140001ed3
test edx, edx
je 0x140001ed3
cmp qword [0x1400054c0], 0
je 0x140001ed3
lea r8d, [rdx + 2]
mov qword [rsp + 0x38], rsi
mov eax, 0xaaaaaaab
mul r8d
shr edx, 1
lea ecx, [rdx*4 + 1]
call fcn.1400039e0
mov rsi, rax
test rax, rax
jne 0x140001de5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov r9, rsi
test ebx, ebx
je 0x140001ebc
mov r11, qword [0x1400054c0]
lea rax, [rsp + 0x30]
sub rdi, rax
nop
xor edx, edx
lea rax, [rsp + 0x30]
lea r8d, [rdx + 3]
nop dword [rax + rax]
test ebx, ebx
je 0x140001e20
movzx ecx, byte [rdi + rax]
dec ebx
inc edx
mov byte [rax], cl
jmp 0x140001e23
mov byte [rax], 0
inc rax
sub r8, 1
jne 0x140001e10
movzx ecx, byte [rsp + 0x30]
add rdi, 3
movzx r10d, byte [rsp + 0x31]
mov eax, ecx
movzx r8d, byte [rsp + 0x32]
and ecx, 3
shr rax, 2
shl rcx, 4
movzx eax, byte [rax + r11]
mov byte [r9], al
mov eax, r10d
shr rax, 4
or rax, rcx
movzx eax, byte [rax + r11]
mov byte [r9 + 1], al
cmp edx, 1
jbe 0x140001e8b
movzx ecx, r10b
and ecx, 0xf
movzx eax, r8b
shr rax, 6
shl rcx, 2
or rcx, rax
movsx eax, byte [rcx + r11]
jmp 0x140001e90
mov eax, 0x3d
mov byte [r9 + 2], al
cmp edx, 2
jbe 0x140001ea7
movzx eax, r8b
and eax, 0x3f
movsx ecx, byte [rax + r11]
jmp 0x140001eac
mov ecx, 0x3d
mov byte [r9 + 3], cl
add r9, 4
test ebx, ebx
jne 0x140001e00
mov rax, rsi
mov byte [r9], 0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001f60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
cmp dword [0x140005dd8], 0
lea rbx, [0x1400059d8]
mov r11d, edx
mov r10, rcx
jne 0x14000201f
xor r8d, r8d
mov r9, rbx
mov eax, r8d
shr eax, 1
test r8b, 1
je 0x140001f95
xor eax, 0xedb88320
test al, 1
je 0x140001fa2
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001fa4
shr eax, 1
test al, 1
je 0x140001fb1
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001fb3
shr eax, 1
test al, 1
je 0x140001fc0
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001fc2
shr eax, 1
test al, 1
je 0x140001fcf
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001fd1
shr eax, 1
test al, 1
je 0x140001fde
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001fe0
shr eax, 1
test al, 1
je 0x140001fed
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001fef
shr eax, 1
test al, 1
je 0x140001ffc
shr eax, 1
xor eax, 0xedb88320
jmp 0x140001ffe
shr eax, 1
mov dword [r9], eax
inc r8d
add r9, 4
cmp r8d, 0x100
jb 0x140001f85
mov dword [0x140005dd8], 1
or edx, 0xffffffff
test r11d, r11d
je 0x140002050
mov r8, r11
nop word [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
mov ecx, edx
xor rcx, rax
movzx eax, cl
mov ecx, edx
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, ecx
sub r8, 1
jne 0x140002030
mov rbx, qword [rsp + 8]
not edx
mov eax, edx
ret
Function at 0x1400020a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [0x140005988]
mov dword [rsp + 0x20], 0x2eca438c
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x28]
xor esi, esi
nop
mov rax, qword gs:[0x60]
mov ebp, dword [rdi - 8]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
cmp qword [rbx + 0x30], 0
je 0x14000212e
nop dword [rax + rax]
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
call fcn.140003cc0
xor edx, edx
mov rcx, rax
test rax, rax
je 0x140002119
cmp word [rax], dx
je 0x140002119
nop dword [rax]
inc edx
cmp word [rax + rdx*2], 0
jne 0x140002110
add edx, edx
call fcn.140001f60
cmp eax, ebp
je 0x14000214d
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
jne 0x1400020f0
xor ecx, ecx
mov rax, qword [rdi]
mov qword [rax], rcx
test rcx, rcx
je 0x140002153
inc esi
add rdi, 0x10
cmp esi, 1
jb 0x1400020d0
mov eax, 1
jmp 0x140002155
mov rcx, qword [rbx + 0x30]
jmp 0x140002130
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400037e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
lea rax, [0x140005990]
mov dword [rsp + 0x20], 0x26797e77
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x28]
xor esi, esi
nop
mov rax, qword gs:[0x60]
mov ebp, dword [rdi - 8]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
cmp qword [rbx + 0x30], 0
je 0x14000386e
nop dword [rax + rax]
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
call fcn.140003cc0
xor edx, edx
mov rcx, rax
test rax, rax
je 0x140003859
cmp word [rax], dx
je 0x140003859
nop dword [rax]
inc edx
cmp word [rax + rdx*2], 0
jne 0x140003850
add edx, edx
call fcn.140001f60
cmp eax, ebp
je 0x14000388d
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
jne 0x140003830
xor ecx, ecx
mov rax, qword [rdi]
mov qword [rax], rcx
test rcx, rcx
je 0x140003893
inc esi
add rdi, 0x10
cmp esi, 1
jb 0x140003810
mov eax, 1
jmp 0x140003895
mov rcx, qword [rbx + 0x30]
jmp 0x140003870
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret