joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14041ddd0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140a3e8a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140a3e880]
test rbx, rbx
je 0x14041de2c
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 0x14041de23
test eax, eax
jne 0x14041de23
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14041de08
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 0x14041e160
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140692850]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14041e180
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14041e188
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14041e180
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14041e1dd
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 0x14041e1d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14041e180
add rax, 0x28
cmp rax, r9
jne 0x14041e1c0
xor eax, eax
ret

Function at 0x14041e1e0
Capabilities:
Parse pe header

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

Function at 0x14041e2a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140692850]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14041e2bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14041e2c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140420720
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, [0x140690680]
call fcn.14042f058
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140420750
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
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rbx, rdx
test rcx, rcx
je 0x140420930
movzx edi, byte [rcx]
test dil, dil
jne 0x1404207f0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14042efc0
mov edi, eax
cmp edi, 0xffffffff
je 0x140420879
mov rax, qword [rsp + 0x20]
movdqu xmm0, xmmword [rsp + 0x40]
mov qword [rbx], rax
mov eax, dword [rsp + 0x28]
movups xmmword [rbx + 0x18], xmm0
mov dword [rbx + 8], eax
movzx eax, word [rsp + 0x2c]
mov word [rbx + 0xc], ax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x38]
mov dword [rbx + 0x14], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x28], rax
mov eax, edi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14042f1f0
cmp eax, 1
jle 0x140420791
lea edx, [rax - 2]
cmp edx, 1
jbe 0x140420898
cmp dil, 0x5c
je 0x1404208b0
cmp dil, 0x2f
je 0x1404208b0
movsxd rdi, eax
movzx eax, byte [rsi + rdi - 1]
lea r12, [rdi - 1]
cmp al, 0x2f
je 0x140420832
cmp al, 0x5c
jne 0x140420791
mov rcx, rdi
call fcn.14042f138
mov r8, r12
mov rdx, rsi
mov rbp, rax
mov rcx, rax
call fcn.14042f150
mov byte [rbp + rdi - 1], 0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14042efc0
mov edi, eax
cmp rsi, rbp
je 0x1404207a0
mov rcx, rbp
call fcn.14042f0e8
cmp edi, 0xffffffff
jne 0x1404207a9
pxor xmm0, xmm0
mov eax, edi
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp byte [rsi + 1], 0x3a
jne 0x140420806
jmp 0x140420791
movzx edx, byte [rsi + 1]
cmp dl, 0x5c
je 0x1404208c2
cmp dl, 0x2f
jne 0x14042081a
movzx ecx, byte [rsi + 2]
lea rdx, [rsi + 2]
cmp cl, 0x5c
je 0x140420948
test cl, cl
jne 0x1404208e9
jmp 0x1404208f2
movzx ecx, byte [rdx + 1]
add rdx, 1
test cl, cl
je 0x1404208f2
cmp cl, 0x5c
je 0x140420948
cmp cl, 0x2f
jne 0x1404208d8
add rdx, 1
movzx ecx, byte [rdx]
test cl, cl
je 0x140420791
cmp cl, 0x5c
jne 0x140420919
jmp 0x14042091e
movzx ecx, byte [rdx + 1]
add rdx, 1
test cl, cl
je 0x140420922
cmp cl, 0x5c
je 0x140420950
cmp cl, 0x2f
jne 0x140420908
add rdx, 1
cmp byte [rdx], 0
jne 0x14042081a
jmp 0x140420791
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.14042efc0
mov edi, eax
jmp 0x1404207a0
test cl, cl
je 0x1404208f2
jmp 0x1404208ee
test cl, cl
je 0x140420922
jmp 0x14042091e
Function at 0x1404313a0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140692950]
mov qword [rsp + 0x48], 0
lea rbx, [rsp + 0x20]
mov rdx, qword [rax]
mov qword [rsp + 0x58], rdx
xor edx, edx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x4d], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, str.iiti
mov edx, 0x35
mov rcx, rbx
mov r9d, eax
call fcn.1404353f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.14042f070
nop
nop word cs:[rax + rax]

Function at 0x1404317b0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140a3f400], 1
je 0x140431850
lea rdi, [0x140a3f400]
mov rcx, rdi
call fcn.140431150
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.140430a60
mov esi, dword [0x140a3f400]
test esi, esi
jne 0x140431828
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1405a5d98], eax
cmp eax, 0xffffffff
je 0x14059e1d6
mov dword [0x140a3f400], 1
mov rcx, rbp
call fcn.140430d30
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140431430
cmp esi, 1
je 0x14043180c
mov ecx, 2
call qword [fcn.14042e980]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call fcn.14042f0c8
jmp 0x14043180c
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14042f070
nop
call fcn.14042f070
nop
mov rax, qword [0x28]
ud2

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.140431540
mov rbx, rax
test rax, rax
je 0x14043195c
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.140431040
cmp eax, 1
je 0x140431968
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 0x14059e1dc
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1405a5d98]
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 0x14059e1dc
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.1404313a0
nop
nop
Function at 0x140431970
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140431990
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140431860

Function at 0x140432010
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, qword [0x140692950]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edx, 1
test eax, eax
je 0x14043206e
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14043206e
xor edx, edx
nop dword [rax]
mov ecx, eax
and ecx, 1
add edx, ecx
shr rax, 1
jne 0x140432058
test edx, edx
mov eax, 1
cmove edx, eax
mov rax, qword [rsp + 0x38]
sub rax, qword [rbx]
jne 0x140432080
mov eax, edx
add rsp, 0x40
pop rbx
ret
call fcn.140420720
nop
nop word cs:[rax + rax]
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, qword [0x140692950]
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
xor eax, eax
mov edi, ecx
test ecx, ecx
mov eax, 1
cmove edi, eax
call r12
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov ebx, eax
test eax, eax
je 0x14043211f
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140432140
xor ebx, ebx
xor esi, esi
nop dword [rax]
add rsi, rsi
cmp edi, ebx
jle 0x140432102
test al, 1
je 0x140432102
or rsi, 1
add ebx, 1
shr rax, 1
jne 0x1404320f0
mov qword [rsp + 0x28], 0
call r12
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rax, qword [rsp + 0x38]
sub rax, qword [rbp]
jne 0x140432146
mov eax, ebx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor esi, esi
xor ebx, ebx
jmp 0x140432110
call fcn.140420720
nop
nop dword [rax]
Function at 0x140432090
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, qword [0x140692950]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edx, 1
test eax, eax
je 0x14043206e
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14043206e
xor edx, edx
nop dword [rax]
mov ecx, eax
and ecx, 1
add edx, ecx
shr rax, 1
jne 0x140432058
test edx, edx
mov eax, 1
cmove edx, eax
mov rax, qword [rsp + 0x38]
sub rax, qword [rbx]
jne 0x140432080
mov eax, edx
add rsp, 0x40
pop rbx
ret
call fcn.140420720
nop
nop word cs:[rax + rax]
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, qword [0x140692950]
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
xor eax, eax
mov edi, ecx
test ecx, ecx
mov eax, 1
cmove edi, eax
call r12
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov ebx, eax
test eax, eax
je 0x14043211f
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140432140
xor ebx, ebx
xor esi, esi
nop dword [rax]
add rsi, rsi
cmp edi, ebx
jle 0x140432102
test al, 1
je 0x140432102
or rsi, 1
add ebx, 1
shr rax, 1
jne 0x1404320f0
mov qword [rsp + 0x28], 0
call r12
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rax, qword [rsp + 0x38]
sub rax, qword [rbp]
jne 0x140432146
mov eax, ebx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor esi, esi
xor ebx, ebx
jmp 0x140432110
call fcn.140420720
nop
nop dword [rax]
Function at 0x140432150
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 [0x140692950]
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x1404322b0
cmp eax, 1
je 0x1404321b5
call fcn.140431150
lea r13, [rax + 8]
mov rdi, rax
mov rcx, r13
call fcn.140430a60
mov ebp, dword [rbx]
test ebp, ebp
je 0x1404321d8
cmp ebp, 1
jne 0x140432278
mov rcx, r13
call fcn.140430d30
mov rcx, rdi
call fcn.140431430
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r12]
jne 0x1404322fb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x140431510]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
test rax, rax
je 0x1404322e8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call rbp
test rax, rax
je 0x1404322d0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call rbp
test rax, rax
je 0x1404322c0
mov rdx, qword [rsp + 0x30]
mov rcx, r13
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
call fcn.140430d30
mov rcx, rdi
call fcn.140431430
jmp 0x1404321b5
mov ecx, 2
call qword [fcn.14042e980]
mov r9d, ebp
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call fcn.14042f0c8
mov rcx, r13
call fcn.140430d30
mov rcx, rdi
call fcn.140431430
jmp 0x1404321b5
mov eax, 0x16
jmp 0x1404321b7
call fcn.140431860
test rax, rax
jne 0x14043224e
jmp 0x14059e20e
call fcn.140431860
test rax, rax
jne 0x14043222b
jmp 0x14059e1ff
call fcn.140431860
test rax, rax
jne 0x140432206
jmp 0x14059e1f5
call fcn.140420720
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 0x140432580
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.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1404325f8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.140431050
cmp esi, dword [rbx + 0x48]
jae 0x1404325d3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x1404325d3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.1404310a0
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.140431860
mov rbx, rax
jmp 0x1404325ad
Function at 0x140432610
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.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140432708
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.140431050
mov rdi, qword [rbx + 0x50]
cmp esi, dword [rbx + 0x48]
jb 0x1404326d3
lea r15d, [rsi + 1]
mov rcx, rdi
movsxd r14, r15d
lea rdx, [r14*8]
call fcn.14042f180
mov rdi, rax
test rax, rax
je 0x140432715
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call fcn.14042f180
mov r14, rax
test rax, rax
je 0x140432715
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call fcn.14042f160
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call fcn.14042f160
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.1404310a0
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.140431860
mov rbx, rax
jmp 0x14043264a
mov rcx, r13
call fcn.1404310a0
mov eax, 0xc
jmp 0x1404326f1

Function at 0x1404327b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1404327d8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140431860
test rax, rax
jne 0x1404327ca
add rsp, 0x28
ret

Function at 0x140432840
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140432868
add rax, 0x18
add rsp, 0x28
ret
call fcn.140431860
test rax, rax
jne 0x14043285a
jmp 0x14043285e

Function at 0x140432980
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140a3f408]
test eax, eax
jne 0x140432998
xor eax, eax
add rsp, 0x28
ret
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1404329c8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14043298e
test byte [rax + 0x40], 3
je 0x14043298e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140432990
call fcn.140431860
test rax, rax
je 0x14043298e
jmp 0x1404329ae

Function at 0x1404329e0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140432a20
test ebx, ebx
jle 0x140432a10
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.140431860
test rax, rax
jne 0x1404329fd
add rsp, 0x20
pop rbx
ret
Function at 0x140432b10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140432b88
test byte [rbx + 0x40], 0xc
jne 0x140432b3f
mov eax, dword [0x140a3f408]
test eax, eax
jne 0x140432b50
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140430a60
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140432b73
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140432b73
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140432b9c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140430d30
call fcn.140431860
mov rbx, rax
test rax, rax
jne 0x140432b2f
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 0x140432bba
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140430d30
call fcn.140432a30
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140432c38
call fcn.140430720
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140432c80
test rsi, rsi
je 0x140432c4e
call fcn.140432b10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140432c70
mov edx, edi
call fcn.1404307f0
call fcn.140432b10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140432c90
call fcn.140432b10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140432b10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140432c26
call fcn.140431860
mov rbx, rax
jmp 0x140432c0c
call fcn.140431860
jmp 0x140432c4e
Function at 0x140432bd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140432b88
test byte [rbx + 0x40], 0xc
jne 0x140432b3f
mov eax, dword [0x140a3f408]
test eax, eax
jne 0x140432b50
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140430a60
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140432b73
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140432b73
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140432b9c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140430d30
call fcn.140431860
mov rbx, rax
test rax, rax
jne 0x140432b2f
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 0x140432bba
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140430d30
call fcn.140432a30
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140432c38
call fcn.140430720
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140432c80
test rsi, rsi
je 0x140432c4e
call fcn.140432b10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140432c70
mov edx, edi
call fcn.1404307f0
call fcn.140432b10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140432c90
call fcn.140432b10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140432b10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140432c26
call fcn.140431860
mov rbx, rax
jmp 0x140432c0c
call fcn.140431860
jmp 0x140432c4e

Function at 0x140432ca0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.1404317b0
mov ecx, dword [0x1405a5d98]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140432d10
test esi, esi
je 0x140432cf0
call fcn.140432b10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140432d20
mov edx, esi
call fcn.1404307f0
call fcn.140432b10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140432b10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140432b10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140431860
mov rbx, rax
jmp 0x140432cc1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140432cda