joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003658d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
call fcn.100293e4
add esp, 4
test eax, eax
je 0x10007166
mov ecx, dword [ebp + 0x10]
movq xmm0, qword [ecx]
movq qword [eax], xmm0
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
jmp 0x10007168
xor eax, eax
mov dword [ebp + 0x10], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x100031e0
push 0
push 0
call fcn.1002ced2
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100071a4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.10029122
int3

Function at 0x10009e50
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [ebx + 4]
test al, 1
jne 0x10009e8b
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call edi
test eax, eax
je 0x10009e8b
nop dword [eax]
cmp dword [eax], esi
je 0x10009e9c
mov eax, dword [eax + 8]
test eax, eax
jne 0x10009e80
push dword [0x10049c9c]
call edi
test eax, eax
je 0x10009efd
mov eax, dword [eax + 4]
jmp 0x10009eff
cmp dword [eax + 4], 0
je 0x10009e8b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
nop
push dword [ecx + 0x10]
call fcn.1001f000
add esp, 4
nop
test esi, esi
je 0x10009f93
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10009f93
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10009f93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
ret 4
xor eax, eax
push 4
push 0x30
push eax
push dword [esp + 0x1c]
call fcn.100069d0
mov ecx, dword [esp + 0x20]
mov edx, eax
add esp, 0x10
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x1001f7c0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov eax, dword [ecx + 4]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov ecx, dword [ebx + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.100242a0
pop edi
pop esi
pop ebx
ret 4
Function at 0x10009fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [ebx + 4]
test al, 1
jne 0x10009fdb
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call edi
test eax, eax
je 0x10009fdb
nop dword [eax]
cmp dword [eax], esi
je 0x10009fec
mov eax, dword [eax + 8]
test eax, eax
jne 0x10009fd0
push dword [0x10049c9c]
call edi
test eax, eax
je 0x1000a056
mov eax, dword [eax + 4]
jmp 0x1000a058
cmp dword [eax + 4], 0
je 0x10009fdb
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
nop
mov dword [esp + 0x10], eax
lea ecx, [edx + 0x2c]
lea eax, [esp + 0x10]
push eax
call fcn.10023450
nop
test esi, esi
je 0x1000a0f2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000a0f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000a0f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
ret 4
xor eax, eax
push 4
push 0x34
push eax
push dword [esp + 0x1c]
call fcn.100069d0
mov ecx, dword [esp + 0x20]
mov edx, eax
add esp, 0x10
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x1001f840
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x2c], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov ecx, dword [ebx + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.100242a0
pop edi
pop esi
pop ebx
ret 4
Function at 0x1000a100
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 4]
test al, 1
jne 0x1000a13b
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000a13b
nop dword [eax]
cmp dword [eax], esi
je 0x1000a150
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000a130
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000a1a1
mov eax, dword [eax + 4]
jmp 0x1000a1a3
cmp dword [eax + 4], 0
je 0x1000a13b
push dword [esp + 0x20]
lea ecx, [esp + 0xc]
call fcn.10012230
nop
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000a18f
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ecx + 0xc]
call fcn.10023380
push dword [esi + 0x14]
call fcn.1001f000
add esp, 4
nop
lea ecx, [esp + 8]
call fcn.10014440
pop esi
pop ebx
add esp, 0x14
ret 4
xor eax, eax
push 4
push 0x38
push eax
push dword [esp + 0x2c]
call fcn.100069d0
mov ecx, dword [esp + 0x30]
mov edx, eax
add esp, 0x10
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x1001f8d0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov eax, dword [ecx + 4]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x30], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov ecx, dword [ebx + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.100242a0
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x1000a270
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036a5d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x1000a2d3
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call edi
test eax, eax
je 0x1000a2d3
cmp dword [eax], esi
je 0x1000a2eb
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000a2c8
push dword [0x10049c9c]
mov dword [ebp - 4], 0xffffffff
call edi
test eax, eax
je 0x1000a339
mov eax, dword [eax + 4]
jmp 0x1000a33b
cmp dword [eax + 4], 0
je 0x1000a2d3
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov dword [ebp + 8], eax
nop
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1001bc90
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 4
push 0x28
push eax
push dword [ebp + 8]
call fcn.100069d0
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 0x10
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x1001f9a0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov ecx, dword [ebx + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a3c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036a95
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000a425
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000a425
cmp dword [eax], esi
je 0x1000a4e3
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000a416
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000a444
push 0x34
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x1001fa20
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x2c], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [edi]
mov dword [edx + 0x30], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push edx
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000a425
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.1001bd80
nop
test esi, esi
je 0x1000a4cf
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000a4cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000a4cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a5a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000a605
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000a605
cmp dword [eax], esi
je 0x1000a6a7
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000a5f6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000a624
push 0x58
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1001faf0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x24], eax
lea eax, [ecx + 8]
push eax
lea ecx, [esi + 0x28]
call fcn.10012010
mov eax, dword [edi]
mov dword [esi + 0x54], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000a605
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], eax
lea eax, [ecx + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.10012010
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1001bdf0
nop
lea ecx, [ebp - 0x2c]
call fcn.10015df0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1000a693
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000a693
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000a693
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036b15
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000a7c5
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000a7c5
cmp dword [eax], esi
je 0x1000a89b
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000a7b6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000a7e4
push 0x70
call fcn.100293e4
add esp, 4
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1001fbc0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edx]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x24], eax
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [edx + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x34], eax
lea eax, [edx + 0x18]
push eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
call fcn.10012610
mov eax, dword [edi]
mov dword [esi + 0x6c], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000a7c5
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.100122a0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.10017540
nop
lea ecx, [ebp - 0x48]
call fcn.100155d0
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x1000a887
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000a887
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000a887
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036b55
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000a9a5
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000a9a5
cmp dword [eax], esi
je 0x1000aa41
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000a996
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000a9c4
push 0x68
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1001fcb0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 0x24]
call fcn.10011c20
mov eax, dword [edi]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000a9a5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x58], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x54]
call fcn.10011c20
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.1001beb0
nop
lea ecx, [ebp - 0x50]
call fcn.10013f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000aab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036b95
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000ab15
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000ab15
cmp dword [eax], esi
je 0x1000abb1
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ab06
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ab34
push 0x44
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1001fd60
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 0x24]
call fcn.10011c80
mov eax, dword [edi]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000ab15
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.10011c80
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001bf70
nop
lea ecx, [ebp - 0x24]
call fcn.100161b0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1000ab9d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000ab9d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000ab9d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ac60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
test al, 1
jne 0x1000acc5
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000acc5
cmp dword [eax], esi
je 0x1000ad61
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000acb6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ace4
push 0x74
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1001fe20
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
lea eax, [ecx + 4]
push eax
lea ecx, [esi + 0x24]
call fcn.10011cf0
mov eax, dword [edi]
mov dword [esi + 0x70], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 4], 0
je 0x1000acc5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x64], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x60]
call fcn.10011cf0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.1001bfe0
nop
lea ecx, [ebp - 0x24]
call fcn.10016260
lea ecx, [ebp - 0x60]
call fcn.100145b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000adf0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x40
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000ae2f
push dword [0x10049c9c]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000ae2f
nop dword [eax]
cmp dword [eax], esi
je 0x1000aee8
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ae20
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ae4e
push 0x64
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1001ff70
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [ecx + 4]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x28], eax
lea eax, [ecx + 0xc]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [esi + 0x2c]
push eax
call fcn.10012610
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov ecx, dword [edi + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push esi
call fcn.100242a0
pop edi
pop esi
add esp, 0x40
ret 4
cmp dword [eax + 4], 0
je 0x1000ae2f
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], eax
lea eax, [ecx + 0xc]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [esp + 0x14]
push eax
call fcn.10012610
nop
nop
lea ecx, [esp + 0x14]
call fcn.10015750
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000aee0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000aee0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000aee0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x40
ret 4