joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010d0
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x50
xor r9d, r9d
lea rdx, section..text
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000113d
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001110
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140001ac4
Capabilities:
Parse pe header

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

Disassembly:
call fcn.140d381df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d38089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d3806f
add dl, dl
jne 0x140d38096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d380f6
xor eax, eax
add dl, dl
jne 0x140d380a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d381ad
add dl, dl
jne 0x140d380b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d380c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d380d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d380dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d380ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d3807e
mov eax, 1
add dl, dl
jne 0x140d38106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d38113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d380fb
sub eax, ebx
mov ebx, 1
jne 0x140d3814c
mov ecx, 1
add dl, dl
jne 0x140d3812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d3813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d38123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d3807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d38168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d38175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d3815d
cmp eax, 0x7d00
jae 0x140d3819b
cmp eax, 0x500
jb 0x140d38196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d3807e
cmp eax, 0x7f
ja 0x140d3819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d3807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d381d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d3807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14177f1d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14177f1dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14177f1ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14177f1d5
lea eax, [rcx + 1]
jmp 0x14177f1fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14177f20e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14177f1f4
sub eax, 3
jb 0x14177f22e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14177f27d
sar eax, 1
movsxd rbp, eax
jb 0x14177f264
jmp 0x14177f23c
add ebx, ebx
jne 0x14177f23a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14177f264
inc ecx
add ebx, ebx
jne 0x14177f24a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14177f264
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14177f25d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14177f24c
add ecx, 2
jmp 0x14177f269
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14177f192
jmp 0x14177f1dd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x1771000]
mov eax, dword [rdi]
or eax, eax
je 0x14177f2e9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x17982ac]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14177f28d
jns 0x14177f2c2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14177f2cc
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14177f2e3
mov qword [rbx], rax
add rbx, 8
jmp 0x14177f2ad
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14177f32d
cmp al, 0xef
ja 0x14177f315
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14177f2f5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14177f304
mov eax, dword [rdi]
add rdi, 4
jmp 0x14177f304
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x277]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14177f381
sub rsp, 0xffffffffffffff80
jmp 0x140bcb43c
Function at 0x1400059a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_ScreenToClient]
xor ebp, ebp
lea rdi, [0x140040a10]
mov esi, ebp
mov ebx, ebp
lea r15, [0x140040a1c]
cmp byte [rdi], 3
je 0x140005a4b
mov rdx, qword [rsp + 0x50]
movsxd rcx, ebx
imul rcx, rcx, 0x248
add rcx, r15
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140005a4b
cmp byte [rdi], 2
jne 0x140005a43
mov ecx, ebx
test ebx, ebx
je 0x140005a8d
dec ecx
jne 0x140005a43
lea r8, [0x140040ec8]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x140005a84
mov byte [rdi], 1
mov esi, 1
inc ebx
add rdi, 0x248
cmp ebx, 2
jl 0x1400059e8
test esi, esi
je 0x140005a6b
mov rcx, qword [r14]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov byte [0x140040c58], bpl
jmp 0x140005a5d
mov rcx, qword [0x14003f9e0]
mov edx, 1
mov byte [0x140040a10], bpl
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [0x14003f9d8]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [r14]
xor edx, edx
mov dword [r14 + 0x434], ebp
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140005a6b

Function at 0x140005b40
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x140026620]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r11, r9
mov r10d, r8d
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x200
ja 0x140005bf4
je 0x140005bed
mov eax, r8d
sub eax, 2
je 0x140005bd3
sub eax, 0xd
je 0x140005baa
dec eax
je 0x140005b90
cmp eax, 4
je 0x140005c3e
jmp 0x140005c09
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rbx + 0x434], 0
jmp 0x140005c3e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_BeginPaint]
mov rcx, rbx
mov rdx, rax
call fcn.140005430
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x140005c3e
mov rcx, qword [rcx]
xor r8d, r8d
lea edx, [r8 - 0x15]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x140005c3e
call fcn.140005820
jmp 0x140005c3e
mov eax, r8d
sub eax, 0x201
je 0x140005c39
dec eax
je 0x140005c32
cmp eax, 0xa1
je 0x140005c22
mov r9, qword [rsp + 0xc0]
mov rcx, qword [rcx]
mov r8, r11
mov edx, r10d
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x140005c40
mov rcx, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140005c3e
call fcn.1400059a0
jmp 0x140005c3e
call fcn.140005900
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x140006240
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140026620]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov ebx, ecx
mov edi, edx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR110.dll_memset
mov ecx, dword [0x14002c6e8]
sub ecx, 3
je 0x1400062ba
dec ecx
je 0x140006296
cmp ecx, 3
jne 0x14000637a
lea r8, str.._.._video_RemoteLink_
jmp 0x1400062f3
cmp dword [0x14003ef84], 0xcd
mov r9d, ebx
lea r8, str.._.._video_EdgeGesture_
lea rcx, [rsp + 0x20]
jne 0x1400062fb
lea rdx, str._s_d_a.avi
jmp 0x140006302
cmp dword [0x14003f9b8], 5
jne 0x1400062ec
cmp dword [0x14003ef90], 0
mov r9d, ebx
lea r8, str.._.._video_Gesture_
lea rcx, [rsp + 0x20]
je 0x1400062fb
lea eax, [rbx - 5]
cmp eax, 1
ja 0x1400062fb
lea rdx, str._s_d_1.avi
jmp 0x140006302
lea r8, str.._.._video_Win10_
mov r9d, ebx
lea rcx, [rsp + 0x20]
lea rdx, str._s_d.avi
call fcn.1400063a0
mov dword [0x14003e6f0], ebx
test edi, edi
jne 0x140006321
mov ecx, dword [0x14003e6f8]
cmp ecx, 0xffffffff
je 0x140006321
call fcn.1400108a0
xor ecx, ecx
lea rax, [0x14003fd20]
lea rdx, [0x14003fd50]
cmp qword [rax], 0
je 0x140006345
add rax, 8
inc ecx
cmp rax, rdx
jl 0x140006331
or ecx, 0xffffffff
mov dword [0x14003e6f8], ecx
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.MSVCR110.dll__access]
test eax, eax
jne 0x14000637a
mov r8d, dword [0x14003e6f8]
cmp r8d, 0xffffffff
je 0x14000637a
mov rdx, qword [0x14003f9d0]
lea rcx, [rsp + 0x20]
call fcn.140010790
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140012ce0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret

Function at 0x1400063d0
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x248
mov rax, qword [0x140026620]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x208
call sub.MSVCR110.dll_memset
lea rdx, [rsp + 0x20]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140006420
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x20], 0x5c
je 0x14000644c
lea rcx, [rsp + rcx*2 + 0x20]
nop word [rax + rax]
lea rcx, [rcx - 2]
dec eax
cmp word [rcx], 0x5c
jne 0x140006440
movsxd rcx, eax
add rcx, rcx
cmp rcx, 0x208
jae 0x140006485
xor eax, eax
mov word [rsp + rcx + 0x20], ax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0x248
ret
call fcn.140012e98
int3
Function at 0x140006490
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov rdi, rcx
xor ebx, ebx
lea rdx, str.SoftwareASUSASUS_Smart_Gesture
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x58], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000651f
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmove ebx, dword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140006530
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140026620]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [0x14003efb0]
xor edx, edx
mov r8d, 0x208
xor ebx, ebx
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call sub.MSVCR110.dll_memset
lea rcx, str.AsusSGPlusBTServer.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400065a7
lea rdx, [rsp + 0x20]
lea rcx, str.AsusSGPlusBTServer.exe
mov dword [rsp + 0x20], ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x140006610
lea rcx, str.AsusSGPlusBTServer.exe
jmp 0x1400065d9
lea rcx, str.AsusSGPlusBTServer64.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140006610
lea rdx, [rsp + 0x20]
lea rcx, str.AsusSGPlusBTServer64.exe
mov dword [rsp + 0x20], ebx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x140006610
lea rcx, str.AsusSGPlusBTServer64.exe
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r9d, eax
call fcn.14000f7f0
mov ebx, eax
test eax, eax
je 0x140006610
mov r8, qword [str.Server_Version_PC_side_]
lea r9, [rsp + 0x30]
lea rdx, str._s:_s
lea rcx, [0x14003efb0]
call fcn.140006e60
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0x250
pop rbx
ret
Function at 0x140006630
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
lea rdx, str.SoftwareASUSASUS_Smart_Gesture
mov qword [rbp - 0x10], rax
mov dword [rbp + 0x18], eax
lea rax, [rbp - 0x10]
mov r9d, 0x2001b
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400067f4
mov rcx, qword [rbp - 0x10]
mov dword [rbp + 0x20], 4
mov dword [rbp + 0x28], 4
lea rdx, str.DisableUsbDetectorLoading
test ebx, ebx
je 0x14000671b
lea rax, [rbp + 0x20]
lea r9, [rbp + 0x28]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400066c9
mov eax, dword [rbp + 0x18]
mov dword [0x14003f620], eax
mov dword [0x1400410e8], eax
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x20]
lea r9, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
lea rdx, str.EnableServerLoading
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006706
mov eax, dword [rbp + 0x18]
mov dword [0x14003f624], eax
mov dword [0x1400410e4], eax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
mov eax, dword [0x14003f620]
mov r9d, 4
xor r8d, r8d
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x18]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x14003f624]
mov r9d, dword [rbp + 0x28]
mov rcx, qword [rbp - 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x20]
lea rdx, str.EnableServerLoading
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x14003f620]
cmp dword [0x1400410e8], eax
jne 0x14000679b
mov eax, dword [0x14003f624]
cmp dword [0x1400410e4], eax
je 0x1400067f4
lea rdx, str.ASUS_SMART_GESTURE_LOADER
lea rcx, str.ASUSTPLOADER
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400067dc
movzx r9d, word [0x14003f620]
movzx ecx, word [0x14003f624]
mov edx, dword [0x14003ef98]
shl r9d, 0x10
xor r8d, r8d
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x14003f620]
mov dword [0x1400410e8], eax
mov eax, dword [0x14003f624]
mov dword [0x1400410e4], eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x14000f7f0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
mov ecx, r9d
mov edi, r9d
mov rsi, r8
mov r15, rdx
mov dword [rax + 0x20], ebp
mov qword [rax - 0x28], rbp
call fcn.140012cc4
mov edx, dword [rsi]
mov r8d, edi
mov rcx, rbx
mov r9, rax
mov r14, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000f8af
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x40]
lea rdx, [0x1400194a0]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000f8af
cmp dword [rsp + 0x88], ebp
je 0x14000f8af
mov r8, qword [rsp + 0x40]
cmp dword [r8], 0xfeef04bd
jne 0x14000f8af
movzx ecx, word [r8 + 0xc]
movzx edx, word [r8 + 0xe]
movzx eax, word [r8 + 8]
movzx r9d, word [r8 + 0xa]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
lea r8, str._d._d._d._d
mov edx, 0x104
mov rcx, r15
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR110.dll_swprintf_s]
mov ebp, 1
mov rcx, r14
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void____ptr64_]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov eax, ebp
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1400126a0
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140026620]
xor rax, rsp
mov qword [rsp + 0x90], rax
test cl, cl
je 0x140012727
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor ecx, ecx
lea r8, [0x14001d788]
movzx edx, ax
lea rax, [0x14001d008]
cmp edx, dword [rax]
je 0x1400126ff
add rax, 0x10
inc ecx
cmp rax, r8
jl 0x1400126d6
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0xa8
ret
movsxd rax, ecx
lea rcx, [0x14001d00c]
add rax, rax
mov eax, dword [rcx + rax*8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0xa8
ret
lea rax, [rsp + 0x30]
lea rdx, str.Control_PanelInternationalGeo
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001278b
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.Nation
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r8d, 0xa
call qword [sym.imp.MSVCR110.dll_wcstoul]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140012ce0
add rsp, 0xa8
ret
Function at 0x140002e00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002e5d
lea rbx, [0x1400a4100]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002e44
cmp r10, 2
jb 0x140002e44
cmp byte [r9], r8b
jne 0x140002e44
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002e20
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002e9f
lea rbx, [0x1400a4100]
cmp r8b, 0x23
jne 0x140002e83
cmp byte [r9], r8b
jne 0x140002e83
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002e70
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003060
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000308f
mov r8d, 0x652
lea rdx, str.D:_reposImgui_Maximusimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000309b
mov qword [rdi], 0
lea rdx, [0x1400ab848]
mov rcx, rbx
call fcn.140002eb0
mov rbx, rax
test rax, rax
jne 0x1400030bd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003194
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003194
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003194
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003194
cmp rsi, 0xffffffffffffffff
je 0x140003194
mov rax, qword [0x1400cdb40]
test rax, rax
je 0x140003131
inc dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003194
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140003181
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cdb40]
test rax, rax
je 0x140003176
dec dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000319d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000318f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000319f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400053a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movsxd rdi, edx
mov r14, rcx
mov ebx, edi
mov esi, edi
mov ebp, edi
shr ebx, 0x18
mov edx, edi
shr esi, 0x10
mov r8d, edi
shr ebp, 8
mov r9d, edi
shr edx, 8
shr r8d, 0x10
movzx r10d, dil
shr r9d, 0x18
cmp dword [rcx + 0xc8], 0
jg 0x140005411
mov r8d, 0x6c6
lea rdx, str.D:_reposImgui_Maximusimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx r10d, dil
movzx edx, bpl
movzx r8d, sil
movzx r9d, bl
movsxd rcx, dword [r14 + 0xc8]
mov rax, qword [r14 + 0xd0]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, r10b
movzx ecx, bl
lea r10, [0x1400a4100]
xor rcx, rax
shr ebx, 8
movzx eax, dl
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x1400cdb40]
xor ebx, dword [r10 + rcx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x140005486
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x140005495
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x1400054ac
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140018900
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret