joyce8/EMBER2024-capa huggingface dataset:
Function at 0x81bb40
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x81bcb9
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
lea edx, [rcx - 1]
nop dword [rax + rax]
cmp edx, 0x7ffffffe
jbe 0x81bba3
cmp byte [rax + 0xa0], 0
jne 0x81bba3
lea rax, [0x00a4d9e0]
call fcn.0040f0e0
mov qword [rax + 8], 0x1e
lea rcx, [0x00adb055]
mov qword [rax], rcx
mov rbx, rax
lea rax, [0x00b99800]
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov dword [rsp + 0x64], ecx
mov qword [rsp + 0x58], rax
nop
mov rdx, qword [rax + 0x98]
mov r8, qword [rax + 0x88]
nop dword [rax + rax]
cmp rdx, 9
jae 0x81bbf8
mov dword [rsp + 0x60], ebx
mov rax, r8
mov ebx, 9
mov rcx, rdx
mov rdi, rbx
lea rsi, [0x00a16ae0]
nop
call fcn.0044c700
mov ebx, dword [rsp + 0x60]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x64]
mov dword [r8], 0x8000000
mov byte [r8 + 4], 0
bswap ebx
mov dword [r8 + 5], ebx
mov qword [rax + 0x90], 9
mov qword [rax + 0x98], rdx
lea rdi, [rax + 0x88]
cmp dword [0x00f0c520], 0
jne 0x81bc35
mov qword [rax + 0x88], r8
jmp 0x81bc3a
call fcn.004685c0
nop
nop dword [rax + rax]
cmp rdx, 0xd
jae 0x81bc99
mov qword [rsp + 0x40], rdi
mov rax, r8
mov ebx, 0xd
mov rcx, rdx
mov edi, 4
lea rsi, [0x00a16ae0]
call fcn.0044c700
mov rdx, qword [rsp + 0x58]
mov qword [rdx + 0x98], rcx
cmp dword [0x00f0c520], 0
jne 0x81bc85
mov qword [rdx + 0x88], rax
jmp 0x81bc8f
mov rdi, qword [rsp + 0x40]
call fcn.00468440
mov ecx, dword [rsp + 0x64]
mov r8, rax
mov rax, rdx
mov qword [rax + 0x90], 0xd
bswap ecx
mov dword [r8 + 9], ecx
call fcn.00818c60
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov dword [rsp + 0x14], ecx
call fcn.00466260
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x14]
jmp fcn.0081bb40

Function at 0x825480
Capabilities:
Reference sql statements

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x82550f
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [0x00a4d9e0]
call fcn.0040f0e0
mov qword [rax + 8], 0x1d
lea rcx, [0x00ada4b6]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
mov rdx, qword [rdx + 0x48]
test rdx, rdx
je 0x8254ec
mov qword [rsp + 0x18], rax
mov rcx, qword [rdx]
lea rax, [0x00ad2f3c]
mov ebx, 0x14
call rcx
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
lea rbx, [0x00b99800]
mov rdx, rax
mov rax, rcx
mov rcx, rdx
nop dword [rax]
call fcn.008252a0
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov qword [rsp + 8], rax
call fcn.00466260
mov rax, qword [rsp + 8]
nop
jmp fcn.00825480
Function at 0x8368e0
Capabilities:
Reference sql statements

Disassembly:
lea r12, [rsp - 0x70]
cmp r12, qword [r14 + 0x10]
jbe 0x836b25
sub rsp, 0xf0
mov qword [rsp + 0xe8], rbp
lea rbp, [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rbx
mov r9, qword [0x009d0130]
mov r8, qword [0x009d0128]
test r9, r9
jne 0x836938
xor ecx, ecx
xor ebx, ebx
xor edi, edi
xor esi, esi
xor eax, eax
jmp 0x836b15
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0xf8], rax
mov rbx, qword [0x009d0138]
mov rcx, qword [0x009d0140]
xor eax, eax
lea rdi, [0x00b97554]
mov esi, 1
call fcn.004505e0
mov rdx, qword [0x009d0180]
mov r10, qword [0x009d0178]
nop dword [rax]
test rdx, rdx
je 0x836ae5
cmp qword [0x009d0190], 0
je 0x836ae5
cmp qword [0x009d0170], 0
nop
je 0x836ae5
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rax
mov rax, r10
mov rbx, rdx
mov ecx, 6
nop dword [rax + rax]
call fcn.00613220
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rbx
mov rdx, qword [0x009d0188]
mov rsi, qword [0x009d0190]
mov ecx, 6
mov rax, rdx
mov rbx, rsi
call fcn.00613220
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rbx
mov rdx, qword [0x009d0168]
mov rsi, qword [0x009d0170]
mov ecx, 6
mov rax, rdx
mov rbx, rsi
call fcn.00613220
lea rdi, [rsp + 0x78]
lea rdi, [rdi - 0x10]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00468be6
mov rbp, qword [rbp]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x80], rdx
lea rdx, [0x00b97554]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], 1
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], 1
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rsi
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], 1
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
xor eax, eax
lea rbx, [rsp + 0x78]
mov ecx, 7
mov rdi, rcx
call fcn.00450300
mov rcx, qword [rsp + 0x70]
mov rdi, rax
mov rsi, rbx
lea r8, [0x00ac2b0b]
mov r9d, 4
xor r10d, r10d
mov rax, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
call fcn.00837980
mov rbp, qword [rsp + 0xe8]
add rsp, 0xf0
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00466260
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.008368e0
Function at 0x8b4c30
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [0x00f1a7f0], rax
je 0x8b4c65
lea rcx, [0x00f1a800]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [fcn.0097a840]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop

Function at 0x8c8cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edi, dword [rcx + 0x80]
movsxd rdx, edx
mov rsi, rcx
mov rcx, qword [rcx + 0x78]
mov r12, rdx
imul rdx, rdx, 0x38
call fcn.008c8750
test rax, rax
mov rbp, rax
je 0x8c8d9f
movsxd rbx, edi
mov r8d, r12d
xor edx, edx
imul rbx, rbx, 0x38
sub r8d, edi
movsxd r8, r8d
imul r8, r8, 0x38
add rbx, rax
mov rcx, rbx
call sub.msvcrt.dll_memset
cmp edi, r12d
mov qword [rsi + 0x78], rbp
jl 0x8c8d78
jmp 0x8c8db0
mov rax, qword [rsi + 0x60]
test rax, rax
jle 0x8c8d88
mov qword [rbx], rax
mov eax, dword [rsi + 0x3c]
mov ecx, 0x200
mov dword [rbx + 0x1c], eax
call fcn.008c8150
test rax, rax
je 0x8c8d90
mov dword [rax], ebp
mov qword [rbx + 0x10], rax
mov rax, qword [rsi + 0x120]
mov dword [rbx + 0x20], 1
test rax, rax
je 0x8c8d66
mov edx, dword [rax + 0x58]
mov dword [rbx + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rbx + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rbx + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rbx + 0x30], eax
add edi, 1
add rbx, 0x38
cmp edi, r12d
mov dword [rsi + 0x80], edi
je 0x8c8db0
mov rax, qword [rsi + 0x50]
mov ebp, dword [rsi + 0x20]
cmp qword [rax], 0
mov dword [rbx + 0x18], ebp
jne 0x8c8d11
mov eax, dword [rsi + 0xb8]
jmp 0x8c8d1a
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x20], 1
mov eax, 7
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x8e5770
Capabilities:
Create thread

Disassembly:
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x8e57a0
mov r8d, dword [rax + 0x20]
test r8d, r8d
je 0x8e5794
lea rdx, [0x008e5920]
mov r8, rcx
mov rcx, qword [rax]
jmp fcn.008c8640
jmp fcn.008e5660
xor eax, eax
ret
Function at 0x95fad0
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r12d, dword [rsp + 0x90]
mov byte [rcx + 0x1c], 1
mov edi, r8d
mov rsi, rdx
mov rbp, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov rbx, rcx
mov dword [rsp + 0x20], r8d
mov r8, rdx
mov dword [rsp + 0x30], r12d
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
call fcn.0095bf20
test edi, edi
je 0x95fb22
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r9, rbp
mov r8, rsi
mov rcx, rbx
mov dword [rsp + 0x90], r12d
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.0095bf20
Function at 0x963f80
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov edi, edx
mov rbp, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov r12, r9
mov qword [rsp + 0x48], rax
movsxd rax, edx
lea rsi, [rcx + rax*8]
cmp qword [rsi + 0x28], 0
je 0x964013
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x963fd0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rsi + 0x28]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.008e1d40
mov rcx, rsi
call fcn.00940920
cmp eax, 0x65
je 0x964030
cmp eax, 0x64
je 0x964060
mov rcx, rsi
call fcn.0091bdc0
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x963fc2
mov dword [rbx + 0x40], eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [rsp + rax*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.0095b5a0
mov qword [rsi + 0x28], rax
jmp 0x963fbb
test edi, edi
mov r9, r12
mov r8, rbp
lea rdx, str.__parent
mov rcx, rbx
lea rax, str.__rowid
cmove rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.00904a40
jmp 0x963ff6
xor edx, edx
mov rcx, rsi
call fcn.008ca100
cmp r12, rax
je 0x963ff6
test edi, edi
mov qword [rsp + 0x30], r12
mov r9, rax
mov r8, rbp
lea rcx, str.__parent
mov qword [rsp + 0x28], rbp
lea rdx, str.__rowid
cmove rdx, rcx
mov rcx, rbx
mov qword [rsp + 0x20], rdx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
call fcn.00904a40
jmp 0x963ff6
Function at 0x979d10
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00f1b6c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00f1b6a0]
test rbx, rbx
je 0x979d64
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x979d5b
test rsi, rsi
je 0x979d5b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x979d40
lea rcx, [0x00f1b6c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x97a0a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00ea55a0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x97a10d
mov rcx, r8
call fcn.00979f80
test eax, eax
je 0x97a10d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x97a10d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x97a104
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x97a10f
add rax, 0x28
cmp rax, r9
jne 0x97a0f0
xor eax, eax
add rsp, 0x28
ret

Function at 0x97aa20
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0097a840
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.0097a840
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140018270
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rsi, rcx
lea r14, [rsp + 0xa0]
mov qword [r14], rdx
mov qword [r14 + 8], 0x24
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
lea rdx, [0x1402ab11e]
lea rbx, [rsp + 0xb0]
mov r8d, 3
mov rcx, rbx
call fcn.14018bba0
lea rdi, [rsp + 0x38]
mov qword [rdi], r14
lea r13, [fcn.14018e887]
mov qword [rdi + 8], r13
mov qword [rsp + 0x20], 1
lea rdx, [0x140273348]
lea r14, [rsp + 0x48]
mov r8d, 2
mov rcx, r14
mov r9, rdi
call fcn.14000db98
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r14
call fcn.1400101cf
mov r12, qword [r15]
mov rax, qword [r15 + 0x10]
lea rcx, [0x1402ab11c]
mov qword [r14], rcx
mov qword [r14 + 8], 2
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], rax
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14008ca26
lea r14, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
call fcn.140185380
mov rdx, qword [r15 + 8]
mov rcx, r12
call fcn.1401371c1
mov rcx, rbx
call fcn.14000e542
mov rdx, qword [r14]
mov rax, qword [r14 + 8]
test rdx, rdx
je 0x14001840b
lea rdi, [rsp + 0xb0]
mov qword [rdi], rdx
mov qword [rdi + 8], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm1
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x30], rax
mov r8, qword [rdi + 0x10]
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.140055380
xor r14d, r14d
cmp qword [rbx], 0
cmove r14, qword [rbx + 0x10]
lea r15, str._rustc_cc66ad468955717ab92600c770da8c1601a4ff33librarycore_src_fmtmod.rs
cmove r15, qword [rbx + 8]
mov rcx, r14
call fcn.14019d3bb
mov rbx, rax
mov r12, rdx
mov rcx, rax
mov rdx, r15
mov r8, r14
call sub.msvcrt.dll_memcpy
mov rcx, rdi
call fcn.14000e445
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r14
mov qword [rsi + 0x10], r14
mov rax, qword [rdi + 8]
mov qword [rsi], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 8], rax
jmp 0x1400184a0
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14038d2f0]
test rcx, rcx
je 0x140018484
lea rax, [rsp + 0x28]
lea r9, [rsp + 0x80]
mov qword [r9], rax
mov qword [r9 + 8], r13
mov qword [r9 + 0x10], rdi
lea rax, [fcn.1401743a0]
mov qword [r9 + 0x18], rax
mov qword [rsp + 0x20], 2
lea rdx, str._rustc_cc66ad468955717ab92600c770da8c1601a4ff33librarycore_src_fmtmod.rs
lea rdi, [rsp + 0xb0]
mov r8d, 2
mov rcx, rdi
call fcn.14000db98
lea r8, str.hoster::system_information::users::windows_user_software::credentialssrc_system_information_users_windows_user_software_credentials.rs
mov edx, 1
mov rcx, rdi
mov r9d, 0x5e
call fcn.14008c68e
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx - 8], 1
and qword [rsi], 0
call fcn.14000e506
nop
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400185ca
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1080
call fcn.1401b7370
sub rsp, rax
movaps xmmword [rsp + 0x1070], xmm6
add rdx, rcx
lea rsi, [rsp + 0x70]
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
and word [rsi + 0x10], 0
mov dword [rsi + 0x18], 1
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.14014f0a8
and qword [rsi], 0
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rsi
mov rcx, 0xffffffff80000003
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
mov ebx, eax
test eax, eax
je 0x140018656
mov rsi, rbx
shl rsi, 0x20
or rsi, 2
mov qword [rsp + 0x50], rsi
mov eax, 1
jmp 0x140018662
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x50], rsi
xor eax, eax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.14019d415
test ebx, ebx
je 0x140018689
lea rcx, [rsp + 0x50]
call fcn.14000e506
xor esi, esi
jmp 0x140018772
lea rbx, [rsp + 0x80]
lea r14, [rsp + 0x70]
xorps xmm6, xmm6
lea r15, [rsp + 0x48]
lea r12, [rsp + 0x58]
movabs r13, 0x900000002
xor edi, edi
mov dword [rsp + 0x48], 0x800
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, rsi
mov edx, edi
mov r8, r14
mov r9, r15
call sub.ADVAPI32.dll_RegEnumKeyExW
test eax, eax
je 0x1400186f8
cmp eax, 0x103
je 0x140018765
shl rax, 0x20
or rax, 2
xor ecx, ecx
jmp 0x14001872c
mov r8d, dword [rsp + 0x48]
cmp r8, 0x801
jae 0x14001879d
mov rcx, r12
mov rdx, r14
call fcn.14004b770
mov rcx, qword [rsp + 0x58]
mov rax, r13
test rcx, rcx
je 0x140018727
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x70], rdi
test rcx, rcx
je 0x140018755
mov rdx, rax
call fcn.1401371c1
jmp 0x14001875d
mov rcx, rbx
call fcn.14000e506
inc rdi
jmp 0x1400186af
mov rcx, rsi
call fcn.14019e969
mov esi, 1
mov rcx, 0xffffffff80000003
call fcn.14019e969
mov eax, esi
mov edx, edi
movaps xmm6, xmmword [rsp + 0x1070]
add rsp, 0x1080
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_winreg_0.51.0_src_reg_key.rs
mov edx, 0x800
mov rcx, r8
mov r8, rax
call fcn.140050440
ud2
Function at 0x140059f90
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 0x14005a020
cmp r11, r10
ja 0x14005a096
cmp r10, rdx
ja 0x14005a0aa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14005a022
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14005a000
jmp 0x14005a084
ja 0x14005a02a
mov r11, r10
cmp rax, r8
jne 0x140059fc4
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 0x14005a060
mov rdi, r8
sub ecx, edx
jns 0x14005a07b
jmp 0x14005a086
cmp r8, rsi
je 0x14005a0bb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14005a086
xor al, 1
cmp rdi, rsi
jne 0x14005a040
jmp 0x14005a086
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.140055020
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140050440
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140050c60
ud2

