joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001cd20
Capabilities:
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov eax, dword [rsp + 0x2e8]
or eax, 0x2001f
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x2d8]
call fcn.1800072d0
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x48]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18001cde4
cmp dword [rsp + 0x44], 2
je 0x18001cdda
cmp dword [rsp + 0x44], 3
je 0x18001cdda
mov rcx, qword [rsp + 0x2d8]
call fcn.1800072c0
mov r9, rax
mov r8d, dword [rsp + 0x44]
lea rdx, str.mini::__registry_class_mini::extended_mini_string_wchar_t___::GetKeySubkeys:_E:_d_open_Key__.80s..
mov ecx, 3
call fcn.1800284e0
mov eax, 0xffffffff
jmp 0x18001ceb6
mov dword [rsp + 0x88], 0x104
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001cea4
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.180006930
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x2e0]
call fcn.180018e10
nop
lea rcx, [rsp + 0x68]
call fcn.180011170
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x88], 0x104
jmp 0x18001cdf7
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x2c8
ret
Function at 0x18001fef0
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edx, 1
lea rcx, [rsp + 0x80]
call fcn.180014b40
lea rcx, [rsp + 0x80]
call fcn.180006980
nop
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.180014b40
lea rcx, [rsp + 0x98]
call fcn.180006980
nop
cmp qword [rsp + 0xe0], 0
jne 0x18001ffa8
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.180006930
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.1800111f0
nop
lea rcx, [rsp + 0x60]
call fcn.180011170
cmp qword [rsp + 0xd8], 0
je 0x18001ffea
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x48]
call fcn.180006930
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x80]
call fcn.1800111f0
nop
lea rcx, [rsp + 0x48]
call fcn.180011170
mov qword [rsp + 0x78], 0
mov eax, dword [rsp + 0xe8]
or eax, 0x2001f
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x80]
call fcn.1800072d0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov ecx, dword [rsp + 0x38]
mov r9d, ecx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18002009d
cmp dword [rsp + 0x30], 2
je 0x180020074
cmp dword [rsp + 0x30], 3
je 0x180020074
lea rcx, [rsp + 0x80]
call fcn.1800072c0
mov r9, rax
mov r8d, dword [rsp + 0x30]
lea rdx, str.mini::__registry_class_mini::extended_mini_string_wchar_t___::RegDeleteKeyValueW:_:_E:_d_open_key__s
mov ecx, 4
call fcn.1800284e0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x98]
call fcn.180011170
nop
lea rcx, [rsp + 0x80]
call fcn.180011170
mov eax, dword [rsp + 0x3c]
jmp 0x1800200e3
lea rcx, [rsp + 0x98]
call fcn.1800072d0
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x98]
call fcn.180011170
nop
lea rcx, [rsp + 0x80]
call fcn.180011170
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0xc8
ret
Function at 0x180026e90
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add rsp, 0x28
ret
Function at 0x180026ed0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x80a8
call fcn.180032680
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x8090], rax
mov dword [rsp + 0x4c], 0x80004005
lea rcx, [0x18005cd50]
call fcn.18000b5b0
mov dword [rsp + 0x4c], eax
jmp 0x180026f26
mov rax, qword [rsp + 0x80c8]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [str.parts]
mov rdx, qword [rsp + 0x80b8]
mov rcx, qword [rsp + 0x80b0]
call fcn.180026e90
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
ja 0x180026f68
mov dword [rsp + 0x44], 1
mov r8, 0xffffffffffffffff
lea rdx, [0x180047904]
mov rcx, qword [rsp + 0x80d0]
call fcn.180010130
mov dword [rsp + 0x40], 0
jmp 0x180026f97
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x180027137
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.180014b40
lea rcx, [rsp + 0x68]
call fcn.180006980
nop
cmp dword [rsp + 0x40], 0
jne 0x180026fe0
mov r8, 0xffffffffffffffff
mov rdx, qword [str.nxdata]
lea rcx, [rsp + 0x68]
call fcn.180010130
jmp 0x180026ffd
mov r9d, dword [rsp + 0x40]
mov r8, qword [str.nxdata]
lea rdx, str._s._d
lea rcx, [rsp + 0x68]
call fcn.180010850
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x8004
jae 0x180027018
jmp 0x18002701d
call fcn.180031020
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x80], ax
lea rcx, [rsp + 0x68]
call fcn.1800072d0
mov rcx, qword [rsp + 0x80c8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x4002
lea r9, [rsp + 0x80]
lea r8, [0x180047984]
mov rdx, rax
mov rcx, qword [rsp + 0x80b8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
cmp rax, 0x4002
jb 0x18002710b
mov rcx, qword [rsp + 0x80d0]
call fcn.1800072d0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x68]
call fcn.1800072d0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80c8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x80b0]
lea rdx, str.CIEPluginStorage::ReadString:__p_E_read__d_.80s.._.80s.._.80s.._.80s..
mov ecx, 4
call fcn.1800284e0
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80c0]
mov rcx, qword [rsp + 0x80d0]
call fcn.180010130
nop
lea rcx, [rsp + 0x68]
call fcn.180011170
jmp 0x180027137
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x80d0]
call fcn.18000fdf0
nop
lea rcx, [rsp + 0x68]
call fcn.180011170
jmp 0x180026f8d
lea rcx, [0x18005cd50]
call fcn.18000df30
nop
jmp 0x180027146
mov rcx, qword [rsp + 0x80d0]
call fcn.180030720
mov rcx, qword [rsp + 0x8090]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x80a8
ret
Function at 0x1800275e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x78], 0
je 0x18002761a
cmp qword [rsp + 0x88], 0
jne 0x180027624
mov eax, 0x80070057
jmp 0x180027764
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov rcx, rax
call fcn.1800072d0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180027699
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov rcx, rax
call fcn.1800072d0
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov r8d, eax
lea rdx, str.CIEPluginStorage::getItem:_E:_d_storage_not_existing__.80s..
mov ecx, 4
call fcn.1800284e0
lea rcx, [0x1800477c0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
xor eax, eax
jmp 0x180027764
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.180014b40
lea rcx, [rsp + 0x40]
call fcn.180006980
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov rcx, rax
call fcn.1800072d0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [0x1800477c4]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.180026ed0
lea r8, [0x1800477e0]
mov edx, 0x820000
lea rcx, [rsp + 0x40]
call fcn.180017bb0
lea rcx, [rsp + 0x40]
call fcn.1800072d0
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
lea rcx, [0x18005cd00]
call fcn.18000b020
movzx eax, al
test eax, eax
je 0x18002774e
mov rax, qword [rsp + 0x88]
mov r9, qword [rax]
mov r8, qword [rsp + 0x78]
lea rdx, str.getItem
mov rcx, qword [rsp + 0x70]
call fcn.180026d40
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.180011170
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x68
ret

Function at 0x180027a90
Capabilities:
Encrypt data using rc4 prga
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp + 4], 0
jmp 0x180027aad
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x100
jae 0x180027b4b
mov eax, dword [rsp + 4]
shl eax, 0x18
mov dword [rsp], eax
mov dword [rsp + 8], 0
jmp 0x180027ad9
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 8
jae 0x180027b05
mov eax, dword [rsp]
and eax, 0x80000000
test eax, eax
je 0x180027afb
mov eax, dword [rsp]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rsp], eax
jmp 0x180027b03
mov eax, dword [rsp]
shl eax, 1
mov dword [rsp], eax
jmp 0x180027acf
mov eax, dword [rsp]
and eax, 0xff000000
shr eax, 0x18
mov ecx, dword [rsp]
and ecx, 0xff0000
shr ecx, 8
or eax, ecx
mov ecx, dword [rsp]
and ecx, 0xff00
shl ecx, 8
or eax, ecx
mov ecx, dword [rsp]
and ecx, 0xff
shl ecx, 0x18
or eax, ecx
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 0x20]
mov dword [rdx + rcx*4], eax
jmp 0x180027aa3
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1800294d0
Capabilities:
Hash data using crc32b

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, dword [rsp + 0x30]
not eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 4], 0
jmp 0x180029500
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x18002957c
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov dword [rsp + 8], 0
jmp 0x180029536
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 8
jae 0x180029577
movzx eax, byte [rsp]
sar eax, 7
mov ecx, dword [rsp + 0x30]
shr ecx, 0x1f
xor eax, ecx
test eax, eax
je 0x180029562
mov eax, dword [rsp + 0x30]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rsp + 0x30], eax
jmp 0x18002956c
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp]
shl al, 1
mov byte [rsp], al
jmp 0x18002952c
jmp 0x1800294f6
mov eax, dword [rsp + 0x30]
not eax
add rsp, 0x18
ret

Function at 0x18002af70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x180059e80]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov r8, qword [rsp + 0xa8]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.18002ffe0
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.180030450
test rax, rax
je 0x18002b01a
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18002b590
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 8
jmp 0x18002aff0
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18002b018
mov eax, dword [rsp + 0x20]
shr eax, 1
mov ecx, dword [rsp + 0x20]
and ecx, 1
xor edx, edx
sub edx, ecx
mov ecx, edx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x18002afe6
jmp 0x18002afb5
mov eax, dword [rsp + 0x20]
not eax
mov rcx, qword [rsp + 0xa0]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800326e0
add rsp, 0x98
ret
Function at 0x18002fda0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x180059dd8], eax
mov qword [rsp + 0x28], 0x100
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
jbe 0x18002fdff
lea rax, [0x18005d410]
mov rcx, qword [rsp + 0x28]
mov byte [rax + rcx], 0xff
lea rax, [0x18005d510]
mov rcx, qword [rsp + 0x28]
mov byte [rax + rcx], 0xff
jmp 0x18002fdbe
mov qword [rsp + 0x20], 0
jmp 0x18002fe17
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x40
jae 0x18002fe90
lea rax, [0x180059de0]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx]
xor rax, qword [rsp + 0x20]
add rax, 0x41
and rax, 0xff
lea rcx, [0x180059de0]
mov rdx, qword [rsp + 0x20]
mov byte [rcx + rdx], al
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx]
lea rcx, [0x18005d410]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax], dl
lea rax, [0x180059de0]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx]
lea rcx, [0x18005d510]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax], dl
jmp 0x18002fe0a
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x140004a90
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 0x140004b20
cmp r11, r10
ja 0x140004b96
cmp r10, rdx
ja 0x140004baa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140004b22
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140004b00
jmp 0x140004b84
ja 0x140004b2a
mov r11, r10
cmp rax, r8
jne 0x140004ac4
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 0x140004b60
mov rdi, r8
sub ecx, edx
jns 0x140004b7b
jmp 0x140004b86
cmp r8, rsi
je 0x140004bbb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004b86
xor al, 1
cmp rdi, rsi
jne 0x140004b40
jmp 0x140004b86
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.140018450
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140018220
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140018290
ud2

Function at 0x140005c3e
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
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rdi, qword [rdi]
movzx edx, word [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
call fcn.140005d2d
cmp eax, 0x1edab0ed
jne 0x140005c66
mov r14, qword [rdi + 0x30]
movsxd rax, dword [r14 + 0x3c]
mov eax, dword [rax + r14 + 0x88]
test rax, rax
je 0x140005cfe
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 0x140005d00
mov rbp, r15
mov ecx, dword [r12 + r15*4]
add rcx, r14
mov rax, rcx
mov rdx, rax
inc rax
cmp byte [rdx], 0
jne 0x140005ccb
lea r15, [rbp + 1]
sub rdx, rcx
call fcn.140005d2d
cmp eax, esi
jne 0x140005cb9
movzx ecx, word [r13 + rbp*2]
cmp rdi, rcx
jbe 0x140005d1c
mov rax, qword [rsp + 0x20]
mov ebx, dword [rax + rcx*4]
add rbx, r14
jmp 0x140005d00
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.C:UsersAdministrator.cargogitcheckouts_rust_syscalls_68f3d3f4128be087162451a_src_syscall_resolve.rs
mov rdx, rdi
call fcn.1400181b0
ud2
Function at 0x140005d2d
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x140005d69
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x140005d48
inc r8
jmp 0x140005d35
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 0x140005d43
ret

Function at 0x140009520
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1400022c0
cmp rax, rcx
je 0x140009545
cmp rdx, 4
jae 0x140009548
xor eax, eax
xor r8d, r8d
jmp 0x1400095e0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14001a310]
movdqa xmm3, xmmword [0x14001a320]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140009570
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400095f7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400095e0
ret
Function at 0x14000a8c0
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 0x14000a91b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000a91b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000a936
cmp eax, 0x42
jne 0x14000a91b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000a9e6
cmp byte [r9 + r11], 0x5f
jne 0x14000a9e6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000aa4e
mov rcx, rsi
xor edx, edx
call fcn.140005f90
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.140005f90
test al, al
jne 0x14000aae1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000a972
lea rdx, [0x14001bbcc]
mov r8d, 1
call fcn.140002850
test al, al
jne 0x14000aae1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000a92a
xor r14d, r14d
lea rbx, [0x14001bf80]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000a9a4
cmp byte [rax + rcx], 0x45
je 0x14000ab03
sub r14, 1
jb 0x14000a9c9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000a9c9
mov r8d, 2
mov rdx, rbx
call fcn.140002850
test al, al
jne 0x14000aae1
mov rcx, rsi
call fcn.1400077a0
test al, al
jne 0x14000aae1
mov rax, qword [rsi]
test rax, rax
jne 0x14000a990
jmp 0x14000a92a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000aaa8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000aa42
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000aa2c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000aa1b
add dl, 0xa9
jmp 0x14000aa2a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000aaa8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000aaa8
movzx edx, bl
add rax, rdx
jae 0x14000a9f0
jmp 0x14000aaa8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000aaa8
cmp rax, rcx
jae 0x14000aaa5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000aafb
cmp qword [rsi + 0x20], 0
je 0x14000aaf4
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.14000a8c0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000a92c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000aae9
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14001bf40]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140002850
test al, al
je 0x14000aae9
mov dil, 2
jmp 0x14000a92a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000a92a
mov dil, 1
xor r8d, r8d
jmp 0x14000aaaa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000a92a
Function at 0x140011820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r11d, byte [rdx + 0x38]
cmp r11b, 1
ja 0x140011887
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x3a]
xor edx, edx
test r8b, r8b
jne 0x1400119d8
cmp r9b, 5
jb 0x1400119d8
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r11b, r11b
jne 0x140011877
cmp r9b, 6
je 0x140011877
mov esi, 2
cmp rdx, 2
jb 0x140011a80
cmp rsi, rdx
jne case.0x140010929.31
xor edx, edx
jmp 0x1400119d8
xor edx, edx
xor r8d, r8d
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
inc edi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
adc al, 0x32
test dl, 1
jne 0x1400119cd
cmp r10b, 0x2e
jne 0x1400119cd
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
cli
invalid
sete dl
or dl, r10b
jmp 0x1400119d8
cmp r10b, 0x2e
sete r10b
and dl, r10b
xor r10d, r10d
test r11b, r11b
jne case.default.0x140011a00
invalid
cmp r9b, 6
je case.default.0x140011a00
invalid
invalid
invalid
movzx r9d, r9b
lea r10, [0x14001e920]
add byte [rdi + 0x63], cl
or al, 0x8a
mov r10, qword [rax + 0x20]
add r10, 4
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 6
jmp case.default.0x140011a00
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 2
jmp case.default.0x140011a00
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.140018140
ud2
clc
add ecx, dword [rdi]
xchg edi, esi
add byte [rax], al
add byte [rax - 0x73], cl
or eax, 0x92d4

Function at 0x140016948
Capabilities:
Parse pe header

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

Function at 0x140017190
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400171f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400171f2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1400171f2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400171f2
cmp dword [rdx + 0x84], 0xe
jbe 0x1400171f2
cmp dword [rdx + 0xf8], 0
je 0x1400171f2
mov ecx, ebx
call fcn.140017050
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400222d8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140016ed0
cmp dword [rsp + 0x60], 0
jne 0x140017235
mov ecx, ebx
call fcn.140017000
int3
add rsp, 0x40
pop rbx
ret