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

Disassembly:
sub rsp, 0x58
mov byte [0x0002d420], 0
mov byte [0x0002d3c0], 0
mov qword [rsp + 0x30], 0
lea rax, [0x00023180]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x23224
mov eax, dword [rsp + 0x40]
jmp 0x2325e
mov qword [rsp + 0x28], 0
lea rax, [0x0002d3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x23270
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0xac], 0
mov rcx, qword [rsp + 0xf8]
call fcn.000161d0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x9c], 0
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov dword [rsp + 0x98], eax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0x22e054
je 0x23389
cmp dword [rsp + 0xd4], 0x22e058
je 0x233bc
cmp dword [rsp + 0xd4], 0x22e05c
je 0x233d1
cmp dword [rsp + 0xd4], 0x22e064
je 0x233fe
cmp dword [rsp + 0xd4], 0x22e080
je 0x23371
jmp 0x23424
mov ecx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x38], rcx
jmp 0x2343f
mov ecx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x90], 0
je 0x233b7
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [0x0002d450], eax
jmp 0x2343f
mov ecx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x38], rcx
jmp 0x2343f
mov ecx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x38], rcx
cmp qword [rsp + 0x90], 0
je 0x233fc
mov rcx, qword [rsp + 0x90]
call fcn.00013250
jmp 0x2343f
mov ecx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0xb8], eax
jmp 0x2343f
mov dword [rsp + 0xac], 0xc000000d
mov rax, qword [rsp + 0xf8]
mov qword [rax + 0x38], 0
mov rcx, qword [rsp + 0xf8]
mov eax, dword [rsp + 0xac]
mov dword [rcx + 0x30], eax
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [rsp + 0xac]
add rsp, 0xe8
ret
Function at 0x23480
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [0x0002d3e8], 1
mov byte [0x0002d3c0], 1
mov ecx, 0x3e8
call fcn.00013450
call fcn.00012050
mov r11, qword [rsp + 0x48]
mov dword [r11 + 0x30], 0
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x38], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
add rsp, 0x38
ret
Function at 0x24420
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov byte [0x0002d430], 0
mov byte [0x0002d399], 0
mov qword [rsp + 0x30], 0
lea rax, [0x00024280]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x24474
mov eax, dword [rsp + 0x40]
jmp 0x244ae
mov qword [rsp + 0x28], 0
lea rax, [0x0002d418]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x244c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov byte [0x0002d3b0], 0
mov qword [rsp + 0x30], 0
lea rax, [0x00023780]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x2450d
mov eax, dword [rsp + 0x40]
jmp 0x24547
mov qword [rsp + 0x28], 0
lea rax, [0x0002d438]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14001acd0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14010ec40], 1
je 0x14001ad70
lea rdi, [0x14010ec40]
mov rcx, rdi
call fcn.14001a670
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.140019f80
mov esi, dword [0x14010ec40]
test esi, esi
jne 0x14001ad48
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400d0308], eax
cmp eax, 0xffffffff
je 0x1400cf486
mov dword [0x14010ec40], 1
mov rcx, rbp
call fcn.14001a250
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001a950
cmp esi, 1
je 0x14001ad2c
mov ecx, 2
call qword [fcn.140018140]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001ad2c
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2

Function at 0x14001ad80
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001aa60
mov rbx, rax
test rax, rax
je 0x14001ae7c
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14001a560
cmp eax, 1
je 0x14001ae88
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400cf48c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400d0308]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400cf48c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001a8c0
nop
nop

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

Disassembly:
sub rsp, 0x28
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001aeb0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001ad80
Function at 0x14001b670
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, qword [0x1400daf70]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001b7d0
cmp eax, 1
je 0x14001b6d5
call fcn.14001a670
lea r13, [rax + 8]
mov rdi, rax
mov rcx, r13
call fcn.140019f80
mov ebp, dword [rbx]
test ebp, ebp
je 0x14001b6f8
cmp ebp, 1
jne 0x14001b798
mov rcx, r13
call fcn.14001a250
mov rcx, rdi
call fcn.14001a950
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x14001b81b
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x14001aa30]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
test rax, rax
je 0x14001b808
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call rbp
test rax, rax
je 0x14001b7f0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call rbp
test rax, rax
je 0x14001b7e0
mov rdx, qword [rsp + 0x30]
mov rcx, r13
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
call fcn.14001a250
mov rcx, rdi
call fcn.14001a950
jmp 0x14001b6d5
mov ecx, 2
call qword [fcn.140018140]
mov r9d, ebp
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov rcx, r13
call fcn.14001a250
mov rcx, rdi
call fcn.14001a950
jmp 0x14001b6d5
mov eax, 0x16
jmp 0x14001b6d7
call fcn.14001ad80
test rax, rax
jne 0x14001b76e
jmp 0x1400cf4be
call fcn.14001ad80
test rax, rax
jne 0x14001b74b
jmp 0x1400cf4af
call fcn.14001ad80
test rax, rax
jne 0x14001b726
jmp 0x1400cf4a5
call fcn.14000eea0
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x14001baa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bb18
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001a570
cmp esi, dword [rbx + 0x48]
jae 0x14001baf3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001baf3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001a5c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001ad80
mov rbx, rax
jmp 0x14001bacd
Function at 0x14001bb30
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bc28
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001a570
mov rdi, qword [rbx + 0x50]
cmp esi, dword [rbx + 0x48]
jb 0x14001bbf3
lea r15d, [rsi + 1]
mov rcx, rdi
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001bc35
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001bc35
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001a5c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001ad80
mov rbx, rax
jmp 0x14001bb6a
mov rcx, r13
call fcn.14001a5c0
mov eax, 0xc
jmp 0x14001bc11

Function at 0x14001bcd0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bcf8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001ad80
test rax, rax
jne 0x14001bcea
add rsp, 0x28
ret

Function at 0x14001bd60
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bd88
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001ad80
test rax, rax
jne 0x14001bd7a
jmp 0x14001bd7e

Function at 0x14001bea0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14010ec48]
test eax, eax
jne 0x14001beb8
xor eax, eax
add rsp, 0x28
ret
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bee8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001beae
test byte [rax + 0x40], 3
je 0x14001beae
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001beb0
call fcn.14001ad80
test rax, rax
je 0x14001beae
jmp 0x14001bece

Function at 0x14001bf00
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bf40
test ebx, ebx
jle 0x14001bf30
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001ad80
test rax, rax
jne 0x14001bf1d
add rsp, 0x20
pop rbx
ret
Function at 0x14001c030
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c0a8
test byte [rbx + 0x40], 0xc
jne 0x14001c05f
mov eax, dword [0x14010ec48]
test eax, eax
jne 0x14001c070
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140019f80
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c093
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c093
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c0bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a250
call fcn.14001ad80
mov rbx, rax
test rax, rax
jne 0x14001c04f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c0da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001a250
call fcn.14001bf50
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c158
call fcn.140019c40
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c1a0
test rsi, rsi
je 0x14001c16e
call fcn.14001c030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c190
mov edx, edi
call fcn.140019d10
call fcn.14001c030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c1b0
call fcn.14001c030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c146
call fcn.14001ad80
mov rbx, rax
jmp 0x14001c12c
call fcn.14001ad80
jmp 0x14001c16e
Function at 0x14001c0f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c0a8
test byte [rbx + 0x40], 0xc
jne 0x14001c05f
mov eax, dword [0x14010ec48]
test eax, eax
jne 0x14001c070
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140019f80
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c093
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c093
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c0bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a250
call fcn.14001ad80
mov rbx, rax
test rax, rax
jne 0x14001c04f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c0da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001a250
call fcn.14001bf50
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c158
call fcn.140019c40
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c1a0
test rsi, rsi
je 0x14001c16e
call fcn.14001c030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c190
mov edx, edi
call fcn.140019d10
call fcn.14001c030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c1b0
call fcn.14001c030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c146
call fcn.14001ad80
mov rbx, rax
jmp 0x14001c12c
call fcn.14001ad80
jmp 0x14001c16e

Function at 0x14001c1c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001acd0
mov ecx, dword [0x1400d0308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001c230
test esi, esi
je 0x14001c210
call fcn.14001c030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c240
mov edx, esi
call fcn.140019d10
call fcn.14001c030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001ad80
mov rbx, rax
jmp 0x14001c1e1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c1fa
Function at 0x140091480
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, qword [sym.imp.msvcrt.dll__read]
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, rdi
call fcn.140091290
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call rbp
movsxd r13, eax
cmp eax, 0xffffffff
je 0x1400914d0
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call r12
cmp dword [rax], 4
je 0x1400914a3
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140001073
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400041b8
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
lea rcx, [0x140015125]
call fcn.14000158c
nop
xor eax, eax
test eax, eax
je 0x1400041e9
movsx eax, byte [rbp + 0x68]
or eax, 0x20
mov dword [rbp + 0x40], eax
jmp 0x1400041f0
movsx eax, byte [rbp + 0x68]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x60]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x1400011ea
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x1400065c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea rcx, [0x140015126]
call fcn.14000158c
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 8], eax
cmp dword [rbp + 8], 0
je 0x140006625
mov edx, dword [rbp + 8]
lea rcx, str.Failed_to_open_the_registry_key._Error:__ld_n
call fcn.1400012c6
nop
jmp 0x140006679
mov rcx, qword [rbp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 8], eax
cmp dword [rbp + 8], 0
je 0x14000666e
mov edx, dword [rbp + 8]
lea rcx, str.Failed_to_set_the_registry_value._Error:__ld_n
call fcn.1400012c6
nop
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x14000122b
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140008150
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400081dd
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400081dd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400081dd
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400081c4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400081be
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400081c6
add rdx, 0x28
jmp 0x1400081a3
xor edx, edx
test rdx, rdx
jne 0x1400081cf
xor al, al
jmp 0x1400081e3
cmp dword [rdx + 0x24], 0
jge 0x1400081d9
xor al, al
jmp 0x1400081e3
mov al, 1
jmp 0x1400081e3
xor al, al
jmp 0x1400081e3
add rsp, 0x18
ret