joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013b190
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1403c0aa0]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013b211
lea rcx, [0x1403c0a98]
call fcn.14019c150
test rax, rax
jne 0x14013b1fe
mov ecx, 4
call fcn.1401cfd80
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1403c0a98]
mov rcx, rbx
call fcn.14019c150
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14019c190
test rsi, rsi
jne 0x14013b255
lea rcx, [0x1403c0a98]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14019c150
lea rcx, [0x1403c0aa0]
call fcn.1401cfee0
cmp dword [0x1403c0aa0], 0xffffffff
jne 0x14013b1b8
mov qword [0x1403c0a98], 0
lea rcx, [0x1403c0a98]
lea rdx, [0x140047940]
call fcn.1400ed1f0
lea rcx, [0x1403c0aa0]
call fcn.1401cff78
jmp 0x14013b1b8
mov rcx, rsi
call fcn.1401cfdbc
jmp 0x14013b1fe

Function at 0x1401402c0
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140140360]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x140140319
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d1390
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.1402ad1e0
mov rcx, rsi
call fcn.1402ad110
lea rdx, [0x14034bc9a]
mov r8d, ntohl
mov rcx, rax
call fcn.14020f8f0
mov rcx, rsi
call fcn.1402ad120
jmp 0x140140305
Function at 0x140166d00
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
cmp eax, 0xf0008000
sete r9b
mov eax, r8d
not eax
test eax, 0x3c00000
setne r10b
and r10b, r9b
test cl, 1
sete r9b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r9b
and al, r10b
cmp al, 1
jne 0x140166d9c
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xfbc0d000
mov r10d, ecx
shl r10d, 6
and r10d, 0x4000000
mov r11d, ecx
shl r11d, 4
and r11d, 0x3f0000
or r11d, r10d
mov r10d, ecx
shr r10d, 5
and r10d, 0x2000
or r10d, r11d
shr ecx, 8
and ecx, 0x800
or ecx, r10d
or ecx, r9d
or ecx, r8d
mov dword [rdx], ecx
ret

Function at 0x140166e40
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
jne 0x140166eea
sub edx, ecx
lea ecx, [rdx - 4]
and ecx, 1
lea r9d, [rcx + rdx]
add r9d, 0xffffc
xor eax, eax
cmp r9d, 0x1fffff
ja 0x140166ee9
add ecx, edx
add ecx, 0xfffffffc
mov edx, ecx
and edx, 1
jne 0x140166ee9
mov r9d, dword [r8]
mov edx, r9d
and edx, 0xf800d000
cmp edx, 0xf0008000
jne 0x140166ee9
mov edx, r9d
and edx, 0x3c00000
cmp edx, 0x3c00000
je 0x140166ee9
mov r10d, ecx
shr r10d, 1
and r10d, 0x7ff
and r9d, 0xfbc0d000
mov edx, ecx
shl edx, 6
and edx, 0x4000000
mov eax, ecx
shl eax, 4
and eax, 0x3f0000
or eax, edx
mov edx, ecx
shr edx, 5
and edx, 0x2000
or edx, eax
shr ecx, 8
and ecx, 0x800
or ecx, edx
or ecx, r10d
or ecx, r9d
mov dword [r8], ecx
mov al, 1
ret
xor eax, eax
ret

Function at 0x14016c280
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14016c2c8
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 0x14016c2d1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14016c2b8
mov qword [rdi], rsi
call fcn.14017e5d0
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.14017e5d0
mov rcx, qword [rdi]
call fcn.140189420
mov qword [rdi], 0
jmp 0x14016c2a6
Function at 0x1401770c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
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 xmm0, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm4, r8d
pxor xmm4, xmm0
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x1401771f5
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x140340510]
nop word cs:[rax + rax]
movdqa xmm6, xmm4
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm4, xmmword [rcx]
pxor xmm4, xmm6
pxor xmm4, xmm0
movdqu xmm3, xmmword [rcx + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [rcx + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [rcx + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140177150
movabs rax, 0x1751997d0
movq xmm0, rax
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140340520]
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm2
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
cmp rdx, 0x10
jb 0x140177284
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14017725a
movdqa xmm0, xmmword [0x140340520]
pclmulqdq xmm0, xmm4, 1
psrldq xmm4, 8
pxor xmm4, xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
pblendw xmm1, xmm4, 3
psrldq xmm4, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm4
pxor xmm1, xmm1
pblendw xmm1, xmm2, 3
pclmulqdq xmm1, xmmword [0x140340530], 0x10
pblendw xmm1, xmm0, 0xfc
movabs rax, 0x1db710641
movq xmm0, rax
pclmulqdq xmm0, xmm1, 0
pxor xmm0, xmm2
pextrd eax, xmm0, 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]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x140188d90
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov esi, r9d
mov r14, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x50], r13
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.Read
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3e
call fcn.14017e5b0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140186270
test esi, esi
js 0x140188ec5
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0
call fcn.1401966c0
test al, al
jne 0x140188ecc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140188eb2
mov esi, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.140196750
lea rcx, [rsp + 0x60]
call fcn.1401862d0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140188e79
mov esi, 0xffffffff
jmp 0x140188e83
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.1402a31a0
jmp 0x140188e3f
Function at 0x140188ef0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14d, r9d
mov r15, r8
mov r13, rdx
mov r12, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x60]
mov qword [rsi + 0x50], rbp
movaps xmm0, xmmword [0x14033b990]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.Write
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x73
call fcn.14017e5b0
xor ebx, ebx
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.140186270
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], 0
call fcn.1401966c0
test al, al
jne 0x14018900c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
lea rsi, [rsp + 0x2c]
mov dword [rsi], 0xaaaaaaaa
mov rcx, qword [r12]
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov r8d, r14d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sbb ebx, ebx
or ebx, dword [rsi]
lea rcx, [rsp + 0x30]
call fcn.140196750
lea rcx, [rsp + 0x60]
call fcn.1401862d0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401d1390
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movsxd r9, r14d
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, r12
call fcn.1402a31a0
jmp 0x140188f96

Function at 0x140189030
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140189077
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140189091
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14018906f
mov qword [rsi], rdi
call fcn.14017e5d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x1401890a7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14017e5d0
mov rcx, qword [rsi]
call fcn.140189420
mov qword [rsi], 0
jmp 0x14018905d
int3

Function at 0x14018bbf0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14018bc2c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14018bc36
add rdi, rbx
sub rsi, rbx
jne 0x14018bc0a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x14018c190
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140189400
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1403b8b28]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14018c1ed
jnp 0x14018c252
ucomisd xmm0, xmm6
jne 0x14018c1f9
jnp 0x14018c37c
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x14033d860]
subpd xmm1, xmmword [0x14033d870]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140346250]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d1390
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov r12d, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1403b8b38]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018c383
mov eax, dword [0x1403b8b48]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018c3bd
rdtsc
mov r14, rax
mov r15, rdx
xor edi, edi
lea rbx, [rsp + 0x30]
mov qword [rbx], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbp, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rbx], rdi
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbp, qword [0x1403b8b40]
movq xmm1, rbp
punpckldq xmm1, xmmword [0x14033d860]
subpd xmm1, xmmword [0x14033d870]
haddpd xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140346248]
ucomisd xmm2, xmm1
ja 0x14018c1ed
shl r15, 0x20
or r14, r15
sub r14, qword [0x1403b8b30]
movq xmm0, r14
punpckldq xmm0, xmmword [0x14033d860]
subpd xmm0, xmmword [0x14033d870]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1403b8b28], xmm0
jmp 0x14018c1ed
xor eax, eax
jmp 0x14018c22b
lea rcx, [0x1403b8b38]
call fcn.1401cfee0
cmp dword [0x1403b8b38], 0xffffffff
jne 0x14018c29c
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1403b8b30], rdx
lea rcx, [0x1403b8b38]
call fcn.1401cff78
jmp 0x14018c29c
lea rcx, [0x1403b8b48]
call fcn.1401cfee0
cmp dword [0x1403b8b48], 0xffffffff
jne 0x14018c2c1
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1403b8b40], rax
lea rcx, [0x1403b8b48]
call fcn.1401cff78
jmp 0x14018c2c1
Function at 0x140191590
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1401916ec
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14033b990]
lea r14, [rsp + 0x40]
movaps xmmword [r14], xmm0
movaps xmmword [r14 - 0x10], xmm0
movaps xmmword [r14 - 0x20], xmm0
lea r12, [rsp + 0x30]
lea r15, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, r15
mov r8, rsi
call qword [0x1403db008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r15
mov rdx, r12
mov r8, rsi
call qword [0x1403db008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r15
mov rdx, r14
mov r8, rsi
call qword [0x1403db008]
test rdi, rdi
je 0x140191680
xor eax, eax
nop word cs:[rax + rax]
movzx ecx, byte [rbx + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rdi, rax
jne 0x140191670
lea rdi, [rsi + 0xf8]
mov eax, dword [0x1403befd4]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1401916f0
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x1401916bb
lea rcx, section..text
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1401916cf
bt eax, 9
jae 0x140191710
call fcn.140004450
lea rax, [0x140004920]
test rdi, rdi
je 0x1401916bb
lea rcx, [0x140004620]
jmp 0x1401916b8
call fcn.140248e60
lea rax, [0x140249680]
test rdi, rdi
je 0x1401916bb
lea rcx, [0x140248d40]
jmp 0x1401916b8
Function at 0x140194fd0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403bd520]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140195030
mov rsi, qword [0x1403bd518]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401d1390
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403bd520]
call fcn.1401cfee0
cmp dword [0x1403bd520], 0xffffffff
jne 0x14019500c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401d34c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.1401cfd80
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403bd568]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401950f0
lea r8, [0x1403bd538]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400e32b0
mov qword [0x1403bd518], rsi
lea rcx, [0x1403bd520]
call fcn.1401cff78
jmp 0x14019500c
lea rcx, [0x1403bd568]
call fcn.1401cfee0
cmp dword [0x1403bd568], 0xffffffff
jne 0x1401950c1
xorps xmm0, xmm0
movups xmmword [0x1403bd558], xmm0
movups xmmword [0x1403bd548], xmm0
movups xmmword [0x1403bd538], xmm0
lea rcx, [0x1403bd538]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403bd568]
call fcn.1401cff78
jmp 0x1401950c1
Function at 0x140195140
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403bd520]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401951a1
mov rax, qword [0x1403bd518]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403bd520]
call fcn.1401cfee0
cmp dword [0x1403bd520], 0xffffffff
jne 0x14019517c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401d34c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.1401cfd80
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403bd568]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140195261
lea r8, [0x1403bd538]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.1400e32b0
mov qword [0x1403bd518], rsi
lea rcx, [0x1403bd520]
call fcn.1401cff78
jmp 0x14019517c
lea rcx, [0x1403bd568]
call fcn.1401cfee0
cmp dword [0x1403bd568], 0xffffffff
jne 0x140195232
xorps xmm0, xmm0
movups xmmword [0x1403bd558], xmm0
movups xmmword [0x1403bd548], xmm0
movups xmmword [0x1403bd538], xmm0
lea rcx, [0x1403bd538]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403bd568]
call fcn.1401cff78
jmp 0x140195232

Function at 0x1401952e0
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 ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140195377
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140195361
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14019533e
mov qword [rsi], rdi
call fcn.14017e5d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14019537b
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14017e5d0
mov rcx, qword [rsi]
call fcn.140189420
mov qword [rsi], 0
jmp 0x14019532c
mov byte [rsi + 8], 1
int3

Function at 0x140199a10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x140199a3b
xor ecx, ecx
lea r9, [0x140383770]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140199a20
ret
Function at 0x14019c150
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1403b1f38]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14019c184
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14019c184
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14019c17e

Function at 0x14019c190
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1403b1f38]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14019c1ce
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14019c1c7
call fcn.1400ecfe0
jmp 0x14019c1ae

Function at 0x14019c320
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403bee90]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14019c355
lea rcx, [0x1403bee88]
add rsp, 0x28
jmp fcn.14019c150
lea rcx, [0x1403bee90]
call fcn.1401cfee0
cmp dword [0x1403bee90], 0xffffffff
jne 0x14019c345
mov qword [0x1403bee88], 0
lea rcx, [0x1403bee88]
xor edx, edx
call fcn.1400ed1f0
lea rcx, [0x1403bee90]
call fcn.1401cff78
jmp 0x14019c345

Function at 0x1401a1210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
movzx eax, byte [rcx + 0x4f]
test al, al
js 0x1401a12f3
test rax, rax
jne 0x1401a12e2
cmp dword [rsi + 0x50], 0
jne 0x1401a12e2
mov byte [rsi + 0x54], 0
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
je 0x1401a1333
lea rdi, [rsi + 0x20]
lea rcx, [rax + 1]
mov qword [rsi + 0x10], rcx
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.14017a420
cmp rax, 0xffffffffffffffff
jne 0x1401a1321
cmp dword [rsi + 0x58], 1
je 0x1401a12fc
mov rax, qword [rsi + 0x10]
mov bl, 1
cmp rax, qword [rsi + 0x18]
je 0x1401a1339
movabs r14, 0x100003600
nop dword [rax]
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.14017a420
cmp rax, 0xffffffffffffffff
jne 0x1401a1339
cmp dword [rsi + 0x58], 1
mov rax, qword [rsi + 0x10]
je 0x1401a12d1
inc rax
mov qword [rsi + 0x10], rax
cmp rax, qword [rsi + 0x18]
jne 0x1401a12a0
jmp 0x1401a1339
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x1401a12c2
bt r14, rcx
jae 0x1401a12c2
jmp 0x1401a1339
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1402b19b0
mov rax, qword [rsi + 0x40]
jmp 0x1401a1228
mov rax, qword [rsi + 8]
movzx eax, byte [rax]
cmp rax, 0x20
ja 0x1401a127f
movabs rcx, 0x100003600
bt rcx, rax
jae 0x1401a127f
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
jne 0x1401a1255
mov byte [rsi + 0x54], 1
xor ebx, ebx
mov eax, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret