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

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

Function at 0x140032848
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400326b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400326b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400326b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400326b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400326b3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400326b3
cmp dword [rcx + 0xf8], 0
je 0x1400326b3
mov ecx, ebx
call fcn.140032764
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140032540
nop
cmp dword [rbp + 0x20], 0
je 0x140032701
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003270c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140032644
Function at 0x140043160
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400431e7
mov rsi, rbx
cmp word [rax], bp
je 0x1400431a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140043190
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004318c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400409e8
mov rdi, rax
test rax, rax
je 0x1400431d4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400305d0
mov rbp, rdi
xor ecx, ecx
call fcn.14003edb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140046d5c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140046d72
mov al, 1
jmp 0x140046dd2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140046d83
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140046dd0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140043904
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140046dd0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140046dd0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140046dd0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140046dd2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140049590
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400495b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400495b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800010b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x1800010c7
sub edx, 1
je 0x1800010d9
sub edx, 1
je 0x1800010c7
cmp edx, 1
jne 0x1800010cf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x180001010]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180004b28
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180004b97
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180004b97
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180004b97
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180004b97
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180004b97
cmp dword [rcx + 0x84], 0xe
jbe 0x180004b97
cmp dword [rcx + 0xf8], 0
je 0x180004b97
mov ecx, ebx
call fcn.180004c48
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180004a24
nop
cmp dword [rbp + 0x20], 0
je 0x180004be5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180004bf0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180004b28
Function at 0x18000814c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000817c
xor eax, eax
jmp 0x18000823f
mov rbp, rbx
cmp word [rax], si
je 0x1800081a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180008188
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180008184
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000806c
movsxd r14, eax
test eax, eax
jne 0x1800081df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180008175
mov rcx, r14
call fcn.1800093dc
mov rdi, rax
test rax, rax
jne 0x1800081f8
xor ecx, ecx
call fcn.1800066a4
jmp 0x1800081d4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000806c
test eax, eax
jne 0x180008229
mov rcx, rdi
call fcn.1800066a4
jmp 0x180008233
xor ecx, ecx
call fcn.1800066a4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000d990
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000d9b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000d9b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000217b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002183
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ba
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002190
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021e5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000220b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400021f0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a2e0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
lea edi, [r14 + 0x28]
test al, al
je 0x14000a391
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.14000ff38
cmp rax, 1
jne 0x14000a3c7
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a36d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a360
cmp rcx, 1
jb 0x14000a3c7
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a330
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000ba80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14000fbfc
int3
Function at 0x14000a450
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a495
xor al, al
jmp 0x14000a4e2
cmp word [rbx], 0
je 0x14000a4ad
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a4a0
cmp word [rsp + 0x30], 0
je 0x14000a4db
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a503
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a4c0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000ba80
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fbfc
int3
Function at 0x14000aca0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f580
sub rsp, rax
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002ed90]
lea rsi, [0x140041dd0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ad19
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a510
test al, al
je 0x14000adf9
lea rcx, [rsp + 0x20]
call fcn.14001420c
movsxd r11, dword [0x14002ed90]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002ed90], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ad54
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ad44
add rax, 2
test ecx, ecx
jne 0x14000ad30
test edx, edx
je 0x14000ad77
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ad24
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ad60
cmp rax, 2
jne 0x14000ad7b
cmp word [rdi + 2], 0x3a
jne 0x14000ad7b
mov al, 1
jmp 0x14000add8
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ada6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000adcd
mov bl, 1
cmp dword [0x14002ed90], 0x400
jge 0x14000adcd
mov rcx, rdi
call fcn.14001420c
movsxd rdx, dword [0x14002ed90]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002ed90], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000ba80
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000ab40
int3
Function at 0x14000af20
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002ed98]
test rcx, rcx
je 0x14000af5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af4e
mov rcx, qword [0x14002ed98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002ed98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002eda8], 0
je 0x14000b04e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028898]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14003f5d0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b02f
test al, 0x10
je 0x14000b02f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000afd5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c388
Capabilities:
Parse pe header

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

Function at 0x14000fbf0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fa5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fa5b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fa5b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fa5b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fa5b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fa5b
cmp dword [rcx + 0xf8], 0
je 0x14000fa5b
mov ecx, ebx
call fcn.14000fb0c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f8e8
nop
cmp dword [rbp + 0x20], 0
je 0x14000faa9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fab4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f9ec
Function at 0x140019008
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001908f
mov rsi, rbx
cmp word [rax], bp
je 0x14001904e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019038
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019034
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016838
mov rdi, rax
test rax, rax
je 0x14001907c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d9d0
mov rbp, rdi
xor ecx, ecx
call fcn.140015948
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b1fc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b212
mov al, 1
jmp 0x14001b272
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b223
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b270
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019350
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b270
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b270
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b270
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b272
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f490
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f4b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f4b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400093a8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rbx, r9
mov rdi, r8
mov ebp, 0x80004005
mov dword [r9], 0x25
cmp edx, 0x4c
jne 0x14000961c
test r8, r8
je 0x14000961c
call fcn.14000882c
test al, 1
je 0x140009612
test al, 0x20
je 0x140009612
and qword [rsp + 0x278], 0
xor edx, edx
lea rax, [rsp + 0x278]
lea r9, [0x1400310d8]
lea rcx, [0x1400311a8]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, eax
test eax, eax
js 0x140009618
cmp qword [rsp + 0x278], 0
je 0x140009618
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x210
call fcn.140020a20
mov rcx, qword [rsp + 0x278]
mov dword [rsp + 0x1d8], 1
mov r9, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 0x210
call qword [r9 + 0x110]
movss xmm3, dword [rdi + 0x24]
movss xmm0, dword [rsp + 0x204]
comiss xmm0, xmm3
ja 0x1400095fc
comiss xmm3, dword [rsp + 0x208]
ja 0x1400095fc
movss xmm1, dword [rdi + 0x38]
movss xmm0, dword [rsp + 0x218]
comiss xmm0, xmm1
ja 0x1400095fc
comiss xmm1, dword [rsp + 0x21c]
ja 0x1400095fc
movss xmm2, dword [rdi + 0x10]
movss xmm0, dword [rsp + 0x1f0]
comiss xmm0, xmm2
ja 0x1400095fc
comiss xmm2, dword [rsp + 0x1f4]
ja 0x1400095fc
mov eax, dword [rdi + 4]
mov rcx, qword [rsp + 0x278]
movss dword [rsp + 0x1fc], xmm3
movss dword [rsp + 0x210], xmm1
movss dword [rsp + 0x1e8], xmm2
mov dword [rsp + 0x1d8], 1
mov dword [rsp + 0x1e0], eax
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 0x210
call qword [rax + 0x118]
mov ebp, eax
test eax, eax
js 0x140009602
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcuiMedia
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1400095ec
movss xmm0, dword [rdi + 0x24]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x268]
lea rdx, str.UINLASHLinearRegion
mov r9d, 4
xor r8d, r8d
mulss xmm0, dword [0x14002fbbc]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x268], xmm0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x268]
movss xmm5, dword [rdi + 0x38]
mulss xmm5, dword [0x14002fbbc]
lea rdx, str.UINLASNonLinearCrop
mov r9d, 4
xor r8d, r8d
movss dword [rsp + 0x268], xmm5
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [rbx], 0
jmp 0x140009602
mov dword [rbx], 0x27
mov rcx, qword [rsp + 0x278]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140009618
mov dword [rbx], 0x31
mov eax, ebp
jmp 0x140009628
mov dword [r9], 4
mov eax, 0x80070057
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000dafc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x1400389f0]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor esi, esi
lea r8, [rsp + 0x48]
lea rdx, str.SoftwareIntelDisplayigfxcuiigfxsrvc
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x50], 4
mov dil, sil
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
jne 0x14000dc50
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, str.AdapterType
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x48]
lea ebp, [rsi + 1]
cmp eax, esi
movzx ebx, sil
cmove ebx, ebp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp bl, sil
je 0x14000dc50
cmp dword [rsp + 0x30], esi
jne 0x14000dc50
lea rax, [rsp + 0x38]
lea r9, [0x1400310d8]
lea r8d, [rsi + 0x15]
lea rcx, [0x1400311a8]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x14000dc40
cmp qword [rsp + 0x38], rsi
je 0x14000dc50
mov ebx, 0x228
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8, rbx
call fcn.140020a20
lea rdx, str.SGHide3DandMediaTabs
lea rcx, [rsp + 0x7c]
mov dword [rsp + 0x78], 5
call fcn.140021228
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov edx, ebx
call qword [rax + 0xe8]
cmp eax, esi
jl 0x14000dc40
cmp dword [rsp + 0x284], ebp
movzx edi, sil
cmove edi, ebp
mov rcx, qword [rsp + 0x38]
cmp rcx, rsi
je 0x14000dc50
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, dil
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140020bd0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret