joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0
lea rdx, [0x140001a50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x140001a80]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140001079
mov eax, dword [rsp + 0x40]
jmp 0x1400010b3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400010a5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x40]
jmp 0x1400010b3
mov rax, qword [rsp + 0x48]
mov qword [0x140003080], rax
xor eax, eax
add rsp, 0x78
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c9730]
mov dword [rax], 1
mov rax, qword [0x1400c9740]
mov dword [rax], 1
mov rax, qword [0x1400c9750]
mov dword [rax], 1
mov rax, qword [0x1400c96e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001660
Capabilities:
Query or enumerate registry value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x140
mov r12, rcx
mov rbx, r8
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x38]
lea rsi, [rsp + 0x40]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
lea rbp, [r12 + 0x10]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea rax, [rsp + 0x34]
mov rdx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x34], 0x100
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r12], rbp
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rbx, rax
cmp rax, 0xf
ja 0x140001880
cmp rax, 1
je 0x140001870
test rax, rax
jne 0x140001895
mov rax, r12
mov qword [r12 + 8], rbx
mov byte [rbp + rbx], 0
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movzx eax, byte [rsp + 0x40]
mov byte [r12 + 0x10], al
jmp 0x140001850
lea rcx, [rax + 1]
call fcn.1400bbc20
mov qword [r12 + 0x10], rbx
mov qword [r12], rax
mov rbp, rax
cmp ebx, 8
jae 0x1400018c0
test bl, 4
jne 0x1400018f0
test ebx, ebx
je 0x1400018b0
movzx eax, byte [rsp + 0x40]
mov byte [rbp], al
test bl, 2
jne 0x140001903
mov rbp, qword [r12]
jmp 0x140001850
mov rax, qword [rsp + 0x40]
lea rdi, [rbp + 8]
and rdi, 0xfffffffffffffff8
mov qword [rbp], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [rbp + rax - 8], rdx
sub rbp, rdi
sub rsi, rbp
add ebp, ebx
shr ebp, 3
mov ecx, ebp
rep movsq qword [rdi], qword [rsi]
jmp 0x1400018b0
mov eax, dword [rsp + 0x40]
mov dword [rbp], eax
mov eax, ebx
mov edx, dword [rsi + rax - 4]
mov dword [rbp + rax - 4], edx
jmp 0x1400018b0
mov eax, ebx
movzx edx, word [rsi + rax - 2]
mov word [rbp + rax - 2], dx
jmp 0x1400018b0
Function at 0x140010610
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001c290
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001c290
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400112e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400f2d28]
test eax, eax
je 0x14001137a
lea rax, [0x1400f2d00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400f2d30]
mov qword [rbp - 8], rax
jmp 0x14001135e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140011352
cmp qword [rbp - 0x10], 0
je 0x140011352
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140011318
lea rax, [0x1400f2d00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001137b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140011480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400114a8
mov eax, 0
jmp 0x1400114f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400114d1
mov eax, 0
jmp 0x1400114f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400114f1
mov eax, 0
jmp 0x1400114f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400114fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001157a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140011571
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140011571
mov rax, qword [rbp - 8]
jmp 0x14001158f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140011544
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14001e940
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x7b], 0
mov qword [rsp + 0x83], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14001ea42
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001ea1a
add rax, 1
cmp rax, 0x6b
je 0x14001ea37
cmp byte [rcx + rax], 0
jne 0x14001ea10
lea edx, [rax + 1]
cmp eax, 0x6a
je 0x14001ea37
cdqe
mov byte [rsp + rax + 0x20], 0xa
movsxd rax, edx
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov edx, 0x28
mov eax, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14001ea28

Function at 0x14001ede0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400f3920], 1
je 0x14001ee58
lea rdi, [0x1400f3920]
mov rcx, rdi
call fcn.14001e6d0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001e000
mov esi, dword [0x1400f3920]
test esi, esi
jne 0x14001ee68
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400c01f8], eax
cmp eax, 0xffffffff
je 0x1400bf456
mov dword [0x1400f3920], 1
mov rcx, rbp
call fcn.14001e2d0
test rbx, rbx
je 0x14001ee58
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001ea60
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001ee38
mov ecx, 2
call qword [fcn.14001c290]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001ee38
call sub.msvcrt.dll_abort
nop
Function at 0x14001ee90
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001eb70
cmp qword [0x1400f6048], 0
mov rbx, rax
je 0x14001efa8
test rax, rax
je 0x14001efa8
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.14001e5d0
cmp eax, 1
je 0x14001efb6
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 fcn.1400bf45c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400c01f8]
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 0x14001efbc
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001e940
nop
jmp fcn.1400bf45c

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

Disassembly:
sub rsp, 0x28
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001eff0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001ee90
Function at 0x14001f760
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001f888
cmp eax, 1
je 0x14001f7bb
call fcn.14001e6d0
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.14001e000
mov r12d, dword [rbx]
test r12d, r12d
je 0x14001f7d0
cmp r12d, 1
jne 0x14001f860
mov rcx, rbp
call fcn.14001e2d0
test rdi, rdi
je 0x14001f7bb
mov rcx, rdi
call fcn.14001ea60
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x14001eb40]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x14001f8c8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call r12
test rax, rax
je 0x14001f8b0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call r12
test rax, rax
je 0x14001f8a0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001f7a6
mov ecx, 2
call qword [fcn.14001c290]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001f7a6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001ee90
test rax, rax
jne 0x14001f849
jmp 0x1400bf475
call fcn.14001ee90
test rax, rax
jne 0x14001f825
jmp 0x1400bf48e
call fcn.14001ee90
test rax, rax
jne 0x14001f7ff
jmp 0x1400bf484
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x14001fb50
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.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001fbc8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001e5e0
cmp esi, dword [rbx + 0x48]
jae 0x14001fba3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001fba3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001e620
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.14001ee90
mov rbx, rax
jmp 0x14001fb7d
Function at 0x14001fbe0
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.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001fce0
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001e5e0
cmp esi, dword [rbx + 0x48]
jae 0x14001fc60
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001e620
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
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001fced
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001fced
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
jmp 0x14001fc2f
call fcn.14001ee90
mov rbx, rax
jmp 0x14001fc1a
mov rcx, r13
call fcn.14001e620
mov eax, 0xc
jmp 0x14001fc4d

Function at 0x14001fd70
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001fd98
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001ee90
test rax, rax
jne 0x14001fd8a
add rsp, 0x28
ret

Function at 0x14001fe00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001fe28
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001ee90
test rax, rax
jne 0x14001fe1a
jmp 0x14001fe1e

Function at 0x14001ff40
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400f3928]
test eax, eax
jne 0x14001ff58
xor eax, eax
add rsp, 0x28
ret
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001ff88
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001ff4e
test byte [rax + 0x40], 3
je 0x14001ff4e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001ff50
call fcn.14001ee90
test rax, rax
jne 0x14001ff6e
jmp 0x14001ff4e

Function at 0x14001ffa0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001ffe0
test ebx, ebx
jle 0x14001ffd0
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.14001ee90
test rax, rax
jne 0x14001ffbd
add rsp, 0x20
pop rbx
ret
Function at 0x1400200d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140020148
test byte [rbx + 0x40], 0xc
jne 0x1400200ff
mov eax, dword [0x1400f3928]
test eax, eax
jne 0x140020110
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001e000
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140020133
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140020133
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14002015c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001e2d0
call fcn.14001ee90
mov rbx, rax
test rax, rax
jne 0x1400200ef
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 0x14002017a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001e2d0
call fcn.14001fff0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140020200
call fcn.14001ddb0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140020238
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140020290
test esi, esi
je 0x140020216
call fcn.1400200d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140020270
mov edx, edi
call fcn.14001de60
call fcn.1400200d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140020280
call fcn.1400200d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400200d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400201d5
call fcn.14001ee90
mov rbx, rax
jmp 0x1400201d5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400201ee
call fcn.14001ee90
jmp 0x140020216
call fcn.14001ee90
mov rbx, rax
jmp 0x1400201d1
Function at 0x140020190
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140020148
test byte [rbx + 0x40], 0xc
jne 0x1400200ff
mov eax, dword [0x1400f3928]
test eax, eax
jne 0x140020110
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001e000
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140020133
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140020133
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14002015c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001e2d0
call fcn.14001ee90
mov rbx, rax
test rax, rax
jne 0x1400200ef
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 0x14002017a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001e2d0
call fcn.14001fff0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140020200
call fcn.14001ddb0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140020238
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140020290
test esi, esi
je 0x140020216
call fcn.1400200d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140020270
mov edx, edi
call fcn.14001de60
call fcn.1400200d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140020280
call fcn.1400200d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400200d0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400201d5
call fcn.14001ee90
mov rbx, rax
jmp 0x1400201d5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400201ee
call fcn.14001ee90
jmp 0x140020216
call fcn.14001ee90
mov rbx, rax
jmp 0x1400201d1

Function at 0x1400202a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001ede0
mov ecx, dword [0x1400c01f8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140020310
test esi, esi
je 0x1400202f0
call fcn.1400200d0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140020320
mov edx, esi
call fcn.14001de60
call fcn.1400200d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400200d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400200d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001ee90
mov rbx, rax
jmp 0x1400202c1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400202da