joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003b90
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [0x14000d4e0]
mov r8d, 1
xor edx, edx
lea rcx, [0x14000d500]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140003e10
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x340]
call fcn.140004b20
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x40]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0xc8]
lea rdx, [0x14000d4f0]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x48]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140003dfa
xor r9d, r9d
mov r8d, 7
lea rdx, [rsp + 0x110]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140003de4
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.140004e50
nop
lea r8, [0x14000d784]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xa0]
call fcn.140006ef0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x348]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x80]
call fcn.140007010
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r8, str..lnk
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140006fc0
nop
lea rcx, [rsp + 0x80]
call fcn.140004da0
nop
lea rcx, [rsp + 0xa0]
call fcn.140004da0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xd0]
call fcn.140004b20
mov qword [rsp + 0x70], rax
mov r8d, 1
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x78]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc8]
call qword [rax + 0x10]
cmp dword [rsp + 0x34], 0
jl 0x140003dc9
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0x10]
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0xd0]
call fcn.140004da0
nop
lea rcx, [rsp + 0xf0]
call fcn.140004da0
movzx eax, byte [rsp + 0x30]
jmp 0x140003e12
lea rcx, [rsp + 0xd0]
call fcn.140004da0
nop
lea rcx, [rsp + 0xf0]
call fcn.140004da0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc8]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + 0x10]
xor al, al
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.14000b1f0
add rsp, 0x338
ret
Function at 0x140003e30
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rdx, [0x14000d788]
lea rcx, [rsp + 0xd8]
call fcn.140004e50
nop
lea r8, [0x140011850]
lea rdx, [0x14000d798]
lea rcx, [rsp + 0xa0]
call fcn.140007060
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea r8, [0x14000d790]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.140006fc0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xd8]
call fcn.140004d70
nop
lea rcx, [rsp + 0x80]
call fcn.140004da0
nop
lea rcx, [rsp + 0xa0]
call fcn.140004da0
lea rdx, str._exclusions___Get_MpPreference_.ExclusionPath_
lea rcx, [rsp + 0xd8]
call fcn.140004d40
lea rdx, str.if___exclusionPath__notin__exclusions__
lea rcx, [rsp + 0xd8]
call fcn.140004d40
lea rdx, str.Add_MpPreference__ExclusionPath__exclusionPath_
lea rcx, [rsp + 0xd8]
call fcn.140004d40
lea rdx, [0x14000d78c]
lea rcx, [rsp + 0xd8]
call fcn.140004d40
lea rdx, str.powershell__ExecutionPolicy_Bypass__Command__
lea rcx, [rsp + 0xf8]
call fcn.140004e50
nop
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xf8]
call fcn.140004d70
lea rdx, [0x14000d824]
lea rcx, [rsp + 0xf8]
call fcn.140004d40
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x120], 0x68
mov dword [rsp + 0x15c], 1
xor eax, eax
mov word [rsp + 0x160], ax
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, [rsp + 0xf8]
call fcn.140004b20
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x120]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004067
lea rdx, [0x14000d828]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140007130
mov qword [rsp + 0x78], rax
lea rdx, [0x140007570]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0xf8]
call fcn.140004da0
nop
lea rcx, [rsp + 0xd8]
call fcn.140004da0
mov eax, dword [rsp + 0x50]
jmp 0x1400040aa
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xf8]
call fcn.140004da0
nop
lea rcx, [rsp + 0xd8]
call fcn.140004da0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14000b1f0
add rsp, 0x1a0
pop rdi
ret
Function at 0x140004190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.140004b20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x1400041c1
mov dword [rsp + 0x20], 1
jmp 0x1400041c9
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400047e0
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
call fcn.1400047c0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000b1f0
add rsp, 0x48
ret

Function at 0x140009c90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140002900
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14000a330
nop
lea rax, [0x14000a3b0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1400021e0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140009d33
lea rcx, [rsp + 0x40]
call fcn.140009e60
jmp 0x140009d4b
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.140009e90
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b1f0
add rsp, 0x58
ret

Function at 0x14000b13c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000b1c0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000d510]
cmp byte [rcx + rax], 0
je 0x14000b1c0
dec r8
sub rdx, 1
jne 0x14000b1a6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000bcf4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000bd3e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000bd3e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000bd3e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000bd3e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000bd3e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000bd40
xor al, al
add rsp, 0x28
ret
Function at 0x140055af0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword [rcx + 8]
xor r14d, r14d
mov esi, r14d
mov ebp, r14d
mov rdi, rcx
nop word [rax + rax]
lea ecx, [rax + 0xff]
shl esi, cl
add esi, esi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140055b94
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140055b50
mov ecx, dword [r10]
jmp 0x140055c77
cmp ecx, 0x4e0
jb 0x140055c77
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140055bb0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140055c00
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x140055b30
mov rax, qword [rdi + 8]
or esi, ecx
add rbp, rax
cmp rbp, 0x20
jb 0x140055b20
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret

Function at 0x140121af0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0x10
jb 0x140121afe
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140166020
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x1414b0148]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, r9
mov r12, r8
mov r15, rdx
mov r14, qword [rbp + 0x418]
mov rax, qword [rbp + 0x410]
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], al
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], al
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.140165a00
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
test al, al
jne 0x1401660bb
xor bl, bl
jmp 0x1401661b9
movups xmm0, xmmword [str.SYSTEMCurrentControlSetControlClass_]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x14039b7b8]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [0x14039b7c8]
movsd qword [rbp - 0x50], xmm0
lea r8, [rsp + 0x50]
cmp rsi, 0x10
cmovae r8, rdi
lea rcx, [rbp - 0x70]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1401660f2
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140166100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140166194
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.KMD_EnableInternalLargePage
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140166190
cmp dword [rsp + 0x34], 4
jne 0x140166190
cmp dword [rsp + 0x38], 2
sete al
jmp 0x140166196
xor al, al
jmp 0x140166196
mov al, 1
mov byte [r14], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.140166800
movzx ebx, al
cmp rsi, 0x10
jb 0x1401661ed
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1401661e4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140166251
mov rcx, rdi
call fcn.1402b82bc
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140166225
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140166220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016624b
call fcn.1402b82bc
movzx eax, bl
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1402b83d0
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402befbc
nop
call fcn.1402befbc
nop
int3
Function at 0x1402d1450
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402d127c
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and eax, 0xf32b7f8b
fdiv st(2)
push rbp
push 0xfffffffffffffff3
sbb bl, byte [rsi - 0x14]
mov edx, 0x1292574e
cmp al, 0x37
push rdi
mov bh, ch
je 0x14003f693
pop rsi
pop rsi
fst dword [rdx + 0x4b0e6ddb]
cmp al, 0xc8
and ecx, dword [rdx]
xchg byte [rdi - 0x3b8ea794], dh
insb byte [rdi], dx
pop rax
jno 0x14003f60b
xchg ebx, eax
ficom dword [rbp - 0x63]
movabs byte [0xc0db4a2310033e7f], al
and ecx, dword [rdx - 0x25]
invalid
xchg edi, eax
outsb dx, byte [rsi]
stosb byte [rdi], al
jrcxz 0x14003f6d8
and ecx, dword [rdx - 0x25]
rcl byte [rdi + 0x7fe3aa6e], 0xdb
call rsp
invalid
invalid
sbb al, 0x56
sub eax, 0x11d3412
fld qword [rcx]
mov dl, 0xf5
push rdx
test al, 0xd1
xor byte [rdi - 0x68], al
pop rbx
std
ficom dword [rax]
out dx, al
mov ch, 0x71
sal dword [rbx - 0x48a3edc4], 1
invalid
sar ecx, cl
xor ebx, edi
mov dh, 0x30
stosb byte [rdi], al
adc ebp, dword [rsi + 0x33007557]
scasb al, byte [rdi]
push rdi
jne 0x14003f694
invalid
scasb al, byte [rdi]
push rdi
jne 0x14003f694
add byte [rbx], dh
xor edx, dword [rdi - 0x15bfec1d]
invalid
invalid
mov al, 0x8c
invalid
xchg edi, eax
jrcxz 0x14003f6ab
invalid
mov esp, edi
mov word [rdi], gs
popfq
mov esp, 0x95242788
sub byte [rdi], al
hlt
add eax, 0x253ff957
add al, 0x1c
adc ah, dh
invalid
Function at 0x140003f10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movdqa xmmword [rsp + 0x50], xmm8
movdqa xmmword [rsp + 0x40], xmm7
movdqa xmmword [rsp + 0x30], xmm6
mov rax, rcx
mov ecx, 1
cmp qword [rdx + 0x18], 0
je 0x14000411a
mov rdi, r9
mov rbx, r8
movabs r11, 0x517cc1b727220a95
cmp r9, 8
jb 0x140003f82
lea rcx, [rdi - 8]
mov r10, rcx
shr r10, 3
inc r10
mov r9d, r10d
and r9d, 3
cmp rcx, 0x18
jae 0x140003f90
xor r14d, r14d
mov rcx, rbx
mov r8, rdi
jmp 0x140003fdd
xor r14d, r14d
mov r8, rdi
mov rcx, rbx
jmp 0x14000400b
and r10, 0xfffffffffffffffc
xor r14d, r14d
mov rcx, rbx
mov r8, rdi
nop dword [rax]
rol r14, 5
xor r14, qword [rcx]
imul r14, r11
rol r14, 5
xor r14, qword [rcx + 8]
imul r14, r11
rol r14, 5
xor r14, qword [rcx + 0x10]
imul r14, r11
rol r14, 5
xor r14, qword [rcx + 0x18]
imul r14, r11
add r8, 0xffffffffffffffe0
add rcx, 0x20
add r10, 0xfffffffffffffffc
jne 0x140003fa0
test r9, r9
je 0x14000400b
shl r9, 3
xor r10d, r10d
nop dword [rax]
rol r14, 5
xor r14, qword [rcx + r10]
imul r14, r11
add r10, 8
cmp r9, r10
jne 0x140003ff0
add rcx, r10
sub r8, r10
cmp r8, 3
ja 0x14000413d
cmp r8, 1
ja 0x14000415d
test r8, r8
mov qword [rsp + 0x20], rax
je 0x140004037
movzx ecx, byte [rcx]
rol r14, 5
xor r14, rcx
imul r14, r11
rol r14, 5
xor r14, 0xff
imul r14, r11
mov rcx, qword [rdx]
mov r12, qword [rdx + 8]
mov rax, r14
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
mov qword [rsp + 0x28], rcx
lea r13, [rcx - 0x18]
xor ebp, ebp
pcmpeqd xmm7, xmm7
and r14, r12
mov rax, qword [rsp + 0x28]
movdqu xmm8, xmmword [rax + r14]
movdqa xmm0, xmm6
pcmpeqb xmm0, xmm8
pmovmskb esi, xmm0
test esi, esi
jne 0x1400040cc
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
jne 0x140004187
add r14, rbp
add r14, 0x10
add rbp, 0x10
jmp 0x140004075
lea eax, [rsi - 1]
and eax, esi
mov esi, eax
test ax, ax
je 0x140004094
tzcnt eax, esi
add rax, r14
and rax, r12
neg rax
lea r15, [rax + rax*2]
cmp qword [r13 + r15*8 + 8], rdi
jne 0x1400040c0
lea rax, [r15*8]
add rax, r13
mov rdx, qword [rax]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400040c0
mov rax, qword [rsp + 0x28]
movzx ecx, word [rax + r15*8 - 8]
mov rax, qword [rsp + 0x20]
mov word [rax + 4], cx
mov ecx, 5
mov dword [rax], ecx
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, dword [rcx]
rol r14, 5
xor r14, r9
imul r14, r11
add r8, 0xfffffffffffffffc
add rcx, 4
cmp r8, 1
jbe 0x14000401f
movzx r9d, word [rcx]
rol r14, 5
xor r14, r9
imul r14, r11
add r8, 0xfffffffffffffffe
add rcx, 2
test r8, r8
mov qword [rsp + 0x20], rax
jne 0x140004029
jmp 0x140004037
mov rax, qword [rsp + 0x20]
mov ecx, 1
jmp 0x14000411a
Function at 0x14000f7b0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x14000f840
jmp 0x14000f82f
jae 0x14000f900
cmp r8, 0x201
jae 0x14000f840
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14000f898
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14000f86f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140028e80
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14000f8c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000f968
mov r8d, r14d
cmp r15, r8
jne 0x14000f820
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000f98b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000f82f
jmp 0x14000f840
cmp rsi, r8
jb 0x14000f9a5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140012580
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x14000f951
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140003430
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x14000f939
jmp 0x14000f951
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140029af0
jmp 0x14000f9ba
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140029ee0
ud2