joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003ac20
Capabilities:
Create thread

Disassembly:
jmp 0x14003ac20
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.140087984
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x14011af48]
je 0x14003acee
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14003b0f0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14003ad03
test r14, r14
je 0x14003acf8
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140088f10
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.14005bbf0
jmp 0x14003ac85
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003acc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003ad1c
mov ebp, eax
cmp eax, 0x5af
je 0x14003ad1c
cmp ebp, 0xe
jne 0x14003ad47
mov rcx, rbx
call fcn.1400bc260
test rsi, rsi
je 0x14003acc8
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14011af48]
jne 0x14003ad3d
call fcn.14005bd40
mov rcx, rsi
call fcn.1400879d4
jmp 0x14003acc8
mov eax, dword [0x1401346f0]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003adca
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.1400355b0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x14003ad87
and r8d, 0x7f
jmp 0x14003ad91
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.140051da0
mov rcx, qword [0x1401346e8]
mov rdx, r14
call fcn.140040f10
cmp byte [rsp + 0x4f], 0
jns 0x14003ad24
mov rcx, qword [rsp + 0x38]
call fcn.1400879d4
jmp 0x14003ad24
lea rcx, [0x1401346f0]
call fcn.140087af8
cmp dword [0x1401346f0], 0xffffffff
jne 0x14003ad68
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140040ee0
mov qword [0x1401346e8], rax
lea rcx, [0x1401346f0]
call fcn.140087b90
jmp 0x14003ad68
Function at 0x14003b610
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1401001d0]
mov qword [rcx], rax
add rcx, 8
call fcn.140061bb0
lea rcx, [rsi + 0x10]
call fcn.140061bb0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.140061bb0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x140108bdc]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1400439e0
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.1400189d0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x140108be0], edx
je 0x14003b80b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.140075100
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003b82f
call fcn.140043540
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400435f0
mov qword [0x140134a70], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x140108be4], edx
jne 0x14003b842
test dword [0x140108be8], edx
jne 0x14003b850
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140043780
jmp 0x14003b7cc
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140140008]
jmp 0x14003b7d9
cmp rax, 0x40
mov eax, 0x100
jmp 0x14003b7c3
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14003b824
Function at 0x14003d380
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 0x14003d3b0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14003d3e7
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14006b520
lea rax, [rdx - 1]
test rdx, rax
jne 0x14003d3be
mov rdi, rdx
jmp 0x14003d395
mov rcx, rdx
call fcn.14005e520
mov rdi, rax
jmp 0x14003d395
mov rcx, rdx
call fcn.14005e520
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x14003d39e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x14003d3df
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14003d409
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003d40e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400b8eec
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140103540]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x14003d3cb
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 0x14003d3cb
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 0x14003d3d3
Function at 0x14004f1b0
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 [0x140129758]
cmp ecx, 0xffffffff
je 0x14004f28a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14004f28a
mov eax, dword [0x140136680]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004f294
mov rbx, qword [0x140136678]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14004f2da
mov rax, qword [0x140134e60]
inc rax
xor ecx, ecx
lea rdx, [0x140134e70]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14004f2e7
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140136670]
inc ecx
mov dword [0x140136670], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140134e60], 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 0x14004f2fc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14004f300
jmp 0x14004f1da
lea rcx, [0x140136680]
call fcn.140087af8
cmp dword [0x140136680], 0xffffffff
jne 0x14004f1ff
mov ecx, 8
call fcn.140087984
mov rbx, rax
mov rcx, rax
call fcn.140061bb0
mov qword [0x140136678], rbx
lea rcx, [0x140136680]
call fcn.140087b90
jmp 0x14004f1ff
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14004f217
inc rcx
cmp rcx, 0x100
jne 0x14004f22a
jmp 0x14004f270
int3

Function at 0x14004f300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140088eb0
sub rsp, rax
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140129758]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14004f3b4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14004f417
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14008b030
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140087a18
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14008a980
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.140088f10
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140050fa0
test al, al
je 0x14004f41a
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14004f3f2
mov eax, 0xffffffff
lock cmpxchg dword [0x140129758], ecx
je 0x14004f338
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140129758]
mov dword [rsp + 0x2c], ecx
jmp 0x14004f338
lea rcx, [rsp + 0x2c]
call fcn.140050fa0
test al, al
je 0x14004f41d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14004f41d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14004f3cb
int3
int3
int3
Function at 0x14004f430
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140129758]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x14004f479
and rax, 0xfffffffffffffffc
je 0x14004f4ac
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14004f4ac
mov rsi, qword [rax + rcx]
jmp 0x14004f4ae
lea rdx, [0x14010c99d]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.140068340
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1400e33e0
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140088f10
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14004f4d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140129758]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004f50e
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 0x14004f507
call fcn.14004f300
jmp 0x14004f4ee

Function at 0x140050fa0
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 0x140050fb5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140061530
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140134340]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140061590
mov rsi, qword [0x140134338]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140088f10
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140134340]
call fcn.140087af8
cmp dword [0x140134340], 0xffffffff
jne 0x14006156c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008b030
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.140087984
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140134388]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140061650
lea r8, [0x140134358]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140031be0
mov qword [0x140134338], rsi
lea rcx, [0x140134340]
call fcn.140087b90
jmp 0x14006156c
lea rcx, [0x140134388]
call fcn.140087af8
cmp dword [0x140134388], 0xffffffff
jne 0x140061621
xorps xmm0, xmm0
movups xmmword [0x140134378], xmm0
movups xmmword [0x140134368], xmm0
movups xmmword [0x140134358], xmm0
lea rcx, [0x140134358]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140134388]
call fcn.140087b90
jmp 0x140061621
Function at 0x1400616a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140134340]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140061701
mov rax, qword [0x140134338]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140088f10
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140134340]
call fcn.140087af8
cmp dword [0x140134340], 0xffffffff
jne 0x1400616dc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14008b030
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.140087984
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140134388]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400617c1
lea r8, [0x140134358]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140031be0
mov qword [0x140134338], rsi
lea rcx, [0x140134340]
call fcn.140087b90
jmp 0x1400616dc
lea rcx, [0x140134388]
call fcn.140087af8
cmp dword [0x140134388], 0xffffffff
jne 0x140061792
xorps xmm0, xmm0
movups xmmword [0x140134378], xmm0
movups xmmword [0x140134368], xmm0
movups xmmword [0x140134358], xmm0
lea rcx, [0x140134358]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140134388]
call fcn.140087b90
jmp 0x140061792

Function at 0x140061900
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 0x14006199a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140061984
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140061961
mov qword [rsi], rdi
call fcn.140068360
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 0x14006199e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140068360
mov rcx, qword [rsi]
call fcn.140061810
mov qword [rsi], 0
jmp 0x14006194f
mov byte [rsi + 8], 0
int3
Function at 0x140061b40
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140061b88
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 0x140061b91
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x140061b81
mov qword [rdi], rsi
call fcn.140068360
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.140068360
mov rcx, qword [rdi]
call fcn.140061810
mov qword [rdi], 0
jmp 0x140061b66
invalid
invalid
jne 0x14021c517
loop 0x14021c533
std
enter 0xfbf, 0xffffffffffffff95
jle 0x14021c5b3
mov edi, 0x37d6bfff
sti
sahf
invalid
adc al, 0xbb
cmp dword [0x1aee5d5a8], ebx
sub byte [rsi], bh
pop rsp
pop rsp
pop rcx
in al, dx
sub byte [rdx], al
sahf
jrcxz 0x14021c5bc
invalid
Function at 0x14006bc00
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 [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14006c230
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140134670]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14006bc5e
jnp 0x14006bcc4
ucomisd xmm0, xmm6
jne 0x14006bc66
jnp 0x14006bcc0
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1401029a0]
subpd xmm1, xmmword [0x1401029b0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1401066f0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140088f10
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 0x14006bc98
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 [0x140134680]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006bdd9
mov eax, dword [0x140134690]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006be13
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 [0x140134688]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1401066e8]
ucomisd xmm2, xmm1
ja 0x14006bc5e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x140134678]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401029a0]
subpd xmm0, xmmword [0x1401029b0]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x140134670], xmm0
jmp 0x14006bc5e
lea rcx, [0x140134680]
call fcn.140087af8
cmp dword [0x140134680], 0xffffffff
jne 0x14006bd0d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140134678], rdx
lea rcx, [0x140134680]
call fcn.140087b90
jmp 0x14006bd0d
lea rcx, [0x140134690]
call fcn.140087af8
cmp dword [0x140134690], 0xffffffff
jne 0x14006bd32
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140134688], rax
lea rcx, [0x140134690]
call fcn.140087b90
jmp 0x14006bd32
Function at 0x14007cdc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14007cdeb
xor ecx, ecx
lea r9, [0x14010bc60]
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 0x14007cdd0
ret
Function at 0x1400881d8
Capabilities:
Parse pe header

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

Function at 0x140088740
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 0x1400887b8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400887b8
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 0x1400887b8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400887ac
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400887ca
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14008879a
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 0x1400887ba

Function at 0x140097368
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 0x14009739f
call fcn.14009a614
mov dword [rax], 0x16
call fcn.14009b73c
xor eax, eax
jmp 0x14009742d
mov rdx, r9
mov rcx, r8
call fcn.140097450
mov rbx, rax
test rax, rax
je 0x14009742a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400974b4]
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 0x140097417
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009a654
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400973fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009740d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400592e0
jmp 0x14009742a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140097427
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