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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x18024bd40]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rcx
xor ebx, ebx
movzx edx, byte [rcx]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rdi + 1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rdi + 2]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rdi + 3]
xor rdx, rax
imul rdx, rcx
and rdx, qword [0x1802648d8]
shl rdx, 4
add rdx, qword [0x1802648c0]
mov rax, qword [rdx + 8]
mov r9, qword [0x1802648b0]
cmp rax, r9
je 0x1800aab41
mov r8, qword [rdx]
mov ecx, dword [rdi]
cmp ecx, dword [rax + 0x10]
je 0x1800aab3e
nop
cmp rax, r8
je 0x1800aab41
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1800aab30
mov rbx, rax
test rbx, rbx
je 0x1800aaba1
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1800aab67
cmp rax, rbx
jne 0x1800aab5d
mov qword [rdx], r9
mov qword [rdx + 8], r9
jmp 0x1800aab72
mov r9, qword [rbx + 8]
mov qword [rdx + 8], r9
jmp 0x1800aab72
cmp rax, rbx
jne 0x1800aab72
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
dec qword [0x1802648b8]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.1800a8f60
mov edx, 0x48
mov rcx, rbx
call fcn.1801904ec
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, str.Deleted_Hotkey_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x11
lea rcx, [rdi + 0x18]
cmp qword [rdi + 0x30], 0xf
jbe 0x1800aabcf
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
movabs rax, 0xc000000000000000
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180028820
nop
mov word [rsp + 0x4e], 0
mov qword [rsp + 0x50], 0xe
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.Hotkey_Manager]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1801dff18]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1801dff1c]
mov word [rsp + 0x4c], ax
mov r9d, 0xfa0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [0x180264760]
call fcn.1800ddc10
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1801909d0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
add rcx, 8
jmp 0x1800aaaa0
Function at 0x1800b1c30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x18024bd40]
xor rax, rsp
mov qword [rbp + 0xa0], rax
movabs rcx, 0xfd5b90010544c12e
movabs rax, 0xd2b625239a16e958
mov qword [rbp], rax
xor ebx, ebx
mov rax, qword [rbp]
mov r9d, ebx
mov qword [rbp + 0x40], rax
movabs rax, 0x7b3998c006d24539
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x579419cbaf2e7958
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x8df3666acc44ac0b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x3e6bc89f4880047c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x15db5394e27b3015
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], rcx
lea rcx, [rbp + 0x40]
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov rax, 0xffffffffffffffff
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x40], ymm1
vzeroupper
inc rax
cmp byte [rcx + rax], bl
jne 0x1800b1d33
lea r11, [rbp + 0x40]
add r11, rax
lea r10, [rbp + 0x40]
cmp r10, r11
je 0x1800b1d86
nop dword [rax + rax]
movzx r8d, byte [r10]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r10
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp r10, r11
jne 0x1800b1d50
movdqa xmm0, xmmword [0x1801ed200]
lea eax, [r9 + r9*8]
mov ecx, eax
lea r8, [rbp + 8]
shr ecx, 0xb
lea rdx, [rbp + 0x10]
xor ecx, eax
imul eax, ecx, 0x8001
lea rcx, [rbp + 0x20]
movdqu xmmword [rbp + 0x64], xmm0
mov dword [rbp + 0x60], eax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x74]
mov qword [rbp + 0x18], rax
call fcn.1800b1b20
mov r11, rax
lea r10, str.CATEGORY_SERVICE_WITH_THRESHOLD
lea rdi, [0x1801ec8ef]
nop dword [rax]
movzx r9d, byte [r10]
movzx ecx, r9b
or cl, 0x20
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
inc r10
movsx eax, dl
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp r10, rdi
jne 0x1800b1de0
lea eax, [rbx + rbx*8]
mov qword [rsp + 0x20], r11
mov ecx, eax
mov r9d, 4
shr ecx, 0xb
mov r8d, 0x562592bb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [0x180248570]
call fcn.18006b020
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801909d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
add rcx, 8
jmp 0x1800b1c30
Function at 0x1800b6d80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x18024bd40]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
lea r11, [0x1801ec8ce]
mov r9d, ebx
lea r10, str.SERVICE_EARN_JOB_BONUS
movzx r8d, byte [r10]
movzx eax, r8b
or al, 0x20
movzx ecx, al
lea edx, [r8 - 0x41]
cmp dl, 0x19
cmova ecx, r8d
inc r10
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
cmp r10, r11
jne 0x1800b6db2
movdqa xmm0, xmmword [0x1801ed250]
lea eax, [r9 + r9*8]
mov ecx, eax
lea r8, [rsp + 0x30]
shr ecx, 0xb
lea rdx, [rsp + 0x40]
xor ecx, eax
imul eax, ecx, 0x8001
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x6c], xmm0
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x48], rax
call fcn.1800b1b20
mov r11, rax
lea r10, str.CATEGORY_SERVICE_WITH_THRESHOLD
lea rdi, [0x1801ec8ef]
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [r10]
movzx ecx, r9b
or cl, 0x20
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
inc r10
movsx eax, dl
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp r10, rdi
jne 0x1800b6e50
lea eax, [rbx + rbx*8]
mov qword [rsp + 0x20], r11
mov ecx, eax
mov r9d, 4
shr ecx, 0xb
mov r8d, 0x562592bb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [0x180248570]
call fcn.18006b020
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1801909d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1800c8500
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x90
mov rax, qword [0x18024bd40]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx esi, r9b
mov edi, r8d
mov rbp, rcx
xor ebx, ebx
lea rax, str.PROP_MP_RAMP_0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x10
mov dword [rsp + 0x60], edx
movabs rax, 0x1000000000000000
mov qword [r11 - 0x40], rax
mov qword [rsp + 0x30], 1
lea rax, [r11 - 0x40]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [r11 - 0x68]
lea rdx, [r11 - 0x58]
lea rcx, [r11 - 0x30]
call fcn.180028820
lea r9, [rsp + 0x68]
mov r10, qword [rsp + 0x68]
mov r14, qword [rsp + 0x80]
cmp r14, 0xf
cmova r9, r10
mov r11, qword [rsp + 0x78]
add r11, r9
cmp r9, r11
je 0x18006b323
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, ebx
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
inc r9
cmp r9, r11
jne 0x18006b2f1
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
cmp r14, 0xf
jbe 0x18006b36d
lea rdx, [r14 + 1]
mov rax, r10
cmp rdx, 0x1000
jb 0x18006b365
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006b365
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.1801904ec
test edi, edi
je 0x18006b3ba
sub edi, 1
je 0x18006b3a6
sub edi, 1
je 0x18006b392
cmp edi, 1
jne 0x18006b3db
call fcn.18005b2d0
mov ecx, eax
call fcn.18005a3e0
lea r9d, [rdi + 2]
jmp 0x18006b3c9
call fcn.18005b2d0
mov ecx, eax
call fcn.18005a3e0
mov r9d, 2
jmp 0x18006b3c9
call fcn.18005b2d0
mov ecx, eax
call fcn.18005a3e0
mov r9d, 1
jmp 0x18006b3c9
call fcn.18005b2d0
mov ecx, eax
call fcn.18005a3e0
xor r9d, r9d
mov byte [rsp + 0x20], sil
mov r8d, ebx
mov edx, eax
mov rcx, rbp
call fcn.18006bc70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1801909d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
movzx r9d, byte [0x180266274]
lea rcx, [0x180248570]
mov r8d, dword [0x180266270]
mov edx, dword [0x18024a2f4]
jmp 0x18006b230
Function at 0x1800d54f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800d56a1
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180055320
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800d5666
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800d55e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800d5655
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800d561d
mov r10, qword [rdx]
cmp r10, rax
je 0x1800d5617
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 0x1800d5655
cmp r9, rdx
je 0x1800d5631
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800d567b
cmp r9, rdx
jne 0x1800d5622
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
jne 0x1800d5590
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
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 0x1800d5655
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1800daae0
Capabilities:
Encode data using xor

Disassembly:
mov r10, qword [rcx]
xor eax, eax
mov r11, qword [rcx + 8]
add r11, r10
cmp r10, r11
je 0x1800dab25
movzx r9d, byte [r10]
movzx ecx, r9b
or cl, 0x20
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
inc r10
movsx ecx, dl
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp r10, r11
jne 0x1800daaf1
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x1800e0430
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov eax, 1
xchg byte [rcx], al
mov ecx, 0x10
call fcn.1801904b0
test rax, rax
je 0x1800e045d
mov qword [rax], rbx
lea rcx, [0x1800e04d0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800e02b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800e04b4
cmp dword [rbx + 0xe8], 0
jne 0x1800e04ad
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0xe0], xmm1
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1800e0c10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc50
mov rax, qword [0x18024bd40]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
lea rax, [rsp + 0x440]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [rdi + 5]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1800e0ca8
mov r8d, 0x3ff
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop
inc r8
cmp byte [rax + r8], dil
jne 0x1800e0c90
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180015780
jmp 0x1800e0cbd
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov rax, rbx
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.1801909d0
mov rbx, qword [rsp + 0xc60]
add rsp, 0xc50
pop rdi
ret

Function at 0x1800e1480
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx]
jne 0x1800e14b3
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
sets al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x1800e15a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push r14
sub rsp, 0xc0
mov r14, qword [rcx + 0x30]
mov rsi, rcx
mov rbx, qword [rcx + 0x28]
cmp rbx, r14
je 0x1800e1790
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov rcx, qword [rax]
mov edi, dword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [section..data]
jne 0x1800e163f
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800e163f
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x1800e1627
mov rdx, rbx
mov rcx, rax
call fcn.180029000
add qword [rsi + 8], 0x20
lea rdx, [rsp + 0x30]
jmp 0x1800e1760
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180074430
lea rdx, [rsp + 0x30]
jmp 0x1800e1760
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov rcx, qword [rax]
cmp dword [rcx + 0x48], 0
je 0x1800e16ce
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, qword [rax]
mov edi, dword [rcx + 0x48]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov edx, edi
mov rcx, qword [rax]
mov ecx, dword [rcx + 0x44]
call fcn.18005a7c0
test eax, eax
je 0x1800e16ce
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x1800e16b6
mov rdx, rbx
mov rcx, rax
call fcn.180029000
add qword [rsi + 8], 0x20
lea rdx, [rsp + 0x70]
jmp 0x1800e1760
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180074430
lea rdx, [rsp + 0x70]
jmp 0x1800e1760
mov r8, rbx
lea rdx, [rsp + 0x80]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov rcx, qword [rax]
cmp dword [rcx + 0x48], 0
je 0x1800e1773
mov r8, rbx
lea rdx, [rsp + 0x90]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov r8, rbx
lea rdx, [rsp + 0xa0]
mov rcx, qword [rax]
mov edi, dword [rcx + 0x48]
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov edx, edi
mov rcx, qword [rax]
mov ecx, dword [rcx + 0x44]
call fcn.18005a900
test eax, eax
je 0x1800e1773
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x1800e174a
mov rdx, rbx
mov rcx, rax
call fcn.180029000
add qword [rsi + 8], 0x20
jmp 0x1800e1758
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.180074430
lea rdx, [rsp + 0xb0]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.1800e07d0
mov rcx, qword [rax]
mov byte [rcx + 0x4c], 1
add rbx, 0x20
cmp rbx, r14
jne 0x1800e15d0
mov rdi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xd0]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1800e25a0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x18024bd40]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1800e272e
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1800e2723
mov eax, dword [rsp + 0x30]
cmp rax, 0x10
jb 0x1800e2704
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x1800e2704
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x1800e2704
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800e2671
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x180266630]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800e266f
jmp 0x1800e2723
jmp 0x1800e26db
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x1800e26db
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180266630]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800e26bc
jmp 0x1800e2723
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1800e25f4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1801909d0
add rsp, 0x68
ret
Function at 0x1800e2750
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800e25a0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800e2812
mov dword [rsp + 0x20], 0
jmp 0x1800e27af
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800e2812
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800e2810
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800e23f0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800e27a5
add rsp, 0x38
ret

Function at 0x1800e2820
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800e28af
mov dword [rsp + 0x20], 0
jmp 0x1800e2848
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800e2898
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800e2896
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800e283e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180266630]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x1800e28c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x1802a1b60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800e292a
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800e2953
mov eax, 0xa
jmp 0x1800e2a84
cmp dword [rsp + 0x68], 0
je 0x1800e29be
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800e29bc
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x1800e2a0a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800e29ee
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800e2a0a
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret