joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485600
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4856d5
movdqa xmm0, xmmword [0x0052a0b0]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x485641
movdqa xmm0, xmmword [0x0052a0c0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x485757
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x48572b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x00529ef0]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x0052a0d0]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret

Function at 0x486da0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4874df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x486dcd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x487051
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48707d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0052c360]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004dd620]
lea rbx, [0x0052a760]
call fcn.00438000
inc rax
cmp rax, r8
jge 0x4870a2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4870d7
lea rdi, [0x004dd6a0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x486dc3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4870bb
jmp 0x487090
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00467c60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00486da0
Function at 0x487680
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x487697
inc rax
cmp rax, 4
jge 0x4876af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x487694
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4876c0
inc rax
cmp rax, 4
jge 0x4876ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4876f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4876db
jmp 0x4876bd
Function at 0x48d140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48d20a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403900
xorps xmm15, xmm15
mov r14, qword [0x006faba0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48d1ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004dd720]
xor ebx, ebx
mov rcx, rdx
call fcn.0044ecc0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0048e3a0
inc rbx
cmp rcx, rbx
jae 0x48d1de
mov edi, 1
lea rsi, [0x004dd720]
call fcn.0044eda0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0052a9c8]
lea rsi, [0x00529f00]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00467c60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048d140
Function at 0x4d0580
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [rax + 0x18]
mov rdx, qword [0x00674ee8]
test byte [rdx], al
movzx ebx, bl
xor ebx, ecx
movzx ebx, bl
shr ecx, 8
xor ecx, dword [rdx + rbx*4]
movzx edx, cl
mov dword [rax + 0x18], ecx
add edx, dword [rax + 0x1c]
imul ecx, edx, 0x8088405
inc ecx
mov dword [rax + 0x1c], ecx
mov edx, dword [rax + 0x20]
shr ecx, 0x18
mov rbx, qword [0x00674ee8]
test byte [rbx], al
xor ecx, edx
movzx ecx, cl
shr edx, 8
xor edx, dword [rbx + rcx*4]
mov dword [rax + 0x20], edx
ret
Function at 0x14005eb10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005eb1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005eb2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005eb15
lea eax, [rcx + 1]
jmp 0x14005eb3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005eb4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005eb34
sub eax, 3
jb 0x14005eb6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005ebbd
sar eax, 1
movsxd rbp, eax
jb 0x14005eba4
jmp 0x14005eb7c
add ebx, ebx
jne 0x14005eb7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005eba4
inc ecx
add ebx, ebx
jne 0x14005eb8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005eba4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005eb9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005eb8c
add ecx, 2
jmp 0x14005eba9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005ead2
jmp 0x14005eb1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x24000
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005ec09
cmp rsi, rcx
jae 0x14005ec11
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005ebf0
cmp al, 0x8f
ja 0x14005ebf0
cmp byte [rsi - 2], 0xf
je 0x14005ebf6
sub al, 0xe8
cmp al, 1
ja 0x14005ebda
cmp rsi, rcx
jae 0x14005ec11
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005ebe0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005ec11
lodsb al, byte [rsi]
jmp 0x14005ebf0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5c000]
mov eax, dword [rdi]
or eax, eax
je 0x14005ec7a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6d4bc]
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 0x14005ec1e
jns 0x14005ec53
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14005ec5d
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 0x14005ec74
mov qword [rbx], rax
add rbx, 8
jmp 0x14005ec3e
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 0x14005ecb4
cmp al, 0xef
ja 0x14005eca6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005ec86
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005ec95
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 + 0x227]
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 0x14005ed08
sub rsp, 0xffffffffffffff80
jmp 0x14000afa0
Function at 0x1400050a0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x180
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf8], 0xfffffffffffffffe
lea rax, str..PhysicalDrive0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x12
lea rcx, str..PhysicalDrive0
mov edx, 0x12
call fcn.140003ad0
mov rcx, rax
call fcn.140004bc0
mov qword [rbp], rax
mov qword [rbp + 8], rdx
cmp qword [rbp], 0
jne 0x14000511a
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
mov qword [rbp - 8], rax
lea rdx, str..PhysicalDrive0
lea rcx, [rbp + 0x28]
mov r8d, 0x12
call fcn.140005590
jmp 0x140005137
mov rcx, qword [rbp + 8]
mov qword [rbp + 0x60], rcx
lea rdx, str.srcmain.rs
call fcn.1400049a0
mov qword [rbp - 0x10], rax
jmp 0x1400052ed
lea rcx, [rbp + 0x10]
lea rdx, [rbp + 0x28]
call fcn.1400016c0
jmp 0x140005146
lea rcx, [rbp + 0x10]
call fcn.140001d20
mov qword [rbp - 0x28], rax
jmp 0x140005155
mov rcx, qword [rbp - 0x28]
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xe0], 0
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0xd8], rax
mov r9, qword [rbp + 0xd8]
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
mov rdx, qword [rbp + 0x98]
mov rax, rsp
mov qword [rax + 0x30], rdx
mov dword [rax + 0x28], 0
mov dword [rax + 0x20], 3
mov edx, 0xc0000000
mov r8d, 3
call sub.KERNEL32.dll_CreateFileW
mov qword [rbp - 0x30], rax
jmp 0x1400051f0
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x10]
call fcn.140001240
jmp 0x140005203
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x80], 0
mov rcx, qword [rbp + 0x80]
mov qword [rbp + 0x78], rcx
cmp rax, qword [rbp + 0x78]
je 0x1400052a8
mov rcx, qword [rbp - 0x30]
mov dword [rbp + 0x44], 0
lea rdx, [0x1400206e2]
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], 0x1000
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xc0], 0
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0xb8], rax
mov r8, qword [rbp + 0xb8]
mov rax, rsp
mov qword [rax + 0x20], r8
mov r8d, 0x200
lea r9, [rbp + 0x44]
call sub.KERNEL32.dll_WriteFile
mov dword [rbp - 0x34], eax
jmp 0x1400052b3
call fcn.140005610
mov qword [rbp - 0x40], rax
jmp 0x1400052fa
mov eax, dword [rbp - 0x34]
mov dword [rbp + 0x5c], eax
cmp eax, 0
jne 0x1400052c9
call fcn.140005610
mov qword [rbp - 0x48], rax
jmp 0x1400052dc
mov qword [rbp - 0x10], 0
lea rcx, [rbp - 8]
call fcn.1400011e0
jmp 0x1400052ed
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 8]
call fcn.1400011e0
mov rax, qword [rbp - 0x10]
add rsp, 0x180
pop rbp
ret
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
jmp 0x1400052e4
Function at 0x140007d00
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 0x140007da0
jmp 0x140007d8f
jae 0x140007e60
cmp r8, 0x201
jae 0x140007da0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140007df8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140007dcf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001e6a0
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 0x140007e21
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140007ec8
mov r8d, r14d
cmp r15, r8
jne 0x140007d80
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140007ef5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140007d8f
jmp 0x140007da0
cmp rsi, r8
jb 0x140007f0f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140009d50
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 0x140007eb1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140005680
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 0x140007e99
jmp 0x140007eb1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_b11fbfbf351b94c7eecf9e6749a4544a6d4717falibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.14001f0d0
jmp 0x140007f24
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001f520
ud2
Function at 0x14000e600
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 [0x1400231e8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000e644
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 0x14000e6aa
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000e6e1
test eax, eax
js 0x14000e6bb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000e6d4
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.140009a90
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140006110
mov ecx, 7
int 0x29
ud2
Function at 0x14001cad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001cb4a
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 0x14001cb40
cmp r11, r10
ja 0x14001cbd5
cmp r10, rdx
ja 0x14001cbe7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001cb42
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001cb20
jmp 0x14001cbb7
ja 0x14001cb4a
mov r11, r10
cmp rax, r8
jne 0x14001caf2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001cbbb
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 0x14001cb90
mov r8, r10
sub ecx, r9d
jns 0x14001cbae
jmp 0x14001cbbd
cmp r10, rdx
je 0x14001cbc9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001cbbd
xor al, 1
cmp r8, rdx
jne 0x14001cb70
jmp 0x14001cbbd
xor eax, eax
jmp 0x14001cbbd
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.14001ef70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001f5a0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001f520
int3

Function at 0x14001e108
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415466
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431380
xorps xmm15, xmm15
mov r14, qword [0x005d6d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41532b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415340
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x415365
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415379
cmp rbx, 0x1000
jae 0x415335
nop dword [rax]
jmp 0x4153e9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41538d
xor edx, edx
jmp 0x4153e0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431380
xorps xmm15, xmm15
mov r14, qword [0x005d6d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x41536f
jmp 0x415354
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x005d6d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004358c0
lea rax, [0x004cd57a]
mov ebx, 0x18
call fcn.004361c0
mov rax, qword [rsp + 0x38]
call fcn.00435ec0
lea rax, [0x004cd63a]
mov ebx, 0x19
call fcn.004361c0
mov rax, qword [rsp + 0x30]
nop
call fcn.00435ec0
call fcn.00435b20
call fcn.00435940
lea rax, [0x004d006b]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00433f80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cec0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004152c0
Function at 0x4154a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4156ca
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431400
xorps xmm15, xmm15
mov r14, qword [0x005d6d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415519
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41552c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415550
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x415564
cmp rbx, 0x1000
jae 0x415523
jmp 0x4155e5
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415576
xor esi, esi
jmp 0x4155d6
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00431400
xorps xmm15, xmm15
mov r14, qword [0x005d6d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41555a
nop
jmp 0x415542
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x005d6d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415665
call fcn.004358c0
lea rax, [0x004cdbe4]
mov ebx, 0x19
call fcn.004361c0
mov rax, qword [rsp + 0x68]
call fcn.00435ec0
lea rax, [0x004cd63a]
mov ebx, 0x19
call fcn.004361c0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435ec0
call fcn.00435b20
call fcn.00435940
lea rax, [0x004c97b3]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00433f80
cmp eax, 0x5af
je 0x415608
call fcn.004358c0
lea rax, [0x004cdbe4]
mov ebx, 0x19
nop dword [rax]
call fcn.004361c0
mov rax, qword [rsp + 0x38]
call fcn.00435ec0
lea rax, [0x004cd63a]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004361c0
mov eax, dword [rsp + 0x34]
call fcn.00435ec0
call fcn.00435b20
call fcn.00435940
lea rax, [0x004cf8bb]
mov ebx, 0x1f
call fcn.00433f80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cec0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004154a0