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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov rdi, r8
mov r14, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rcx + 0x40], r9d
cmp r9d, 1
je 0x18020fd7e
mov rdx, r8
add rcx, 8
call fcn.180216a00
mov eax, dword [r14]
test eax, eax
jne 0x18020fbf7
test rdi, rdi
jne 0x18020fbf7
mov rdi, qword [rbx + 0x28]
jmp 0x18020fc13
mov rdi, qword [rbx + 0x28]
cmp rdi, qword [rbx + 0x20]
jae 0x18020fc13
mov r8d, 0x10000
test eax, eax
cmovne r8, rbp
je 0x18020fd8a
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x90]
call fcn.180220720
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rdi
lea rdi, [rbx + 0x50]
mov rsi, qword [rbx + 0x48]
mov rbx, qword [rdi]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18020fc66
cmp qword [rax], rbx
je 0x18020fd59
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18020fc54
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x90]
mov ecx, 0xb0
call fcn.1801e2240
mov rbx, rax
mov qword [rax + 0x20], rbp
lea rax, [fcn.180223a40]
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 + 0x90]
call fcn.180223f30
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1801f2450
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x68], rbp
test al, al
je 0x18020fd4a
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x50], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
mov rdx, rbx
call fcn.180223a40
nop
lea rcx, [rsp + 0x50]
call fcn.1801f2230
nop
mov rdx, qword [rsp + 0x48]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x98]
call fcn.1801fb110
jmp 0x18020fdb6
cmp qword [rax + 8], 0
je 0x18020fc66
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.1802264a0
nop
nop
jmp 0x18020fd4a
mov r8d, 0x10000
cmp dword [rdx], ebp
cmovne r8, rbp
lea rdx, [rsp + 0x90]
lea rcx, [rbx + 8]
call fcn.180216a60
mov rcx, qword [rbx]
lea rdx, [rcx + 8]
mov rcx, qword [rcx]
add rcx, 0x28
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.180220330
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.18027f010
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x38
mov r8, qword [rcx + 0x128]
add rcx, 0x60
xor r9d, r9d
lea rdx, [rcx + 0xb8]
add rsp, 0x38
jmp 0x18020fba0
Function at 0x180215f20
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov qword [rsp + 0x68], rbp
mov rcx, qword [r8 + 0x38]
test rcx, rcx
je 0x180215f77
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rdi + 0xd8]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0xb8], rbp
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.180091c40
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180215fc0
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x68], rbp
mov rdi, qword [rdi + 0xd0]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rsp + 0x80]
mov ecx, 0x88
call fcn.1801e2240
mov rbx, rax
mov qword [rax + 0x20], rbp
lea rax, [0x18021bff0]
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
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x38], xmm0
lea rcx, [rbx + 0x48]
mov qword [rcx + 0x38], rbp
lea rdx, [rsp + 0x80]
call fcn.180091c40
mov rcx, qword [rdi + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rbx
call fcn.1801e25b0
nop
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x180216059
mov rax, qword [rcx]
lea rdx, [rsp + 0x80]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov dword [r14], ebp
lea rax, [0x180717d40]
mov qword [r14 + 8], rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x180216081
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
call qword [r8 + 0x20]
mov qword [rsi + 0x38], rbp
mov rax, r14
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18027f010
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1802170e0
Capabilities:
Encode data using xor

Disassembly:
cmp qword [r8 + 0x18], 0xf
mov dword [rsp + 0x20], r9d
mov r9, r8
jbe 0x1802170f2
mov r9, qword [r8]
cmp qword [rdx + 0x18], 0xf
mov rax, qword [rdx + 0x10]
jbe 0x180217105
add rax, qword [rdx]
mov rdx, qword [rdx]
jmp 0x180217108
add rax, rdx
xor r8d, r8d
cmp rdx, rax
je 0x18021713b
sub r9, rdx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rsp + r8 + 0x20]
xor cl, byte [rdx]
inc r8
mov byte [r9 + rdx], cl
and r8d, 3
inc rdx
cmp rdx, rax
jne 0x180217120
ret
Function at 0x180217140
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
cmp byte [rcx + 0x19], 0
mov r12, r9
mov rdi, r8
mov r11, rdx
mov rbp, rcx
jge 0x1802171c9
mov rbx, qword [rcx + 0x80]
xor r10d, r10d
mov r8, qword [rbx + 0x10]
mov dword [rsp + 0x60], r8d
test rdi, rdi
je 0x18021719e
mov rax, r10
and eax, 3
movzx eax, byte [rsp + rax + 0x60]
xor byte [rdx + r10], al
inc r10
cmp r10, rdi
jb 0x180217180
mov rbx, qword [rcx + 0x80]
mov rdx, rdi
and edx, 3
je 0x1802171c5
mov rax, r8
lea rdx, [rdx*8]
mov ecx, 0x40
sub rcx, rdx
shl rax, cl
mov rcx, rdx
shr r8, cl
or r8, rax
mov qword [rbx + 0x10], r8
mov rax, qword [rbp + 0x80]
mov r8, rdi
mov rdx, r11
mov rbx, qword [rax]
add rbx, 0x50
mov r15, qword [rbx + 0x10]
lea r14, [rbx + 0x10]
mov rcx, rbx
call fcn.18004cc50
mov r10, qword [rbp + 0x80]
mov rax, qword [r10]
cmp dword [rax + 0x70], 1
jne 0x18021728a
cmp qword [rbx + 0x18], 0xf
jbe 0x180217213
mov rdx, qword [rbx]
mov rbx, rdx
add rdx, qword [r14]
jmp 0x180217219
mov rdx, qword [r14]
add rdx, rbx
lea rax, [r15 + rbx]
cmp rax, rdx
je 0x18021728a
lea rbx, [0x180310470]
nop dword [rax]
cmp dword [r10 + 0x18], 0
movzx r8d, byte [rax]
mov r9d, r8d
movzx r11d, byte [r8 + rbx]
je 0x180217253
mov ecx, dword [r10 + 0x1c]
and r9d, 0x3f
shl ecx, 6
or r9d, ecx
jmp 0x180217262
mov r8d, 0xff
mov ecx, r11d
sar r8d, cl
and r9d, r8d
mov dword [r10 + 0x1c], r9d
mov ecx, dword [r10 + 0x18]
add ecx, 0x10
shl ecx, 4
add ecx, r11d
movzx r8d, byte [rcx + rbx]
mov dword [r10 + 0x18], r8d
cmp r8d, 1
je 0x1802172a8
inc rax
cmp rax, rdx
jne 0x180217230
sub qword [rbp + 0x30], rdi
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], select
call fcn.1801e8d60
mov qword [rsp + 0x28], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r12], xmm0
jmp 0x180217291
Function at 0x18021fd60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rdi, rdx
mov rbx, rcx
add rdx, 0x10
lea rcx, [rsp + 0x70]
call fcn.1802207d0
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x10], rax
lea rdx, [rbx + 0x18]
lea rcx, [rbp - 8]
call fcn.1801fc6d0
movups xmm0, xmmword [rbx + 0x80]
movaps xmmword [rbp + 0x60], xmm0
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18021fdf2
nop
cmp qword [rax], rbx
je 0x18021ff08
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18021fde0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, 0x138
call fcn.1801e2240
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1802256d0]
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
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x70]
call fcn.180225f20
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1801f2450
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x18021fed1
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x38], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
call fcn.1802256d0
nop
lea rcx, [rsp + 0x38]
call fcn.1801f2230
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 8]
call fcn.1801fb0b0
lea rcx, [rsp + 0x78]
call fcn.1801fb0b0
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0x180]
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 0x18021fdf2
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180226be0
nop
nop
jmp 0x18021fed1
Function at 0x180220050
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1b0
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov rdi, rdx
mov rbx, rcx
add rdx, 0x10
lea rcx, [rsp + 0x70]
call fcn.180220f60
mov rdx, rbx
lea rcx, [rsp + 0xe8]
call fcn.180221610
nop
lea rsi, [rdi + 8]
mov rbp, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1802200c9
cmp qword [rax], rbx
je 0x1802201fb
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1802200b7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, 0x160
call fcn.1801e2240
mov rdi, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1802254f0]
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 + 0x70]
lea rcx, [rdi + 0x38]
call fcn.1801fb010
lea rcx, [rdi + 0xb0]
lea rdx, [rsp + 0xe8]
call fcn.180221610
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.1801f2450
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x1802201bc
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x38], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
call fcn.1802254f0
nop
lea rcx, [rsp + 0x38]
call fcn.1801f2230
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0xe8]
call fcn.18020bab0
lea rcx, [rsp + 0x78]
call fcn.1801fb0b0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], 0
je 0x1802200c9
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180226c00
nop
nop
jmp 0x1802201bc
Function at 0x180222b30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r15d, r15d
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x49], rax
lea rdx, [rcx + 0x18]
lea rcx, [rbp - 0x41]
call fcn.18021afa0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x1f], xmm0
mov rax, qword [rdi]
mov qword [rbp + 0x2f], rax
lea r14, [rsi + 8]
mov rsi, qword [rsi]
mov rbx, qword [r14]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180222bb6
cmp qword [rax], rbx
je 0x180222bd4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180222ba8
lea rax, [rbp - 0x49]
mov qword [rbp - 0x71], rax
mov rdi, qword [rbp - 0x49]
cmp byte [rdi + 0x400], 0
jne 0x180222bf0
mov byte [rdi + 0x400], 1
jmp 0x180222bfd
cmp qword [rax + 8], 0
je 0x180222bb6
nop
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.180227010
nop
nop
jmp 0x180222ccd
mov ecx, 0xb8
call fcn.18027f030
mov rdi, rax
mov qword [rdi + 0x20], r15
lea rax, [fcn.180226130]
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, [rbp - 0x49]
lea rcx, [rdi + 0x38]
call fcn.180216710
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rdi + 0xa0], xmm0
mov rax, qword [rbp + 0x2f]
mov qword [rdi + 0xb0], rax
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.1801f2450
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x69], r15
test al, al
je 0x180222ccd
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x79], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rbp - 0x59]
mov rdx, rdi
call fcn.180226130
nop
lea rcx, [rsp + 0x20]
call fcn.1801f2230
nop
mov rdx, qword [rbp - 0x79]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x39]
call fcn.1801fb110
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180222d00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r15d, r15d
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x49], rax
lea rdx, [rcx + 0x18]
lea rcx, [rbp - 0x41]
call fcn.18021afa0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x1f], xmm0
mov rax, qword [rdi]
mov qword [rbp + 0x2f], rax
lea r14, [rsi + 8]
mov rsi, qword [rsi]
mov rbx, qword [r14]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180222d86
cmp qword [rax], rbx
je 0x180222da4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180222d78
lea rax, [rbp - 0x49]
mov qword [rbp - 0x71], rax
mov rdi, qword [rbp - 0x49]
cmp byte [rdi + 0x400], 0
jne 0x180222dc0
mov byte [rdi + 0x400], 1
jmp 0x180222dcd
cmp qword [rax + 8], 0
je 0x180222d86
nop
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.180227010
nop
nop
jmp 0x180222e9d
mov ecx, 0xb8
call fcn.18027f030
mov rdi, rax
mov qword [rdi + 0x20], r15
lea rax, [fcn.180226000]
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, [rbp - 0x49]
lea rcx, [rdi + 0x38]
call fcn.180216790
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rdi + 0xa0], xmm0
mov rax, qword [rbp + 0x2f]
mov qword [rdi + 0xb0], rax
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.1801f2450
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x69], r15
test al, al
je 0x180222e9d
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x79], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rbp - 0x59]
mov rdx, rdi
call fcn.180226000
nop
lea rcx, [rsp + 0x20]
call fcn.1801f2230
nop
mov rdx, qword [rbp - 0x79]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 0x39]
call fcn.1801fb110
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180223300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1d0
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov rdi, rdx
mov rbx, rcx
add rdx, 0x50
lea rcx, [rsp + 0x70]
call fcn.18021ae90
mov rdx, rbx
lea rcx, [rsp + 0xe8]
call fcn.18020bb20
movups xmm0, xmmword [rbx + 0xc8]
movaps xmmword [rsp + 0x1b0], xmm0
lea rsi, [rdi + 0x48]
mov rdi, qword [rdi + 0x40]
mov rbx, qword [rsi]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180223382
cmp qword [rax], rbx
je 0x180223499
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180223370
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, 0x188
call fcn.1801e2240
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.180226970]
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 + 0x70]
call fcn.180226b70
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1801f2450
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
test al, al
je 0x18022345f
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rdi + 0x28]
mov qword [rsp + 0x38], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
call fcn.180226970
nop
lea rcx, [rsp + 0x38]
call fcn.1801f2230
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0xe8]
call fcn.1801ffd60
lea rcx, [rsp + 0x78]
call fcn.1801fb0b0
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0x200]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x180223382
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180227e40
nop
nop
jmp 0x18022345f
Function at 0x180224e50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov rdi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r15d, r15d
mov qword [rbp - 0x58], r15
mov rcx, qword [rdx + 0x48]
test rcx, rcx
je 0x180224ea4
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax]
mov qword [rbp - 0x58], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp - 8], r15
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.180091c40
nop
lea rsi, [rbx + 8]
mov r14, qword [rbx]
mov rbx, qword [rsi]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180224ef2
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x180225048
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180224ee0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, reloc.OLEAUT32.dll_SetErrorInfo
call fcn.1801e2240
mov rdi, rax
mov qword [rax + 0x20], r15
lea rax, [fcn.1802262e0]
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
mov qword [rdi + 0x70], r15
lea rdx, [rsp + 0x70]
lea rcx, [rdi + 0x38]
call fcn.180091c40
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rdi + 0x78], xmm0
lea rcx, [rdi + 0x88]
mov qword [rcx + 0x38], r15
lea rdx, [rbp - 0x40]
call fcn.180091c40
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.1801f2450
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
test al, al
je 0x180224fee
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [r14 + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rdi
call fcn.1802262e0
nop
lea rcx, [rsp + 0x20]
call fcn.1801f2230
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x180725560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x18022500b
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 8], r15
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180225025
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x180224ef2
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180227cd0
nop
nop
jmp 0x180224fee