joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140195750
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140195815
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140195815
add eax, 0xfffffffe
cmp eax, 1
ja 0x14019583b
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x14019583b
sub rbx, rdi
lea rcx, [rsp + 0x20]
sar rbx, 1
mov r8, rdi
mov r9, rbx
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add rbx, rbx
cmp rbx, 0x208
jae 0x14019583f
xor eax, eax
lea rcx, [rsp + 0x20]
mov word [rsp + rbx + 0x20], ax
call fcn.140195750
test eax, eax
je 0x14019583b
lfence
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140195815
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14019583b
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
xor eax, eax
jmp 0x14019581a
call fcn.1401c54a4
int3

Function at 0x1401958c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
test rcx, rcx
je 0x1401959aa
xor ebp, ebp
cmp bp, word [rcx]
je 0x1401959aa
mov rsi, rcx
mov rcx, 0xffffffffffffffff
mov rbx, rcx
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], bp
jne 0x140195910
lea rax, [rbx - 2]
cmp rax, 1
ja 0x14019593c
cmp word [rdi + 2], 0x3a
jne 0x14019593c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401959aa
test al, 0x10
jmp 0x1401959a4
mov eax, 0x5c
cmp ax, word [rdi + rbx*2 - 2]
jne 0x140195972
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1401c538c
mov r8, rdi
mov rdx, rbx
mov rcx, rax
mov rsi, rax
call fcn.1401aec20
mov word [rsi + rbx*2 - 2], bp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rsi, rdi
je 0x140195990
mov rcx, rsi
call fcn.140007ea0
cmp rbx, 0xffffffffffffffff
je 0x1401959aa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
test byte [rsp + 0x20], 0x10
je 0x1401959aa
mov al, 1
jmp 0x1401959ac
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401959e0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
lea r8, [rsp + 0x28]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rbx, rcx
xor r9d, r9d
movups xmmword [rsp + 0x20], xmm0
lea edx, [rax + 1]
mov dword [rsp + 0x20], 0x18
lea rcx, str.D:_A_OICI_GA___SY__A_OICI_GA___BA__A_OICI_GW___BU_
call fcn.1401bf6e0
test eax, eax
jne 0x140195a21
add rsp, 0x40
pop rbx
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x28]
test eax, eax
setne bl
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, bl
add rsp, 0x40
pop rbx
ret
Function at 0x1401a0bf0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp qword [rcx + 0x78], rbp
je 0x1401a0c47
lea edx, [rbp + 2]
call fcn.1401a1270
mov rcx, qword [rbx + 0x78]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1401a0c39
mov rcx, qword [rbx + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x78]
call qword [case.0x1401b9e8b.6]
mov qword [rbx + 0x78], rbp
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdi, [rbx + 0x68]
cmp qword [rdi], rdi
je 0x1401a0c70
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1401a11d0
cmp qword [rdi], rdi
jne 0x1401a0c60
lea rcx, [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1401a0c8d
call qword [case.0x1401b9e8b.6]
mov qword [rbx + 0x60], rbp
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1401a0c9f
call fcn.1401aab70
mov qword [rbx + 0x58], rbp
lea rcx, [rbx + 8]
mov qword [rbx + 0x90], rbp
call fcn.1401a1ba0
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401a0de0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, edx
mov rdi, rcx
lea rax, vtable.CNodcommServerNt_unsigned_long_long_unsigned___int64__.0
mov qword [rcx], rax
xor r14d, r14d
cmp qword [rcx + 0x78], r14
je 0x1401a0e48
lea edx, [r14 + 2]
call fcn.1401a1270
mov edx, 0x1388
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1401a0e3a
xor edx, edx
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x78]
call qword [case.0x1401b9e8b.6]
mov qword [rdi + 0x78], r14
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rbx, [rdi + 0x68]
cmp qword [rbx], rbx
je 0x1401a0e70
nop dword [rax + rax]
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.1401a11d0
cmp qword [rbx], rbx
jne 0x1401a0e60
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1401a0e8d
call qword [case.0x1401b9e8b.6]
mov qword [rdi + 0x60], r14
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x1401a0e9f
call fcn.1401aab70
mov qword [rdi + 0x58], r14
mov qword [rdi + 0x90], r14
lea rcx, [rdi + 8]
call fcn.1401a1ba0
mov rcx, qword [rdi + 0x80]
call qword [case.0x1401b9e8b.6]
nop
lea rcx, [rdi + 8]
call fcn.1401a1ba0
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
lea rax, vtable.INodcommServer.0
mov qword [rdi], rax
test bpl, 1
je 0x1401a0eee
mov edx, 0xd8
mov rcx, rdi
call fcn.140007ea0
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1401a1420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
xor r14d, r14d
xor bpl, bpl
cmp word [rdx], 0xc
mov rbx, rdx
mov rsi, rcx
mov qword [r11 + 0x10], r14
mov edi, r14d
jb 0x1401a1544
cmp byte [rcx + 0x89], dil
jne 0x1401a1544
cmp dword [rdx + 0x28], 0x43646f4e
jne 0x1401a1544
cmp dword [rdx + 0x2c], 0x206d6d6f
jne 0x1401a1544
cmp dword [rdx + 0x30], 2
jne 0x1401a1544
mov rdx, qword [rcx + 0xa8]
mov bpl, 1
test rdx, rdx
je 0x1401a151c
mov eax, dword [rbx + 8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x50], eax
mov rax, qword [rcx + 0xc8]
lea rcx, [r11 - 0x30]
mov dword [rsp + 0x48], 0x18
mov qword [r11 - 0x20], rax
mov rax, rdx
call qword [case.0x14003c8e9.0]
test al, al
jne 0x1401a151c
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov r8, rbx
lea rcx, [rsp + 0x88]
call qword [case.0x1401ba071.196]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1401a14f9
call qword [case.0x1401b9e8b.6]
test rdi, rdi
je 0x1401a1507
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1401a1544
mov qword [rsp + 0x28], r14
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8, rbx
mov rdx, rax
jmp 0x1401a14d8
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x88]
movzx r9d, bpl
mov qword [rsp + 0x20], r14
mov r8, rbx
mov rdx, rdi
call qword [case.0x1401ba071.196]
test bpl, bpl
je 0x1401a14e6
test eax, eax
js 0x1401a14e6
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x10], rax
mov eax, dword [rbx + 8]
mov dword [rdi + 0x18], eax
mov eax, 1
lock xadd dword [rsi + 0x50], eax
lea rcx, [rsi + 0x28]
mov dword [rdi + 0x1c], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0x68]
lea rdx, [rsi + 0x68]
mov qword [rdi], rax
lea rcx, [rsi + 0x28]
mov qword [rdi + 8], rdx
mov qword [rax + 8], rdi
mov qword [rdx], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1401a15fe
mov ecx, dword [rdi + 0x18]
mov dword [rsp + 0x34], ecx
mov ecx, dword [rdi + 0x1c]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsi + 0xb8]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x18
mov dword [rsp + 0x3c], r14d
call qword [case.0x14003c8e9.0]
mov rcx, qword [rsp + 0x88]
call qword [case.0x1401ba071.206]
test eax, eax
jns 0x1401a1507
lfence
mov rdx, rdi
mov rcx, rsi
call fcn.1401a11d0
jmp 0x1401a1507
Function at 0x1401a5a00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x48]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov rbx, rcx
call qword [0x14024f018]
test eax, eax
jne 0x1401a5af5
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x2a0], rsi
lea r8, [rsp + 0x60]
xor esi, esi
mov dword [rsp + 0x40], 0x101
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401a5ae2
nop dword [rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
xor r8d, r8d
call fcn.1401a5a00
test al, al
je 0x1401a5ae2
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x101
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1401a5a90
mov rcx, qword [rsp + 0x48]
call qword [0x14024f048]
mov rsi, qword [rsp + 0x2a0]
cmp dword [0x14025749c], 0
mov rdx, rdi
mov rcx, rbx
je 0x1401a5b12
xor r9d, r9d
xor r8d, r8d
call qword [case.0x1401ba071.217]
jmp 0x1401a5b18
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
ret
Function at 0x1401a7700
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor r15d, r15d
mov dword [rax - 0x48], r15d
mov qword [rax + 0x20], r15
mov qword [rax - 0x30], r15
mov qword [rax - 0x40], r15
mov dword [rax + 8], r15d
test rcx, rcx
je 0x1401a7931
cmp rdx, 1
jb 0x1401a7931
rdtsc
shl rdx, 0x20
or rax, rdx
mov r14, rax
lea ecx, [r15 + 0x40]
call fcn.1401c538c
mov rdx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov rbx, rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x1401a77a7
mov ebx, r15d
mov qword [rsp + 0x50], rbx
mov rcx, qword [rdi]
mov qword [rdi], rdx
mov edx, r15d
test rcx, rcx
je 0x1401a77a7
call fcn.140007ea0
mov edx, r15d
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
test rdx, rdx
je 0x1401a77c0
mov rcx, rbx
call fcn.140007ea0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x20], r14
mov r9d, eax
lea r8, str._X__016llX_NodSSL
mov edx, 0x20
mov rcx, qword [rdi]
call fcn.1401aef00
cmp rax, 0xffffffffffffffff
je 0x1401a792a
mov dword [rsp + 0x20], 0x20
mov r9d, 1
lea r8, str.Microsoft_Strong_Cryptographic_Provider
mov rdx, qword [rdi]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1401a7842
mov dword [rsp + 0x20], 0x28
lea r9d, [rax + 1]
lea r8, str.Microsoft_Strong_Cryptographic_Provider
mov rdx, qword [rdi]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1401a792a
mov ebx, 0x80090327
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x8000
mov r9d, esi
mov r8, rbp
mov edx, 0x2b
lea ecx, [rdx - 0x2a]
call qword [case.0x1401ba071.219]
test eax, eax
je 0x1401a78b9
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
cmovne ebx, r15d
mov rdx, qword [rdi]
test rdx, rdx
je 0x1401a78f1
test ebx, ebx
je 0x1401a78f1
mov dword [rsp + 0x20], gethostbyaddr
mov r9d, 1
xor r8d, r8d
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov rcx, qword [rdi]
mov qword [rdi], r15
test rcx, rcx
je 0x1401a78f1
call fcn.140007ea0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401a7901
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401a7911
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1401a7926
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
jmp 0x1401a7936
mov eax, 0x80090304
jmp 0x1401a7936
mov eax, 0x57
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401a85b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r14, qword [0x1402574a0]
mov r15, rdx
mov edx, dword [rsp + 0x148]
xorps xmm0, xmm0
mov rcx, qword [rsp + 0x140]
test edx, 0x4e4
movzx ebp, byte [rsp + 0x158]
mov eax, 0
mov rsi, qword [rsp + 0x150]
cmovne rax, rcx
and edx, 0x4e7
mov dword [r11 - 0x98], r8d
lea rcx, [r14 + 0x38]
mov dword [r11 - 0x80], edx
movups xmmword [r15], xmm0
mov qword [r11 - 0x90], r9
mov qword [r11 - 0x88], rax
mov byte [r11 - 0x58], bpl
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [r14]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x80]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [case.0x14003c8e9.0]
cmp byte [rsp + 0x20], 0
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
cmp rcx, 0xffffffffffffffff
je 0x1401a87c9
mov qword [rsp + 0xe8], rbx
lea rax, [rcx + rcx*8]
mov qword [rsp + 0xe0], rdi
lea rbx, [rax*8]
mov rdi, qword [r14 + 8]
cmp dword [rdi + rbx + 0x38], 0
jne 0x1401a878e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rdi + rbx + 0x3c], eax
ja 0x1401a878e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [r14 + 0x10]
mov ebp, eax
sub rbx, 1
js 0x1401a87b9
lea rsi, [rbx + rbx*8]
shl rsi, 3
mov rax, qword [r14 + 8]
cmp dword [rax + rsi + 0x38], 0
jne 0x1401a877e
cmp dword [rax + rsi + 0x3c], ebp
ja 0x1401a877e
movups xmm0, xmmword [rax + rsi]
movaps xmmword [rsp + 0x30], xmm0
movups xmm2, xmmword [rax + rsi + 0x10]
movaps xmmword [rsp + 0x40], xmm2
movq rcx, xmm2
movups xmm0, xmmword [rax + rsi + 0x20]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + rsi + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rax + rsi + 0x40]
movsd qword [rsp + 0x70], xmm0
test rcx, rcx
je 0x1401a872c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x58]
call qword [case.0x1401ba071.90]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401a874e
cmp byte [rsp + 0x70], 0
je 0x1401a874e
call qword [case.0x1401ba071.171]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1401a8773
mov rcx, qword [rdi + 0x18]
call fcn.14018ba90
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rbx
mov rcx, r14
call fcn.1401a8c40
sub rsi, 0x48
sub rbx, 1
jns 0x1401a86d0
jmp 0x1401a87b9
mov rax, qword [r14 + 8]
inc dword [rax + rbx + 0x38]
mov rax, qword [r14 + 8]
movups xmm0, xmmword [rax + rbx + 0x28]
movups xmmword [r15], xmm0
test rsi, rsi
je 0x1401a87b9
test bpl, bpl
je 0x1401a87b9
mov rdx, qword [r14 + 8]
mov r8, qword [rdx + rbx + 0x20]
mov qword [rsi], r8
mov rbx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
lea rcx, [r14 + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r15
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
Function at 0x1401aab70
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push r13
sub rsp, 0x50
mov rsi, rcx
mov r13d, 1
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rsi + 0x38]
mov dword [rsi + 0x30], r13d
test eax, eax
je 0x1401aad06
mov ecx, dword [rsi + 0x38]
mov qword [rsp + 0x78], rbp
xor ebp, ebp
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x48], r14
shl rcx, 3
mov qword [rsp + 0x40], r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, qword [rsi + 0x80]
xor r15d, r15d
mov r12, rax
mov eax, dword [rsi + 0x38]
test eax, eax
je 0x1401aac4b
nop dword [rax]
test r12, r12
je 0x1401aac23
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, qword [r14 + 0x10]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [r12 + rbp*8]
mov rcx, rax
mov r8, rbx
xor eax, eax
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1401aac23
inc ebp
mov eax, dword [r14]
cmp eax, 5
je 0x1401aac4b
mov rcx, qword [r14 + 8]
mov dword [r14], 6
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rsi + 0x38]
inc r15d
mov r14, qword [r14 + 0x40]
cmp r15d, eax
jb 0x1401aabe0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
je 0x1401aacde
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r14d, r14d
test ebp, ebp
je 0x1401aacd5
lea r15d, [rax + 0x3e8]
lea esi, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, r15d
sub r9d, eax
cmp r9d, 0x3e8
ja 0x1401aacb5
cmp ebx, esi
lea rdx, [r12 + r14*8]
mov edi, ebx
mov r8d, r13d
cmova edi, esi
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x1401aacb5
cmp eax, 0x102
je 0x1401aacb5
add r14d, edi
sub ebx, edi
jne 0x1401aac77
mov rsi, qword [rsp + 0x70]
test ebp, ebp
je 0x1401aacd5
mov rbx, r12
mov edi, ebp
mov rcx, qword [rbx]
call qword [case.0x1401b9e8b.6]
lea rbx, [rbx + 8]
sub rdi, r13
jne 0x1401aacc3
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsi + 0x80]
mov eax, dword [rbx]
cmp eax, 5
je 0x1401aad42
xor r13d, r13d
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rbx
call fcn.1401aa800
mov rbx, qword [rsi + 0x80]
mov ecx, dword [rbx]
cmp ecx, 5
jne 0x1401aad20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rsi + 0x28]
call qword [case.0x1401b9e8b.6]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r13d
add rsp, 0x50
pop r13
pop rsi
pop rbx
ret
Function at 0x1401ac480
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push r12
sub rsp, 0x510
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov qword [r11 + 0x20], rsi
lea r8, [rsp + 0x68]
mov qword [r11 - 0x18], r13
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
mov rsi, rcx
xor r13d, r13d
mov r12d, 1
mov qword [rsp + 0x68], r13
mov r9d, 0x20019
mov byte [rsp + 0x20], r12b
mov rcx, 0xffffffff80000002
call fcn.1401a5450
test al, al
jne 0x1401ac4e6
mov r12d, r13d
jmp 0x1401ac6c3
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], r13
xor r9d, r9d
mov qword [rsp + 0x50], r13
xor r8d, r8d
mov qword [rsp + 0x48], r13
xor edx, edx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1401ac532
mov r12d, r13d
jmp 0x1401ac6c3
mov qword [rsp + 0x4f0], r15
mov r15d, r13d
cmp dword [rsp + 0x60], r13d
jbe 0x1401ac6bb
mov qword [rsp + 0x528], rbx
mov qword [rsp + 0x530], rbp
mov qword [rsp + 0x508], rdi
mov qword [rsp + 0x4f8], r14
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r13
mov edx, r15d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x70], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401ac698
lea rdx, [rsp + 0x80]
call fcn.1401ac710
mov rbp, rax
test rax, rax
je 0x1401ac667
cmp dword [rsi], r13d
jne 0x1401ac5f8
mov rdi, qword [rsi + 0x18]
lfence
lea rdx, [rdi + 1]
lea rcx, [rsi + 8]
call fcn.14003da10
mov rcx, qword [rsi + 0x10]
mov qword [rcx + rdi*8], rbp
jmp 0x1401ac688
cmp qword [rax + 0x30], 8
lea r14, [rax + 0x18]
jb 0x1401ac606
mov r14, qword [r14]
mov edi, r13d
cmp qword [rsi + 0x18], rdi
jle 0x1401ac649
mov rbx, r13
mov rax, qword [rsi + 0x10]
mov rdx, qword [rbx + rax]
test rdx, rdx
je 0x1401ac63a
add rdx, 0x18
cmp qword [rdx + 0x18], 8
jb 0x1401ac62d
mov rdx, qword [rdx]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1401ac688
inc edi
add rbx, 8
movsxd rax, edi
cmp rax, qword [rsi + 0x18]
jl 0x1401ac612
mov rdi, qword [rsi + 0x18]
lfence
lea rdx, [rdi + 1]
lea rcx, [rsi + 8]
call fcn.14003da10
mov rax, qword [rsi + 0x10]
mov qword [rax + rdi*8], rbp
jmp 0x1401ac688
lea r9, [rsp + 0x80]
mov edx, 0x124
lea r8, str.GetUserProfileInt_subkey__s_failed_
lea rcx, [rsp + 0x290]
call fcn.1401aef00
inc r15d
cmp r15d, dword [rsp + 0x60]
jb 0x1401ac570
jmp 0x1401ac69b
mov r12d, r13d
mov r14, qword [rsp + 0x4f8]
mov rdi, qword [rsp + 0x508]
mov rbp, qword [rsp + 0x530]
mov rbx, qword [rsp + 0x528]
mov r15, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x68]
mov r13, qword [rsp + 0x500]
mov rsi, qword [rsp + 0x538]
test rcx, rcx
je 0x1401ac6eb
call qword [0x14024f048]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r12d
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x510
pop r12
ret