joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140104ea0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x20]
add eax, eax
add rcx, rax
add rcx, 0x18
mov rax, qword [fcn.14009cac0]
call qword [0x1402a4958]
mov rdi, rax
test rax, rax
je 0x140105009
mov qword [rdi], rsi
lea rcx, [rdi + 0x18]
mov qword [rdi + 8], rcx
mov eax, dword [rsi + 0x18]
add rax, rdi
add rax, 0x18
mov qword [rdi + 0x10], rax
cmp ebp, dword [rsi + 0x1c]
jbe 0x140104f48
mov rax, qword [rsi]
call qword [0x1402a4958]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, rbx
mov r8d, ebp
call qword [0x1402a4958]
mov ebx, dword [rsi + 0x18]
add rbx, qword [rdi + 0x10]
mov rax, qword [rsi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, rbx
call qword [0x1402a4958]
mov ebp, dword [rsi + 0x20]
mov rcx, qword [rdi + 8]
mov byte [rsp + 0x27], 0xaa
mov rax, qword [rsi]
call qword [0x1402a4958]
mov rax, qword [rsi]
mov rcx, qword [rdi + 0x10]
call qword [0x1402a4958]
mov r15d, ebp
test ebp, ebp
je 0x140104fbc
xor r12d, r12d
lea r14, [rsp + 0x27]
mov al, byte [rbx + r12]
xor al, 0x36
mov byte [rsp + 0x27], al
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, r14
mov r8d, 1
call qword [0x1402a4958]
mov al, byte [rbx + r12]
xor al, 0x5c
mov byte [rsp + 0x27], al
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x10]
mov rdx, r14
mov r8d, 1
call qword [0x1402a4958]
inc r12
cmp r15, r12
jne 0x140104f72
cmp r15d, dword [rsi + 0x1c]
jae 0x140105009
lea rbx, str.6kernel32.dll
lea r14, [0x1402a21e4]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, rbx
mov r8d, 1
call qword [0x1402a4958]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x10]
mov rdx, r14
mov r8d, 1
call qword [0x1402a4958]
inc r15
mov eax, dword [rsi + 0x1c]
cmp r15, rax
jb 0x140104fd0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140105020
call fcn.14019d280
int3
mov rax, rdi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140105410
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14010545c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140105467
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14010544a
mov qword [rdi], rsi
call fcn.1401054e0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401054e0
mov r14, qword [rdi]
cmp qword [0x1402c5688], 0
je 0x140105498
mov rcx, qword [0x1402c5688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4958]
mov qword [rdi], 0
jmp 0x140105438
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028b1d5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401054d9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401054d3
call qword [0x1402a4958]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x140105479
xor ecx, ecx
mov dl, 1
jmp 0x1401054cc
xor ecx, ecx
jmp 0x1401054ca
Function at 0x14012f140
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14012f23e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140278cd0]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x14012f1b0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140278cf0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14012f2ce
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14012f2a4
pmovzxdq xmm1, qword [0x140278cf0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140278ce0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14014a800
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140272a70]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, [0x140283bf8]
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x60
call fcn.140131450
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14014adf0
test esi, esi
js 0x14014a8e0
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14014a8ec
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x14014a8e7
lea rcx, [rsp + 0x50]
call fcn.14014a900
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14014a8cf
call fcn.14019d280
int3
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14014a8ab
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14014a8ab
Function at 0x14014f860
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsd xmm0, qword [0x1402c56b8]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x14014f890
jnp 0x14014f8b5
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14014f8a7
call fcn.14019d280
int3
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402c56c8]
mov ecx, dword [0x1402c2098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14014f9cd
mov eax, dword [0x1402c56d8]
mov ecx, dword [0x1402c2098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14014fa07
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x28]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x1402c56d0]
xorps xmm1, xmm1
cvtsi2sd xmm1, r12
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402784d0]
ucomisd xmm2, xmm1
ja 0x14014f890
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1402c56c0]
movq xmm0, rdi
punpckldq xmm0, xmmword [0x1402784e0]
subpd xmm0, xmmword [0x1402784f0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1402c56b8], xmm0
jmp 0x14014f890
lea rcx, [0x1402c56c8]
call fcn.14019ae60
cmp dword [0x1402c56c8], 0xffffffff
jne 0x14014f8fe
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402c56c0], rdx
lea rcx, [0x1402c56c8]
call fcn.14019ad84
jmp 0x14014f8fe
lea rcx, [0x1402c56d8]
call fcn.14019ae60
cmp dword [0x1402c56d8], 0xffffffff
jne 0x14014f923
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1402c56d0], rax
lea rcx, [0x1402c56d8]
call fcn.14019ad84
jmp 0x14014f923
Function at 0x140152bb0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402c53d8]
mov ecx, dword [0x1402c2098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140152c1b
mov rax, qword [0x1402c53d0]
mov rax, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140152c11
call fcn.14019d280
int3
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402c53d8]
call fcn.14019ae60
cmp dword [0x1402c53d8], 0xffffffff
jne 0x140152bec
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401d6710
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.14019aa78
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402c5420]
mov ecx, dword [0x1402c2098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140152cdb
lea r8, [0x1402c53f0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002dc30
mov qword [0x1402c53d0], rsi
lea rcx, [0x1402c53d8]
call fcn.14019ad84
jmp 0x140152bec
lea rcx, [0x1402c5420]
call fcn.14019ae60
cmp dword [0x1402c5420], 0xffffffff
jne 0x140152cac
xorps xmm0, xmm0
movups xmmword [0x1402c5410], xmm0
movups xmmword [0x1402c5400], xmm0
movups xmmword [0x1402c53f0], xmm0
lea rcx, [0x1402c53f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402c5420]
call fcn.14019ad84
jmp 0x140152cac
Function at 0x1401671d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1401671fc
call fcn.1401054e0
mov qword [rsi], 0
test r15, r15
je 0x140167232
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140167280
cmp r12, 2
jb 0x14016722a
mov qword [rsi], r15
call fcn.1401054e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x14016726c
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.14014c8c0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x140167249
call fcn.1401054e0
mov r14, qword [rsi]
cmp qword [0x1402c5688], 0
je 0x1401672b4
mov rcx, qword [0x1402c5688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4958]
mov qword [rsi], 0
jmp 0x14016721c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028b1d5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401672f5
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401672ef
call qword [0x1402a4958]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x140167292
xor ecx, ecx
mov dl, 1
jmp 0x1401672e8
xor ecx, ecx
jmp 0x1401672e6
Function at 0x14016c260
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14016c362
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14016c2f0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14016c2c7
mov qword [rsi], rdi
call fcn.1401054e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14016c366
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401054e0
mov r14, qword [rsi]
cmp qword [0x1402c5688], 0
je 0x14016c321
mov rcx, qword [0x1402c5688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a4958]
mov qword [rsi], 0
jmp 0x14016c2b5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028b1d5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14016c369
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14016c35c
call qword [0x1402a4958]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x14016c302
xor ecx, ecx
mov dl, 1
jmp 0x14016c355
mov byte [rsi + 8], 0
int3
xor ecx, ecx
jmp 0x14016c353
Function at 0x14017e010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x14017e12a
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x14017e12a
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x14017e123
add r9, 0x88
je 0x14017e123
mov eax, dword [r9]
test rax, rax
je 0x14017e12a
add rax, rcx
je 0x14017e12a
cmp rdx, 0xffff
jbe 0x14017e11d
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x14017e0b6
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x14017e102
cmp rsi, r10
je 0x14017e12a
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x14017e096
mov r14, r11
cmp bpl, byte [rbx]
jne 0x14017e098
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x14017e0ed
jmp 0x14017e096
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x14017e123
Function at 0x14018dcf0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402c56e8]
mov ecx, dword [0x1402c2098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018df01
mov rsi, qword [0x1402c56e0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14018df43
movzx ebx, bl
dec ebx
or ebx, 1
test byte [0x1402c569c], 1
mov eax, 1
mov ecx, 8
cmovne ecx, eax
xor ebp, ebp
add ebx, dword [0x1402c56a0]
mov dword [0x1402c56a0], ebx
cmovne ebp, ecx
mov eax, dword [0x1402c56a4]
cmp ebp, eax
je 0x14018deb7
test eax, eax
je 0x14018de4c
mov rax, qword [0x1402b5770]
lea rcx, [0x1401849a0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14018def0
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14018df93
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5700]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402c56f0]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x1402c56a8]
cmp r8, 2
jb 0x14018df51
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402c56a8], rax
mov ecx, dword [0x1402c56a4]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402c56a4], ebp
test ebx, ebx
je 0x14018deb7
mov rax, qword [0x1402b5770]
lea rcx, [0x1401849a0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14018dee2
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14018df6c
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5700]
mov qword [0x1402c56f0], rax
mov ecx, dword [0x1402c56a4]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14018ded7
call fcn.14019d280
int3
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [0x1402a4958]
mov rax, qword [rdi]
jmp 0x14018dea4
mov rcx, rdi
call qword [0x1402a4958]
mov rax, qword [rdi]
jmp 0x14018dde0
lea rcx, [0x1402c56e8]
call fcn.14019ae60
cmp dword [0x1402c56e8], 0xffffffff
jne 0x14018dd2e
mov ecx, 8
call fcn.14019aa78
mov qword [rax], 0
mov qword [0x1402c56e0], rax
lea rcx, [0x1402c56e8]
call fcn.14019ad84
jmp 0x14018dd2e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14018dd46
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rax
sete cl
or cl, dl
jne 0x14018de39
int3
mov rcx, qword [0x1402c5700]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14018dea4
mov rcx, qword [0x1402c5700]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14018dddb
Function at 0x14019c4f4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14019c56c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14019c56c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14019c56c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14019c560
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14019c57e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14019c54e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14019c56e

Function at 0x14019cdcc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14019ce16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14019ce16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14019ce16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14019ce16
cmp dword [rcx + 0x84], 0xe
jbe 0x14019ce16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14019ce18
xor al, al
add rsp, 0x28
ret

Function at 0x1401ae5dc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401ae613
call fcn.14019aabc
mov dword [rax], Ordinal_26
call fcn.1401c6584
xor eax, eax
jmp 0x1401ae6a1
mov rdx, r9
mov rcx, r8
call fcn.1401ae6c4
mov rbx, rax
test rax, rax
je 0x1401ae69e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401ae730]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401ae68b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401b1868
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401ae672
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401ae681
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400581d0
jmp 0x1401ae69e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401ae69b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1401ae804
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401ae94c
Function at 0x1401ae94c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1401ae94c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401ae9bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ae9bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ae9bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ae9bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ae9bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ae9bb
cmp dword [rcx + 0xf8], 0
je 0x1401ae9bb
mov ecx, ebx
call fcn.1401ae884
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401aeae0
nop
cmp dword [rbp + 0x20], 0
je 0x1401aea09
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401ae918
int3