Function at 0x14006207e
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140265028]
test ecx, ecx
je 0x140062097
dec ecx
add rsp, 0x28
jmp fcn.1401b7924
lea rcx, [0x140265010]
call fcn.1401552d0
mov ecx, eax
jmp 0x14006208e

Function at 0x1400700f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.140082049
test rbx, rbx
je 0x140070129
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140070143
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14007013b

Function at 0x140070143
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140070169
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140070153
mov qword [rcx], rax
ret
Function at 0x140093b6f
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x14038d0c8]
test r14, r14
jne 0x140093c9e
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140093bd6
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140093bd6
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140093bd6
mov r15, rax
xor ebx, ebx
jmp 0x140093c57
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140093cb2
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140093cb2
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140093cb2
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140093cb2
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140093cb2
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.140090077
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x14038d0c8], r14
je 0x140093c9e
mov rdi, rax
cmp qword [r14], 0
je 0x140093c8e
mov rcx, qword [r14 + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 8
mov rcx, r14
call fcn.14002a3e0
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x1402aceb8]
mov edx, 0x5b
call fcn.140093ccc
ud2

Function at 0x140093e6b
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140265058]
test ecx, ecx
je 0x140093e84
dec ecx
add rsp, 0x28
jmp fcn.1401b7924
lea rcx, [0x140265040]
call fcn.1401552d0
mov ecx, eax
jmp 0x140093e7b

Function at 0x140093e94
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140093eb5
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1401b792c
mov rcx, rax
call fcn.1401552d0
mov ecx, eax
jmp 0x140093ea8
Function at 0x140095ecb
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x38], rcx
mov rbp, qword [rcx]
mov eax, 0xffffffff
xorps xmm6, xmm6
lea r13, [rsp + 0x2c]
lea rdi, case.0x1401783e3.66
lea r14, [rsp + 0x40]
cmp rsi, rax
mov r15d, 0xffffffff
cmovb r15, rsi
test rsi, rsi
je 0x140095fc5
mov rcx, qword [rbp]
and dword [rsp + 0x2c], 0
movaps xmmword [rsp + 0x40], xmm6
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov r8d, r15d
mov r9, r14
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x140095f6d
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x2c], 0
je 0x140095f4d
mov ecx, dword [rsp + 0x30]
test ecx, ecx
jne 0x140095f74
jmp 0x140095f92
call sub.kernel32.dll_GetLastError
mov ecx, eax
mov r12, rcx
shl r12, 0x20
or r12, 2
call fcn.140156390
cmp al, 0x23
jne 0x140095fb3
mov rcx, r12
call fcn.1400721fc
jmp 0x140095f14
mov ecx, dword [rsp + 0x34]
test rcx, rcx
je 0x140095fe1
mov rax, rsi
sub rax, rcx
jb 0x140095fef
add rbx, rcx
mov rsi, rax
mov eax, 0xffffffff
jmp 0x140095f07
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rdi + 8]
call fcn.140153684
mov qword [rdi + 8], r12
test rsi, rsi
setne al
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x38]
lea r12, str.failed_to_write_whole_buffer
jmp 0x140095fb8
lea r8, str._rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_std_srciomod.rs
mov rdx, rsi
call fcn.14004f390
ud2

Function at 0x140096cd2
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1402650a8]
test ecx, ecx
je 0x140096ceb
dec ecx
add rsp, 0x28
jmp fcn.1401b7924
lea rcx, [0x140265090]
call fcn.1401552d0
mov ecx, eax
jmp 0x140096ce2