joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006c480
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18006c4b1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1800bd0f8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800bd108]
lea rdx, [rdi + rdi]
call fcn.180068970
mov rax, qword [0x1800bd0f8]
lea r9, [rdi - 1]
mov qword [0x1800bd120], r9
mov qword [0x1800bd128], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18006c652
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1800bd108]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18006c59c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18006c613
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18006c5d9
mov r10, qword [rdx]
cmp r10, rax
je 0x18006c5d3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18006c613
cmp r9, rdx
je 0x18006c5ef
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18006c627
cmp r9, rdx
jne 0x18006c5e0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18006c64d
mov r9, qword [0x1800bd120]
jmp 0x18006c521
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18006c613
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800772c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180077321
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1800772e0
mov ecx, dword [r9]
jmp 0x180077408
cmp ecx, 0x4e0
jb 0x180077408
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180077340
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180077390
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180077750
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edx, dword [0x1800bce0c]
mov rdi, rcx
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1800be950], eax
jle 0x1800777e2
lea rcx, [0x1800be950]
call fcn.18007b63c
cmp dword [0x1800be950], 0xffffffff
jne 0x1800777e2
mov eax, 0x3e8
lea rcx, [rsp + 0x20]
cdq
idiv dword [rdi + 0x10]
mov qword [0x1800be958], 0
movsxd rbx, eax
call fcn.180062150
lea rcx, [0x1800be950]
mov rdx, qword [rax]
mov qword [0x1800be958], rdx
mov qword [0x1800be960], rbx
call fcn.18007b5d0
cmp byte [rdi + 8], 0
je 0x1800778ff
cmp byte [0x1800bd1a8], 0
jne 0x1800778ff
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800778ff
lea rcx, [rsp + 0x20]
call fcn.180062150
mov r8, qword [rsp + 0x20]
movabs rax, 0x431bde82d7b634db
mov rcx, r8
sub rcx, qword [0x1800be958]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1800be960]
je 0x180077850
jl 0x1800778ff
lea rcx, [rsp + 0x28]
mov qword [0x1800be958], r8
mov qword [rsp + 0x28], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rsp + 0x2c]
mov edx, 0x201
movzx eax, word [rsp + 0x28]
mov r8d, 1
mov rcx, qword [0x1800bd1a0]
shl r9d, 0x10
or r9, rax
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x2c]
mov edx, 0x202
movzx ecx, word [rsp + 0x28]
mov r8d, 1
shl r9d, 0x10
or r9, rcx
mov rcx, qword [0x1800bd1a0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [rdi + 0x10]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rdi + 0x14]
mov dword [rsp + 0x24], ecx
lea rcx, [rsp + 0x20]
call fcn.1800770a0
mov ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
lea rcx, [rsp + 0x20]
movsxd rbx, eax
call fcn.180062150
mov rcx, qword [rax]
mov qword [0x1800be958], rcx
mov qword [0x1800be960], rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18007b5b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180077920
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov ecx, 0x52
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18007799b
mov rbx, qword [0x1800bce50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xf
movss xmm1, dword [rbx + 0x392c]
lea rcx, [rbx + 0x49b8]
movss xmm0, dword [rbx + 0x3930]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm0
call fcn.18002c320
mov qword [rbx + 0x392c], 0x41a00000
mov rbx, qword [0x1800bce50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xb
movss xmm6, dword [rbx + 0x3918]
lea rcx, [rbx + 0x49b8]
movss xmm1, dword [rbx + 0x3914]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm6
call fcn.18002c320
lea rdx, [rdi + 8]
movss dword [rbx + 0x3918], xmm6
lea rcx, str.Left_Clicker
mov dword [rbx + 0x3914], 0x435c0000
call fcn.1800470d0
mov ecx, 1
call fcn.1800067b0
mov ecx, 1
call fcn.1800067b0
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.180015ae0
test al, al
je 0x180077a37
xor ecx, ecx
call fcn.18000a290
test al, al
je 0x180077a37
cmp byte [0x1800bd1c0], 0
sete byte [0x1800bd1c0]
movss xmm1, dword [0x1800aeb58]
xorps xmm0, xmm0
call fcn.180017e30
mov rdx, qword [0x1800bce50]
lea rcx, [0x1800ae6c0]
xor r9d, r9d
mov rax, qword [rdx + 0x4038]
movss xmm4, dword [rax + 0x58]
subss xmm4, dword [0x1800aeaac]
mov byte [rax + 0xed], 1
mov rax, qword [rdx + 0x4038]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0xb8]
mov byte [rax + 0x179], 1
addss xmm0, xmm4
movss dword [rax + 0x138], xmm0
movss xmm1, dword [rdx + 0x3918]
addss xmm1, xmm1
addss xmm1, dword [rdx + 0x3d70]
lea edx, [r9 + 3]
movaps xmm0, xmm1
unpcklps xmm0, xmm1
movq r8, xmm0
call fcn.180045dd0
test al, al
je 0x180077ad8
cmp byte [0x1800bd1c0], 0
sete al
mov byte [0x1800bd1c0], al
jmp 0x180077adf
movzx eax, byte [0x1800bd1c0]
test al, al
je 0x180077bc3
mov rcx, qword [0x1800bce50]
mov rax, qword [rcx + 0x4038]
movss xmm1, dword [rax + 0x138]
subss xmm1, dword [rax + 0x50]
addss xmm1, dword [rax + 0xb8]
mov byte [rax + 0xed], 1
mov rax, qword [rcx + 0x4038]
addss xmm1, dword [0x1800aea8c]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0xb8]
mov byte [rax + 0x179], 1
addss xmm0, xmm1
movss dword [rax + 0x138], xmm0
call fcn.1800180e0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0x96
lea rbx, [0x180082140]
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], rbx
lea r8, [rdi + 0x10]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov edx, 4
lea rcx, str.Min_CPS
call fcn.18004aa90
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rbx
lea r8, [rdi + 0x14]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x58], 0x96
mov edx, 4
mov dword [rsp + 0x50], 1
lea rcx, str.Max_CPS
call fcn.18004aa90
call fcn.180018210
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18007b5b0
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
Function at 0x180078460
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edx, dword [0x1800bce0c]
mov rdi, rcx
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1800be978], eax
jle 0x1800784f2
lea rcx, [0x1800be978]
call fcn.18007b63c
cmp dword [0x1800be978], 0xffffffff
jne 0x1800784f2
mov eax, 0x3e8
lea rcx, [rsp + 0x20]
cdq
idiv dword [rdi + 0x10]
mov qword [0x1800be968], 0
movsxd rbx, eax
call fcn.180062150
lea rcx, [0x1800be978]
mov rdx, qword [rax]
mov qword [0x1800be968], rdx
mov qword [0x1800be970], rbx
call fcn.18007b5d0
cmp byte [rdi + 8], 0
je 0x18007860f
cmp byte [0x1800bd1a8], 0
jne 0x18007860f
mov ecx, 2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18007860f
lea rcx, [rsp + 0x20]
call fcn.180062150
mov r8, qword [rsp + 0x20]
movabs rax, 0x431bde82d7b634db
mov rcx, r8
sub rcx, qword [0x1800be968]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1800be970]
je 0x180078560
jl 0x18007860f
lea rcx, [rsp + 0x28]
mov qword [0x1800be968], r8
mov qword [rsp + 0x28], 0
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rsp + 0x2c]
mov edx, 0x204
movzx eax, word [rsp + 0x28]
mov r8d, 2
mov rcx, qword [0x1800bd1a0]
shl r9d, 0x10
or r9, rax
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x2c]
mov edx, 0x205
movzx ecx, word [rsp + 0x28]
mov r8d, 2
shl r9d, 0x10
or r9, rcx
mov rcx, qword [0x1800bd1a0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [rdi + 0x10]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rdi + 0x14]
mov dword [rsp + 0x24], ecx
lea rcx, [rsp + 0x20]
call fcn.1800770a0
mov ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
lea rcx, [rsp + 0x20]
movsxd rbx, eax
call fcn.180062150
mov rcx, qword [rax]
mov qword [0x1800be968], rcx
mov qword [0x1800be970], rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18007b5b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180078630
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov ecx, 0x58
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800786ab
mov rbx, qword [0x1800bce50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xf
movss xmm1, dword [rbx + 0x392c]
lea rcx, [rbx + 0x49b8]
movss xmm0, dword [rbx + 0x3930]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm0
call fcn.18002c320
mov qword [rbx + 0x392c], 0x41a00000
mov rbx, qword [0x1800bce50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xb
movss xmm6, dword [rbx + 0x3918]
lea rcx, [rbx + 0x49b8]
movss xmm1, dword [rbx + 0x3914]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x48], xmm6
call fcn.18002c320
lea rdx, [rdi + 8]
movss dword [rbx + 0x3918], xmm6
lea rcx, str.Right_Clicker
mov dword [rbx + 0x3914], 0x435c0000
call fcn.1800470d0
mov ecx, 1
call fcn.1800067b0
mov ecx, 1
call fcn.1800067b0
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.180015ae0
test al, al
je 0x180078747
xor ecx, ecx
call fcn.18000a290
test al, al
je 0x180078747
cmp byte [0x1800bd1c2], 0
sete byte [0x1800bd1c2]
movss xmm1, dword [0x1800aeb58]
xorps xmm0, xmm0
call fcn.180017e30
mov rdx, qword [0x1800bce50]
lea rcx, [0x1800ae72c]
xor r9d, r9d
mov rax, qword [rdx + 0x4038]
movss xmm4, dword [rax + 0x58]
subss xmm4, dword [0x1800aeaac]
mov byte [rax + 0xed], 1
mov rax, qword [rdx + 0x4038]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0xb8]
mov byte [rax + 0x179], 1
addss xmm0, xmm4
movss dword [rax + 0x138], xmm0
movss xmm1, dword [rdx + 0x3918]
addss xmm1, xmm1
addss xmm1, dword [rdx + 0x3d70]
lea edx, [r9 + 3]
movaps xmm0, xmm1
unpcklps xmm0, xmm1
movq r8, xmm0
call fcn.180045dd0
test al, al
je 0x1800787e8
cmp byte [0x1800bd1c2], 0
sete al
mov byte [0x1800bd1c2], al
jmp 0x1800787ef
movzx eax, byte [0x1800bd1c2]
test al, al
je 0x1800788d3
mov rcx, qword [0x1800bce50]
mov rax, qword [rcx + 0x4038]
movss xmm1, dword [rax + 0x138]
subss xmm1, dword [rax + 0x50]
addss xmm1, dword [rax + 0xb8]
mov byte [rax + 0xed], 1
mov rax, qword [rcx + 0x4038]
addss xmm1, dword [0x1800aea8c]
movss xmm0, dword [rax + 0x50]
subss xmm0, dword [rax + 0xb8]
mov byte [rax + 0x179], 1
addss xmm0, xmm1
movss dword [rax + 0x138], xmm0
call fcn.1800180e0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0x96
lea rbx, [0x180082140]
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], rbx
lea r8, [rdi + 0x10]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov edx, 4
lea rcx, str.Min_CPS
call fcn.18004aa90
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rbx
lea r8, [rdi + 0x14]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x58], 0x96
mov edx, 4
mov dword [rsp + 0x50], 1
lea rcx, str.Max_CPS
call fcn.18004aa90
call fcn.180018210
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18007b5b0
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret
Function at 0x180079bd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
mov byte [0x1800bd131], 1
call fcn.180077bf0
mov rbx, qword [0x1800bd550]
test rbx, rbx
je 0x180079c1b
mov rcx, rbx
call fcn.180061440
lea edx, [rsi + 0x68]
mov rcx, rbx
call fcn.18007bc70
cmp qword [0x1800bd188], rsi
je 0x180079c41
lea r8, [0x1800bd188]
lea rdx, [rsp + 0x30]
call fcn.1800699f0
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180067700
mov rbx, qword [0x1800bd1b0]
test rbx, rbx
je 0x180079c62
mov rcx, rbx
call fcn.180067ff0
mov edx, 0x10
mov rcx, rbx
call fcn.18007bc70
mov rdi, qword [0x1800bd188]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, 2
lea rdx, [0x1800ab594]
lea rcx, [rsp + 0x30]
call fcn.18005f350
nop
lea rdx, [rsp + 0x30]
lea rcx, [0x1800bd230]
call fcn.180066fb0
mov rbx, rax
mov rdx, qword [0x1800bd188]
lea rcx, [0x1800bd230]
call fcn.180066db0
mov r8, rbx
mov rdx, qword [rax]
mov rcx, rdi
call fcn.18005f730
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180079d09
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079d04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180079d04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007bc70
mov rcx, qword [0x1800bd1b8]
test rcx, rcx
je 0x180079d21
mov rax, qword [rcx]
mov rdx, qword [rax + 0x3f0]
call rdx
mov ecx, 1
call fcn.18007bce8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x180079de0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180079da8
cmp dword [rsp + 0x58], 0
je 0x180079d9c
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180079d9c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18007b5b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18007a310
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18007a374
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18007a362
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007a35b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18007a32f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800bd040]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18007a384
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800be9b0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18007a3ba
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18007a3f0
mov eax, 0xa
jmp 0x18007a47f
test esi, esi
je 0x18007a412
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18007a433
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18007a433
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18007a42d
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18007a433
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x18007a8d0
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18007a8e7
cmp r8b, 0x90
je 0x18007a8e7
cmp r8b, 0xcc
jne 0x18007a909
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18007a905
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18007a909
add edx, r10d
cmp edx, r9d
jb 0x18007a8f5
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18007ac70
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18007acba
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1800be9a0]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x18007acf3
cmp rbx, r14
jb 0x18007acf0
cmp rbx, r12
jae 0x18007acf0
cmp qword [rbx + 8], rsi
jne 0x18007ae55
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18007acdc
mov r15, rdi
cmp rdi, r14
jb 0x18007ae0f
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x18007ad3f
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007ad79
cmp dword [rbp - 0x10], 0x10000
je 0x18007ad49
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18007ad79
sub r15, r13
cmp r15, r14
jae 0x18007ad15
jmp 0x18007ad79
test r15, r15
je 0x18007ad79
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18007ae1a
cmp r15, r14
jae 0x18007ad04
test rbx, rbx
jmp 0x18007ae0d
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18007ae55
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007ae55
cmp dword [rbp - 0x10], 0x10000
je 0x18007ade8
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x18007ada5
jmp 0x18007ae55
test rdi, rdi
je 0x18007ae55
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18007ae1a
cmp rdi, r12
jbe 0x18007ad81
jmp 0x18007ae55
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18007ae26
mov rax, qword [0x1800be9a0]
mov qword [rbx], rax
mov qword [0x1800be9a0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret