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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov r14, rdx
mov r12, r8
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x140168135
mov rbx, r15
mov rbp, r15
jmp 0x140168179
mov rcx, qword [rax + rcx*8]
mov eax, dword [r12]
cmp eax, dword [rbx + 0x10]
je 0x140168150
cmp rbx, rcx
je 0x140168173
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140168142
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x3ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x1401682e9
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x40
call fcn.14019af70
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0x18]
lea rdx, [r12 + 8]
call fcn.140166640
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1401681d7
cvtsi2ss xmm0, rcx
jmp 0x1401681ec
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1401681ff
cvtsi2ss xmm1, rcx
jmp 0x140168214
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x140168281
mov rcx, rsi
call fcn.140167c20
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x140168251
mov qword [rsp + 0x28], 0
jmp 0x140168274
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140168271
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x1401682b5
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140168260
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1401682c5
mov qword [rcx + rax*8], rdi
jmp 0x1401682d7
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x140168279
cmp r8, rbp
jne 0x1401682d0
mov qword [rcx + rax*8], rdi
jmp 0x1401682dc
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1401682dc
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140168158
lea rcx, str.unordered_map_set_too_long
call fcn.140197034
int3
Function at 0x14016b570
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0xf0
mov rdi, rcx
mov rbx, rdx
mov rax, qword [0x1403298e8]
test rax, rax
je 0x14016b5a7
call qword [case.0x1400617cf.0]
test al, al
jne 0x14016b5b0
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
nop
mov r8d, dword [rsp + 0x110]
movzx edx, r8b
movabs r10, 0xcbf29ce484222325
xor rdx, r10
movabs r9, 0x100000001b3
imul rdx, r9
movzx eax, byte [rsp + 0x111]
xor rdx, rax
imul rdx, r9
movzx eax, byte [rsp + 0x112]
xor rdx, rax
imul rdx, r9
movzx eax, byte [rsp + 0x113]
xor rdx, rax
imul rdx, r9
mov rcx, qword [rdi + 0x38]
and rcx, rdx
shl rcx, 4
mov rax, qword [rdi + 0x20]
add rax, rcx
mov rcx, qword [rax + 8]
mov rdx, qword [rdi + 0x10]
cmp rcx, rdx
je 0x14016b641
mov rax, qword [rax]
cmp r8d, dword [rcx + 0x10]
je 0x14016b643
nop dword [rax]
cmp rcx, rax
je 0x14016b641
mov rcx, qword [rcx + 8]
cmp r8d, dword [rcx + 0x10]
jne 0x14016b630
jmp 0x14016b643
xor ecx, ecx
test rcx, rcx
je 0x14016b75c
cmp rcx, rdx
je 0x14016b75c
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x38]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x68]
movups xmmword [rsp + 0x70], xmm0
sub qword [rcx + 0x78], 1
jne 0x14016b725
movzx r8d, byte [rcx + 0x10]
xor r8, r10
imul r8, r9
movzx eax, byte [rcx + 0x11]
xor r8, rax
imul r8, r9
movzx eax, byte [rcx + 0x12]
xor r8, rax
imul r8, r9
movzx eax, byte [rcx + 0x13]
xor r8, rax
imul r8, r9
mov rdx, qword [rdi + 0x38]
and rdx, r8
shl rdx, 4
mov r8, qword [rdi + 0x20]
add r8, rdx
mov rax, qword [r8]
cmp qword [r8 + 8], rcx
jne 0x14016b6fa
cmp rax, rcx
jne 0x14016b6f0
mov rax, qword [rdi + 0x10]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14016b705
mov rax, qword [rcx + 8]
mov qword [r8 + 8], rax
jmp 0x14016b705
cmp rax, rcx
jne 0x14016b705
mov rax, qword [rcx]
mov qword [r8], rax
mov rdx, qword [rcx]
dec qword [rdi + 0x18]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x80
call fcn.14019af20
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14016b768
mov byte [rbx + 8], 0
mov byte [rbx + 0x30], 0
mov byte [rbx + 0x58], 0
mov rax, qword [0x1403298e8]
test rax, rax
je 0x14016b77e
call qword [case.0x1400617cf.0]
test al, al
jne 0x14016b787
mov rcx, rdi
call fcn.1401d3e04
nop
mov rax, rbx
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rdi
ret
Function at 0x14016ba70
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rdx, qword [rsp + 0x48]
movabs rax, 0xfffffffffffffff
mov rsi, qword [rsp + 0x40]
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14016bc1b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400abf60
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 0x14016bbe4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14016bb5e
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14016bbd3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14016bb9b
mov r10, qword [rdx]
cmp r10, rax
je 0x14016bb95
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 0x14016bbd3
cmp r9, rdx
je 0x14016bbaf
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14016bbf5
cmp r9, rdx
jne 0x14016bba0
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 0x14016bb11
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x14016bbd3
lea rcx, str.invalid_hash_bucket_count
call fcn.140197034
int3
Function at 0x14016ca00
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp - 8], rax
lea rcx, [0x14023d508]
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.LdrLockLoaderLock
mov rcx, rax
mov qword [rbp - 0x10], rdx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016cb36
lea rdx, str.LdrUnlockLoaderLock
mov qword [0x1403298f8], rax
mov rcx, rdi
mov qword [rbp - 0x10], rdx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016cb73
lea rdx, str.RtlIsCriticalSectionLockedByThread
mov qword [0x140329900], rax
mov rcx, rdi
mov qword [rbp - 0x10], rdx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016cbb0
lea rdx, str.RtlGetCurrentPeb
mov qword [0x140329908], rax
mov rcx, rdi
mov qword [rbp - 0x10], rdx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016cbed
lea rdx, [0x14023d520]
mov qword [0x140329910], rax
mov rcx, rdi
mov qword [rbp - 0x10], rdx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016cc2a
cmp qword [0x1403298f8], 0
mov qword [0x140329918], rax
je 0x14016cb17
cmp qword [0x140329900], 0
je 0x14016cb17
cmp qword [0x140329908], 0
je 0x14016cb17
cmp qword [0x140329910], 0
mov eax, 1
movzx ebx, bl
cmovne ebx, eax
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetProcAddress___
mov qword [rbp - 0x38], 0x13
mov qword [rbp - 0x40], rcx
lea r9, [rbp - 0x10]
lea rcx, [rbp - 0x30]
mov edx, eax
lea r8, [rbp - 0x40]
call fcn.14004ac80
lea rdx, [0x1402b9f88]
lea rcx, [rbp - 0x30]
call fcn.14019cd80
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetProcAddress___
mov qword [rbp - 0x38], 0x13
mov qword [rbp - 0x40], rcx
lea r9, [rbp - 0x10]
lea rcx, [rbp - 0x30]
mov edx, eax
lea r8, [rbp - 0x40]
call fcn.14004ac80
lea rdx, [0x1402b9f88]
lea rcx, [rbp - 0x30]
call fcn.14019cd80
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetProcAddress___
mov qword [rbp - 0x38], 0x13
mov qword [rbp - 0x40], rcx
lea r9, [rbp - 0x10]
lea rcx, [rbp - 0x30]
mov edx, eax
lea r8, [rbp - 0x40]
call fcn.14004ac80
lea rdx, [0x1402b9f88]
lea rcx, [rbp - 0x30]
call fcn.14019cd80
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetProcAddress___
mov qword [rbp - 0x38], 0x13
mov qword [rbp - 0x40], rcx
lea r9, [rbp - 0x10]
lea rcx, [rbp - 0x30]
mov edx, eax
lea r8, [rbp - 0x40]
call fcn.14004ac80
lea rdx, [0x1402b9f88]
lea rcx, [rbp - 0x30]
call fcn.14019cd80
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetProcAddress___
mov qword [rbp - 0x38], 0x13
mov qword [rbp - 0x40], rcx
lea r9, [rbp - 0x10]
lea rcx, [rbp - 0x30]
mov edx, eax
lea r8, [rbp - 0x40]
call fcn.14004ac80
lea rdx, [0x1402b9f88]
lea rcx, [rbp - 0x30]
call fcn.14019cd80
int3
Function at 0x14016d9a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, qword [rbp + 0x67]
mov rdi, qword [rbp + 0x6f]
cmp dword [rdi + 8], 0
jne 0x14016db49
mov rcx, qword [rsi]
mov rcx, qword [rcx + 0x2b0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rbx, qword [rsi]
mov ecx, 8
call fcn.14019af70
mov qword [rax], rbx
mov qword [rbp + 0x27], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140170290]
xor edx, edx
xor ecx, ecx
call fcn.1401af428
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14016db71
cmp dword [rdi + 8], 0
jne 0x14016db6b
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
movups xmmword [rdi], xmm1
mov rax, qword [rsi]
add rax, 0x228
cmp qword [rax + 0x18], 7
jbe 0x14016da5f
mov rax, qword [rax]
lea rcx, str.registry_change_watcher:_
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x11], 0x1b
mov qword [rbp - 0x21], rax
movabs rax, 0xb000000000000000
mov qword [rbp - 0x29], rax
mov qword [rbp + 0x27], 1
lea rax, [rbp - 0x29]
mov qword [rbp + 0x2f], rax
movaps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp + 0x27], xmm0
movaps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1400150d0
nop
lea rbx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rbx, qword [rbp + 7]
mov rsi, qword [rdi]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14016dafe
lea rdx, str.SetThreadDescription
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016dafe
mov rdx, rbx
mov rcx, rsi
call qword [case.0x1400617cf.0]
jmp 0x14016db3c
mov r8, 0xffffffffffffffff
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.140029d70
lea rbx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rbx, qword [rbp - 0x19]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov rdx, rbx
mov ecx, eax
call fcn.140173af0
lea rcx, [rbp - 0x19]
call fcn.140029f90
nop
lea rcx, [rbp + 7]
call fcn.14002adf0
cmp dword [rdi + 8], 0
setne al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a9d48
nop
mov dword [rbp - 0x21], 0
mov ecx, 6
call fcn.1401971d8
int3
Function at 0x1401755d0
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], 0x36433830
mov dword [rsp + 0x24], 0x32443236
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.140026d50
mov rdx, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.140025780
lea rcx, [rsp + 0x50]
call fcn.140175d50
lea rcx, [rsp + 0x50]
call fcn.140028440
nop
call fcn.14015e3f0
mov rcx, rax
call fcn.140056840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp - 8]
test rax, rax
je 0x140175697
lock inc dword [rax + 8]
mov rdi, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
call fcn.14015e3f0
mov rcx, rax
call fcn.140056840
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rdi, rdi
je 0x1401756cb
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x40]
call qword [case.0x1400617cf.0]
mov edi, 0xffffffff
test rbx, rbx
je 0x14017570c
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14017570c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14017570c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
lea rcx, [rbp - 0x10]
call fcn.1400060d0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140175735
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x140175735
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.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.1400e5390
Function at 0x140177210
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.1401784b0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rsp, 0x28
jmp 0x140179300
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 [0x1402bf200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x140179390
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 0x140179392
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.140179a10
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140179487
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x14017940b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x1401794df
mov ecx, eax
test eax, eax
je 0x140179409
imul rdx, rcx, 0x3e8
jmp 0x14017940b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x1400617cf.0]
test al, al
je 0x1401794df
lea rcx, [rbp - 0x38]
call fcn.1400060d0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140179453
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140179453
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.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.140179a10
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x1401793e4
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.1400060d0
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1401794b8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x1401794b8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x1400617cf.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14019acb0
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 0x140179489
Function at 0x140179110
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 [0x1402bf200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x48]
cmp rbx, 1
jl 0x1401791a0
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 0x1401791a2
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.1401797f0
nop
mov r15d, 0xffffffff
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x140179297
movabs r13, 0x7fffffffffffffff
mov rdx, rbx
cmp rbx, r13
je 0x14017921b
mov eax, r12d
sub eax, r14d
cmp eax, edi
ja 0x1401792ef
mov ecx, eax
test eax, eax
je 0x140179219
imul rdx, rcx, 0x3e8
jmp 0x14017921b
xor edx, edx
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x1400617cf.0]
test al, al
je 0x1401792ef
lea rcx, [rbp - 0x38]
call fcn.1400060d0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140179263
mov eax, r15d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140179263
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.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.1401797f0
nop
mov r8, qword [rbp - 0x38]
test r8, r8
jne 0x1401791f4
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.1400060d0
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1401792c8
lock xadd dword [rax + 0xc], r15d
cmp r15d, 1
jne 0x1401792c8
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x1400617cf.0]
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14019acb0
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 0x140179299