joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cc038
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x1400cc069
call fcn.14007e1f0
mov rdi, qword [rax + 0x18]
lea r8, [0x1402473b0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x1400cc088
xor eax, eax
jmp 0x1400cc0d4
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400cc084
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400cc0c9
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400cc0f0
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400cef40
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14030aed8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14030691c]
test eax, eax
je 0x1400cef8b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x1400cef94
call fcn.14006d4c0
test eax, eax
je 0x1400cefb0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400cefb8
xor eax, eax
jmp 0x1400cf015
test rbx, rbx
jne 0x1400cefd8
lea rcx, str.ImageList_GetImageCount
call fcn.14007a9dc
mov rbx, rax
test rax, rax
je 0x1400cefe3
mov qword [0x14030aed8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400ceff8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ceffa
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400cf013
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140171988
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14030e340]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14030691c]
test eax, eax
je 0x1401719d3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x1401719dc
call fcn.14006d4c0
test eax, eax
je 0x1401719f8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140171a00
xor eax, eax
jmp 0x140171a5d
test rbx, rbx
jne 0x140171a20
lea rcx, str.ChooseColorW
call fcn.140085700
mov rbx, rax
test rax, rax
je 0x140171a2b
mov qword [0x14030e340], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140171a40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140171a42
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140171a5b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140178588
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14030e538]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14030691c]
test eax, eax
je 0x1401785d3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x1401785dc
call fcn.14006d4c0
test eax, eax
je 0x1401785f8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140178600
xor eax, eax
jmp 0x14017865d
test rbx, rbx
jne 0x140178620
lea rcx, str.PrintDlgW
call fcn.140085700
mov rbx, rax
test rax, rax
je 0x14017862b
mov qword [0x14030e538], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140178640
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140178642
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14017865b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14017dce0
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14017de1c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14017de5e
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x14017e26c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14017e33e
test rbx, rbx
je 0x14017e344
test r9, r9
je 0x14017e34a
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017e327
cmp dword [rsp + 0x48], 3
jne 0x14017e327
test eax, eax
jne 0x14017e327
cmp dword [rdi], eax
je 0x14017e327
mov ecx, dword [rdi]
call fcn.140068190
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14017e31b
cmp dword [rsp + 0x48], 3
jne 0x14017e31b
test eax, eax
jne 0x14017e31b
mov eax, 1
jmp 0x14017e329
mov rcx, qword [rbx]
call fcn.1400681d4
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140068cb8
int3
call fcn.140068cb8
int3
call fcn.140068cb8
int3

Function at 0x14017e608
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14017e619
xor eax, eax
jmp 0x14017e647
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14017e650
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14017e661
xor eax, eax
jmp 0x14017e685
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1401cfb54
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x1401cfb7d
mov rdi, qword [rdx + 0x10]
jmp 0x1401cfbce
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1401cfb9e
call fcn.14007cd80
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1401cfbb8
call fcn.14007cd80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1401cfbce
call fcn.14007cd80
call fcn.14007e1f0
cmp qword [rax + 0x68], 0
je 0x1401cfbe8
mov rdx, rdi
mov rcx, rbp
call fcn.1401cf1b4
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1401cfe4c
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x1401cfc0f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x1401cfc1e
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401cffbc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x14030f558]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14030691c]
test eax, eax
je 0x1401d0008
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x1401d0011
call fcn.14006d4c0
test eax, eax
je 0x1401d002d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401d0038
xor eax, eax
jmp 0x1401d00bc
test r14, r14
jne 0x1401d0055
lea rcx, str.CreatePropertySheetPageW
call fcn.1401d02b8
test rax, rax
je 0x1401d0087
mov qword [0x14030f558], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1401d0076
cmp dword [rdi], 0x60
jb 0x1401d0076
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402fb4b0]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x14030f558]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1401d009e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401d00a0
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1401d00b9
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401d00d4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14030f560]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14030691c]
test eax, eax
je 0x1401d011f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x1401d0128
call fcn.14006d4c0
test eax, eax
je 0x1401d0144
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401d014c
xor eax, eax
jmp 0x1401d01a9
test rbx, rbx
jne 0x1401d016c
lea rcx, str.DestroyPropertySheetPage
call fcn.1401d02b8
mov rbx, rax
test rax, rax
je 0x1401d0177
mov qword [0x14030f560], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401d018c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401d018e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401d01a7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401d01c0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14030f568]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14030691c]
test eax, eax
je 0x1401d020f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x1401d0218
call fcn.14006d4c0
test eax, eax
je 0x1401d0234
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401d023e
or rax, 0xffffffffffffffff
jmp 0x1401d02a0
test rbx, rbx
jne 0x1401d025e
lea rcx, str.PropertySheetW
call fcn.1401d02b8
mov rbx, rax
test rax, rax
je 0x1401d026b
mov qword [0x14030f568], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x1401d0282
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401d0284
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401d029d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140214b6c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140214b82
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140214b84
xor eax, eax
test eax, eax
je 0x140214b94
mov ecx, eax
call fcn.1401f6a30
or eax, 0xffffffff
jmp 0x140214b96
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400013c8
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x140001404
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x1400013e3
inc r8
jmp 0x1400013d0
lea r10d, [r9 - 0x20]
cmp r9b, 0x61
movzx r9d, r9b
movzx r10d, r10b
cmovb r10d, r9d
imul r9d, eax, 0x21
movzx eax, r10b
add eax, r9d
jmp 0x1400013de
ret

Function at 0x140001405
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, ecx
lea rcx, [0x140018408]
mov edx, 9
call fcn.1400013c8
mov edi, eax
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x10
mov rbx, qword [rbx]
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
call fcn.1400013c8
cmp eax, edi
jne 0x140001440
mov r14, qword [rbx + 0x30]
movsxd rax, dword [r14 + 0x3c]
mov eax, dword [rax + r14 + 0x88]
test rax, rax
je 0x1400014d6
mov edi, dword [rax + r14 + 0x18]
mov ecx, dword [rax + r14 + 0x1c]
add rcx, r14
mov qword [rsp + 0x20], rcx
mov r12d, dword [rax + r14 + 0x20]
add r12, r14
mov r13d, dword [rax + r14 + 0x24]
add r13, r14
xor ebx, ebx
xor r15d, r15d
cmp r15, rdi
je 0x1400014d8
mov rbp, r15
mov ecx, dword [r12 + r15*4]
add rcx, r14
mov rdx, 0xffffffffffffffff
cmp byte [rcx + rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x1400014a6
lea r15, [rbp + 1]
call fcn.1400013c8
cmp eax, esi
jne 0x140001490
movzx ecx, word [r13 + rbp*2]
cmp rdi, rcx
jbe 0x1400014f4
mov rax, qword [rsp + 0x20]
mov ebx, dword [rax + rcx*4]
add rbx, r14
jmp 0x1400014d8
xor ebx, ebx
movzx eax, word [rbx + 4]
add rbx, 0x12
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.srcmain.rs
mov rdx, rdi
call fcn.140016ec0
ud2
Function at 0x140004870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140004900
cmp r10, r11
jb 0x140004976
cmp r10, rdx
ja 0x14000498a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140004902
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400048e0
jmp 0x140004964
ja 0x14000490a
mov r11, r10
cmp rax, r8
jne 0x1400048a4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140004940
mov rdi, r8
sub ecx, edx
jns 0x14000495b
jmp 0x140004966
cmp r8, rsi
je 0x14000499b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004966
xor al, 1
cmp rdi, rsi
jne 0x140004920
jmp 0x140004966
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140017230
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140016fc0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140017040
ud2
Function at 0x14000ac60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000acbb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000acbb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000acd6
cmp eax, 0x42
jne 0x14000acbb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000ad86
cmp byte [r9 + r11], 0x5f
jne 0x14000ad86
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000adee
mov rcx, rsi
xor edx, edx
call fcn.140006160
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140006160
test al, al
jne 0x14000ae81
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000ad12
lea rdx, [0x140190563]
mov r8d, 1
call fcn.140002ad0
test al, al
jne 0x14000ae81
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000acca
xor r14d, r14d
lea rbx, [0x14019094e]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000ad44
cmp byte [rax + rcx], 0x45
je 0x14000aea3
sub r14, 1
jb 0x14000ad69
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000ad69
mov r8d, 2
mov rdx, rbx
call fcn.140002ad0
test al, al
jne 0x14000ae81
mov rcx, rsi
call fcn.14000aec0
test al, al
jne 0x14000ae81
mov rax, qword [rsi]
test rax, rax
jne 0x14000ad30
jmp 0x14000acca
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000ae48
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000ade2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000adcc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000adbb
add dl, 0xa9
jmp 0x14000adca
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000ae48
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000ae48
movzx edx, bl
add rax, rdx
jae 0x14000ad90
jmp 0x14000ae48
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000ae48
cmp rax, rcx
jae 0x14000ae45
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000ae9b
cmp qword [rsi + 0x20], 0
je 0x14000aeaf
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000ac60
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000accc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000ae89
lea rax, [0x140190919]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140002ad0
test al, al
je 0x14000ae89
mov dil, 2
jmp 0x14000acca
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000acca
mov dil, 1
xor r8d, r8d
jmp 0x14000ae4a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000acca
xor edi, edi
jmp 0x14000acca
Function at 0x140012180
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 0x1400121b0
test ecx, ecx
jne 0x140012200
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400121bc
test ecx, ecx
jne 0x140012200
mov rcx, rdi
call fcn.140012060
movzx eax, al
test bpl, bpl
jne 0x140012207
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400121f3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140012378]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400121f3.2
xor eax, eax
test bpl, bpl
je 0x1400121cc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140012359
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14001223a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400122b9
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 0x140012280
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14001229b
inc rax
dec rdi
cmp rax, 1
jne 0x140012260
jmp 0x1400122b9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14001229b
cmp ebx, 0x5c
je 0x14001229b
inc rax
dec rdi
cmp rax, 1
jne 0x140012280
jmp 0x1400122b9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140012367
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400122e3
mov al, 9
cmp rdx, 2
je 0x1400122e7
cmp rdx, 1
jne 0x1400122f7
cmp byte [r8], 0x2e
jne 0x1400122f7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400122f7
mov al, 0xa
jmp 0x1400122f7
cmp byte [r8], 0x2e
jne 0x1400122f7
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.0x1400121f3.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.0x1400121f3.2
mov ecx, 2
jmp case.0x1400121f3.2
lea r8, str.library_std_srcpath.rs
call fcn.140016f40
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140016f40
ud2

Function at 0x140016a74
Capabilities:
Parse pe header

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