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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x1a0]
mov qword [rsp + 0x40], rax
add rdx, 0x1a8
lea rcx, [rsp + 0x48]
call fcn.14016ae30
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.1401860c0
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rsp + 0x2b0], xmm0
movsd xmm1, qword [rbx + 0x218]
movsd qword [rsp + 0x2c0], xmm1
mov rsi, qword [rdi + 0x190]
mov rbx, qword [rdi + 0x198]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140186ccf
cmp qword [rax], rbx
je 0x140186cf3
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140186cc1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x248]
cmp byte [rbx + 0x400], 0
jne 0x140186d0c
mov byte [rbx + 0x400], 1
jmp 0x140186d19
cmp qword [rax + 8], 0
je 0x140186ccf
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14018b8c0
nop
jmp 0x140186d72
mov ecx, 0x2c8
call fcn.14035b61c
mov rbx, rax
xor ebp, ebp
mov qword [rbx + 0x20], rbp
lea rax, [0x14018b0a0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.14018b680
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x198]
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rsp + 0x20]
call fcn.14018ae50
nop
lea rcx, [rsp + 0x1e8]
call fcn.140178670
lea rcx, [rsp + 0x50]
call fcn.14013b150
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140186da0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x1a0]
mov qword [rsp + 0x40], rax
add rdx, 0x1a8
lea rcx, [rsp + 0x48]
call fcn.14016ae30
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.1401860c0
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rsp + 0x2b0], xmm0
movsd xmm1, qword [rbx + 0x218]
movsd qword [rsp + 0x2c0], xmm1
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x2c8], rax
mov rsi, qword [rdi + 0x190]
mov rbx, qword [rdi + 0x198]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140186e3e
cmp qword [rax], rbx
je 0x140186e62
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140186e30
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x248]
cmp byte [rbx + 0x400], 0
jne 0x140186e7b
mov byte [rbx + 0x400], 1
jmp 0x140186e88
cmp qword [rax + 8], 0
je 0x140186e3e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14018b910
nop
jmp 0x140186ee1
mov ecx, 0x2d0
call fcn.14035b61c
mov rbx, rax
xor ebp, ebp
mov qword [rbx + 0x20], rbp
lea rax, [0x14018aed0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.14018b5d0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x198]
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rsp + 0x20]
call fcn.14018ae50
nop
lea rcx, [rsp + 0x1e8]
call fcn.140178670
lea rcx, [rsp + 0x50]
call fcn.14013b150
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140187a80
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 0x140187aaa
add rcx, 0x90
call fcn.14013b150
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140187af6
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140187ae6
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140187ae6
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140187b01
inc ecx
inc rax
cmp rax, 6
jl 0x140187ad4
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x110]
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 0x140187b30
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 0x140187b57
sub rcx, 0xffffffffffffff80
call fcn.14013b150
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140187ba3
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140187b93
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140187b93
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140187bae
inc ecx
inc rax
cmp rax, 6
jl 0x140187b81
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x100]
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 0x140187be0
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 0x140187c22
lea rbx, [rax + 0x88]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140187c1a
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140187c72
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140187c62
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140187c62
mov ecx, 4
mov eax, ecx
nop dword [rax]
cmp qword [rdx + rax*8], 0
je 0x140187c7d
inc ecx
inc rax
cmp rax, 6
jl 0x140187c50
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xf0]
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 0x140187ca0
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 0x140187cdf
lea rbx, [rax + 0x78]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140187cd7
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140187d32
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140187d22
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140187d22
mov ecx, 4
mov eax, ecx
nop dword [rax]
cmp qword [rdx + rax*8], 0
je 0x140187d3d
inc ecx
inc rax
cmp rax, 6
jl 0x140187d10
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xe0]
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 0x140188c40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rdi, rdx
mov rbx, rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x140188c88
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x78], rax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1401825c0
movups xmm0, xmmword [rbx + 0xc0]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rbx + 0xd0]
movsd qword [rbp + 0x50], xmm1
mov rax, qword [rbx + 0xd8]
mov qword [rbp + 0x58], rax
mov r14, qword [rdi]
lea rsi, [rdi + 8]
mov rbx, qword [rsi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140188ce4
cmp qword [rax], rbx
je 0x140188dd2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140188cd2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
mov ecx, 0x160
call fcn.140131790
mov rdi, rax
mov qword [rax + 0x20], r15
lea rax, [0x14018a810]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140151ee0
lea rdx, [rbp - 0x80]
lea rcx, [rdi + 0x78]
call fcn.1401825c0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rdi + 0x138], xmm0
movsd xmm1, qword [rbp + 0x50]
movsd qword [rdi + 0x148], xmm1
mov rax, qword [rbp + 0x58]
mov qword [rdi + 0x150], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.140138550
nop
lea rcx, [rsp + 0x20]
call fcn.14018a770
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140188da0
mov rax, qword [rcx]
lea rdx, [rbp]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x38], r15
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140188dbb
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140188ce4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14018b720
nop
jmp 0x140188d83
Function at 0x140188df0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x40], rax
movzx eax, byte [rdx + 0x18]
mov byte [rsp + 0x48], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov rcx, qword [rdx + 0x58]
test rcx, rcx
je 0x140188e4c
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140188e61
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rbx + 0x68]
mov qword [rbp - 0x68], rax
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1401865c0
nop
mov rsi, qword [rbx]
lea rdi, [rbx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140188eb2
nop dword [rax]
cmp qword [rax], rbx
je 0x140188f8e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140188ea0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x20]
mov ecx, 0x1a0
call fcn.140131790
mov rbx, rax
mov qword [rax + 0x20], r14
lea rax, [0x14018a5f0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x38], rax
movzx eax, byte [rsp + 0x48]
mov byte [rbx + 0x40], al
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x50]
call fcn.140151ee0
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x90], r14
mov rax, qword [rbp - 0x70]
mov qword [rbx + 0x88], rax
mov rax, qword [rbp - 0x68]
mov qword [rbx + 0x90], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbx + 0x98]
lea rdx, [rbp - 0x60]
call fcn.1401865c0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rbp + 0x28]
call fcn.14013b150
lea rcx, [rsp + 0x48]
call fcn.14013b150
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140188eb2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14018b770
nop
jmp 0x140188f63
Function at 0x140189850
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 0x14018987a
add rcx, 0x148
call fcn.140178670
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1401898c6
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401898b6
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1401898b6
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1401898d1
inc ecx
inc rax
cmp rax, 6
jl 0x1401898a4
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x238]
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 0x140189900
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 0x14018992a
add rcx, 0x148
call fcn.140178670
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140189976
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140189966
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140189966
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140189981
inc ecx
inc rax
cmp rax, 6
jl 0x140189954
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x230]
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 0x1401899b0
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 0x1401899da
add rcx, 0xa0
call fcn.14013b150
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140189a26
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140189a16
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140189a16
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140189a31
inc ecx
inc rax
cmp rax, 6
jl 0x140189a04
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x120]
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 0x140189a60
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 0x140189a8a
add rcx, 0xa0
call fcn.14013b150
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140189ad6
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140189ac6
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140189ac6
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140189ae1
inc ecx
inc rax
cmp rax, 6
jl 0x140189ab4
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x118]
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 0x140189da0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x310
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x1d0]
mov qword [rsp + 0x40], rax
add rdx, 0x1d8
lea rcx, [rsp + 0x48]
call fcn.14016ae30
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.14018a570
nop
mov rsi, qword [rdi + 0x1c0]
mov rbx, qword [rdi + 0x1c8]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140189e10
cmp qword [rax], rbx
je 0x140189e34
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140189e02
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x278]
cmp byte [rbx + 0x400], 0
jne 0x140189e4d
mov byte [rbx + 0x400], 1
jmp 0x140189e5a
cmp qword [rax + 8], 0
je 0x140189e10
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14018bdf0
nop
jmp 0x140189eb3
mov ecx, 0x300
call fcn.14035b61c
mov rbx, rax
xor ebp, ebp
mov qword [rbx + 0x20], rbp
lea rax, [0x14018bbd0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.14018bd70
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x1c8]
mov rcx, rsi
call fcn.140138550
nop
lea rcx, [rsp + 0x20]
call fcn.14018bb50
nop
lea rcx, [rsp + 0x218]
call fcn.140178670
lea rcx, [rsp + 0x50]
call fcn.14013b150
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret
Function at 0x140189ee0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x200
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0xb8]
mov qword [rsp + 0x40], rax
add rdx, 0xc0
lea rcx, [rsp + 0x48]
call fcn.14016ae30
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.14018a4f0
nop
mov rbp, qword [rdi + 0xa8]
lea rsi, [rdi + 0xb0]
mov rbx, qword [rsi]
mov ecx, dword [0x14049b880]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140189f5e
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x140189f82
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140189f50
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x160]
cmp byte [rdi + 0x400], 0
jne 0x140189f9b
mov byte [rdi + 0x400], 1
jmp 0x140189fa8
cmp qword [rax + 8], 0
je 0x140189f5e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14018be40
nop
jmp 0x14018a013
mov ecx, 0x1e8
call fcn.14035b61c
mov rdi, rax
xor r14d, r14d
mov qword [rdi + 0x20], r14
lea rax, [0x14018ba00]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.14016d420
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0xa8]
call fcn.14018a4f0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.140138550
nop
lea rcx, [rsp + 0x20]
call fcn.14018b980
nop
lea rcx, [rsp + 0x170]
call fcn.14013b150
lea rcx, [rsp + 0x50]
call fcn.14013b150
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14018aa30
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 0x14018aa5a
add rcx, 0xd0
call fcn.14013b150
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14018aaa6
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14018aa96
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14018aa96
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14018aab1
inc ecx
inc rax
cmp rax, 6
jl 0x14018aa84
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x150]
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 0x14018aae0
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 0x14018ab0a
add rcx, 0x178
call fcn.140178670
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14018ab56
mov ecx, dword [0x14049b838]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14018ab46
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14018ab46
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14018ab61
inc ecx
inc rax
cmp rax, 6
jl 0x14018ab34
mov rcx, rbx
call fcn.14035b978
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x268]
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 0x1401d7e60
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.14035bd30
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1401dcc80
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1401dccec
movzx ecx, byte [rcx]
test cl, cl
je 0x1401dccec
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1401dcca0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1401dccf0
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1401dcd60
movzx ecx, byte [rcx]
test cl, cl
je 0x1401dcd60
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
mov r8d, eax
and r9d, 0xffffffdf
or r9d, r11d
mov ecx, 0x20
mov edx, r9d
add r11d, 0x100
shr edx, 2
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1401dcd10
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1401f2120
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x28
call fcn.14035bd30
sub rsp, rax
lea rcx, [0x140498240]
add rsp, 0x28
jmp fcn.1401d7ce0
Function at 0x140208d50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [rcx - 1]
movsxd rdi, r9d
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
mov r11, rdx
and rsi, rcx
mov r10, r8
mov ecx, dword [rdx + 8]
dec rsi
xor ecx, dword [r8 + 8]
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
movq xmm4, rsi
mov ecx, dword [rdx + 0x10]
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, edx
mov eax, dword [r8 + 0x14]
xor rcx, rax
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x140208e6d
cmp edi, 2
jb 0x140208e6d
mov r9, qword [r8]
lea rax, [rdi - 1]
mov r8, qword [r11]
lea rbx, [rdi - 1]
lea rbx, [r9 + rbx*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x140208dfa
cmp rbx, r8
jae 0x140208e6d
cmp r9, r10
ja 0x140208e04
cmp rbx, r10
jae 0x140208e6d
cmp r9, r11
ja 0x140208e0e
cmp rbx, r11
jae 0x140208e6d
cmp r8, r10
ja 0x140208e18
cmp rax, r10
jae 0x140208e6d
cmp r8, r11
ja 0x140208e22
cmp rax, r11
jae 0x140208e6d
mov eax, edi
and eax, 0xfffffffe
nop word [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
pxor xmm3, xmm1
pand xmm3, xmm4
movdqa xmm0, xmm3
pxor xmm3, xmm2
pxor xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x140208e30
movsxd rax, edx
cmp rax, rdi
jge 0x140208ead
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rdi
jl 0x140208e80
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret