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

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140065b2b
je 0x140065b36
call 0x140065b85
mov bl, 0xc7
lahf
pop rsi
jne 0x140065b16
call 0x140065b2e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140065b16
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140065b64
je 0x140065ba2
invalid
je 0x140065bb3
jne 0x140065b16
lea rax, [0x140065a3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14006179d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140065c54
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140065cad
je 0x140065cb3
call 0x140065ca4
fild qword [rdi - 0x7c]
jmp 0x174fa2426
jne 0x140065c76
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140065c36
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140065b4c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140065b2b
je 0x140065b36
call 0x140065b85
mov bl, 0xc7
lahf
pop rsi
jne 0x140065b16
call 0x140065b2e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140065b16
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140065b64
je 0x140065ba2
invalid
je 0x140065bb3
jne 0x140065b16
lea rax, [0x140065a3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14006179d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140065c54
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140065cad
je 0x140065cb3
call 0x140065ca4
fild qword [rdi - 0x7c]
jmp 0x174fa2426
jne 0x140065c76
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140065c36
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140065b85
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140065b2b
je 0x140065b36
call 0x140065b85
mov bl, 0xc7
lahf
pop rsi
jne 0x140065b16
call 0x140065b2e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140065b16
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140065b64
je 0x140065ba2
invalid
je 0x140065bb3
jne 0x140065b16
lea rax, [0x140065a3c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14006179d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140065c54
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140065cad
je 0x140065cb3
call 0x140065ca4
fild qword [rdi - 0x7c]
jmp 0x174fa2426
jne 0x140065c76
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140065c36
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret

Function at 0x14008f4a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140102690]
cmp rdi, 1
jbe 0x14008f505
mov ecx, dword [0x1400fc468]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14008f4e6
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
lea rcx, [rsi + 8]
call fcn.140035540
mov rcx, qword [rsi]
test rcx, rcx
je 0x14008f4fd
lock dec dword [rcx + 8]
je 0x14008f55a
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140102690]
call fcn.14003b3c0
test al, al
je 0x14008f54e
mov qword [0x140102698], 0
lea rbx, [0x140102690]
lea rdi, [0x140102698]
mov rcx, rdi
xor edx, edx
call fcn.140035760
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14003b330
jmp 0x14008f4b7
mov rdi, qword [0x140102690]
jmp 0x14008f4b7
add rcx, 8
add rcx, 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140035610
Function at 0x1400bffe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
sub r9, r8
je 0x1400c001a
mov rdx, r9
shr rdx, 2
xor eax, eax
lea r10, [0x1400e88b0]
movzx r11d, dl
movzx esi, byte [r8 + rax]
xor esi, r11d
shr edx, 8
xor edx, dword [r10 + rsi*4]
inc rax
cmp r9, rax
jne 0x1400bfffd
jmp 0x1400c001c
xor edx, edx
cmp edx, dword [rcx + 0x18]
sete al
pop rsi
ret

Function at 0x1400d17c0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400d17f7
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp r8, rdx
jne 0x1400d17d1
ret

Function at 0x1400d1850
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400d1888
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp r8, rdx
jne 0x1400d1861
ret
Function at 0x140003a30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a64
cmp word [rcx], 0x5a4d
jne 0x140003a64
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a64
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a64
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003970
test eax, eax
jne 0x140003a80
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039e0
test rax, rax
je 0x140003a75
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004232
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004130
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004ce0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d03
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d03
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004db1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14053b330]
mov r8, rcx
mov rcx, r9
call fcn.140004ce0
test eax, eax
je 0x140004ddd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d04
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400a21d0]
mov dword [rax], 1
mov rax, qword [0x1400a21e0]
mov dword [rax], 1
mov rax, qword [0x1400a21f0]
mov dword [rax], 1
mov rax, qword [0x1400a2150]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
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 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140003d20
Capabilities:
Query environment variable

Disassembly:
push r13
mov eax, 0x10078
push r12
call fcn.14008b750
sub rsp, rax
xor eax, eax
mov r8d, 0x28
mov rdx, rcx
lea r12, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea r13, [rsp + 0x70]
mov rcx, r12
call fcn.14001e540
mov rdx, r13
mov r8d, 0x10000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140003d81
mov rcx, r13
call fcn.140092830
add rsp, 0x10078
pop r12
pop r13
ret

Function at 0x140003d90
Capabilities:
Set environment variable

Disassembly:
push r13
push r12
sub rsp, 0x78
xor eax, eax
mov r8d, 0x28
lea r13, [rsp + 0x20]
mov r12, rdx
mov rdx, rcx
mov word [rsp + 0x20], ax
mov rcx, r13
call fcn.14001e540
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x78
pop r12
pop r13
ret
Function at 0x140003ff0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
sub rsp, 0x78
mov r15, rcx
mov r14, rdx
call fcn.140019fa0
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python311.dll_PyObject_GetAttrString]
mov rcx, r15
mov r12, rax
call qword [sym.imp.python311.dll_PyUnicode_FromString]
mov r13, rax
test r14, r14
je 0x1400040a4
mov rdx, r14
mov rcx, r15
call fcn.140003d90
mov rcx, r14
mov rdx, 0xffffffffffffffff
call sub.python311.dll_PyUnicode_FromWideChar
mov rdx, r13
mov rcx, r12
mov r14, rax
mov r8, rax
call qword [sym.imp.python311.dll_PyObject_SetItem]
test eax, eax
jne 0x1400040e3
sub qword [r14], 1
jne 0x14000406d
mov rcx, r14
call fcn.140003f60
sub qword [r13], 1
jne 0x14000407c
mov rcx, r13
call fcn.140003f60
sub qword [r12], 1
jne 0x140004097
mov rcx, r12
add rsp, 0x78
pop r12
pop r13
pop r14
pop r15
jmp fcn.140003f60
add rsp, 0x78
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x20]
mov r8d, 0x28
mov rdx, r15
mov word [rsp + 0x20], 0
mov rcx, r14
call fcn.14001e540
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.python311.dll_PyObject_DelItem]
test eax, eax
je 0x14000406d
call fcn.140003f70
jmp 0x14000406d
mov ecx, 1
call qword [sym.imp.python311.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python311.dll_Py_Exit]
nop
nop word [rax + rax]
Function at 0x140082360
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp byte [0x1400b2269], 0
mov r12, rcx
mov rdi, rdx
je 0x1400823e8
lea rdx, str..bytecode
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140082500
mov rsi, qword [0x1400b2120]
jmp 0x1400823a5
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call fcn.1400928e0
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x1400823a0
movzx r8d, word [rdx + 4]
lea r9, [rdx + 6]
mov rcx, r12
mov rdx, r9
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp fcn.14006fd80
mov r8d, 0xa
mov edx, 3
xor ecx, ecx
push rax
call fcn.14079b261
xor ecx, ecx
mov rdx, rax
push rcx
call fcn.14012d977
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1400b2120], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x1400b2120], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x1400b2120], rcx
test eax, eax
je 0x1400824e8
sub eax, 1
lea r8, [rdx + rax + 9]
mov eax, 0xffffffff
nop word [rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp r8, rcx
jne 0x140082450
not eax
cmp r9d, eax
jne 0x140082568
mov byte [0x1400b2269], 1
jmp 0x140082378
cmp byte [0x1400b2268], 0
jne 0x14008238f
pop rbx
call fcn.1407f2786
ret
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call fcn.140092850
nop
nop word [rax + rax]

Function at 0x14008b2a0
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 0x14008b2c8
mov eax, 0
jmp 0x14008b316
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 0x14008b2f1
mov eax, 0
jmp 0x14008b316
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 0x14008b311
mov eax, 0
jmp 0x14008b316
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14008b31c
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 0x14008b39a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14008b391
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 0x14008b391
mov rax, qword [rbp - 8]
jmp 0x14008b3af
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 0x14008b364
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001654
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
call fcn.14000181c
test eax, eax
jne 0x14000168b
mov ecx, 0xa0
jmp 0x140001742
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000173d
test al, 0x50
jne 0x14000173d
and qword [rsp + 0x30], rdi
xor r9d, r9d
and dword [rsp + 0x28], edi
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016d9
lea ecx, [rax + 0x21]
jmp 0x140001742
and dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400030d8
test eax, eax
je 0x140001716
cmp dword [rsp + 0x60], edi
jne 0x140001701
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test eax, eax
je 0x140001716
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x140001734
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140001748
xor ecx, ecx
jmp 0x140001742
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000175c
Capabilities:
Get common file path

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, 0x20
xor ebx, ebx
mov rsi, rcx
mov edi, ebx
test rcx, rcx
je 0x1400017fe
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, rsi
mov ebp, eax
call fcn.1400069e8
lea edx, [rbp + 1]
add rdx, rax
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x140001801
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov eax, 0x5c
lea ecx, [rbp - 1]
cmp word [rdi + rcx*2], ax
je 0x1400017d0
mov word [rdi + rbp*2], ax
inc ebp
mov rcx, rsi
call fcn.1400069e8
test rax, rax
je 0x1400017fe
mov r14, rbx
movzx eax, word [rsi + r14*2]
lea ecx, [rbx + rbp]
mov word [rdi + rcx*2], ax
inc ebx
mov rcx, rsi
mov r14d, ebx
call fcn.1400069e8
cmp r14, rax
jb 0x1400017e0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140003720
Capabilities:
Check mutex on windows
Query environment variable
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edx, edx
mov rdi, rcx
lea rcx, [rbp - 0x80]
mov esi, r9d
lea r8d, [rdx + 0x30]
call fcn.140005bf0
lea r8, str.NvSmartMax_mutex64
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x14000392b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140003922
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x140003922
and dword [rsp + 0x20], 0
lea rcx, [rbp - 0x50]
and qword [rsp + 0x28], 0
mov r15d, 0x208
mov r8d, r15d
xor edx, edx
call fcn.140005bf0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x1400037f2
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
je 0x140003922
mov eax, dword [rsp + 0x20]
test eax, eax
lea rdx, str.ProgramW6432
lea rcx, str.ProgramFiles
mov r8d, 0x104
cmovne rcx, rdx
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r8, [0x1400187dc]
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140001148
lea r8, str.NVIDIA_CorporationDisplay
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140001148
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x4c]
call fcn.140005bf0
and dword [rsp + 0x40], 0
lea rax, [0x1400040c0]
and dword [rsp + 0x44], 0
mov edx, 0x7f00
and qword [rsp + 0x50], 0
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x50
mov dword [rsp + 0x34], 3
mov qword [rsp + 0x48], rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x140018e00]
lea rcx, [rsp + 0x30]
and qword [rsp + 0x78], 0
mov qword [rsp + 0x58], rax
lea rax, str.NVSmartMaxappWindowClass
mov qword [rsp + 0x70], rax
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov edx, esi
mov rcx, rdi
call fcn.140003958
test eax, eax
je 0x140003922
jmp 0x1400038f2
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400038de
mov rcx, qword [0x14001d2b0]
test rcx, rcx
je 0x140003922
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x14001d2b8], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x70]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140004920
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x141ca5000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x141ca500a
jmp 0x141ca700f
jmp fcn.1411e7058