joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013ff30
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14053d970]
mov ecx, dword [0x14052f0f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013ff90
lea rsi, [0x14053d968]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14053d970]
call fcn.1402dd290
cmp dword [0x14053d970], 0xffffffff
jne 0x14013ff6c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1402e0d10
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1402dd130
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14053d9b8]
mov ecx, dword [0x14052f0f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140140050
lea r8, [0x14053d988]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140140150
mov qword [0x14053d968], rsi
lea rcx, [0x14053d970]
call fcn.1402dd328
jmp 0x14013ff6c
lea rcx, [0x14053d9b8]
call fcn.1402dd290
cmp dword [0x14053d9b8], 0xffffffff
jne 0x140140021
xorps xmm0, xmm0
movups xmmword [0x14053d9a8], xmm0
movups xmmword [0x14053d998], xmm0
movups xmmword [0x14053d988], xmm0
lea rcx, [0x14053d988]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14053d9b8]
call fcn.1402dd328
jmp 0x140140021

Function at 0x1401400a0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14053d9b8]
mov ecx, dword [0x14052f0f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401400db
movzx eax, word [0x14053d988]
cmp eax, 9
jne 0x140140123
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14053d9b8]
call fcn.1402dd290
cmp dword [0x14053d9b8], 0xffffffff
jne 0x1401400c5
xorps xmm0, xmm0
movups xmmword [0x14053d9a8], xmm0
movups xmmword [0x14053d998], xmm0
movups xmmword [0x14053d988], xmm0
lea rcx, [0x14053d988]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14053d9b8]
call fcn.1402dd328
jmp 0x1401400c5
test eax, eax
je 0x1401400d6
cmp eax, 6
jne 0x140140133
mov eax, 2
jmp 0x1401400d6
cmp eax, 0xc
jne 0x14014013f
mov eax, 3
jmp 0x1401400d6
mov eax, 4
jmp 0x1401400d6
Function at 0x140141850
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rcx + 8]
lea rax, [r14 + 1]
cmp rax, 1
ja 0x1401418d6
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x1401418d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x140141972
mov rax, r14
inc rax
cmp rax, 2
jb 0x1401418ca
mov qword [rdi + 8], r14
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1401419b0
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov edx, 1
mov r8d, 0x1000000f
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x14014198d
lea rcx, [rdi + 0x68]
mov rdx, rsi
call fcn.14026dd40
lea rbx, [rdi + 0x10]
lea rdx, str.StartWatching
lea r8, [0x1404adde8]
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x66
call fcn.14026d510
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov r8, rdi
mov r9, r14
call fcn.140252630
mov edi, eax
mov rcx, rsi
call fcn.14026de10
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ddd70
mov eax, edi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.14026d530
mov rcx, qword [rdi + 8]
call fcn.140252540
mov qword [rdi + 8], 0
jmp 0x1401418b5
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jb 0x1401419b0
call fcn.14026d530
mov rcx, qword [rdi + 8]
call fcn.140252540
mov qword [rdi + 8], 0
xor edi, edi
jmp 0x140141950

Function at 0x140141b90
Capabilities:
Query or enumerate registry value

Disassembly:
add rcx, 0x18
cmp byte [rdx + 0x17], 0
jns 0x140141b90
mov rdx, qword [rdx]
jmp 0x140141b90
sub rsp, 0x38
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140141bc0
Capabilities:
Delete registry key

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x140141c8e
mov r14d, r8d
mov rdi, rdx
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], r15
xor eax, eax
mov qword [rsp + 0x38], rax
mov r12d, dword [rsi + 8]
mov r9d, r12d
or r9d, 0x10001
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140141c6e
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rbx
and r12d, 0x300
mov dword [rsp + 0x30], r12d
test r14b, r14b
je 0x140141c95
test rbx, rbx
je 0x140141c5f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.140141cf0
mov ebp, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, 6
jmp 0x140141c70
lea rdi, [rsp + 0x40]
mov qword [rdi], r15
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.140141e90
cmp byte [rdi + 4], 0
je 0x140141cbb
mov ebp, dword [rsp + 0x40]
test rbx, rbx
je 0x140141c70
jmp 0x140141cd6
mov r8d, dword [rsi + 8]
lea rdx, [0x14048ac4c]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
jmp 0x140141cb4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140141c70
Function at 0x140141cf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov esi, r8d
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r14
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov r9d, r8d
or r9d, 0x10009
lea rax, [rsp + 0x60]
mov qword [rax], rbx
mov qword [rsp + 0x20], rax
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140141dca
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rcx], rdi
mov eax, esi
and eax, 0x300
mov dword [rcx + 8], eax
mov qword [rbx], r14
mov rdx, rbx
call fcn.140141e90
cmp byte [rbx + 4], 0
jne 0x140141dd2
lea rdx, [0x14048ac4c]
xor ebx, ebx
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x140141dd8
test rdi, rdi
je 0x140141da7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp eax, 2
cmovne ebx, eax
jmp 0x140141da7
mov ebx, dword [rsp + 0x60]
jmp 0x140141d99
mov ecx, 0x200
call fcn.1402dd1ac
mov r14, rax
mov r8d, 0x200
mov rcx, rax
xor edx, edx
call fcn.1402e0d10
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x60], 0x100
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
xor edx, edx
mov r8, r14
mov r9, rbx
call r15
test eax, eax
jne 0x140141e4e
mov eax, dword [rsp + 0x60]
cmp rax, 0x100
jae 0x140141e7c
cmp word [r14 + rax*2], 0
jne 0x140141e7f
mov rcx, rdi
mov rdx, r14
mov r8d, esi
call fcn.140141cf0
test eax, eax
je 0x140141e04
lea rdx, [0x14048ac4c]
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test r14, r14
je 0x140141d99
mov rcx, r14
call fcn.1402dd1b4
jmp 0x140141d99
int3
int3
Function at 0x140141e90
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SymbolicLinkValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x140141ef6
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
test eax, eax
jne 0x140141f44
cmp dword [rsp + 0x3c], 6
jne 0x140141ed7
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x140141f4a
mov edi, eax
mov eax, dword [0x14053d9d0]
mov ecx, dword [0x14052f0f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140141f59
mov rax, qword [0x14053d9c8]
test rax, rax
je 0x140141f52
mov ecx, edi
call qword [case.0x14012d181.0]
mov dword [rsi], eax
mov al, 1
jmp 0x140141edc
mov dword [rsi], 0
jmp 0x140141f46
mov eax, 5
jmp 0x140141f44
lea rcx, [0x14053d9d0]
call fcn.1402dd290
cmp dword [0x14053d9d0], 0xffffffff
jne 0x140141f30
lea rcx, [0x1404ade3e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14053d9c8], rax
lea rcx, [0x14053d9d0]
call fcn.1402dd328
jmp 0x140141f30

Function at 0x140141fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140142038
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140142022
cmp dword [rsp + 0x38], 4
jne 0x140142022
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402ddd70
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140142022
Function at 0x140142040
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.1402ddd10
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1402e0d10
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14014211b
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x14014219e
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.140303804
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140142181
cmp rdi, 0xa
jbe 0x14014211f
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14013b340
jmp 0x140142151
mov edi, eax
jmp 0x140142153
mov rbx, rsi
test rdi, rdi
je 0x140142140
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.1402e0660
mov al, byte [rsi + 0x17]
test al, al
js 0x140142172
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1402ddd70
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x14014214b
mov r9, qword [rsi + 8]
jmp 0x1401420f3
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x140142178
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x140142122
cmp eax, 2
jne 0x140142241
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1402e0d10
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14014224b
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.140303804
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140142220
cmp rdi, 0xa
ja 0x1401420ea
mov rbx, rsi
test rdi, rdi
je 0x140142140
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x140142135
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x140142178
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x140142207
mov edi, 0x3f4
jmp 0x140142153
mov edi, 0xea
jmp 0x140142153

Function at 0x140142260
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140303804
lea eax, [rax*2 + 2]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140143530
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, SafeArrayCopy
call fcn.1402dd130
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x14051e188]
jne 0x14014359d
mov rcx, r15
call fcn.140221e30
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x1401439a0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140143611
test r14, r14
je 0x140143606
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401435e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14014362a
mov ebp, eax
cmp eax, 0x5af
je 0x14014362a
cmp ebp, 0xe
jne 0x140143655
mov rcx, rbx
call fcn.14031fa00
test rsi, rsi
je 0x1401435e0
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14051e188]
jne 0x14014364b
call fcn.140221f80
mov rcx, rsi
call fcn.1402dd16c
jmp 0x1401435e0
mov eax, dword [0x14053da70]
mov ecx, dword [0x14052f0f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401436d8
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140154ed0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x140143695
and r8d, 0x7f
jmp 0x14014369f
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.1402297f0
mov rcx, qword [0x14053da68]
mov rdx, r14
call fcn.140185790
cmp byte [rsp + 0x4f], 0
jns 0x140143632
mov rcx, qword [rsp + 0x38]
call fcn.1402dd16c
jmp 0x140143632
lea rcx, [0x14053da70]
call fcn.1402dd290
cmp dword [0x14053da70], 0xffffffff
jne 0x140143676
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140185770
mov qword [0x14053da68], rax
lea rcx, [0x14053da70]
call fcn.1402dd328
jmp 0x140143676
Function at 0x1401441e0
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [0x14047fb40]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14014423a
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x70
pop rsi
ret
call fcn.1403815d0
xor esi, esi
jmp 0x140144224
sub rsp, 0x28
call fcn.140271210
lea rdx, str.enable_low_end_device_mode
mov rcx, rax
call fcn.140271220
test al, al
jne 0x14014c32e
cmp byte [0x14053dad8], 0
jne 0x14014c341
add rsp, 0x28
jmp 0x1401441e0
call 0x1401441e0
mov ecx, 0x20000000
cmp rax, rcx
cmovae rax, rcx
jmp 0x14014c34c
mov rax, qword [0x14053dad0]
shl rax, 0x14
add rsp, 0x28
ret

Function at 0x1401459f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140145a37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140145a51
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140145a2f
mov qword [rsi], rdi
call fcn.14026d530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140145a67
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14026d530
mov rcx, qword [rsi]
call fcn.140252540
mov qword [rsi], 0
jmp 0x140145a1d
int3

Function at 0x140145a70
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140145a9a
call fcn.14026d530
mov qword [rsi], 0
test r14, r14
je 0x140145ad0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140145b0b
cmp r15, 2
jb 0x140145ac8
mov qword [rsi], r14
call fcn.14026d530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140145af5
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [rdi]
call fcn.140252540
mov qword [rdi], 0
jmp 0x140145ae6
call fcn.14026d530
mov rcx, qword [rsi]
call fcn.140252540
mov qword [rsi], 0
jmp 0x140145aba
Function at 0x140145b30
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140145b5a
call fcn.14026d530
cmp qword [rsi], r14
je 0x140145b89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140145bc4
cmp r15, 2
jb 0x140145b81
mov qword [rsi], r14
call fcn.14026d530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140145bae
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [rdi]
call fcn.140252540
mov qword [rdi], 0
jmp 0x140145b9f
call fcn.14026d530
mov rcx, qword [rsi]
call fcn.140252540
mov qword [rsi], 0
jmp 0x140145b73
Function at 0x1401475a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.14018e310
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x140484a28]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x140147615
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x140147620
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14014760d
mov qword [rsi + 0x18], rdi
call fcn.14026d530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14026d530
mov rcx, qword [rsi + 0x18]
call fcn.140252540
mov qword [rsi + 0x18], 0
jmp 0x1401475fa

Function at 0x1401478e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r12, qword [rdx]
mov qword [rdx], rax
lea r13, [r12 + 1]
cmp r13, 2
jb 0x140147917
call fcn.14026d530
mov r15, qword [rsp + 0x90]
cmp qword [rsi], r12
je 0x140147950
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14014797f
cmp r13, 2
jb 0x140147947
mov qword [rsi], r12
call fcn.14026d530
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 8], ebp
mov qword [rsi + 0x10], rbx
movups xmm0, xmmword [r15]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140147995
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [rsi]
call fcn.140252540
mov qword [rsi], 0
jmp 0x140147939
call fcn.14026d530
mov rcx, qword [rdi]
call fcn.140252540
mov qword [rdi], 0
jmp 0x14014796b
Function at 0x140147ab0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rcx]
lea r14, [rsi + 1]
cmp r14, 2
jb 0x140147bd6
mov rdi, rcx
cmp dword [rcx + 8], 1
jne 0x140147bda
mov qword [rdi], 0
call fcn.14026d530
test rsi, rsi
je 0x140147b0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14026d530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x38]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 5
mov rcx, rax
mov rdx, rsi
mov r8, rax
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x140147b91
mov r15, qword [rsp + 0x38]
cmp qword [rdi], r15
je 0x140147b8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140147bc0
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140147b82
mov qword [rdi], r15
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rdi + 8], 0
cmp r14, 2
jb 0x140147ba4
call fcn.14026d530
mov rcx, rsi
call fcn.140252540
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [rdi]
call fcn.140252540
mov qword [rdi], 0
jmp 0x140147b70
xor ebx, ebx
jmp 0x140147ba4
int3