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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rdi, qword [rcx + 0x10]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x140162315
movdqa xmm0, xmmword [0x1402c3f70]
movdqa xmm1, xmmword [0x1402c3f80]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x1401622f4
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + rdi], 0xff
test rdi, rdi
je 0x1401624c5
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov r15, qword [rsp + 0x30]
jmp 0x140162443
mov rdx, r12
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [0x140320008]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov r8b, 0x80
mov byte [rax + rbp], r8b
lea rdx, [rbp - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x140162434
mov r12, r9
imul r12, r14
add r12, qword [rsp + 0x30]
and al, 0x7f
lea r8, [r9 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
cmp byte [r13 + r9], 0x80
mov byte [rcx + r9], al
mov byte [rcx + rdx], al
mov rcx, rsi
je 0x140162350
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rax, qword [rsp + 0x20]
call qword [0x140320008]
mov rcx, rsi
mov rdx, r12
mov r8, r15
mov r12, qword [rsp + 0x20]
mov rax, r12
call qword [0x140320008]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x28]
mov rax, r12
call qword [0x140320008]
dec rbp
sub r15, r14
jmp 0x140162434
tzcnt r9d, r11d
add r9, r10
and r9, rdx
mov r10, r9
sub r10, r8
mov r11, rbp
sub r11, r8
xor r11, r10
and r11, rdi
cmp r11, 0xf
ja 0x140162385
and al, 0x7f
mov byte [rcx + rbp], al
lea r8, [rbp - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
mov byte [rcx + rdx], al
inc rbp
add r15, r14
cmp rbp, rdi
je 0x1401624c5
cmp byte [r13 + rbp], 0xfe
jne 0x140162434
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [0x140320008]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov r9, rax
shr r9, 7
mov r8, rcx
shr r8, 0xc
xor r8, r9
and r8, rdx
movdqu xmm0, xmmword [rcx + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
mov r10, r8
test r11d, r11d
jne 0x1401623f8
mov r9d, reloc.WS2_32.dll_recv
mov r10, r8
add r10, r9
and r10, rdx
movdqu xmm0, xmmword [rcx + r10]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
add r9, 0x10
test r11d, r11d
jne 0x1401623f8
jmp 0x14016249d
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov rdx, rcx
shr rdx, 3
add rdx, qword [rsi + 0x18]
sub rcx, rdx
mov qword [rax - 8], rcx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140170290
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 0x14017038e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1402c4ec0]
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 0x140170300
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1402c4ed0]
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 0x14017041d
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 0x1401703f3
movdqa xmm1, xmmword [0x1402c4ed0]
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 [0x1402c4ee0], 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 0x1401715f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140171638
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 0x140171641
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140171628
mov qword [rdi], rsi
call fcn.14019f500
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14019f500
mov rcx, qword [rdi]
call fcn.14018b8d0
mov qword [rdi], 0
jmp 0x140171616
Function at 0x14018aca0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x14018ad0b
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x14018ad39
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.1401d4088
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x14018ad04
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14018ace0
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x14018ad65
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1401d40d8
jmp 0x14018acdb
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14018ad22
mov rcx, rdi
call fcn.1401864f0
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14018ad39
mov rax, rdi
shr rax, 0x3d
je 0x14018acbf
call fcn.140213770
cmp rdi, rbx
jae 0x14018acfc
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14018ae67
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14018ae6c
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x14018ade1
cmp rcx, rdi
jb 0x14018ade8
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
jmp 0x14018ade8
lea rax, [rdi - 1]
and rcx, rax
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x14018acfc
lea r11, [rdi - 1]
jmp 0x14018ae4e
mov qword [rdx + rax*8], r8
jmp 0x14018ae3c
and rax, r11
cmp rax, rcx
je 0x14018ae39
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
je 0x14018ae01
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x14018acfc
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14018ae07
cmp rax, rdi
jb 0x14018ae0a
xor edx, edx
div rdi
mov rax, rdx
jmp 0x14018ae0a
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1401f2f70
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1402ae688]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14018af1f
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14018af1f
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x14018af2a
mov rcx, rax
call fcn.1401864f0
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x14018acfc
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140246b50
Function at 0x14018bf40
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 [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x14030a9d0]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018c12c
mov rsi, qword [0x14030a9c8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14018c172
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x14030a980], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x14030a984]
mov dword [0x14030a984], ebx
cmovne ebp, ecx
mov eax, dword [0x14030a988]
cmp ebp, eax
je 0x14018c10b
test eax, eax
je 0x14018c09c
mov rax, qword [0x1402ff030]
lea rcx, [0x14018c220]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14018c17f
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x14018c1ea
imul rax, rcx, 0xf4240
cqo
idiv qword [0x14030a9e8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x14030a9d8]
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 [0x14030a990]
cmp r8, 2
jb 0x14018c1a1
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x14030a990], rax
mov ecx, dword [0x14030a988]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x14030a988], ebp
test ebx, ebx
je 0x14018c10b
mov rax, qword [0x1402ff030]
lea rcx, [0x14018c220]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x14018c190
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x14018c1b9
imul rax, rcx, 0xf4240
cqo
idiv qword [0x14030a9e8]
mov qword [0x14030a9d8], rax
mov ecx, dword [0x14030a988]
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
call fcn.1401d5680
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14030a9d0]
call fcn.1401d4200
cmp dword [0x14030a9d0], 0xffffffff
jne 0x14018bf7e
mov ecx, 8
call fcn.1401d4088
mov rsi, rax
mov rcx, rax
call fcn.140184320
mov qword [0x14030a9c8], rsi
lea rcx, [0x14030a9d0]
call fcn.1401d4298
jmp 0x14018bf7e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14018bf96
mov rcx, rdi
call qword [0x140320008]
mov rax, qword [rdi]
jmp 0x14018c030
mov rcx, rdi
call qword [0x140320008]
mov rax, qword [rdi]
jmp 0x14018c0f8
cmp rcx, rax
je 0x14018c089
add rcx, rdx
cmp rcx, 1
ja 0x14018c089
jmp 0x14018c21b
mov r8, qword [0x14030a9e8]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x14018c0f8
mov r8, qword [0x14030a9e8]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x14018c02b
int3
Function at 0x14018c2c0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14018c610
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14030a9a0]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14018c31e
jnp 0x14018c384
ucomisd xmm0, xmm6
jne 0x14018c326
jnp 0x14018c380
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1402c3140]
subpd xmm1, xmmword [0x1402c3150]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1402cab98]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d5680
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14018c358
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x14030a9b0]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018c499
mov eax, dword [0x14030a9c0]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018c4d3
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x14030a9b8]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1402cab90]
ucomisd xmm2, xmm1
ja 0x14018c31e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14030a9a8]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1402c3140]
subpd xmm0, xmmword [0x1402c3150]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14030a9a0], xmm0
jmp 0x14018c31e
lea rcx, [0x14030a9b0]
call fcn.1401d4200
cmp dword [0x14030a9b0], 0xffffffff
jne 0x14018c3cd
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14030a9a8], rdx
lea rcx, [0x14030a9b0]
call fcn.1401d4298
jmp 0x14018c3cd
lea rcx, [0x14030a9c0]
call fcn.1401d4200
cmp dword [0x14030a9c0], 0xffffffff
jne 0x14018c3f2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14030a9b8], rax
lea rcx, [0x14030a9c0]
call fcn.1401d4298
jmp 0x14018c3f2
Function at 0x14018c630
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
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 0x14018c6ca
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14018c6b4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14018c691
mov qword [rsi], rdi
call fcn.14019f500
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 0x14018c6ce
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14019f500
mov rcx, qword [rsi]
call fcn.14018b8d0
mov qword [rsi], 0
jmp 0x14018c67f
mov byte [rsi + 8], 0
int3
Function at 0x14019eca0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14019ecca
call fcn.14019f500
cmp qword [rsi], r14
je 0x14019ecf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14019ed18
cmp r15, 2
jb 0x14019ecf1
mov qword [rsi], r14
call fcn.14019f500
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14019f500
mov rcx, qword [rsi]
call fcn.14018b8d0
mov qword [rsi], 0
jmp 0x14019ece3
Function at 0x1401a2220
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140190e20
mov qword [rsi], 0
test rax, rax
je 0x1401a2273
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1401a22a7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401a226b
mov qword [rsi], rbx
call fcn.14019f500
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14019fc90
lea rcx, [rsi + 0x20]
call fcn.1401aa5d0
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 rbp
pop rdi
pop rsi
ret
call fcn.14019f500
mov rcx, qword [rsi]
call fcn.14018b8d0
mov qword [rsi], 0
jmp 0x1401a2259

Function at 0x1401a4ea0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1401a4ed1
call fcn.14019f500
cmp qword [rsi + 8], rbx
je 0x1401a4f03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1401a4f10
cmp r14, 2
jb 0x1401a4efb
mov qword [rsi + 8], rbx
call fcn.14019f500
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14019f500
mov rcx, qword [rsi + 8]
call fcn.14018b8d0
mov qword [rsi + 8], 0
jmp 0x1401a4eec

Function at 0x1401a4f30
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1401a4f61
call fcn.14019f500
cmp qword [rsi + 8], rbx
je 0x1401a4f93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1401a4fa0
cmp r14, 2
jb 0x1401a4f8b
mov qword [rsi + 8], rbx
call fcn.14019f500
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14019f500
mov rcx, qword [rsi + 8]
call fcn.14018b8d0
mov qword [rsi + 8], 0
jmp 0x1401a4f7c
Function at 0x1401a4fc0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1401a4ff2
call fcn.14019f500
cmp qword [rsi + 8], r14
je 0x1401a5024
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1401a503f
cmp r15, 2
jb 0x1401a501c
mov qword [rsi + 8], r14
call fcn.14019f500
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1401a5057
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14019f500
mov rcx, qword [rsi + 8]
call fcn.14018b8d0
mov qword [rsi + 8], 0
jmp 0x1401a500d
call fcn.14019f500
mov rcx, qword [rdi]
call fcn.14018b8d0
mov qword [rdi], 0
jmp 0x1401a5030

Function at 0x1401a7790
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14030b040]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401a77f0
mov rsi, qword [0x14030b038]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401d5680
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14030b040]
call fcn.1401d4200
cmp dword [0x14030b040], 0xffffffff
jne 0x1401a77cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401d77d0
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, 0x80
call fcn.1401d4088
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14030b088]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401a78b0
lea r8, [0x14030b058]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14011d0e0
mov qword [0x14030b038], rsi
lea rcx, [0x14030b040]
call fcn.1401d4298
jmp 0x1401a77cc
lea rcx, [0x14030b088]
call fcn.1401d4200
cmp dword [0x14030b088], 0xffffffff
jne 0x1401a7881
xorps xmm0, xmm0
movups xmmword [0x14030b078], xmm0
movups xmmword [0x14030b068], xmm0
movups xmmword [0x14030b058], xmm0
lea rcx, [0x14030b058]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14030b088]
call fcn.1401d4298
jmp 0x1401a7881
Function at 0x1401a7900
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14030b040]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401a7961
mov rax, qword [0x14030b038]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401d5680
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14030b040]
call fcn.1401d4200
cmp dword [0x14030b040], 0xffffffff
jne 0x1401a793c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401d77d0
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, 0x80
call fcn.1401d4088
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14030b088]
mov ecx, dword [0x1402ffa30]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401a7a21
lea r8, [0x14030b058]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14011d0e0
mov qword [0x14030b038], rsi
lea rcx, [0x14030b040]
call fcn.1401d4298
jmp 0x1401a793c
lea rcx, [0x14030b088]
call fcn.1401d4200
cmp dword [0x14030b088], 0xffffffff
jne 0x1401a79f2
xorps xmm0, xmm0
movups xmmword [0x14030b078], xmm0
movups xmmword [0x14030b068], xmm0
movups xmmword [0x14030b058], xmm0
lea rcx, [0x14030b058]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14030b088]
call fcn.1401d4298
jmp 0x1401a79f2