joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400423d0
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 [0x140114028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400423a0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14012cb18]
lea rdx, [0x140042240]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400424e0
cmp dword [0x14012cb20], 0
jne 0x1400424d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14012cb24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14004247c
mov ecx, 1
mov edx, 0x28
call fcn.1400522b0
test rax, rax
je 0x1400424d0
mov r14, rax
mov ecx, dword [0x14012cb24]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400424c8
lea r15, [0x14012cb28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14012cb30]
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.140081b60
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.140052210
mov rcx, rsi
mov rax, rdi
call qword [0x140138008]
xor esi, esi
jmp 0x1400424ac
call fcn.1400956bc
int3

Function at 0x14004b220
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 [0x1401237c8]
cmp ecx, 0xffffffff
je 0x14004b2fa
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14004b2fa
mov eax, dword [0x14012e3c0]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004b304
mov rbx, qword [0x14012e3b8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14004b34a
mov rax, qword [0x14012cba8]
inc rax
xor ecx, ecx
lea rdx, [0x14012cbb0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14004b357
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x14012e3b0]
inc ecx
mov dword [0x14012e3b0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14012cba8], 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 0x14004b36c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14004b370
jmp 0x14004b24a
lea rcx, [0x14012e3c0]
call fcn.140080824
cmp dword [0x14012e3c0], 0xffffffff
jne 0x14004b26f
mov ecx, 8
call fcn.1400806d4
mov rbx, rax
mov rcx, rax
call fcn.14005aca0
mov qword [0x14012e3b8], rbx
lea rcx, [0x14012e3c0]
call fcn.1400808bc
jmp 0x14004b26f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14004b287
inc rcx
cmp rcx, 0x100
jne 0x14004b29a
jmp 0x14004b2e0
int3
Function at 0x14004b370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140081b00
sub rsp, rax
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401237c8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14004b424
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14004b487
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140083c80
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140080744
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400835d0
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.140081b60
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14004cf60
test al, al
je 0x14004b48a
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14004b462
mov eax, 0xffffffff
lock cmpxchg dword [0x1401237c8], ecx
je 0x14004b3a8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401237c8]
mov dword [rsp + 0x2c], ecx
jmp 0x14004b3a8
lea rcx, [rsp + 0x2c]
call fcn.14004cf60
test al, al
je 0x14004b48d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14004b48d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14004b43b
int3
int3
int3

Function at 0x14004b4a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401237c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x14004b4e9
and rax, 0xfffffffffffffffc
je 0x14004b51c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14004b51c
mov rsi, qword [rax + rcx]
jmp 0x14004b51e
lea rdx, [0x140104f8d]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.140060c60
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1400dd310
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140081b60
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x14004b540
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401237c8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004b57e
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 0x14004b577
call fcn.14004b370
jmp 0x14004b55e

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

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14012c040]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005a7f0
mov rsi, qword [0x14012c038]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140081b60
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14012c040]
call fcn.140080824
cmp dword [0x14012c040], 0xffffffff
jne 0x14005a7cc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140083c80
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.1400806d4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14012c088]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005a8b0
lea r8, [0x14012c058]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002cf50
mov qword [0x14012c038], rsi
lea rcx, [0x14012c040]
call fcn.1400808bc
jmp 0x14005a7cc
lea rcx, [0x14012c088]
call fcn.140080824
cmp dword [0x14012c088], 0xffffffff
jne 0x14005a881
xorps xmm0, xmm0
movups xmmword [0x14012c078], xmm0
movups xmmword [0x14012c068], xmm0
movups xmmword [0x14012c058], xmm0
lea rcx, [0x14012c058]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14012c088]
call fcn.1400808bc
jmp 0x14005a881

Function at 0x14005a9f0
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 0x14005aa8a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14005aa74
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005aa51
mov qword [rsi], rdi
call fcn.140060c80
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 0x14005aa8e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140060c80
mov rcx, qword [rsi]
call fcn.14005a900
mov qword [rsi], 0
jmp 0x14005aa3f
mov byte [rsi + 8], 0
int3
Function at 0x14005ac30
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14005ac78
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 0x14005ac81
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14005ac71
mov qword [rdi], rsi
call fcn.140060c80
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.140060c80
mov rcx, qword [rdi]
call fcn.14005a900
mov qword [rdi], 0
jmp 0x14005ac56
sti
ja 0x140212a2c
int3
and byte [rax - 0x36852f5d], cl
cmp ch, al
invalid
imul esi, dword [rsi + rbx + 0x67], 0x2c
in al, 0x6f
outsd dx, dword [rsi]
cmp qword [rdx], r9
invalid
mov ebx, 0x97eb740d
jrcxz 0x1402129d2
push 0xffffffffffffffa7
ja 0x140212a55
pushfq
test al, 0x64
sar bh, 1
scasd eax, dword [rdi]
movabs eax, dword [0xe7d51781ec6d9028]
imul edi, dword [rdx + rsi + 0x5773057e], 0x20
jae 0x140212a76
and byte [rbp - 0x72], cl
sbb eax, 0x4566f9f6
invalid
push rdx
mov al, 0x35
push 0xffffffffffffff82
mov bh, 0xda
jmp 0x140212a6a
invalid
or eax, ebp
sub al, 0xc0
xor al, 0x7a
invalid
adc al, 0x96
invalid
Function at 0x140064c20
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 [0x140114028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140065260
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14012c370]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140064c7e
jnp 0x140064ce4
ucomisd xmm0, xmm6
jne 0x140064c86
jnp 0x140064ce0
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400fac10]
subpd xmm1, xmmword [0x1400fac20]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400fea08]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140081b60
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 0x140064cb8
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 [0x14012c380]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140064df9
mov eax, dword [0x14012c390]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140064e33
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 [0x14012c388]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400fea00]
ucomisd xmm2, xmm1
ja 0x140064c7e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14012c378]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1400fac10]
subpd xmm0, xmmword [0x1400fac20]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x14012c370], xmm0
jmp 0x140064c7e
lea rcx, [0x14012c380]
call fcn.140080824
cmp dword [0x14012c380], 0xffffffff
jne 0x140064d2d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14012c378], rdx
lea rcx, [0x14012c380]
call fcn.1400808bc
jmp 0x140064d2d
lea rcx, [0x14012c390]
call fcn.140080824
cmp dword [0x14012c390], 0xffffffff
jne 0x140064d52
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14012c388], rax
lea rcx, [0x14012c390]
call fcn.1400808bc
jmp 0x140064d52
Function at 0x14006afd0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x14006b0a6
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 0x14006b0aa
xor eax, eax
lea rcx, [0x140100570]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x14006b01e
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.14006a630
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14006b0c2
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x14006b06d
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.140081b60
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14006b090
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x14006b015
jmp 0x14006b0ac
bt eax, 9
jae 0x14006b0e2
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x14006b06d
lea rcx, [0x140004520]
jmp 0x14006b06a
call fcn.1400dd950
lea rax, [0x1400de150]
test rdi, rdi
je 0x14006b06d
lea rcx, [0x1400dd830]
jmp 0x14006b06a
Function at 0x14006b110
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14006b261
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1400f9e60]
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 [0x140138008]
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 [0x140138008]
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 [0x140138008]
test r14, r14
je 0x14006b1f3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x14006b1e3
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.14006a630
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14006b265
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x14006b232
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.140081b60
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14006b244
bt eax, 9
jae 0x14006b285
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x14006b232
lea rcx, [0x140004520]
jmp 0x14006b22f
call fcn.1400dd950
lea rax, [0x1400de150]
test r14, r14
je 0x14006b232
lea rcx, [0x1400dd830]
jmp 0x14006b22f
Function at 0x140074e80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400423a0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14012cb18]
lea rdx, [0x140042240]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140074f14
cmp dword [0x14012cb20], 0
jne 0x140074f10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14012cb24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140074f10
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140081b60
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140074ef8
call fcn.1400956bc
int3

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x1400763cb
xor ecx, ecx
lea r9, [0x140104250]
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 0x1400763b0
ret
Function at 0x140080e20
Capabilities:
Parse pe header

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

Function at 0x140081390
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 0x140081408
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140081408
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 0x140081408
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400813fc
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14008141a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400813ea
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 0x14008140a

Function at 0x14008ffb8
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 0x14008ffef
call fcn.140093264
mov dword [rax], 0x16
call fcn.14009438c
xor eax, eax
jmp 0x14009007d
mov rdx, r9
mov rcx, r8
call fcn.1400900a0
mov rbx, rax
test rax, rax
je 0x14009007a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140090104]
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 0x140090067
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400932a4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009004e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009005d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140052210
jmp 0x14009007a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140090077
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140090604
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400a4ed4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400a4ed4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140090754
cmp rax, 0xffffffffffffffff
je 0x140090754
xor edi, edi
test rbp, rbp
jle 0x1400906ff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400522b0
mov rbx, rax
test rax, rax
jne 0x14009068c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400906f5
mov edx, 0x8000
mov ecx, r14d
call fcn.140095794
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140098948
cmp eax, 0xffffffff
je 0x1400906d5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009069c
mov edx, r15d
mov ecx, r14d
call fcn.140095794
jmp 0x1400906f5
cmp byte [rsi + 0x38], dil
je 0x1400906ec
cmp dword [rsi + 0x34], 5
jne 0x1400906ec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400906f5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140052210
jmp 0x140090768
jns 0x140090768
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400a4ed4
cmp rax, 0xffffffffffffffff
jne 0x140090720
cmp byte [rsi + 0x30], dil
je 0x140090768
mov edi, dword [rsi + 0x2c]
jmp 0x140090768
mov ecx, r14d
call fcn.1400936ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140090768
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140090768
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140090761
mov eax, dword [rsi + 0x2c]
jmp 0x140090766
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400a4ed4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret