joyce8/EMBER2024-capa huggingface dataset:
Function at 0x72be90
Capabilities:
Hide graphical window

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], rbp
mov rax, qword [0x00789cd8]
mov byte [rax], 1
nop
lea rcx, [0x0072c160]
call fcn.0041bfc0
nop
nop
lea rcx, [rbp + 0x50]
lea rdx, [0x0072c0ac]
call fcn.004443e0
lea rcx, [0x00797e60]
mov rdx, qword [rbp + 0x50]
call fcn.004119d0
lea rcx, [rbp + 0x48]
lea rdx, [0x0072c0cc]
call fcn.004443e0
lea rcx, [0x00797e38]
mov rdx, qword [rbp + 0x48]
call fcn.004119d0
lea rcx, [rbp + 0x40]
lea rdx, [0x0072c0e8]
call fcn.004443e0
lea rcx, [0x00797e70]
mov rdx, qword [rbp + 0x40]
call fcn.004119d0
lea rcx, [rbp + 0x38]
lea rdx, [0x0072c110]
call fcn.004443e0
lea rcx, [0x00797e68]
mov rdx, qword [rbp + 0x38]
call fcn.004119d0
lea rcx, [rbp + 0x30]
lea rdx, [0x0072c134]
call fcn.004443e0
lea rcx, [0x00797e40]
mov rdx, qword [rbp + 0x30]
call fcn.004119d0
call sub.kernel32.dll_GetConsoleWindow
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
call sub.kernel32.dll_GetConsoleWindow
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
lea rcx, [rbp + 0x28]
xor edx, edx
call fcn.00409f60
mov rcx, qword [rbp + 0x28]
call fcn.0072b990
call fcn.0072b930
jmp 0x72c029
nop
lea rcx, [rbp + 0x20]
mov edx, 7
call fcn.00411440
call fcn.00410ec0
jmp 0x72c047
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x140001820
Capabilities:
Create pipe

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
test rcx, rcx
jne 0x140001836
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov edx, 1
xor r9d, r9d
xor ecx, ecx
mov r8d, edx
mov qword [rsp + 0x78], rbp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001878
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_create_event:__d_n
mov edx, eax
call fcn.140021260
mov rbp, qword [rsp + 0x78]
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov ecx, 0x28
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rdi
call fcn.1400213e4
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1400018b0
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
jmp 0x1400018b3
mov rbx, rdi
xor eax, eax
lea r8, [rsp + 0x48]
lea rcx, str.D:_A_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_S:_ML__NW___ME_
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], rbp
lea edx, [rax + 1]
xor r9d, r9d
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], edi
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
xor ecx, ecx
call fcn.14001dd80
lea rcx, [rsp + 0x40]
mov r9d, 0xff
cmp eax, 8
mov edx, 0x40000003
cmovle rcx, rdi
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x1388
mov rcx, rsi
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001954
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateNamedPipe_failed_with__d._n
mov edx, eax
call fcn.140021260
xor eax, eax
jmp 0x14000197c
mov ecx, 0x4048
call fcn.1400213e4
test rax, rax
je 0x140001979
mov r8, rsi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.140001af0
mov rdi, rax
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret

Function at 0x140001be0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbx, rcx
xor edx, edx
mov r8d, 0x2000
add rcx, 0x2c
call fcn.140023b30
cmp dword [rbx + 8], 1
jne 0x140001c2e
test rdi, rdi
je 0x140001c2e
mov r9, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x2c]
mov r8d, 0x2000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140002200
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x24], 0
mov rbx, rcx
je 0x140002217
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp dword [rcx + 0x20], 0
mov qword [rsp + 0x40], rsi
je 0x140002227
call fcn.140002090
mov rcx, qword [rbx + 0x10]
mov esi, 1
test rcx, rcx
je 0x14000223c
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
mov rcx, qword [rbx + 8]
call fcn.1400019a0
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400022a3
mov qword [rax + 0x4038], rbx
cmp qword [rbx + 0x10], 0
mov qword [rsp + 0x48], rdi
je 0x140002297
cmp dword [rbx + 0x20], 0
jne 0x140002297
xor edi, edi
lea r8, [0x1400020f0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
mov qword [rbx + 0x18], rax
setne dil
mov dword [rbx + 0x20], edi
jmp 0x14000229b
xor edi, edi
mov esi, edi
mov rdi, qword [rsp + 0x48]
mov dword [rbx + 0x24], esi
mov eax, dword [rbx + 0x24]
mov rsi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret

Function at 0x1400025d0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rsi, rcx
mov ecx, 0xa8
call fcn.1400213e4
mov qword [rsp + 0x70], rax
xor ebp, ebp
test rax, rax
je 0x14000260f
mov rcx, rax
call fcn.140002750
mov rbx, rax
jmp 0x140002612
mov rbx, rbp
mov rcx, rbx
call fcn.140002a40
test eax, eax
je 0x14000267a
mov edi, 0x3d
mov rcx, rsi
call fcn.140001820
mov rdx, rax
mov rcx, rbx
call fcn.140002fd0
dec rdi
jne 0x140002623
cmp dword [rbx + 8], edi
je 0x14000267a
cmp dword [rbx + 0xc], edi
jne 0x14000267a
mov dword [rsp + 0x68], ebp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140002af0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x78], rax
cmp rax, 0xffffffffffffffff
setne bpl
mov dword [rbx + 0xc], ebp
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002d80
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140002da2
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140002d95
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140002e0e
cmp eax, 0x3e5
jne 0x140002d95
mov rax, qword [rbx + 0x18]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 1
call fcn.140004080
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x10]
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400040b0
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x1400047c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400047f3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004839
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004834
nop
cmp rbx, rcx
jae 0x140004839
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140004820
cmp rbx, rcx
jb 0x14000483d
xor eax, eax
jmp 0x140004849
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140006ba0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x848]
sub rsp, 0x940
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14004e2d0]
xor rax, rsp
mov qword [rbp + 0x830], rax
xor edi, edi
mov word [rbp + 0x30], di
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x32]
call fcn.140023b30
lea r9, [rsp + 0x30]
lea r8d, [rdi + 1]
lea rdx, [rbp]
lea rcx, str.Keyboard
call qword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameW]
mov edx, 0xf003f
lea rcx, [rbp]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenClassRegKey]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140006dc2
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006db9
lea rax, [rsp + 0x58]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rsp + 0x58]
call fcn.14000e0d0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rsp + 0x78]
call fcn.14000e0d0
nop
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x68], di
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rbp - 0x68]
call fcn.14000e0d0
nop
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rsp + 0x38]
call fcn.14000e0d0
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
lea r8d, [rdi + 5]
lea rdx, str.SynTP
lea rcx, [rbp - 0x48]
call fcn.14000e0d0
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x10]
call fcn.14001e200
cmp qword [rax + 0x18], 8
jb 0x140006d71
mov rax, qword [rax]
mov r8, rax
mov edx, dword [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140006a80
mov edi, eax
cmp qword [rbp + 0x28], 8
jb 0x140006d93
mov rcx, qword [rbp + 0x10]
call fcn.140020a7c
mov dword [rsp + 0x28], edi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.140020aa0
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000f510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r8, rcx
cmp edx, 0x100012c
ja 0x14000f58f
je 0x14000f58a
add edx, 0xfefffff6
cmp edx, 0xf3
ja case.0x14000f603.16777727
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xf800]
mov ecx, dword [rdx + rax*4 + 0xf7cc]
add rcx, rdx
jmp rcx
mov rax, r8
ret
lea rax, [r8 + 4]
ret
lea rax, [r8 + 0x10]
ret
lea rax, [r8 + 8]
ret
lea rax, [r8 + 0x14]
ret
lea rax, [r8 + 0x18]
ret
lea rax, [r8 + 0x1c]
ret
lea rax, [r8 + 0x20]
ret
lea rax, [r8 + 0x24]
ret
lea rax, [r8 + 0x28]
ret
lea rax, [r8 + 0x2c]
ret
lea rax, [r8 + 0xe0]
ret
lea rax, [rcx + 0x30]
ret
cmp edx, 0x10001f4
ja 0x14000f5c4
je 0x14000f5bf
sub edx, 0x100012d
je 0x14000f5ba
dec edx
je 0x14000f5b5
dec edx
jne case.0x14000f603.16777727
lea rax, [rcx + 0xdc]
ret
lea rax, [rcx + 0x38]
ret
lea rax, [rcx + 0x34]
ret
lea rax, [rcx + 0x3c]
ret
cmp edx, 0x100031f
ja 0x14000f79d
je 0x14000f795
add edx, 0xfefffe0b
cmp edx, 0xbd
ja case.0x14000f603.16777727
mov eax, edx
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xf9d8]
mov ecx, dword [rdx + rax*4 + 0xf8f4]
add rcx, rdx
jmp rcx
lea rax, [r8 + 0x40]
ret
lea rax, [r8 + 0x44]
ret
lea rax, [r8 + 0x48]
ret
lea rax, [r8 + 0x4c]
ret
lea rax, [r8 + 0x50]
ret
lea rax, [r8 + 0x54]
ret
lea rax, [r8 + 0x58]
ret
lea rax, [r8 + 0x5c]
ret
lea rax, [r8 + 0x60]
ret
lea rax, [r8 + 0x64]
ret
lea rax, [r8 + 0x68]
ret
lea rax, [r8 + 0x6c]
ret
lea rax, [r8 + 0x70]
ret
lea rax, [r8 + 0x74]
ret
lea rax, [r8 + 0x78]
ret
lea rax, [r8 + 0x7c]
ret
lea rax, [r8 + 0x80]
ret
lea rax, [r8 + 0x84]
ret
lea rax, [r8 + 0x88]
ret
lea rax, [r8 + 0x8c]
ret
lea rax, [r8 + 0x90]
ret
lea rax, [r8 + 0x94]
ret
lea rax, [r8 + 0x98]
ret
lea rax, [r8 + 0x9c]
ret
lea rax, [r8 + 0xa0]
ret
lea rax, [r8 + 0xa4]
ret
lea rax, [r8 + 0xa8]
ret
lea rax, [r8 + 0xac]
ret
lea rax, [r8 + 0xb0]
ret
lea rax, [r8 + 0xb4]
ret
lea rax, [r8 + 0xb8]
ret
lea rax, [r8 + 0xbc]
ret
lea rax, [r8 + 0xc0]
ret
lea rax, [r8 + 0xc4]
ret
lea rax, [r8 + 0xc8]
ret
lea rax, [r8 + 0xcc]
ret
lea rax, [r8 + 0xd0]
ret
lea rax, [r8 + 0xd4]
ret
lea rax, [r8 + 0xd8]
ret
lea rax, [r8 + 0xe4]
ret
lea rax, [r8 + 0xe8]
ret
lea rax, [r8 + 0xec]
ret
lea rax, [r8 + 0xf0]
ret
lea rax, [r8 + 0xf4]
ret
lea rax, [r8 + 0xf8]
ret
lea rax, [r8 + 0xfc]
ret
lea rax, [r8 + 0x100]
ret
lea rax, [r8 + 0x104]
ret
lea rax, [r8 + 0x108]
ret
lea rax, [r8 + 0x10c]
ret
lea rax, [r8 + 0x110]
ret
lea rax, [r8 + 0x114]
ret
lea rax, [r8 + 0x118]
ret
lea rax, [r8 + 0x11c]
ret
lea rax, [r8 + 0x130]
ret
lea rax, [r8 + 0x134]
ret
lea rax, [rcx + 0x12c]
ret
sub edx, 0x1000378
je 0x14000f7c1
dec edx
je 0x14000f7b9
cmp edx, 9
je 0x14000f7b1
xor eax, eax
ret
lea rax, [rcx + 0x128]
ret
lea rax, [rcx + 0x124]
ret
lea rax, [rcx + 0x120]
ret
Function at 0x140011b40
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov rax, qword [rcx]
call qword [rax + 0x18]
nop
xor edi, edi
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x140011bd7
cmp dword [rbx + 0x78], 0xffffffff
je 0x140011bd7
cmp qword [rbx + 0x1e0], rdi
je 0x140011b87
mov rcx, rbx
call fcn.140011bf0
test eax, eax
je 0x140011bd7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x1bc], eax
mov dword [rbx + 0x3c], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140012640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x1e0], rax
test rax, rax
je 0x140011bd7
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edi, 1
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x20]
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140012ab0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + 0x18]
nop
cmp qword [rbx + 0x48], 0
je 0x140012add
mov rcx, rbx
call fcn.140012b50
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x40], rax
xor edi, edi
test rax, rax
je 0x140012b37
mov dword [rbx + 0x3c], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140012d10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140012b37
lea edx, [rdi + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edi, 1
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x20]
mov eax, edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140013d90
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x14004e2d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x30], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov eax, dword [0x140052274]
test al, 1
jne 0x140013e29
or eax, 1
mov dword [0x140052274], eax
call fcn.1400011d0
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x140013e0c
mov ecx, 0x80004005
call fcn.1400047a0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140052278], rax
lea rcx, [0x140036790]
call fcn.140020c50
mov rax, qword [0x140052278]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
jne 0x140013f87
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.140023b30
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, [rsp + 0x40]
mov rbx, rsi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140013e70
test ebx, ebx
jne 0x140013eea
mov rax, qword [0x140052278]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140013f87
cmp dword [rdx + 0x10], 0
jge 0x140013ec1
cmp dword [rax - 0xc], 0
jge 0x140013ead
mov ecx, 0x80070057
call fcn.1400047a0
int3
mov dword [rax - 0x10], r13d
mov rax, qword [0x140052278]
mov word [rax], r13w
jmp 0x140013f87
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013ed1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x140052278], rax
jmp 0x140013f87
mov rcx, qword [0x140052278]
mov ebp, dword [rcx - 0x10]
lea rdi, [rsp + 0x40]
sub rdi, rcx
sar rdi, 1
test ebx, ebx
jns 0x140013f0e
mov ecx, 0x80070057
call fcn.1400047a0
int3
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x140013f34
mov edx, ebx
lea rcx, [0x140052278]
call fcn.14000e8d0
mov rcx, qword [0x140052278]
movsxd rax, ebx
movsxd rdx, dword [rcx - 0xc]
lea r14, [rax + rax]
add rdx, rdx
mov r9, r14
cmp rdi, rbp
ja 0x140013f55
lea r8, [rcx + rdi*2]
call fcn.14002148c
jmp 0x140013f5f
lea r8, [rsp + 0x40]
call fcn.1400221d0
mov rax, qword [0x140052278]
cmp ebx, dword [rax - 0xc]
jg 0x140013f7c
mov dword [rax - 0x10], ebx
mov rax, qword [0x140052278]
mov word [r14 + rax], r13w
jmp 0x140013f87
mov ecx, 0x80070057
call fcn.1400047a0
int3
mov r8, r15
lea rdx, [0x140052278]
mov rcx, r12
call fcn.14000cd70
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013fb2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, r12
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140020aa0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013fe0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x290
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rax, qword [0x14004e2d0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rdx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov eax, dword [0x140052270]
test al, 1
jne 0x14001405a
or eax, 1
mov dword [0x140052270], eax
mov qword [0x140052298], 7
mov qword [0x140052290], rbp
mov word [0x140052280], bp
lea rcx, [0x1400367b0]
call fcn.140020c50
cmp qword [0x140052290], 0
jne 0x1400140cc
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.140023b30
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1400140cc
cmp word [rsp + 0x70], ax
jne 0x1400140a7
mov r8, rbp
jmp 0x1400140bb
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400140b0
lea rdx, [rsp + 0x70]
lea rcx, [0x140052280]
call fcn.14000e0d0
test rdi, rdi
je 0x140014114
mov r8, rbx
lea rdx, [0x140052280]
lea rcx, [rsp + 0x48]
call fcn.14000ec30
cmp qword [rax + 0x18], 8
jb 0x1400140ef
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, ebp
cmp eax, 0xffffffff
setne cl
mov dword [rdi], ecx
cmp qword [rsp + 0x60], 8
jb 0x140014114
mov rcx, qword [rsp + 0x48]
call fcn.140020a7c
mov r8, rbx
lea rdx, [0x140052280]
mov rcx, rsi
call fcn.14000ec30
nop
cmp qword [rbx + 0x18], 8
jb 0x140014136
mov rcx, qword [rbx]
call fcn.140020a7c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
mov rax, rsi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140020aa0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017e60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rsi, rdx
mov r15, rcx
xor edx, edx
lea rcx, [rbp - 0x11]
call fcn.14001f8a0
nop
xor r12d, r12d
mov dword [rbp + 0x77], r12d
mov r14d, r12d
mov ebx, r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x11]
call fcn.14001fb10
test eax, eax
je 0x140017f00
mov dword [rbp + 0x7f], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x39]
lea rdx, str.DisableTPByGPIO
lea rcx, [rbp - 9]
call fcn.1400200c0
mov r14d, dword [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.14001ff20
mov qword [rbp - 0x31], r12
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetServicesSynTPParametersTouchPad
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017fe8
xor r9d, r9d
xor r8d, r8d
mov r13d, 1
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov qword [rbp - 0x21], rax
mov rax, qword [r15 + 0xa0]
mov qword [rbp - 0x19], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8d, [r13 + 3]
mov edx, r13d
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x140017f94
mov r9d, 0x1388
xor r8d, r8d
lea rdx, [rbp - 0x21]
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
cmove ebx, r13d
mov dword [rbp + 0x7f], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisableTPByGPIO
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rbp + 0x77]
mov dword [rsi], eax
cmp eax, r14d
cmovne ebx, r13d
test rdi, rdi
je 0x140017fde
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x20006
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPInstall
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x11]
call fcn.14001fb10
test eax, eax
je 0x14001802a
xor r9d, r9d
mov r8d, dword [rsi]
lea rdx, str.DisableTPByGPIO
lea rcx, [rbp - 9]
call fcn.140020530
nop
lea rcx, [rbp - 0x11]
call fcn.14001f9c0
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret