joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140225390]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002368
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002380
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140225390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400023a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400023f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002400
add rdx, 0x28
cmp r9, rdx
jne 0x1400023e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140225390]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002432
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002440
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002432
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002432
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002432
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002495
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400024a8
add rdx, 0x28
cmp rdx, r10
jne 0x140002480
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400024b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400024c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000249e
test ecx, ecx
jg 0x1400024b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001000
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
lea rcx, str.ntdll.dll
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x18
lea r8, [rsp + 0x48]
mov rdx, rax
mov qword [rsp + 0x40], rax
mov rcx, 0xffffffffffffffff
mov r15, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rbp, qword [rsp + 0x48]
lea rcx, str.c:windows_system32_ntdll.dll
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x80000000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x1000002
mov r12, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea edx, [rbx + 4]
xor r8d, r8d
mov r13, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
movsxd rsi, dword [rbp + 0x3c]
movzx edi, bx
add rsi, rbp
mov r14, rax
cmp bx, word [rsi + 6]
jae 0x140001198
lea r8, str..text
xor r15d, r15d
nop word [rax + rax]
movzx ecx, word [rsi + 0x14]
movzx eax, di
add rcx, rsi
lea rdx, [rax + rax*4]
mov rax, r15
lea rbx, [rcx + rdx*8]
nop word [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x140001186
cmp rax, 6
jne 0x140001120
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x60]
mov edx, dword [rbx + 0x20]
lea r8d, [rax + 0x3a]
add rcx, rbp
mov dword [rsp + 0x60], r15d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r14]
lea rcx, [rax + rbp]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x60]
mov edx, dword [rbx + 0x20]
add rcx, rbp
mov r8d, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, str..text
inc di
cmp di, word [rsi + 6]
jb 0x140001100
mov r15, qword [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001c80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140002548
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x140038bad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140038bbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140038ba5
lea eax, [rcx + 1]
jmp 0x140038bcb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140038bde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140038bc4
sub eax, 3
jb 0x140038bfe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140038c4d
sar eax, 1
movsxd rbp, eax
jb 0x140038c34
jmp 0x140038c0c
add ebx, ebx
jne 0x140038c0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140038c34
inc ecx
add ebx, ebx
jne 0x140038c1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140038c34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140038c2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140038c1c
add ecx, 2
jmp 0x140038c39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140038b62
jmp 0x140038bad
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22000
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140038c9d
cmp rsi, rcx
jae 0x140038ca5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140038c84
cmp al, 0x8f
ja 0x140038c84
cmp byte [rsi - 2], 0xf
je 0x140038c8a
sub al, 0xe8
cmp al, 1
ja 0x140038c6e
cmp rsi, rcx
jae 0x140038ca5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140038c74
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140038ca5
lodsb al, byte [rsi]
jmp 0x140038c84
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x36000]
mov eax, dword [rdi]
or eax, eax
je 0x140038d02
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x39880]
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 0x140038cb2
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 0x140038cfc
mov qword [rbx], rax
add rbx, 8
jmp 0x140038cd2
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 0x140038d3c
cmp al, 0xef
ja 0x140038d2e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140038d0e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140038d1d
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 + 0x1af]
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
mov byte [fcn.140038dbb], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140038dbb
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140038dab
sub rsp, 0xffffffffffffff80
jmp 0x1400013d0
Function at 0x14001139d
Capabilities:
Terminate process

Disassembly:
jmp 0x14001bb10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011497
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a990
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a9b0
xor al, al
jmp 0x14001aa31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a9c3
xor al, al
jmp 0x14001aa31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001a9ed
xor al, al
jmp 0x14001aa31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001aa01
xor al, al
jmp 0x14001aa31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001aa13
xor al, al
jmp 0x14001aa31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001aa2f
xor al, al
jmp 0x14001aa31
mov al, 1
add rsp, 0x38
ret
Function at 0x140019c90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400116c7
movzx eax, al
test eax, eax
jne 0x140019cb0
mov ecx, 7
call fcn.140011582
nop
mov byte [rsp + 0x20], 0
call fcn.1400115c8
mov byte [rsp + 0x21], al
cmp dword [0x1400285e0], 1
jne 0x140019cd4
mov ecx, 7
call fcn.140011582
nop
jmp 0x140019d2c
cmp dword [0x1400285e0], 0
jne 0x140019d27
mov dword [0x1400285e0], 1
lea rdx, [0x1400227a0]
lea rcx, [0x140022470]
call fcn.140011316
test eax, eax
je 0x140019d08
mov eax, 0xff
jmp 0x140019e31
lea rdx, [0x140022360]
lea rcx, [section..rdata]
call fcn.1400115aa
mov dword [0x1400285e0], 2
jmp 0x140019d2c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001156e
call fcn.1400114c4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140019d89
mov rcx, qword [rsp + 0x30]
call fcn.140011276
movzx eax, al
test eax, eax
je 0x140019d89
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002f020]
nop
call fcn.14001150f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140019dbd
mov rcx, qword [rsp + 0x38]
call fcn.140011276
movzx eax, al
test eax, eax
je 0x140019dbd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001166d
nop
call fcn.140019ea0
mov dword [rsp + 0x28], eax
call fcn.140011497
movzx eax, al
test eax, eax
jne 0x140019ddc
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140019deb
call fcn.14001167c
nop
xor edx, edx
mov cl, 1
call fcn.14001124e
mov eax, dword [rsp + 0x28]
jmp 0x140019e31
add rsp, 0x68
ret
Function at 0x2fc4dd390
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4ddd92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc502108]
test eax, eax
je 0x2fc4dde2a
lea rax, [0x2fc5020e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc502110]
mov qword [rbp - 8], rax
jmp 0x2fc4dde0e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dde02
cmp qword [rbp - 0x10], 0
je 0x2fc4dde02
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dddc8
lea rax, [0x2fc5020e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dde2b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4ddf30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4ddf58
mov eax, 0
jmp 0x2fc4ddfa6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4ddf81
mov eax, 0
jmp 0x2fc4ddfa6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4ddfa1
mov eax, 0
jmp 0x2fc4ddfa6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4ddfac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4de02a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4de021
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4de021
mov rax, qword [rbp - 8]
jmp 0x2fc4de03f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4ddff4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000fc40
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 0x14000fcd0
cmp r11, r10
ja 0x14000fd46
cmp r10, rdx
ja 0x14000fd5a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000fcd2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000fcb0
jmp 0x14000fd34
ja 0x14000fcda
mov r11, r10
cmp rax, r8
jne 0x14000fc74
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 0x14000fd10
mov rdi, r8
sub ecx, edx
jns 0x14000fd2b
jmp 0x14000fd36
cmp r8, rsi
je 0x14000fd6b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000fd36
xor al, 1
cmp rdi, rsi
jne 0x14000fcf0
jmp 0x14000fd36
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.14000b4f0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14000aad0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14000ae60
ud2

Function at 0x140012389
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400e3018]
test ecx, ecx
je 0x1400123a2
dec ecx
add rsp, 0x28
jmp fcn.1400e0e9c
lea rcx, section..data
call fcn.140098ed0
mov ecx, eax
jmp 0x140012399

Function at 0x1400123b7
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 0x1400123d8
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue
mov rcx, rax
call fcn.140098ed0
mov ecx, eax
jmp 0x1400123cb

Function at 0x1400172f4
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14001731a
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140017304
mov qword [rcx], rax
ret

Function at 0x140017402
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.1400172c9
test rbx, rbx
je 0x14001743b
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400172f4
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400172ec
Function at 0x14006d8cc
Capabilities:
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, 0xa8
mov rsi, rcx
mov rcx, qword [rcx]
xor edx, edx
mov eax, 1
lock cmpxchg qword [rcx], rdx
jne 0x14006d90c
mov rdi, qword [rsi]
mov rax, qword [rdi + 8]
cmp rax, 1
jne 0x14006d93e
mov qword [rdi], 1
jmp 0x14006daf9
call fcn.14006ff82
mov rdi, rax
mov qword [rsp + 0x68], rax
mov r14, qword [rsi]
cmp byte [r14 + 0x96], 0
je 0x14006d979
movups xmm0, xmmword [r14 + 0x97]
movaps xmmword [rsp + 0x80], xmm0
mov al, 1
mov dword [rsp + 0x24], eax
jmp 0x14006d981
mov qword [rsp + 0x30], rdi
call fcn.14006ff82
mov rbx, rax
mov rcx, rax
add rcx, 0x10
add rdi, 0x10
mov r8d, 0xa0
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsi], rbx
lea rcx, [rsp + 0x30]
call fcn.14003056a
mov rdi, rbx
jmp 0x14006daf9
mov dword [rsp + 0x24], 0
mov eax, dword [r14 + 0x60]
mov dword [rsp + 0x2c], eax
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x60], rax
mov al, byte [r14 + 0x90]
mov byte [rsp + 0x21], al
mov eax, dword [r14 + 0x70]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x68]
mov qword [rsp + 0x58], rax
mov r13b, byte [r14 + 0x91]
mov ebx, dword [r14 + 0x92]
mov al, byte [r14 + 0xa7]
mov byte [rsp + 0x23], al
mov al, byte [r14 + 0xa8]
mov byte [rsp + 0x22], al
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x50], rax
mov rbp, qword [r14 + 0x18]
mov r15, qword [r14 + 0x20]
mov r12, qword [r14 + 0x28]
mov rdx, qword [r14 + 0x78]
mov r8, qword [r14 + 0x88]
lea rcx, [rsp + 0x90]
call fcn.140063928
shl rbx, 8
xor eax, eax
test r13b, r13b
cmovne rax, rbx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x44], rcx
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x34], xmm0
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r12
movups xmm0, xmmword [r14 + 0x30]
movups xmm1, xmmword [r14 + 0x40]
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm1
mov rcx, qword [r14 + 0x50]
mov qword [rdi + 0x50], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rdi + 0x58], rcx
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x60], ecx
mov rcx, qword [rsp + 0x58]
mov qword [rdi + 0x68], rcx
mov ecx, dword [rsp + 0x28]
mov dword [rdi + 0x70], ecx
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [rsp + 0x3c]
mov rdx, qword [rsp + 0x44]
movups xmmword [rdi + 0x74], xmm0
mov qword [rdi + 0x80], rcx
mov qword [rdi + 0x88], rdx
mov cl, byte [rsp + 0x21]
mov byte [rdi + 0x90], cl
movzx ecx, r13b
or rcx, rax
shr rax, 0x20
mov byte [rdi + 0x95], al
mov dword [rdi + 0x91], ecx
mov eax, dword [rsp + 0x24]
mov byte [rdi + 0x96], al
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x97], xmm0
mov al, byte [rsp + 0x23]
mov byte [rdi + 0xa7], al
mov al, byte [rsp + 0x22]
mov byte [rdi + 0xa8], al
mov rcx, rsi
call fcn.140042216
mov qword [rsi], rdi
add rdi, 0x10
mov rax, rdi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14006f203
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x90]
mov rcx, qword [rdx + 0x78]
mov rdx, qword [rdx + 0x88]
lea r9, str._home_affix_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14006ee0c
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xb8]
xor r8d, r8d
xor r9d, r9d
call sub.Secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x14006f2dd
test eax, eax
je 0x14006f2f9
cmp eax, 0x90317
je 0x14006f36e
cmp eax, 0x90321
jne 0x14006f376
mov dword [rdi + 0x10], 0x10000
xor ebx, ebx
mov byte [rdi + 0x14], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x90]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006f1a1
and qword [rdi + 0xf0], 0
mov byte [rsi + 1], bl
jmp 0x14006f384
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf0], rax
mov byte [rsi + 1], 0
jmp 0x14006f372
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x88]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x58]
and qword [rdi + 0x68], 0
call fcn.14006f38e
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140007d9e
and qword [rdi + 0x70], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x90]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006f1a1
xor eax, eax
cmp qword [rdi + 0x90], rbx
sete al
mov qword [rdi + 0xf0], rax
mov byte [rsi + 1], 0
jmp 0x14006f384
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006f384
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret