joyce8/EMBER2024-capa huggingface dataset:
Function at 0x164faf440
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r8d, DosDateTimeToVariantTime
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.164fada40
nop
movzx ebx, byte [rdi + 0x240]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea rcx, str.Cannot_delete_registry_key_tree
mov qword [rsp + 0x20], rcx
xor esi, esi
cmp bl, 1
cmovne rdi, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.164fad870
nop
mov rcx, qword [rsp + 0x40]
cmp byte [rsp + 0x48], sil
cmove rcx, rsi
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x164faf4f8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x164faf4f8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.165001080
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x164faf520
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov rdi, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov r8d, 2
lea rdx, [r11 - 0x38]
call fcn.164fada40
nop
lea rax, str.Cannot_delete_registry_value
mov qword [rsp + 0x20], rax
xor esi, esi
mov eax, esi
cmp byte [rbx + 0x240], 1
cmove rax, rbx
mov qword [rsp + 0x28], rax
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi]
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.164fad870
nop
mov rcx, qword [rsp + 0x60]
cmp byte [rsp + 0x68], sil
cmove rcx, rsi
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x164faf5de
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x164faf5de
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.165001080
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x164faf600
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, qword [rbp + 0x230]
mov r14, qword [rbp + 0x238]
mov r15, qword [rbp + 0x240]
mov r12d, dword [rbp + 0x248]
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movsx rax, byte [rbx + 0x240]
add rax, 1
je 0x164faf7de
cmp rax, 1
je 0x164faf72d
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x68]
call fcn.164ed6460
mov ecx, dword [rbx + 0x238]
mov eax, dword [rbx + 0x23c]
mov dword [rbp + 0x1cc], eax
or ecx, 6
mov dword [rbp + 0x1c8], ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.164faed80
mov rdi, qword [rax]
mov qword [rbp - 0x80], rdi
mov qword [rax], r13
mov sil, 1
mov byte [rbp - 0x78], sil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x164faf6ec
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x164faf6ec
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], r13
mov r8, qword [rbp + 0x1c0]
cmp r8, 7
jbe 0x164faf711
mov rdx, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x1a0]
call fcn.164ed6580
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], 7
mov word [rbp + 0x1a8], r13w
jmp 0x164faf73b
mov rdi, qword [rbx]
mov qword [rbp - 0x80], rdi
xor sil, sil
mov byte [rbp - 0x78], sil
lea rax, str.Cannot_write_key_value
mov qword [rsp + 0x38], rax
mov rax, r13
cmp byte [rbx + 0x240], 1
cmove rax, rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
mov r9d, dword [rbp + 0x250]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14]
movaps xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.164fad870
nop
test sil, sil
cmove rdi, r13
test rdi, rdi
je 0x164faf7bb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x164faf7bb
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.165001080
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.164eccee0
int3
Function at 0x164fb2430
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov rax, rdx
mov qword [r11 - 0x20], rdx
mov ecx, 0x10000
call fcn.165001ab8
mov rdi, rax
mov qword [rsp + 0x60], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x7fff
ja 0x164fb24df
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, ecx
mov rdx, rdi
mov rcx, rbx
call fcn.164e485e0
nop
mov rcx, rdi
call fcn.1650010a0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.165001080
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
lea rax, str.Unable_to_retrieve_environment_variable__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.164f790e0
lea rdx, [0x165147178]
lea rcx, [rsp + 0x38]
call fcn.165003be0
int3
Function at 0x164fbb5e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rdi, rcx
mov r14, rdx
mov rsi, r8
mov r15, r9
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x164fbb61e
mov rdx, qword [rsi]
movabs rbx, 0xcbf29ce484222325
xor r12d, r12d
mov ecx, r12d
add r8, r8
je 0x164fbb653
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x164fbb640
mov r9, rbx
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.164fbbd40
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x164fbb69f
mov rdx, qword [r15]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x164fbb680
lea rcx, [rbp + 0x30]
call fcn.164e54c60
mov qword [r14], rbp
mov byte [r14 + 8], r12b
jmp 0x164fbb7d3
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x164fbb7e5
lea rax, [rdi + 8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r12
mov ecx, 0x50
call fcn.165001480
mov rbp, rax
mov qword [rsp + 0x38], rax
add rax, 0x10
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rcx, [rax + 0x20]
mov rdx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x164fbb724
call fcn.164e485e0
nop
mov rcx, qword [rdi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x164fbb749
cvtsi2ss xmm0, rcx
jmp 0x164fbb75e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rdi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x164fbb771
cvtsi2ss xmm1, rcx
jmp 0x164fbb786
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rdi]
seta al
test al, al
je 0x164fbb7b8
mov rcx, rdi
call fcn.164fbb9f0
lea r8, [rbp + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.164fbbd40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, rbp
mov r8, qword [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.164ebe430
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.164ffeab4
int3
Function at 0x164fbb800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, rcx
mov rsi, rdx
mov r14, r8
mov rdi, r9
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x164fbb83e
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r12d, r12d
mov ecx, r12d
add r8, r8
je 0x164fbb873
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x164fbb860
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.164fbbd40
mov r15, qword [rsp + 0x28]
test r15, r15
je 0x164fbb8bb
lea rcx, [r15 + 0x30]
cmp rcx, rdi
je 0x164fbb8af
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x164fbb8a7
mov rdi, qword [rdi]
mov rdx, rdi
call fcn.164e54c60
mov qword [rsi], r15
mov byte [rsi + 8], r12b
jmp 0x164fbb9d1
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x164fbb9e3
lea rax, [rbp + 8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r12
mov ecx, 0x50
call fcn.165001480
mov r15, rax
mov qword [rsp + 0x38], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
movups xmm0, xmmword [r14]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
add rcx, 0x20
mov rdx, rdi
call fcn.164e539c0
nop
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x164fbb947
cvtsi2ss xmm0, rcx
jmp 0x164fbb95c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x164fbb96f
cvtsi2ss xmm1, rcx
jmp 0x164fbb984
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x164fbb9b7
mov rcx, rbp
call fcn.164fbb9f0
lea r8, [r15 + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.164fbbd40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, r15
mov r8, qword [rsp + 0x20]
mov rdx, rbx
mov rcx, rbp
call fcn.164ebe430
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.164ffeab4
int3
Function at 0x164fcde00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x1b0
mov rbp, rcx
lea rax, vtable.asw::tasklib::performance_logger::performance_logger_storage_module_impl.1.0
mov qword [rcx - 0x30], rax
mov rax, qword [rcx - 0x28]
movsxd rcx, dword [rax + 4]
lea rax, vtable.asw::tasklib::performance_logger::performance_logger_storage_module_impl.0
mov qword [rcx + rbp - 0x28], rax
mov dword [rsp + 0x20], 0x33433644
mov dword [rsp + 0x24], 0x41313234
mov dword [rsp + 0x30], 0x6b736174
mov qword [rsp + 0x34], 0x62696c
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x27
lea rcx, [rsp + 0x20]
call fcn.164e47a70
mov rdx, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.164e47510
lea rcx, [rsp + 0x50]
call fcn.164fce580
lea rcx, [rsp + 0x50]
call fcn.164e47630
nop
call fcn.164f82f10
mov rcx, rax
call fcn.164fa2fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp - 8]
test rax, rax
je 0x164fcdec7
lock inc dword [rax + 8]
mov rdi, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
call fcn.164f82f10
mov rcx, rax
call fcn.164fa2fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rdi, rdi
je 0x164fcdefb
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x40]
call qword [case.0x164e9d7b8.0]
mov edi, 0xffffffff
test rbx, rbx
je 0x164fcdf3c
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x164fcdf3c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x164e9d7b8.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x164fcdf3c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
lea rcx, [rbp - 0x10]
call fcn.164e51d90
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x164fcdf65
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x164fcdf65
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
lea rcx, [rbp - 0x20]
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.164efbe60
Function at 0x164fcfa90
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.164fd0d50
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x164fd1ba0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x164fd1c30
movabs rax, 0x624dd2f1a9fbe77
mul rbx
mov r8, rbx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], 0
mov r9d, 0xffffffff
mov qword [rbp - 0x18], r9
mov rax, r8
shr rax, 0x3f
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x20]
test al, al
cmove rcx, rdx
lea rdi, [rbp - 0x18]
cmp r8, r9
cmovle rdi, rcx
mov edi, dword [rdi]
jmp 0x164fd1c32
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12d, [rdi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.164fd2300
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x164fd1d27
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x164fd1cab
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x164fd1d7f
mov ecx, eax
test eax, eax
je 0x164fd1ca9
imul rdx, rcx, 0x3e8
jmp 0x164fd1cab
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x164e9d7b8.0]
test al, al
je 0x164fd1d7f
lea rcx, [rbp - 0x38]
call fcn.164e51d90
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x164fd1cf3
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x164fd1cf3
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.164fd2300
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x164fd1c84
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.164e51d90
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x164fd1d58
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x164fd1d58
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x164e9d7b8.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.165001080
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x164fd1d29
Function at 0x164fd19b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x164fd1a40
movabs rax, 0x624dd2f1a9fbe77
mul rbx
mov r8, rbx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], 0
mov r9d, 0xffffffff
mov qword [rbp - 0x18], r9
mov rax, r8
shr rax, 0x3f
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x20]
test al, al
cmove rcx, rdx
lea rdi, [rbp - 0x18]
cmp r8, r9
cmovle rdi, rcx
mov edi, dword [rdi]
jmp 0x164fd1a42
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12d, [rdi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.164fd20e0
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x164fd1b37
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x164fd1abb
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x164fd1b8f
mov ecx, eax
test eax, eax
je 0x164fd1ab9
imul rdx, rcx, 0x3e8
jmp 0x164fd1abb
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x164e9d7b8.0]
test al, al
je 0x164fd1b8f
lea rcx, [rbp - 0x38]
call fcn.164e51d90
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x164fd1b03
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x164fd1b03
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.164fd20e0
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x164fd1a94
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.164e51d90
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x164fd1b68
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x164fd1b68
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x164e9d7b8.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.165001080
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x164fd1b39
Function at 0x164fd1ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.164fd0d50
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x164fd1ba0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x16514b200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x164fd1c30
movabs rax, 0x624dd2f1a9fbe77
mul rbx
mov r8, rbx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 9
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], 0
mov r9d, 0xffffffff
mov qword [rbp - 0x18], r9
mov rax, r8
shr rax, 0x3f
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x20]
test al, al
cmove rcx, rdx
lea rdi, [rbp - 0x18]
cmp r8, r9
cmovle rdi, rcx
mov edi, dword [rdi]
jmp 0x164fd1c32
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12d, [rdi + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp + 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.164fd2300
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x164fd1d27
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x164fd1cab
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x164fd1d7f
mov ecx, eax
test eax, eax
je 0x164fd1ca9
imul rdx, rcx, 0x3e8
jmp 0x164fd1cab
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x164e9d7b8.0]
test al, al
je 0x164fd1d7f
lea rcx, [rbp - 0x38]
call fcn.164e51d90
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x164fd1cf3
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x164fd1cf3
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x164e9d7b8.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.164fd2300
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x164fd1c84
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.164e51d90
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x164fd1d58
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x164fd1d58
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x164e9d7b8.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.165001080
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x164fd1d29
Function at 0x164fd2c40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x28], rdi
lea rax, vtable.asw::mi::IExportable.0
mov qword [rdi], rax
xor esi, esi
mov dword [rsp + 0x20], esi
mov ebx, 1
mov dword [rsp + 0x24], ebx
mov rdx, qword [rsp + 0x20]
call fcn.164ea5260
nop
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
lea rax, vtable.asw::tasklib::task_scheduler.0
mov qword [rdi], rax
mov byte [rdi + 0x18], sil
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x90], 0x3938700
mov qword [rdi + 0x98], 0x3938700
mov qword [rdi + 0xa0], 0x11e1a300
call fcn.165000488
mov ecx, eax
mov dword [rdi + 0x142c], 0xffffffff
mov dword [rdi + 0xac], eax
lea rdx, [rdi + 0xb0]
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rdx], ecx
inc rbx
lea rdx, [rdx + 4]
cmp rbx, 0x270
jb 0x164fd2d10
mov dword [rdi + 0xa8], 0x270
mov qword [rdi + 0x1430], rsi
movabs rax, 0x3ff0000000000000
mov qword [rdi + 0x1438], rax
lea rax, vtable.constructible_task_scheduler.0
mov qword [rdi], rax
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret