joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091500
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14009173b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x14009159a
mov qword [rsp + 0x88], rax
lea rbx, [0x14013bf20]
mov rcx, rax
lea rax, [0x140249760]
call fcn.14006a9a0
test cl, cl
jne 0x140091583
mov rax, qword [rsp + 0x88]
call fcn.140090c40
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x1401b2938]
call fcn.140046a20
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
call fcn.140091900
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x1400915c0
lea rdx, [0x1401397a0]
cmp rax, rdx
jne 0x1400915ab
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
nop
nop dword [rax + rax]
call fcn.14005d200
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x140126200]
call fcn.14000a520
inc rdx
nop dword [rax]
cmp rbx, rdx
jle 0x140091604
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x1400915ba
lea rax, [0x140249760]
lea rbx, [0x14013bf20]
lea rdi, [0x1401397a0]
call fcn.14006ab60
lea rdx, [0x1401397a0]
cmp rax, rdx
jne 0x14009172b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
lea rcx, [0x14011f040]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rcx
lea rax, [0x14012b280]
call fcn.14000c9a0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x60]
test byte [rcx], al
cmp dword [0x14028e6f0], 0
je 0x14009165d
mov rbx, rax
lea rax, [0x14012b280]
call fcn.14000fe60
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
nop
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x68]
call fcn.140003320
nop
call fcn.14005d2c0
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x1400916c6
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x1400916b8
mov dword [rsi + 0x10], edx
cmp dword [0x14028e6f0], 0
je 0x1400916e7
call fcn.140063400
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x140249760]
lea rbx, [0x14013bf20]
lea rdi, [0x1401397a0]
call fcn.14006ab60
lea rdx, [0x1401397a0]
cmp rax, rdx
jne 0x14009171c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x140126200]
call fcn.14000a520
mov rbx, rdx
lea rcx, [0x140126200]
call fcn.14000a520
nop
mov qword [rsp + 8], rax
call fcn.1400614a0
mov rax, qword [rsp + 8]
jmp fcn.140091500
Function at 0x1400c1f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400c204d
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
nop dword [rax + rax]
test rcx, rcx
jle 0x1400c2039
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call fcn.1400c28e0
xorps xmm15, xmm15
mov r14, qword [0x14028e6a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x60]
cmp rbx, rcx
mov rsi, rcx
cmovl rsi, rbx
mov rdi, qword [rsp + 0x58]
cmp rdi, rdx
jne 0x1400c1ff3
cmp rbx, rcx
jmp 0x1400c2025
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rax
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call fcn.140064120
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rdx, qword [rsp + 0x38]
mov rbx, rax
mov rax, qword [rsp + 0x40]
jae 0x1400c2031
mov byte [rdx + rbx], 0
add rsp, 0x48
pop rbp
ret
mov rax, rbx
call fcn.1400637a0
lea rax, [0x140122400]
lea rbx, [0x1401b3a68]
call fcn.14005c1a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400614a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400c1f60
Function at 0x1400c6460
Capabilities:
Get file version info

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
jne 0x1400c64b0
lea rax, [rbx + 0x10]
xor edx, edx
mov qword [rbx + 8], 0
mov qword [rbx], rax
mov rax, rbx
mov word [rbx + 0x10], dx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r12d, eax
mov rcx, r12
call fcn.1400fd3c0
mov rcx, qword [rdi]
xor edx, edx
mov r8d, esi
mov r9, rax
mov rbp, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400c6500
lea rax, [rbx + 0x10]
mov qword [rbx + 8], 0
mov qword [rbx], rax
xor eax, eax
mov word [rbx + 0x10], ax
mov rdx, r12
mov rcx, rbp
call fcn.1400fd3a0
mov rax, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
mov rcx, rbp
mov qword [rsp + 0x28], 0
lea rdx, str.StringFileInfo040904B0ProductVersion
mov dword [rsp + 0x24], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400c64d2
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1400c64d2
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x1400c64d2
lea rcx, [rbx + 0x10]
lea r8, [rdx + rax*2]
mov qword [rbx], rcx
mov rcx, rbx
call fcn.1400c5450
jmp 0x1400c64e7

Function at 0x1400cee00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400dc620
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400dc620
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400cee70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1402929a4]
mov rbx, rcx
test esi, esi
jle 0x1400cefa0
mov rax, qword [0x1402929a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400ceebb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400cef45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400ceea0
mov rcx, rbx
call fcn.1400cf8f0
mov rdi, rax
test rax, rax
je 0x1400cefc2
mov rax, qword [0x1402929a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400cfa30
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1402929a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400cefa7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400cef3e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400cef50
add dword [0x1402929a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1402929a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400cef3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400cee00
nop dword [rax]
xor esi, esi
jmp 0x1400ceec8
mov rax, qword [0x1402929a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400cee00
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400cee00
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400cf560
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140292a00]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402929e0]
test rbx, rbx
je 0x1400cf5bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400cf5b3
test eax, eax
jne 0x1400cf5b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400cf598
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400cf8f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140235570]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400cf910
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400cf918
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400cf910
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400cf96d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400cf964
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400cf910
add rax, 0x28
cmp rax, r9
jne 0x1400cf950
xor eax, eax
ret

Function at 0x1400cf970
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140235570]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400cf98f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400cf998
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400cf98f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400cfa30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140235570]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400cfa4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400cfa58
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400d2730
Capabilities:
Parse pe header

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [rcx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x4c
je 0x1400d27a0
jg 0x1400d2760
sub edx, 0x49
cmp dl, 1
ja 0x1400d27b0
add rax, 1
mov qword [rcx + 0x18], rax
add rsp, 0x30
pop rsi
jmp fcn.1400d27d0
cmp dl, 0x58
jne 0x1400d27b0
add rax, 1
mov esi, dword [rcx + 0x4c]
mov dword [rcx + 0x4c], 1
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x28], rcx
call fcn.1400d2aa0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x18]
mov dword [rcx + 0x4c], esi
cmp byte [rdx], 0x45
jne 0x1400d27c0
add rdx, 1
mov qword [rcx + 0x18], rdx
add rsp, 0x30
pop rsi
ret
add rsp, 0x30
pop rsi
jmp fcn.1400d2550
add rsp, 0x30
pop rsi
jmp fcn.1400d0ea0
xor eax, eax
jmp 0x1400d279a
Function at 0x1400dc320
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400dc350
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400dc370
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400dc3a0
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400df060
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140292b60], 1
je 0x1400df100
lea rdi, [0x140292b60]
mov rcx, rdi
call fcn.1400dea00
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.1400de310
mov esi, dword [0x140292b60]
test esi, esi
jne 0x1400df0d8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140116ad8], eax
cmp eax, 0xffffffff
je 0x1400fe696
mov dword [0x140292b60], 1
mov rcx, rbp
call fcn.1400de5e0
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400dece0
cmp esi, 1
je 0x1400df0bc
mov ecx, 2
call qword [fcn.1400dc620]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x1400df0bc
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 0x1400df110
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.1400dedf0
mov rbx, rax
test rax, rax
je 0x1400df20c
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.1400de8f0
cmp eax, 1
je 0x1400df218
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 0x1400fe69c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x140116ad8]
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 0x1400fe69c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.1400dec50
nop
nop

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

Disassembly:
sub rsp, 0x28
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400df240
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.1400df110
Function at 0x1400dfa00
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 [0x140235650]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x1400dfb60
cmp eax, 1
je 0x1400dfa65
call fcn.1400dea00
lea r13, [rax + 8]
mov rdi, rax
mov rcx, r13
call fcn.1400de310
mov ebp, dword [rbx]
test ebp, ebp
je 0x1400dfa88
cmp ebp, 1
jne 0x1400dfb28
mov rcx, r13
call fcn.1400de5e0
mov rcx, rdi
call fcn.1400dece0
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x1400dfbab
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x1400dedc0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400df060
mov ecx, dword [0x140116ad8]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
test rax, rax
je 0x1400dfb98
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call rbp
test rax, rax
je 0x1400dfb80
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call rbp
test rax, rax
je 0x1400dfb70
mov rdx, qword [rsp + 0x30]
mov rcx, r13
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
call fcn.1400de5e0
mov rcx, rdi
call fcn.1400dece0
jmp 0x1400dfa65
mov ecx, 2
call qword [fcn.1400dc620]
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.1400de5e0
mov rcx, rdi
call fcn.1400dece0
jmp 0x1400dfa65
mov eax, 0x16
jmp 0x1400dfa67
call fcn.1400df110
test rax, rax
jne 0x1400dfafe
jmp 0x1400fe6ce
call fcn.1400df110
test rax, rax
jne 0x1400dfadb
jmp 0x1400fe6bf
call fcn.1400df110
test rax, rax
jne 0x1400dfab6
jmp 0x1400fe6b5
call fcn.1400dc370
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 0x1400dfe30
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.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400dfea8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.1400de900
cmp esi, dword [rbx + 0x48]
jae 0x1400dfe83
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x1400dfe83
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.1400de950
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.1400df110
mov rbx, rax
jmp 0x1400dfe5d
Function at 0x1400dfec0
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.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400dffb8
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.1400de900
mov rdi, qword [rbx + 0x50]
cmp esi, dword [rbx + 0x48]
jb 0x1400dff83
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 0x1400dffc5
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x1400dffc5
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.1400de950
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.1400df110
mov rbx, rax
jmp 0x1400dfefa
mov rcx, r13
call fcn.1400de950
mov eax, 0xc
jmp 0x1400dffa1

Function at 0x1400e0060
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e0088
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.1400df110
test rax, rax
jne 0x1400e007a
add rsp, 0x28
ret

Function at 0x1400e00f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e0118
add rax, 0x18
add rsp, 0x28
ret
call fcn.1400df110
test rax, rax
jne 0x1400e010a
jmp 0x1400e010e

Function at 0x1400e0230
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140292b68]
test eax, eax
jne 0x1400e0248
xor eax, eax
add rsp, 0x28
ret
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e0278
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x1400e023e
test byte [rax + 0x40], 3
je 0x1400e023e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x1400e0240
call fcn.1400df110
test rax, rax
je 0x1400e023e
jmp 0x1400e025e

Function at 0x1400e0290
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e02d0
test ebx, ebx
jle 0x1400e02c0
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.1400df110
test rax, rax
jne 0x1400e02ad
add rsp, 0x20
pop rbx
ret
Function at 0x1400e03c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e0438
test byte [rbx + 0x40], 0xc
jne 0x1400e03ef
mov eax, dword [0x140292b68]
test eax, eax
jne 0x1400e0400
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400de310
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1400e0423
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1400e0423
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400e044c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400de5e0
call fcn.1400df110
mov rbx, rax
test rax, rax
jne 0x1400e03df
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 0x1400e046a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400de5e0
call fcn.1400e02e0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400e04e8
call fcn.1400ddfd0
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400e0530
test rsi, rsi
je 0x1400e04fe
call fcn.1400e03c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400e0520
mov edx, edi
call fcn.1400de0a0
call fcn.1400e03c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1400df060
mov ecx, dword [0x140116ad8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e0540
call fcn.1400e03c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400e03c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400e04d6
call fcn.1400df110
mov rbx, rax
jmp 0x1400e04bc
call fcn.1400df110
jmp 0x1400e04fe