joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ca0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400410c0]
test rcx, rcx
je 0x140007cdb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007d00
mov rcx, qword [0x1400410c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400420e0], 0
jne 0x140007d18
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400410c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007cce
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d392]
mov qword [rsp + 0x20], 0
lea rdi, [0x140042100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007de4
test al, 0x10
je 0x140007ce4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007ce4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007d90
jmp 0x140007ce4

Function at 0x14000e450
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015930
sub rsp, rax
mov eax, dword [0x140046100]
mov rsi, rcx
test eax, eax
je 0x14000e4f0
xor ebx, ebx
lea rdi, [0x140044100]
test eax, eax
jg 0x14000e48c
jmp 0x14000e4a0
add rbx, 1
cmp dword [0x140046100], ebx
jle 0x14000e4a0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e480
jmp 0x14000e4d7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e4b5
cmp word [rsi + 2], 0x3a
je 0x14000e4d7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e540
movsxd rbx, dword [0x140046100]
cmp ebx, 0x3ff
jle 0x14000e558
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e57a
movsxd rbx, dword [0x140046100]
mov rcx, rdi
lea rdi, [0x140044100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140046100]
add eax, 1
mov dword [0x140046100], eax
jmp 0x14000e471
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e4c4
xor eax, eax
jmp 0x14000e4dc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140046100], 1
mov rdx, rax
lea rax, [0x140044100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e4d7
mov rcx, rbx
call fcn.140007be0
nop
nop word cs:[rax + rax]
nop
Function at 0x140014610
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001b560
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001b560
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400152e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140046228]
test eax, eax
je 0x14001537a
lea rax, [0x140046200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140046230]
mov qword [rbp - 8], rax
jmp 0x14001535e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140015352
cmp qword [rbp - 0x10], 0
je 0x140015352
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140015318
lea rax, [0x140046200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001537b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140015480
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 0x1400154a8
mov eax, 0
jmp 0x1400154f6
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 0x1400154d1
mov eax, 0
jmp 0x1400154f6
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 0x1400154f1
mov eax, 0
jmp 0x1400154f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400154fc
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 0x14001557a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015571
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 0x140015571
mov rax, qword [rbp - 8]
jmp 0x14001558f
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 0x140015544
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013410
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014760
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014780
xor al, al
jmp 0x140014801
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014793
xor al, al
jmp 0x140014801
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400147bd
xor al, al
jmp 0x140014801
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400147d1
xor al, al
jmp 0x140014801
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400147e3
xor al, al
jmp 0x140014801
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400147ff
xor al, al
jmp 0x140014801
mov al, 1
add rsp, 0x38
ret
Function at 0x18000eb6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1800523b0]
xor rax, rsp
mov qword [rbp + 0x40], rax
cmp edx, 1
jne 0x18000ec49
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x30]
call fcn.180011870
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x26], 0x75732074
mov dword [rsp + 0x2c], 0x74726f
mov dword [rsp + 0x21], 0x6174736e
mov word [rsp + 0x2a], 0x7070
mov byte [rsp + 0x20], 0x69
mov byte [rsp + 0x25], 0x6e
call fcn.1800115e8
test rax, rax
jne 0x18000ec7d
lea rdx, [sym.gphelper.dll_HookSetWindowPos]
lea rcx, [0x180053958]
call fcn.18000f704
test eax, eax
je 0x18000ec7d
lea rdx, [sym.gphelper.dll_HookSetForegroundWindow]
lea rcx, [0x180053950]
call fcn.18000f704
test eax, eax
je 0x18000ec7d
lea rdx, [sym.gphelper.dll_HookSetActiveWindow]
lea rcx, [0x180053968]
call fcn.18000f704
test eax, eax
je 0x18000ec7d
lea rdx, [sym.gphelper.dll_HookBringWindowToTop]
lea rcx, [0x180053960]
call fcn.18000f704
jmp 0x18000ec7d
test edx, edx
jne 0x18000ec7d
lea rcx, [0x180053958]
call fcn.18000f9bc
lea rcx, [0x180053950]
call fcn.18000f9bc
lea rcx, [0x180053968]
call fcn.18000f9bc
lea rcx, [0x180053960]
call fcn.18000f9bc
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.180010060
add rsp, 0x150
pop rbp
ret
Function at 0x18000ec98
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800523b0]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.SOFTWAREPC_Accelerate_Pro
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000ee5c
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], al
call fcn.180010a00
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000ee51
cmp dword [rsp + 0x40], eax
jbe 0x18000ee51
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea rdx, [0x18001edc4]
lea rcx, [rsp + 0x30]
add rax, 0x18
mov r8, rdi
mov qword [rsp + 0x30], rax
call fcn.18000e9dc
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [0x18001debc]
add rax, 0x18
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.18000e9dc
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rdx, rdx
je 0x18000ee15
cmp dword [rbx - 0x10], 0
jl 0x18000ee15
mov rcx, rbx
call fcn.1800119f0
test rax, rax
je 0x18000ee15
cmp eax, ebx
js 0x18000ee15
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000edef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000ee0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x18000ee65
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000ee32
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000ee51
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [0x180053960]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180010060
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18000ee88
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800523b0]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.SOFTWAREPC_Accelerate_Pro
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000f04b
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], al
call fcn.180010a00
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000f040
cmp dword [rsp + 0x40], eax
jbe 0x18000f040
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea rdx, [0x18001edc4]
lea rcx, [rsp + 0x30]
add rax, 0x18
mov r8, rdi
mov qword [rsp + 0x30], rax
call fcn.18000e9dc
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [0x18001debc]
add rax, 0x18
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.18000e9dc
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rdx, rdx
je 0x18000f004
cmp dword [rbx - 0x10], 0
jl 0x18000f004
mov rcx, rbx
call fcn.1800119f0
test rax, rax
je 0x18000f004
cmp eax, ebx
js 0x18000f004
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000efdf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov ecx, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x18000efff
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rdi
jmp 0x18000f054
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f021
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f040
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [0x180053968]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180010060
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18000f078
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800523b0]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.SOFTWAREPC_Accelerate_Pro
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000f23c
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], al
call fcn.180010a00
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000f231
cmp dword [rsp + 0x40], eax
jbe 0x18000f231
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea rdx, [0x18001edc4]
lea rcx, [rsp + 0x30]
add rax, 0x18
mov r8, rdi
mov qword [rsp + 0x30], rax
call fcn.18000e9dc
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea r8, [rsp + 0x60]
lea rdx, [0x18001debc]
add rax, 0x18
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.18000e9dc
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rdx, rdx
je 0x18000f1f5
cmp dword [rbx - 0x10], 0
jl 0x18000f1f5
mov rcx, rbx
call fcn.1800119f0
test rax, rax
je 0x18000f1f5
cmp eax, ebx
js 0x18000f1f5
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f1cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f1ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x18000f245
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f212
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f231
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [0x180053950]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180010060
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18000f268
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov rax, qword [0x1800523b0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rdx
lea rax, [rsp + 0x48]
mov r15d, r9d
mov r14d, r8d
mov rdi, rcx
lea rdx, str.SOFTWAREPC_Accelerate_Pro
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000f439
lea rcx, [rsp + 0x71]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x70], al
call fcn.180010a00
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000f42e
cmp dword [rsp + 0x50], eax
jbe 0x18000f42e
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea rdx, [0x18001edc4]
lea rcx, [rsp + 0x40]
add rax, 0x18
mov r8, rdi
mov qword [rsp + 0x40], rax
call fcn.18000e9dc
mov rax, qword [0x180053808]
lea rcx, [0x180053808]
call qword [rax + 0x18]
lea r8, [rsp + 0x70]
lea rdx, [0x18001debc]
add rax, 0x18
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.18000e9dc
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
test rdx, rdx
je 0x18000f3f2
cmp dword [rbx - 0x10], 0
jl 0x18000f3f2
mov rcx, rbx
call fcn.1800119f0
test rax, rax
je 0x18000f3f2
cmp eax, ebx
js 0x18000f3f2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f3cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f3eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x18000f469
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f40f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x18000f42e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x100]
mov r9d, r15d
mov r8d, r14d
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xf8]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0xf0]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [0x180053958]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180010060
add rsp, 0x198
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000f9bc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
call fcn.18000f6b8
lea r12, [0x1800539d0]
xor r8d, r8d
mov rdx, r12
mov rbx, qword [rdx]
test rbx, rbx
je 0x18000f9f6
lea rax, [rbx + 0x38]
cmp rax, qword [rsi]
je 0x18000fa05
inc r8d
add rdx, 8
cmp r8d, 0x40
jb 0x18000f9e5
xor ebx, ebx
test rbx, rbx
je 0x18000fac4
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
call fcn.18000fcc0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
and dword [rsp + 0x58], edi
mov rbp, rax
lea rax, [rsp + 0x58]
mov r9d, 0x40
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000fabf
mov r8, qword [rbx]
xor edx, edx
cmp dword [rbx + 8], edx
jbe 0x18000fa63
mov al, byte [rdx + rbx + 0x58]
mov byte [rdx + r8], al
inc edx
cmp edx, dword [rbx + 8]
jb 0x18000fa54
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r8d, dword [rbx + 8]
mov r9d, dword [rsp + 0x58]
mov rdx, qword [rbx]
lea rax, [rsp + 0x58]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rbx]
mov qword [rsi], rax
mov edi, 1
mov rcx, r12
xor eax, eax
cmp qword [rcx], rbx
je 0x18000fab4
inc eax
add rcx, 8
cmp eax, 0x40
jb 0x18000faa2
jmp 0x18000fabf
and qword [r12 + rax*8], 0
dec dword [0x180053974]
call fcn.18000fae8
lea rcx, [0x1800539a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x18000fae8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x180053980], edi
jbe 0x18000fb52
mov rcx, qword [0x180053978]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x180053978]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [0x180053980]
jb case.default.0x18000fb87
mov rcx, qword [0x180053978]
call fcn.180011e2c
and qword [0x180053978], 0
and dword [0x180053980], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, esi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]