joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010b10
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
push r14
push r15
sub rsp, 0x40
xor r9d, r9d
mov rdi, rdx
mov rbp, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15d, 4
lea r14, [0x140089e40]
mov qword [rdi + 8], rax
mov rbx, rax
test rax, rax
jne 0x140010bc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rdi]
lea edx, [rbx + 1]
mov rcx, rdi
mov esi, eax
call qword [r8]
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [r15 + rdx]
cmp dword [0x14008ce04], ecx
jle 0x140010bb7
lea rcx, [0x14008ce04]
call fcn.140034740
cmp dword [0x14008ce04], 0xffffffff
jne 0x140010bb7
lea rcx, [0x140067d10]
call fcn.140034ac4
lea rcx, [0x14008ce04]
call fcn.1400346e0
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], r14
test esi, esi
jne 0x140010d53
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 [rdi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140010c55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
mov esi, eax
call qword [r8]
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [r15 + rdx]
cmp dword [0x14008ce04], ecx
jle 0x140010c44
lea rcx, [0x14008ce04]
call fcn.140034740
cmp dword [0x14008ce04], 0xffffffff
jne 0x140010c44
lea rcx, [0x140067d10]
call fcn.140034ac4
lea rcx, [0x14008ce04]
call fcn.1400346e0
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], r14
test esi, esi
jne 0x140010d65
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r8, [0x140010d80]
mov r9, rdi
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x70], ecx
call fcn.14003b158
mov qword [rbp + 8], rax
test rax, rax
jne 0x140010d0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
mov esi, eax
call qword [r8]
test rbx, rbx
je 0x140010cab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140010cba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [r15 + rdx]
cmp dword [0x14008ce04], eax
jle 0x140010cff
lea rcx, [0x14008ce04]
call fcn.140034740
cmp dword [0x14008ce04], 0xffffffff
jne 0x140010cff
lea rcx, [0x140067d10]
call fcn.140034ac4
lea rcx, [0x14008ce04]
call fcn.1400346e0
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], r14
test esi, esi
jne 0x140010d41
test rbx, rbx
je 0x140010d28
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.1400103c0
int3
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.1400103c0
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.1400103c0
int3
Function at 0x140010e90
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 0x140010f54
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 [0x14008ce28], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x140010f00
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140010f22
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.1400109d0]
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 0x140010f48
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x20
mov rcx, rbx
call fcn.1400345e0
mov rbx, qword [rdi]
test rbx, rbx
jne 0x140010eb0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140011150
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov esi, edx
mov rbx, rcx
lea rax, vtable.asio::detail::win_iocp_io_context.0
mov qword [rcx], rax
xor ebp, ebp
cmp qword [rcx + 0xa8], rbp
je 0x140011229
call fcn.1400116c0
mov rdi, qword [rbx + 0xa8]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
lock xadd dword [0x14008ce28], eax
mov rcx, qword [rdi + 8]
test eax, eax
je 0x1400111dd
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1400111ff
xor r8d, r8d
mov rdx, rcx
lea rcx, [fcn.1400109d0]
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 0x140011222
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, rdi
call fcn.1400345e0
mov qword [rbx + 0xa8], rbp
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x140011286
mov rdx, rcx
lea rdi, [0x140089e50]
nop
mov rax, qword [rdx + 0x20]
mov qword [rbx + 0x90], rax
test rax, rax
jne 0x140011257
mov qword [rbx + 0x98], rbp
mov qword [rdx + 0x20], rbp
mov rax, qword [rcx + 0x28]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rdi
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rcx
xor ecx, ecx
call rax
mov rcx, qword [rbx + 0x90]
mov rdx, rcx
test rcx, rcx
jne 0x140011240
lea rcx, [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14001129f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x1400112bf
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov rcx, rdi
call fcn.1400345e0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400112ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, vtable.asio::execution_context::service.0
mov qword [rbx], rax
test sil, 1
je 0x1400112eb
mov edx, 0xb0
mov rcx, rbx
call fcn.1400345e0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400126e0
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 [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012707
mov r8, qword [rax + 8]
jmp 0x14001270a
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x140012732
test r8, r8
je 0x140012732
mov ecx, 2
mov eax, ecx
nop
cmp qword [r8 + rax*8], 0
je 0x140012744
inc ecx
inc rax
cmp rax, 4
jl 0x140012720
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140034adc
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 0x140012760
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 [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rbx, [rdi + 3]
xor esi, esi
shr rbx, 2
test rax, rax
je 0x140012804
mov r10, qword [rax + 8]
test r10, r10
je 0x140012804
mov r9d, 2
lea r8, [r10 + 0x10]
mov ecx, r9d
mov rdx, qword [r8]
test rdx, rdx
je 0x1400127b3
movzx eax, byte [rdx]
cmp rax, rbx
jae 0x1400127d8
inc ecx
add r8, 8
cmp ecx, 4
jl 0x1400127a3
mov rax, r9
mov rcx, qword [r10 + rax*8]
test rcx, rcx
jne 0x1400127f8
inc r9d
inc rax
cmp rax, 4
jl 0x1400127c1
jmp 0x140012804
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.140034adc
lea rcx, [rbx*4 + 1]
call fcn.140034850
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
Function at 0x1400162f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rbx, qword [rcx + 0x18]
xor edi, edi
mov eax, edi
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x140016327
mov rcx, rbx
call fcn.1400116c0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0xa0], edi
lea rcx, [rsp + 0xa8]
call fcn.1400309a4
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 + 0x20], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140011920
test rax, rax
je 0x1400163c8
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140011920
test rax, rax
jne 0x1400163b1
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rsp + 0x50]
mov edi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400163f1
call fcn.140034adc
add rbx, 8
sub rdi, 1
jne 0x1400163e4
lea rcx, [rsp + 0xa8]
call fcn.140030a30
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x140017960
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r12, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rdi]
mov rbx, qword [rbx + 0x78]
mov qword [rax + 0x28], rbx
mov qword [rax - 0x48], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140010620
mov rsi, rax
mov qword [rsp + 0x48], rax
xor r13d, r13d
mov qword [rax + 0x20], r13
lea rax, [0x140018460]
mov qword [rsi + 0x28], rax
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov dword [rsi + 0x30], r13d
movups xmm0, xmmword [r12]
movups xmmword [rsi + 0x38], xmm0
lea rdx, [rsi + 0x48]
mov rax, qword [rdi]
mov qword [rdi], r13
mov qword [rdx], rax
lea rcx, [rsi + 0x50]
mov r8, qword [rsp + 0xb8]
call fcn.1400181c0
mov qword [rsp + 0x50], rsi
test rbx, rbx
je 0x140017a6d
lea r8d, [r13 + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xb0]
call fcn.140010840
lea rax, vtable.asio::detail::cancellation_handler_class_asio::detail::win_iocp_handle_service::iocp_op_cancellation_.0
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [r14]
mov qword [rdx + 0x28], r13
lea r8, [0x140011e30]
mov qword [rdx + 0x30], r8
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
mov qword [rdx + 0x20], r13
mov dword [rdx + 0x38], r13d
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rsi
mov rax, qword [rsp + 0x38]
mov qword [rdx + 0x50], rax
mov qword [rbx], rdx
lea rsi, [rdx + 8]
mov rdi, qword [r12]
mov rbx, qword [r12 + 8]
cmp dword [r14 + 8], r13d
jne 0x140017a88
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r14 + 8], eax
jmp 0x140017a9c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r14 + 8], eax
je 0x140017a9c
mov dword [r14 + 8], 0xffffffff
mov rax, qword [rbp + 0x28]
lock inc dword [rax + 0x30]
cmp qword [r14], 0xffffffffffffffff
jne 0x140017ac4
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011820
jmp 0x140017b4c
test rbx, rbx
jne 0x140017add
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011820
jmp 0x140017b4c
mov dword [rsp + 0xb0], r13d
mov dword [rsi + 0x10], r15d
shr r15, 0x20
mov dword [rsi + 0x14], r15d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xb0]
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x140017b40
cmp eax, 0x3e5
je 0x140017b40
cmp eax, 0xea
je 0x140017b40
mov r9d, dword [rsp + 0xb0]
mov r8d, eax
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011820
jmp 0x140017b4c
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011780
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x40]
call fcn.140017f60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140017b80
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r12, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [rdi]
mov rbx, qword [rbx + 0x78]
mov qword [rax + 0x28], rbx
mov qword [rax - 0x48], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140010620
mov rsi, rax
mov qword [rsp + 0x58], rax
xor r13d, r13d
mov qword [rax + 0x20], r13
lea rax, [0x140017ff0]
mov qword [rsi + 0x28], rax
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov dword [rsi + 0x30], r13d
movups xmm0, xmmword [r12]
movups xmmword [rsi + 0x38], xmm0
lea rdx, [rsi + 0x48]
mov rax, qword [rdi]
mov qword [rdi], r13
mov qword [rdx], rax
lea rcx, [rsi + 0x50]
mov r8, qword [rsp + 0xc8]
call fcn.1400181c0
mov qword [rsp + 0x60], rsi
test rbx, rbx
je 0x140017c8d
lea r8d, [r13 + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc0]
call fcn.140010840
lea rax, vtable.asio::detail::cancellation_handler_class_asio::detail::win_iocp_handle_service::iocp_op_cancellation_.0
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [r14]
mov qword [rdx + 0x28], r13
lea r8, [0x140011e30]
mov qword [rdx + 0x30], r8
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
mov qword [rdx + 0x20], r13
mov dword [rdx + 0x38], r13d
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rsi
mov rax, qword [rsp + 0x38]
mov qword [rdx + 0x50], rax
mov qword [rbx], rdx
lea rsi, [rdx + 8]
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x40], xmm0
cmp dword [r14 + 8], r13d
jne 0x140017ca9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [r14 + 8], eax
jmp 0x140017cbd
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r14 + 8], eax
je 0x140017cbd
mov dword [r14 + 8], 0xffffffff
mov rax, qword [rbp + 0x28]
lock inc dword [rax + 0x30]
cmp qword [r14], 0xffffffffffffffff
jne 0x140017ce5
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011820
jmp 0x140017d74
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140017d03
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011820
jmp 0x140017d74
mov dword [rsp + 0xc0], r13d
mov dword [rsi + 0x10], r15d
shr r15, 0x20
mov dword [rsi + 0x14], r15d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xc0]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x140017d68
cmp eax, 0x3e5
je 0x140017d68
cmp eax, 0xea
je 0x140017d68
mov r9d, dword [rsp + 0xc0]
mov r8d, eax
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011820
jmp 0x140017d74
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140011780
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x50]
call fcn.140017f60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400185d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x40]
sub rsp, 0x140
xor edi, edi
mov dword [rbp + 0x70], edi
mov rax, qword [rdx]
mov qword [rdx], rdi
mov qword [rbp + 0x68], rax
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x20]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [0x14007815b]
mov rdx, rax
lea rcx, [rsp + 0x58]
call rbx
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x38]
call fcn.140012950
nop
cmp qword [rsp + 0x78], rdi
je 0x140018641
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call rdx
nop
mov dword [rbp + 0x70], 7
mov rax, qword [rbp - 8]
mov rbx, qword [rax + 0x88]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp - 0x38]
call rdx
lea r8, [rbp + 0x78]
mov rdx, rax
lea rcx, [rsp + 0x58]
call rbx
mov dword [rbp + 0x70], 0x47
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.140012950
nop
cmp qword [rsp + 0x78], 0
je 0x14001869d
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call rdx
nop
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call fcn.140012950
mov dword [rbp + 0x70], 0x7f
cmp qword [rbp + 0x20], 0
je 0x1400186c6
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax]
lea rcx, [rbp]
call rdx
nop
cmp qword [rbp - 0x50], 0
je 0x1400187f2
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140018703
lea rcx, [0x140018e00]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call rax
jmp 0x1400187ab
mov rbx, qword [rcx + 0x10]
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001873c
mov rdx, qword [rax + 8]
jmp 0x14001873f
mov rdx, rdi
mov r8d, 0x18
call fcn.140018e20
mov qword [rsp + 0x50], rdi
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x60], rdi
mov qword [rax + 8], rcx
lea rcx, [0x140018fb0]
mov qword [rax], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rdi
lea rcx, [rsp + 0x40]
call fcn.140018d50
nop
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x14001878d
mov rdx, qword [rax]
mov rcx, rdx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call rbx
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400187ab
mov rax, qword [rcx]
xor edx, edx
call rax
nop
cmp qword [rbp - 0x50], 0
je 0x1400187c0
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
lea rcx, [rbp - 0x70]
call rdx
nop
cmp qword [rbp - 0x18], 0
je 0x1400187d5
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
lea rcx, [rbp - 0x38]
call rdx
nop
mov rax, qword [rbp + 0x68]
test rax, rax
je 0x1400187e7
mov rdx, qword [rax]
mov rcx, rdx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
add rsp, 0x140
pop rdi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x40]
call fcn.140010710
nop
lea rcx, [rsp + 0x40]
call fcn.140015060
int3
Function at 0x1400188b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov r9, rdx
cmp qword [rcx + 0x20], 0
jne 0x1400188ea
cmp qword [rcx + 0x58], 0
jne 0x1400188ea
mov rdx, r8
mov rcx, r9
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
jmp fcn.140018a50
lea rbx, [rcx + 0x38]
cmp qword [rbx + 0x20], 0
je 0x1400189f4
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14001892e
lea rcx, [0x140018fa0]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r9
lea rdx, [rbp - 0x50]
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rbp - 0x20], xmm0
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x40], rax
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018975
mov rdx, qword [rax + 8]
jmp 0x140018978
mov rdx, rsi
mov r8d, 0x30
call fcn.140018e20
mov qword [rbp - 0x30], rsi
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x28], rsi
mov qword [rax + 8], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp - 0x10]
mov qword [rax + 0x20], rcx
lea rcx, [0x140019020]
mov qword [rax], rcx
mov qword [rbp + 0x38], rax
mov qword [rbp - 0x38], rsi
lea rcx, [rbp - 0x40]
call fcn.140018f00
nop
lea rcx, [rbp - 0x28]
call fcn.140017680
nop
lea rdx, [rbp + 0x38]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400189e4
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x40]
call fcn.140010710
nop
lea rcx, [rbp - 0x40]
call fcn.140015060
int3

Function at 0x140018be0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x140018c76
mov rcx, qword [rbx]
test rcx, rcx
je 0x140018c76
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018c29
mov rdx, qword [rax + 8]
jmp 0x140018c2b
xor edx, edx
mov r9, qword [rsp + 0x28]
mov rdi, rbx
mov r8, qword [rsp + 0x20]
cmp r9, 0x3fc
ja 0x140018c62
test rdx, rdx
je 0x140018c62
mov ecx, 6
mov eax, ecx
nop dword [rax]
cmp qword [rdx + rax*8], 0
je 0x140018c7c
inc ecx
inc rax
cmp rax, 8
jl 0x140018c50
mov rcx, r8
call fcn.140034adc
mov qword [rdi], 0
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
movzx eax, byte [r9 + r8]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
mov qword [rdi], 0
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x140018d50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x140018d80
mov rax, qword [rax + 8]
test rax, rax
je 0x140018d78
mov rax, qword [rax]
mov rcx, rax
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140018dd2
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018dc2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140018dc2
mov ecx, 4
mov eax, ecx
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x140018ddd
inc ecx
inc rax
cmp rax, 6
jl 0x140018db0
mov rcx, rbx
call fcn.140034adc
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x140018f00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140018f27
add rcx, 8
call fcn.140017680
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140018f73
mov ecx, dword [0x14008ce6c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018f63
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140018f63
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140018f7e
inc ecx
inc rax
cmp rax, 6
jl 0x140018f51
mov rcx, rbx
call fcn.140034adc
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x30]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret