joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002b62
Capabilities:
Query environment variable

Disassembly:
jmp 0x180067dc0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x180067e92
mov rsi, rax
cmp word [rax], r14w
je 0x180067e13
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x180067dfb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x180067df7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1800035a3
movsxd rbp, eax
test eax, eax
je 0x180067e92
mov rcx, rbp
call fcn.180001023
mov rdi, rax
test rax, rax
je 0x180067e85
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1800035a3
test eax, eax
je 0x180067e85
mov rsi, rdi
mov rdi, r14
jmp 0x180067e88
mov rsi, r14
mov rcx, rdi
call fcn.180001168
jmp 0x180067e95
mov rsi, r14
test rbx, rbx
je 0x180067ea3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180002b76
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180018c08
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x18008b2c8]
xor ecx, ecx
lea r8, [0x18008b2c0]
lea rdx, str.FlsAlloc
call fcn.180018788
test rax, rax
je 0x180018c41
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x180148020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x180002bee
Capabilities:
Get geographical location

Disassembly:
jmp 0x18006a314
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x18008efb8]
mov rbp, rcx
lea r8, [0x18008efb0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.180069720
mov rcx, rbp
test rax, rax
je 0x18006a36a
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x180148020]
jmp 0x18006a381
xor edx, edx
call fcn.18000243c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180002bf8
Capabilities:
Terminate process

Disassembly:
jmp 0x18000bdc0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x180002d79
Capabilities:
Parse pe header

Disassembly:
jmp 0x180053434
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x180053188
Function at 0x180002f31
Capabilities:
Parse pe header

Disassembly:
jmp 0x180080d30
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180080d5a
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x180080d5a
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x180080d5a
mov eax, 1
ret
xor eax, eax
ret
Function at 0x180003512
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180080c70
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x180080cb1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x180080ca5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x180080cb3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x180080c93
xor eax, eax
ret

Function at 0x18000371f
Capabilities:
Terminate process

Disassembly:
jmp 0x18005c730
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18005c74a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.180003ea4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1800037c9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x18006a128
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x18008eef0]
mov ecx, 5
lea r8, [0x18008eee8]
lea rdx, str.FlsGetValue
call fcn.180069720
mov ecx, ebx
test rax, rax
je 0x18006a162
add rsp, 0x20
pop rbx
jmp qword [0x180148020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x180003c01
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18006a180
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x18008ef00]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x18008eef8]
call fcn.180069720
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x18006a1c0
call qword [0x180148020]
jmp 0x18006a1c6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003fa8
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180018d10
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x18008b328]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x18008b320]
call fcn.180018788
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180018d50
call qword [0x180148020]
jmp 0x180018d56
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180004138
Capabilities:
Parse pe header

Disassembly:
jmp 0x180053424
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1800531ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800531ef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800531ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800531ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800531ef
cmp dword [rcx + 0x84], 0xe
jbe 0x1800531ef
cmp dword [rcx + 0xf8], 0
je 0x1800531ef
mov ecx, ebx
call fcn.180053380
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.180052f00
cmp dword [rbp + 0x20], 0
je 0x18005323c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180053274
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180053188
Function at 0x1800041c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180008770
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x20]
lea rcx, [0x180147005]
call fcn.18000424b
mov rcx, qword [rbp + 0x268]
call fcn.1800026ee
xor edx, edx
mov ecx, 2
div rcx
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x270]
call fcn.1800026ee
mov dword [rbp + 0x24], eax
mov dword [rbp + 0xc4], 0
jmp 0x1800087db
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xc4], eax
jge 0x1800088a5
mov eax, dword [rbp + 0xc4]
add eax, eax
cdqe
mov rcx, qword [rbp + 0x268]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x44], al
mov eax, dword [rbp + 0xc4]
lea eax, [rax + rax + 1]
cdqe
mov rcx, qword [rbp + 0x268]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x64], al
movsx eax, byte [rbp + 0x44]
mov ecx, eax
call fcn.180003553
sub eax, 0x30
mov byte [rbp + 0x84], al
movsx eax, byte [rbp + 0x84]
cmp eax, 9
jle 0x18000884c
movsx eax, byte [rbp + 0x84]
sub eax, 7
mov byte [rbp + 0x84], al
movsx eax, byte [rbp + 0x64]
mov ecx, eax
call fcn.180003553
sub eax, 0x30
mov byte [rbp + 0xa4], al
movsx eax, byte [rbp + 0xa4]
cmp eax, 9
jle 0x18000887c
movsx eax, byte [rbp + 0xa4]
sub eax, 7
mov byte [rbp + 0xa4], al
movsx eax, byte [rbp + 0x84]
imul eax, eax, 0x10
movsx ecx, byte [rbp + 0xa4]
add eax, ecx
movsxd rcx, dword [rbp + 0xc4]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
jmp 0x1800087cd
mov dword [rbp + 0xe4], 0
mov eax, dword [rbp + 4]
dec eax
mov dword [rbp + 0x104], eax
jmp 0x1800088d8
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x104]
dec eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0xe4], eax
jge 0x18000893c
movsxd rax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0x260]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x124], al
movsxd rax, dword [rbp + 0x104]
movsxd rcx, dword [rbp + 0xe4]
mov rdx, qword [rbp + 0x260]
mov r8, qword [rbp + 0x260]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
movsxd rax, dword [rbp + 0x104]
mov rcx, qword [rbp + 0x260]
movzx edx, byte [rbp + 0x124]
mov byte [rcx + rax], dl
jmp 0x1800088bc
mov dword [rbp + 0x144], 0
jmp 0x180008956
mov eax, dword [rbp + 0x144]
inc eax
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x144], eax
jge 0x1800089af
mov eax, dword [rbp + 0x144]
add eax, 5
cdq
idiv dword [rbp + 0x24]
mov eax, edx
mov dword [rbp + 0x164], eax
movsxd rax, dword [rbp + 0x144]
mov rcx, qword [rbp + 0x260]
movsx eax, byte [rcx + rax]
movsxd rcx, dword [rbp + 0x164]
mov rdx, qword [rbp + 0x270]
movsx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rbp + 0x144]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
jmp 0x180008948
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret
Function at 0x180007f00
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x180007f00
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
lea rcx, [0x180147005]
call fcn.18000424b
mov eax, dword [rbp + 0x168]
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, 0x20
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rcx, [rbp - 0x30]
lea rdx, [0x180088dc0]
call fcn.180003940
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1800082a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x1800082a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rcx, [0x180147005]
call fcn.18000424b
mov rcx, qword [rbp + 0x200]
call fcn.1800026ee
inc rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0x200]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x200]
call fcn.1800026ee
inc rax
mov qword [rbp + 0x1d8], rax
mov eax, 2
mov rcx, qword [rbp + 0x1d8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180002653
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x200]
call fcn.1800026ee
inc rax
mov ecx, dword [rbp + 4]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rbp + 0x200]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rbp + 0x48], 0
mov rax, qword gs:[0x60]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
add rax, 0x20
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0xa8], rax
je 0x180008421
mov rax, qword [rbp + 0xa8]
sub rax, 0x10
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rax + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18000840e
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xc8], rax
jmp 0x180008421
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov qword [rbp + 0xa8], rax
jmp 0x1800083bf
mov rax, qword [rbp + 0xc8]
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret
Function at 0x180008770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180008770
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x20]
lea rcx, [0x180147005]
call fcn.18000424b
mov rcx, qword [rbp + 0x268]
call fcn.1800026ee
xor edx, edx
mov ecx, 2
div rcx
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x270]
call fcn.1800026ee
mov dword [rbp + 0x24], eax
mov dword [rbp + 0xc4], 0
jmp 0x1800087db
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xc4], eax
jge 0x1800088a5
mov eax, dword [rbp + 0xc4]
add eax, eax
cdqe
mov rcx, qword [rbp + 0x268]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x44], al
mov eax, dword [rbp + 0xc4]
lea eax, [rax + rax + 1]
cdqe
mov rcx, qword [rbp + 0x268]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x64], al
movsx eax, byte [rbp + 0x44]
mov ecx, eax
call fcn.180003553
sub eax, 0x30
mov byte [rbp + 0x84], al
movsx eax, byte [rbp + 0x84]
cmp eax, 9
jle 0x18000884c
movsx eax, byte [rbp + 0x84]
sub eax, 7
mov byte [rbp + 0x84], al
movsx eax, byte [rbp + 0x64]
mov ecx, eax
call fcn.180003553
sub eax, 0x30
mov byte [rbp + 0xa4], al
movsx eax, byte [rbp + 0xa4]
cmp eax, 9
jle 0x18000887c
movsx eax, byte [rbp + 0xa4]
sub eax, 7
mov byte [rbp + 0xa4], al
movsx eax, byte [rbp + 0x84]
imul eax, eax, 0x10
movsx ecx, byte [rbp + 0xa4]
add eax, ecx
movsxd rcx, dword [rbp + 0xc4]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
jmp 0x1800087cd
mov dword [rbp + 0xe4], 0
mov eax, dword [rbp + 4]
dec eax
mov dword [rbp + 0x104], eax
jmp 0x1800088d8
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x104]
dec eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0xe4], eax
jge 0x18000893c
movsxd rax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0x260]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x124], al
movsxd rax, dword [rbp + 0x104]
movsxd rcx, dword [rbp + 0xe4]
mov rdx, qword [rbp + 0x260]
mov r8, qword [rbp + 0x260]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
movsxd rax, dword [rbp + 0x104]
mov rcx, qword [rbp + 0x260]
movzx edx, byte [rbp + 0x124]
mov byte [rcx + rax], dl
jmp 0x1800088bc
mov dword [rbp + 0x144], 0
jmp 0x180008956
mov eax, dword [rbp + 0x144]
inc eax
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x144], eax
jge 0x1800089af
mov eax, dword [rbp + 0x144]
add eax, 5
cdq
idiv dword [rbp + 0x24]
mov eax, edx
mov dword [rbp + 0x164], eax
movsxd rax, dword [rbp + 0x144]
mov rcx, qword [rbp + 0x260]
movsx eax, byte [rcx + rax]
movsxd rcx, dword [rbp + 0x164]
mov rdx, qword [rbp + 0x270]
movsx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rbp + 0x144]
mov rdx, qword [rbp + 0x260]
mov byte [rdx + rcx], al
jmp 0x180008948
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret
Function at 0x140004c80
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x280
movdqa xmmword [rsp + 0x2e0], xmm6
movdqa xmmword [rsp + 0x2f0], xmm7
movdqa xmmword [rsp + 0x300], xmm8
movdqa xmmword [rsp + 0x310], xmm9
movdqa xmmword [rsp + 0x320], xmm10
movdqa xmmword [rsp + 0x330], xmm11
movdqa xmmword [rsp + 0x340], xmm12
movdqa xmmword [rsp + 0x350], xmm13
movdqa xmmword [rsp + 0x360], xmm14
movdqa xmmword [rsp + 0x370], xmm15
mov eax, dword [0x1403e9680]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x280]
mov qword [rdx + 8], r8
call fcn.14015cad0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1403e9680]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140004e10
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x140004e2c
cmp rcx, r8
jl 0x140004e1f
mov qword [rdx + 0x80], rcx
test dword [0x1403e27f8], 1
je 0x140004e5b
cmp byte [rsp + 0xd0], 0
je 0x140004e5b
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140004980
mov rsp, r8
jmp rax
Function at 0x140004e60
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x1403e9680]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + pe_nt_image_headers64]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400053f0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000c760
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14000c79d
test rdx, rdx
je 0x14000c79d
mov rax, qword [rax]
cmp rax, r9
jne 0x14000c780
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret

Function at 0x140007480
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, ecx
movsxd rbx, edx
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rdi, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceFrequency
mov r14d, 0x1e
mov rdx, rbx
imul rdx, qword [rsp + 0x50]
movabs rax, 0x431bde82d7b634db
imul rdx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rdi
cmp esi, r14d
cmovb r14d, esi
xor edi, edi
test r14d, r14d
jle 0x140007522
mov ebx, 1
test ebx, ebx
jle 0x140007508
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x140007500
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x140007522
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x1400074f3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret