joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b400
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400400c0]
test rcx, rcx
je 0x14000b439
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000b458
mov rcx, qword [0x1400400c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400430e0], 0
jne 0x14000b470
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [0x1400400c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000b42c
mov edx, 0x414
lea rbp, [rsp + 0x20]
lea rbx, [0x14001e412]
mov qword [rsp + 0x20], 0
lea rsi, [0x140043100]
movq xmm0, rbx
mov rcx, rbp
mov dword [rsp + 0x28], 3
movq xmm6, rsi
mov word [rsp + 0x40], dx
mov rdi, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov r13d, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x30], xmm6
call rdi
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, rsi
call r12
cmp eax, 0xffffffff
je 0x14000b442
test al, 0x10
je 0x14000b442
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
mov qword [rsp + 0x50], rbx
mov rcx, rbp
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rdi
sub r13d, 1
jne 0x14000b4e0
jmp 0x14000b442

Function at 0x14000f7d0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140016330
sub rsp, rax
mov eax, dword [0x140047100]
mov rsi, rcx
test eax, eax
je 0x14000f890
xor ebx, ebx
lea rdi, [0x140045100]
test eax, eax
jg 0x14000f80c
jmp 0x14000f830
add rbx, 1
cmp dword [0x140047100], ebx
jle 0x14000f830
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000f800
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000f845
cmp word [rsi + 2], 0x3a
je 0x14000f81c
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f8e0
movsxd rbx, dword [0x140047100]
cmp ebx, 0x3ff
jg 0x14000f81c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140047100], 1
mov rdx, rax
lea rax, [0x140045100]
mov qword [rax + rbx*8], rdx
jmp 0x14000f81c
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.14000aca0
test al, al
je 0x14000f8f8
movsxd rbx, dword [0x140047100]
mov rcx, rdi
lea rdi, [0x140045100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140047100]
add eax, 1
mov dword [0x140047100], eax
jmp 0x14000f7f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f858
xor eax, eax
jmp 0x14000f821
mov rcx, rbx
call fcn.14000b340
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140015010
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.14001bf50
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.14001bf50
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 0x140015ce2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140047228]
test eax, eax
je 0x140015d7a
lea rax, [0x140047200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140047230]
mov qword [rbp - 8], rax
jmp 0x140015d5e
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 0x140015d52
cmp qword [rbp - 0x10], 0
je 0x140015d52
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 0x140015d18
lea rax, [0x140047200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140015d7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140015e80
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 0x140015ea8
mov eax, 0
jmp 0x140015ef6
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 0x140015ed1
mov eax, 0
jmp 0x140015ef6
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 0x140015ef1
mov eax, 0
jmp 0x140015ef6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140015efc
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 0x140015f7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015f71
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 0x140015f71
mov rax, qword [rbp - 8]
jmp 0x140015f8f
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 0x140015f44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140782058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407821df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140782089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078206f
add dl, dl
jne 0x140782096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407820f6
xor eax, eax
add dl, dl
jne 0x1407820a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407821ad
add dl, dl
jne 0x1407820b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407820c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407820d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407820dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407820ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14078207e
mov eax, 1
add dl, dl
jne 0x140782106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140782113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407820fb
sub eax, ebx
mov ebx, 1
jne 0x14078214c
mov ecx, 1
add dl, dl
jne 0x14078212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140782123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140782168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140782175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078215d
cmp eax, 0x7d00
jae 0x14078219b
cmp eax, 0x500
jb 0x140782196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078207e
cmp eax, 0x7f
ja 0x14078219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407821d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14078207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000ba60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000ba99
mov rdx, qword [rax + 8]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000e3c0
xor edx, edx
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000e3c0

Function at 0x14000bab0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r8d, r8d
test rax, rax
je 0x14000bae0
mov r9, qword [rax + 8]
jmp 0x14000bae3
mov r9, r8
cmp rdi, 0x3fc
ja 0x14000bb07
test r9, r9
je 0x14000bb07
mov rax, r8
cmp qword [r9 + rax*8], 0
je 0x14000bb15
inc r8d
inc rax
cmp rax, 2
jl 0x14000baf4
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.140031bf4
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, r8d
mov qword [r9 + rax*8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x14000bbe0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov rax, qword [rcx]
xor r14d, r14d
mov rbx, rcx
mov qword [rdx], r14
mov rsi, rdx
mov qword [rdx + 8], r14
mov rbp, r8
mov edx, r14d
mov rcx, qword [rax]
mov r9d, r14d
test rcx, rcx
je 0x14000bc38
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9, qword [rax]
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
mov qword [rsi], r9
mov qword [rsi + 8], rdx
mov qword [rax], r14
cmp rbp, rdx
jbe 0x14000bd54
mov ebx, 6
test r9, r9
je 0x14000bc99
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000bc62
mov rdx, qword [rax + 8]
jmp 0x14000bc65
mov rdx, r14
mov r9, qword [rsi + 8]
mov r8, qword [rsi]
cmp r9, 0x3fc
ja 0x14000bc91
test rdx, rdx
je 0x14000bc91
mov ecx, ebx
mov rax, rbx
nop
cmp qword [rdx + rax*8], r14
je 0x14000bcfa
inc ecx
inc rax
cmp rax, 8
jl 0x14000bc80
mov rcx, r8
call fcn.140031bf4
mov ecx, dword [0x140088f24]
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdi, [rbp + 3]
shr rdi, 2
test rax, rax
je 0x14000bd26
mov r9, qword [rax + 8]
test r9, r9
je 0x14000bd26
mov ecx, ebx
lea r8, [r9 + 0x30]
mov rdx, qword [r8]
test rdx, rdx
je 0x14000bcd6
movzx eax, byte [rdx]
cmp rax, rdi
jae 0x14000bd0b
inc ecx
add r8, 8
cmp ecx, 8
jl 0x14000bcc6
mov rax, rbx
mov rcx, qword [r9 + rax*8]
test rcx, rcx
jne 0x14000bd1a
inc ebx
inc rax
cmp rax, 8
jl 0x14000bce4
jmp 0x14000bd26
movzx eax, byte [r8 + r9]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
jmp 0x14000bc99
movsxd rax, ecx
mov qword [r9 + rax*8], r14
movzx eax, byte [rdx]
mov byte [rdx + rbp], al
jmp 0x14000bd48
movsxd rax, ebx
mov qword [r9 + rax*8], r14
call fcn.140031bf4
lea rcx, [rdi*4 + 1]
call fcn.140031968
cmp rdi, 0xff
movzx ecx, dil
mov rdx, rax
cmova ecx, r14d
mov byte [rax + rbp], cl
mov rdi, qword [rsp + 0x40]
mov qword [rsi], rdx
mov qword [rsi + 8], rbp
mov rbx, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x14000beb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x40
xor r9d, r9d
mov rsi, rdx
mov rbp, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov rdi, rax
test rax, rax
jne 0x14000bf17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x30], ebx
call fcn.14000b820
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14000c01a
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x14000bf64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x30], ebx
call fcn.14000b820
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14000c02c
xor ecx, ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, [0x14000c040]
mov r9, rsi
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x60], ecx
call fcn.1400381e4
mov qword [rbp + 8], rax
test rax, rax
jne 0x14000bfd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x14000bfb6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14000bfc5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x30], ebx
call fcn.14000b820
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x14000c008
test rdi, rdi
je 0x14000bff3
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.14000b7f0
int3
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.14000b7f0
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.14000b7f0
int3
Function at 0x14000c150
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx]
mov rdi, rcx
test rbx, rbx
je 0x14000c214
nop dword [rax]
mov rax, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x140088ed0], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x14000c1c0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14000c1e2
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.14000bd70]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rdi]
mov rax, qword [rbx + 0x18]
mov qword [rdi], rax
test rbx, rbx
je 0x14000c208
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x20
mov rcx, rbx
call fcn.1400316f8
mov rbx, qword [rdi]
test rbx, rbx
jne 0x14000c170
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c4a0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
lea rax, vtable.asio::detail::win_iocp_io_context.0
mov qword [rcx], rax
xor esi, esi
cmp qword [rcx + 0xa8], rsi
je 0x14000c5b7
mov ecx, 1
mov eax, ecx
xchg dword [rbx + 0x34], eax
test eax, eax
jne 0x14000c514
xchg dword [rbx + 0x38], ecx
test ecx, ecx
jne 0x14000c514
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x14000c514
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14000b820
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rax
test edi, edi
jne 0x14000c678
mov rdi, qword [rbx + 0xa8]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x38], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lock xadd dword [0x140088ed0], eax
mov rcx, qword [rdi + 8]
test eax, eax
je 0x14000c56b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14000c58d
xor r8d, r8d
mov rdx, rcx
lea rcx, [fcn.14000bd70]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov edx, 0xffffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0xa8]
test rdi, rdi
je 0x14000c5b0
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, rdi
call fcn.1400316f8
mov qword [rbx + 0xa8], rsi
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x14000c616
mov rdx, rcx
lea rdi, [0x140085e60]
nop dword [rax]
mov rax, qword [rdx + 0x20]
mov qword [rbx + 0x90], rax
test rax, rax
jne 0x14000c5e7
mov qword [rbx + 0x98], rsi
mov qword [rdx + 0x20], rsi
mov rax, qword [rcx + 0x28]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rdi
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rdx, rcx
xor ecx, ecx
call rax
mov rcx, qword [rbx + 0x90]
mov rdx, rcx
test rcx, rcx
jne 0x14000c5d0
lea rcx, [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14000c62f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x14000c64f
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, rdi
call fcn.1400316f8
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14000c65e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, vtable.asio::execution_context::service.0
mov qword [rbx], rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
lea rdx, str.pqcs
lea rcx, [rsp + 0x20]
call fcn.14000b7f0
int3
Function at 0x14000ca20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov eax, edi
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x14000caad
mov ecx, 1
mov eax, ecx
xchg dword [rbx + 0x34], eax
test eax, eax
jne 0x14000ca8e
xchg dword [rbx + 0x38], ecx
test ecx, ecx
jne 0x14000ca8e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x14000ca8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x20], eax
call fcn.14000b820
mov qword [rsp + 0x28], rax
test ebx, ebx
jne 0x14000cbbc
mov dword [rsp + 0x20], edi
lea rax, [0x140085e60]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x14000cba7
mov dword [rsp + 0xa0], edi
lea rcx, [rsp + 0xa8]
call fcn.14002d9b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.14000cde0
test rax, rax
je 0x14000cb64
nop word [rax + rax]
lea rax, [rdi + 1]
cmp rdi, 0xffffffffffffffff
cmove rax, rdi
mov rdi, rax
mov r9, rsi
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.14000cde0
test rax, rax
jne 0x14000cb40
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rsp + 0x50]
mov esi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000cb8d
call fcn.140031bf4
add rbx, 8
sub rsi, 1
jne 0x14000cb80
lea rcx, [rsp + 0xa8]
call fcn.14002da3c
mov rax, rdi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rdx, str.pqcs
lea rcx, [rsp + 0x20]
call fcn.14000b7f0
int3

Function at 0x14000d830
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000d857
mov r8, qword [rax + 8]
jmp 0x14000d85a
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x14000d882
test r8, r8
je 0x14000d882
mov ecx, 2
mov eax, ecx
nop
cmp qword [r8 + rax*8], 0
je 0x14000d894
inc ecx
inc rax
cmp rax, 4
jl 0x14000d870
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140031bf4
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, ecx
mov qword [r8 + rax*8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d8b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x140088f24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rbx, [rdi + 3]
xor esi, esi
shr rbx, 2
test rax, rax
je 0x14000d954
mov r10, qword [rax + 8]
test r10, r10
je 0x14000d954
mov r9d, 2
lea r8, [r10 + 0x10]
mov ecx, r9d
mov rdx, qword [r8]
test rdx, rdx
je 0x14000d903
movzx eax, byte [rdx]
cmp rax, rbx
jae 0x14000d928
inc ecx
add r8, 8
cmp ecx, 4
jl 0x14000d8f3
mov rax, r9
mov rcx, qword [r10 + rax*8]
test rcx, rcx
jne 0x14000d948
inc r9d
inc rax
cmp rax, 4
jl 0x14000d911
jmp 0x14000d954
movsxd rcx, ecx
mov rax, rdx
mov qword [r10 + rcx*8], rsi
movzx ecx, byte [rdx]
mov byte [rdx + rdi], cl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, r9d
mov qword [r10 + rax*8], rsi
call fcn.140031bf4
lea rcx, [rbx*4 + 1]
call fcn.140031968
cmp rbx, 0xff
movzx ecx, bl
mov rbx, qword [rsp + 0x30]
cmova ecx, esi
mov rsi, qword [rsp + 0x38]
mov byte [rax + rdi], cl
add rsp, 0x20
pop rdi
ret