joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005d8d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x180164280]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x70], 0
jne 0x18005d901
mov al, 1
jmp 0x18005d990
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18005d917
xor al, al
jmp 0x18005d990
mov rax, qword [rsp + 0x38]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x18005d927
xor al, al
jmp 0x18005d990
cmp qword [rsp + 0x68], 0
jne 0x18005d933
xor al, al
jmp 0x18005d990
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x18005d983
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
jne 0x18005d983
mov dword [rsp + 0x34], 1
jmp 0x18005d98b
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180081a40
add rsp, 0x58
ret

Function at 0x18005dee0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x180164280]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x88], 0
je 0x18005dfa4
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax]
test eax, eax
je 0x18005dfa4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x18005df9a
mov eax, dword [rsp + 0x50]
jmp 0x18005e005
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x98]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x60], 0
je 0x18005e001
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x60], rax
je 0x18005e001
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180081a40
add rsp, 0x78
ret
Function at 0x18005e110
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xaf8
mov rax, qword [0x180164280]
xor rax, rsp
mov qword [rsp + 0xae0], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xb00]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0xb08]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x18005e1e1
mov ecx, 2
call fcn.1800ef434
lea rdx, str.Error_opening_Steam_key_n
mov rcx, rax
call fcn.18005e3d0
nop
jmp 0x18005e2ea
mov dword [rsp + 0x48], 0x208
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SteamExe
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x34], 0
jne 0x18005e236
cmp dword [rsp + 0x48], 1
jae 0x18005e255
mov ecx, 2
call fcn.1800ef434
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.18005e3d0
nop
jmp 0x18005e2ea
mov eax, dword [rsp + 0x48]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
jmp 0x18005e27b
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x30], eax
jae 0x18005e2a9
mov eax, dword [rsp + 0x30]
movzx eax, word [rsp + rax*2 + 0xd0]
cmp eax, 0x2f
jne 0x18005e2a7
mov eax, dword [rsp + 0x30]
mov ecx, 0x5c
mov word [rsp + rax*2 + 0xd0], cx
jmp 0x18005e271
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, str.__s__steam:__rungameid__s
mov edx, 0x800
lea rcx, [rsp + 0x2e0]
call fcn.18005dce0
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x90]
call fcn.18005d9b0
nop
mov rcx, qword [rsp + 0xae0]
xor rcx, rsp
call fcn.180081a40
add rsp, 0xaf8
ret
Function at 0x180060350
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x138
jne 0x180060373
mov rcx, qword [rsp + 0x40]
call fcn.180061a20
nop
jmp 0x18006038b
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jb 0x18006038b
mov rcx, qword [rsp + 0x40]
call fcn.1800617d0
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x1d
mov rcx, qword [rsp + 0x40]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x2b
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1800617d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0x137
mov qword [rsp + 0x48], 0x9c
mov qword [rsp], 0
jmp 0x180061800
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x9c
jae 0x18006189e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
and rax, 1
test rax, rax
je 0x180061864
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x18], rax
jmp 0x18006186d
mov qword [rsp + 0x18], 0
mov rax, qword [rsp + 0x10]
shr rax, 1
xor rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1800617f5
mov qword [rsp + 8], 0x9c
jmp 0x1800618b6
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x137
jae 0x180061959
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 8]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and rax, 1
test rax, rax
je 0x18006191d
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x28], rax
jmp 0x180061926
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
shr rax, 1
xor rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1800618a9
mov qword [rsp + 0x50], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
and rax, 1
test rax, rax
je 0x1800619bf
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x38], rax
jmp 0x1800619c8
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x30]
shr rax, 1
xor rax, qword [rsp + 0x38]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rsp + 0x70]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rsp + 0x70]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
add rsp, 0x68
ret
Function at 0x180061a20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp], 0x138
jmp 0x180061a3e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x270
jae 0x180061adc
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 - 0x9b8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 - 0x9b0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x180061aa2
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x180061aab
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x180061a33
add rsp, 0x28
ret
Function at 0x1800710c0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov byte [rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x44], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x44], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x10325476
ret
Function at 0x180073d50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [0x18019da80]
test eax, eax
jne 0x180073df2
mov dword [rsp + 8], 0
jmp 0x180073d85
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0x100
jae 0x180073deb
mov eax, dword [rsp + 8]
mov dword [rsp + 4], eax
mov byte [rsp], 0
jmp 0x180073da6
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 8
jge 0x180073dd7
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x180073dcb
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 4], eax
jmp 0x180073dd5
mov eax, dword [rsp + 4]
shr eax, 1
mov dword [rsp + 4], eax
jmp 0x180073d9d
mov eax, dword [rsp + 8]
lea rcx, [0x18019d680]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x180073d7b
mov byte [0x18019da80], 1
mov eax, dword [rsp + 0x30]
not eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x10], 0
jmp 0x180073e14
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x10], rax
jae 0x180073e5a
mov eax, dword [rsp + 0x30]
shr eax, 8
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
mov edx, dword [rsp + 0x30]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x18019d680]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x30], eax
jmp 0x180073e07
mov eax, dword [rsp + 0x30]
not eax
add rsp, 0x28
ret
Function at 0x18007ae20
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [0x18007a8c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x48]
add rax, 0x78
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.180078bd0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x48]
call fcn.180078f60
mov rax, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x18007e260
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x180164280]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x60], 0
jne 0x18007e285
jmp 0x18007e358
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x3c]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
cdqe
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x24], 0x40
mov eax, dword [rsp + 0x24]
lea r9, [rsp + 0x38]
mov r8d, 4
mov edx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18007e2fb
mov dword [rsp + 0x20], 0
jmp 0x18007e2e2
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x18007e2fb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
jmp 0x18007e2d8
mov dword [rsp + 0x24], 0x108
cmp qword [rsp + 0x28], 0
je 0x18007e358
mov eax, dword [rsp + 0x24]
lea r9, [rsp + 0x38]
mov r8d, 4
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18007e358
mov dword [rsp + 0x20], 0
jmp 0x18007e33f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jae 0x18007e358
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov byte [rcx + rax], 0
jmp 0x18007e335
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180081a40
add rsp, 0x58
ret

Function at 0x18007e3d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp]
cmp qword [rax + 0x30], 0
je 0x18007e4df
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x20]
cmp qword [rax + 0x30], rcx
jne 0x18007e4cf
mov rax, qword [rsp]
cmp qword [rax + 8], 0
je 0x18007e437
mov rax, qword [rsp]
mov rax, qword [rax + 8]
mov rcx, qword [rsp]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp]
cmp qword [rax + 8], 0
je 0x18007e455
mov rax, qword [rsp]
mov rax, qword [rax]
mov rcx, qword [rsp]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp]
cmp qword [rax + 0x28], 0
je 0x18007e473
mov rax, qword [rsp]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp]
mov rcx, qword [rcx + 0x20]
mov qword [rax], rcx
mov rax, qword [rsp]
cmp qword [rax + 0x20], 0
je 0x18007e492
mov rax, qword [rsp]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp]
mov rcx, qword [rcx + 0x28]
mov qword [rax + 8], rcx
mov rax, qword [rsp]
cmp qword [rax + 0x10], 0
je 0x18007e4b0
mov rax, qword [rsp]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp]
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp]
cmp qword [rax + 0x10], 0
je 0x18007e4cf
mov rax, qword [rsp]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 8], rcx
mov rax, qword [rsp]
mov rax, qword [rax]
mov qword [rsp], rax
jmp 0x18007e3f8
add rsp, 0x18
ret
Function at 0x18007f170
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, str.DllMain
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBegin]
nop
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18007f24e
cmp dword [rsp + 0x30], 1
je 0x18007f1c5
cmp dword [rsp + 0x30], 2
je 0x18007f24e
cmp dword [rsp + 0x30], 3
je 0x18007f24e
jmp 0x18007f254
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rcx, qword [rsp + 0x50]
call fcn.18007e3d0
mov rcx, qword [rsp + 0x50]
call fcn.18007e260
mov rcx, qword [0x180166878]
call fcn.180058f80
mov edx, 1
mov rcx, qword [0x180166878]
call fcn.180059380
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18007e4f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18007e9f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
jmp 0x18007f254
call fcn.18004bbb0
nop
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
nop
mov eax, 1
add rsp, 0x48
ret

Function at 0x1800829f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180082c40
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180082b0a
mov rax, qword [0x1801642f0]
cmp qword [rsp + 0x20], rax
jb 0x180082a54
mov rax, qword [0x1801642f8]
cmp qword [rsp + 0x20], rax
ja 0x180082a54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180082a16
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180115900
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180082a85
jmp 0x180082b0a
cmp dword [rsp + 0x50], 0x10000
jne 0x180082aed
cmp qword [rsp + 0x48], 0x10000
jb 0x180082aed
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180082acb
mov rax, qword [rsp + 0x28]
jmp 0x180082b0c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180082adb
xor eax, eax
jmp 0x180082b0c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180082b05
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180082c40
mov qword [rsp + 0x20], rax
jmp 0x180082a16
xor eax, eax
add rsp, 0x68
ret
Function at 0x180082b20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180082c80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180082c36
mov rax, qword [0x1801642f0]
cmp qword [rsp + 0x20], rax
jb 0x180082b7b
mov rax, qword [0x1801642f8]
cmp qword [rsp + 0x20], rax
ja 0x180082b7b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180082b3d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180115900
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180082bac
jmp 0x180082c36
cmp dword [rsp + 0x50], 0x10000
jne 0x180082c14
cmp qword [rsp + 0x48], 0x10000
jb 0x180082c14
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180082bf2
mov rax, qword [rsp + 0x28]
jmp 0x180082c38
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180082c02
xor eax, eax
jmp 0x180082c38
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180082c31
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180082c80
mov qword [rsp + 0x20], rax
jmp 0x180082b3d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180082cd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180083260
mov qword [rsp + 0x28], 0
cmp qword [0x18019e940], 0
jne 0x180082d18
cmp qword [0x18019e938], 0
je 0x180082d18
mov rax, qword [0x18019e938]
mov qword [0x18019e940], rax
cmp qword [0x18019e940], 0
je 0x180082dbe
mov rax, qword [0x18019e940]
cmp qword [rax + 0x10], 0
je 0x180082dbe
mov rax, qword [0x18019e940]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180082dbe
mov rax, qword [0x18019e940]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180082dbe
mov rax, qword [0x18019e940]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180082d84
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180082d8b
xor eax, eax
jmp 0x180082f35
mov rax, qword [0x18019e940]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180115900
mov rax, qword [rsp + 0x28]
jmp 0x180082f35
mov rax, qword [0x18019e938]
mov qword [0x18019e940], rax
jmp 0x180082de0
mov rax, qword [0x18019e940]
mov rax, qword [rax + 8]
mov qword [0x18019e940], rax
cmp qword [0x18019e940], 0
je 0x180082e2d
cmp qword [0x18019e940], 0
je 0x180082e2b
mov rax, qword [0x18019e940]
cmp qword [rax + 0x10], 0
je 0x180082e2b
mov rax, qword [0x18019e940]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180082e2b
mov rax, qword [0x18019e940]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180082e2b
jmp 0x180082d5c
jmp 0x180082dce
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180082f40
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180082f33
mov rax, qword [rsp + 0x48]
mov qword [0x18019e940], rax
mov rax, qword [0x18019e940]
mov dword [rax], 0x52727464
mov rax, qword [0x18019e940]
mov qword [rax + 0x10], 0
mov rax, qword [0x18019e940]
mov rcx, qword [0x18019e938]
mov qword [rax + 8], rcx
mov rax, qword [0x18019e940]
mov qword [0x18019e938], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18019e940]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180082ee4
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180082f1e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180082eda
mov rax, qword [0x18019e940]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180082d5c
xor eax, eax
add rsp, 0x58
ret