joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031d90
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x140031dc0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140031df7
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140052aa0
lea rax, [rdx - 1]
test rdx, rax
jne 0x140031dce
mov rdi, rdx
jmp 0x140031da5
mov rcx, rdx
call fcn.14004f700
mov rdi, rax
jmp 0x140031da5
mov rcx, rdx
call fcn.14004f700
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x140031dae
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x140031def
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140031e19
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140031e1e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400a5a94
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1400ed160]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x140031ddb
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x140031ddb
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x140031de3

Function at 0x140032990
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x140032a85
cmp qword [rsi], 0
jne 0x140032a85
cmp dword [rsi + 0x14], 0
jne 0x140032a85
cmp qword [rsi + 8], 0
jne 0x140032a85
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140032a04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140032a6c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400329fc
mov qword [rsi], r14
call fcn.140058480
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x140032a3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140032a54
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140032a36
mov qword [rsi + 8], r14
call fcn.140058480
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140058480
mov rcx, qword [rsi + 8]
call fcn.140058490
mov qword [rsi + 8], 0
jmp 0x140032a23
call fcn.140058480
mov rcx, qword [rsi]
call fcn.140058490
mov qword [rsi], 0
jmp 0x1400329ea
mov rcx, rsi
call fcn.1400ce340
mov rax, qword [rsi]
jmp 0x1400329ca
Function at 0x140032c90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1400eb990]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x209
call fcn.140058460
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140058f10
cmp byte [rdi + 0x17], 0
jns 0x140032d10
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140059180
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140077050
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140032d50
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140079190
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140032def
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140090718
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140052c70
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002ba70
mov rcx, rsi
mov rdx, r14
call fcn.140052e30
mov rcx, r14
call fcn.140052db0
mov rcx, rbx
call fcn.140052db0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140077050
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140032e20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140079190
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140032ece
cmp word [rsp + 0x70], 0
je 0x140032ece
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140090718
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140052c70
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140077050
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140052c50
lea rcx, [rsp + 0x40]
call fcn.140052db0
jmp 0x140032e97
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400eb990]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140052c30
mov rcx, rdi
call fcn.140032d50
test al, al
jne 0x140032eb5
lea rax, [0x1400f176c]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140052c70
jmp 0x140032ec2
Function at 0x1400341f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034278
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140034262
cmp dword [rsp + 0x38], 4
jne 0x140034262
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140077050
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140034262
Function at 0x140034280
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.140076ff0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140079190
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034381
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x1400343e2
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.140090718
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x1400343c2
cmp rdi, 0xa
ja 0x14003438b
mov rbx, rsi
test rdi, rdi
je 0x14003434f
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.140078ae0
mov al, byte [rsi + 0x17]
test al, al
js 0x140034385
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140077050
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140034362
mov qword [rsi + 8], rdi
jmp 0x14003435a
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140027cc0
jmp 0x140034360
mov r9, qword [rsi + 8]
jmp 0x140034394
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x1400343bc
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x140034331
cmp eax, 2
jne 0x140034485
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140079190
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14003448f
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.140090718
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140034464
cmp rdi, 0xa
ja 0x14003438b
mov rbx, rsi
test rdi, rdi
je 0x14003434f
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x140034344
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x1400343bc
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14003444b
mov edi, 0x3f4
jmp 0x140034362
mov edi, 0xea
jmp 0x140034362
Function at 0x14003ee10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14003ede0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14011d798]
lea rdx, [0x14003ec80]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14003ef20
cmp dword [0x14011d7a0], 0
jne 0x14003ef10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14011d7a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14003eebc
mov ecx, 1
mov edx, 0x28
call fcn.140049690
test rax, rax
je 0x14003ef10
mov r14, rax
mov ecx, dword [0x14011d7a4]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003ef08
lea r15, [0x14011d7a8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14011d7b0]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140077050
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.1400495f0
mov rcx, rsi
mov rax, rdi
call qword [0x140128008]
xor esi, esi
jmp 0x14003eeec
call fcn.14008a0b0
int3

Function at 0x14003f5d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140114660]
cmp ecx, 0xffffffff
je 0x14003f6aa
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14003f6aa
mov eax, dword [0x14011f010]
mov ecx, dword [0x140114710]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f6b4
mov rbx, qword [0x14011f008]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003f6fa
mov rax, qword [0x14011d7f0]
inc rax
xor ecx, ecx
lea rdx, [0x14011d800]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14003f707
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x14011f000]
inc ecx
mov dword [0x14011f000], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14011d7f0], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x14003f71c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14003f720
jmp 0x14003f5fa
lea rcx, [0x14011f010]
call fcn.140075dd0
cmp dword [0x14011f010], 0xffffffff
jne 0x14003f61f
mov ecx, 8
call fcn.140075c74
mov rbx, rax
mov rcx, rax
call fcn.140059470
mov qword [0x14011f008], rbx
lea rcx, [0x14011f010]
call fcn.140075e68
jmp 0x14003f61f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14003f637
inc rcx
cmp rcx, 0x100
jne 0x14003f64a
jmp 0x14003f690
int3
Function at 0x14003f720
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140076ff0
sub rsp, rax
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140114660]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14003f7d4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14003f837
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140079190
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140075cec
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140078ae0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140077050
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400423c0
test al, al
je 0x14003f83a
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14003f812
mov eax, 0xffffffff
lock cmpxchg dword [0x140114660], ecx
je 0x14003f758
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140114660]
mov dword [rsp + 0x2c], ecx
jmp 0x14003f758
lea rcx, [rsp + 0x2c]
call fcn.1400423c0
test al, al
je 0x14003f83d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14003f83d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14003f7eb
int3
int3
int3

Function at 0x14003f850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140114660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003f88e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14003f887
call fcn.14003f720
jmp 0x14003f86e

Function at 0x1400423c0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400423d5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140056970
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 [0x140105028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140057120
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14011cf18]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x1400569ce
jnp 0x140056a34
ucomisd xmm0, xmm6
jne 0x1400569d6
jnp 0x140056a30
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400ec470]
subpd xmm1, xmmword [0x1400ec480]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400efd28]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140077050
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 0x140056a08
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 [0x14011cf28]
mov ecx, dword [0x140114710]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140056b49
mov eax, dword [0x14011cf38]
mov ecx, dword [0x140114710]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140056b83
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 [0x14011cf30]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400efd20]
ucomisd xmm2, xmm1
ja 0x1400569ce
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14011cf20]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1400ec470]
subpd xmm0, xmmword [0x1400ec480]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14011cf18], xmm0
jmp 0x1400569ce
lea rcx, [0x14011cf28]
call fcn.140075dd0
cmp dword [0x14011cf28], 0xffffffff
jne 0x140056a7d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14011cf20], rdx
lea rcx, [0x14011cf28]
call fcn.140075e68
jmp 0x140056a7d
lea rcx, [0x14011cf38]
call fcn.140075dd0
cmp dword [0x14011cf38], 0xffffffff
jne 0x140056aa2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14011cf30], rax
lea rcx, [0x14011cf38]
call fcn.140075e68
jmp 0x140056aa2
Function at 0x140056c90
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14011cf50]
mov ecx, dword [0x140114710]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140056cf0
mov rsi, qword [0x14011cf48]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140077050
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14011cf50]
call fcn.140075dd0
cmp dword [0x14011cf50], 0xffffffff
jne 0x140056ccc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140079190
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.140075c74
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14011cf98]
mov ecx, dword [0x140114710]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140056db0
lea r8, [0x14011cf68]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002ece0
mov qword [0x14011cf48], rsi
lea rcx, [0x14011cf50]
call fcn.140075e68
jmp 0x140056ccc
lea rcx, [0x14011cf98]
call fcn.140075dd0
cmp dword [0x14011cf98], 0xffffffff
jne 0x140056d81
xorps xmm0, xmm0
movups xmmword [0x14011cf88], xmm0
movups xmmword [0x14011cf78], xmm0
movups xmmword [0x14011cf68], xmm0
lea rcx, [0x14011cf68]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14011cf98]
call fcn.140075e68
jmp 0x140056d81
Function at 0x140064ed0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x140064fa6
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x140064faa
xor eax, eax
lea rcx, [0x1400f2580]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x140064f1e
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.140064530
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140064fc2
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x140064f6d
lea rcx, section..text
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140077050
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140064f90
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x140064f15
jmp 0x140064fac
bt eax, 9
jae 0x140064fe2
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x140064f6d
lea rcx, [0x140004520]
jmp 0x140064f6a
call fcn.1400d44d0
lea rax, [0x1400d4cd0]
test rdi, rdi
je 0x140064f6d
lea rcx, [0x1400d43b0]
jmp 0x140064f6a
Function at 0x140065010
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140105028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140065161
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1400eb990]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [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, rbx
mov r8, rsi
call qword [0x140128008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x140128008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x140128008]
test r14, r14
je 0x1400650f3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400650e3
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.140064530
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140065165
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x140065132
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140077050
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140065144
bt eax, 9
jae 0x140065185
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x140065132
lea rcx, [0x140004520]
jmp 0x14006512f
call fcn.1400d44d0
lea rax, [0x1400d4cd0]
test r14, r14
je 0x140065132
lea rcx, [0x1400d43b0]
jmp 0x14006512f

Function at 0x140067640
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 0x1400676da
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400676c4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400676a1
mov qword [rsi], rdi
call fcn.140058480
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 0x1400676de
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140058480
mov rcx, qword [rsi]
call fcn.140058490
mov qword [rsi], 0
jmp 0x14006768f
mov byte [rsi + 8], 0
int3