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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebb05
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000e6b5
push dword [0x10164654]
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 0x1000e6b5
cmp dword [eax], esi
je 0x1000e751
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e6a6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e6d4
push 0x78
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100228f0
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.100132c0
mov eax, dword [edi]
mov dword [esi + 0x74], 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.100259a0
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 0x1000e6b5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x68], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x64]
call fcn.100132c0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.1001dcb0
nop
lea ecx, [ebp - 0x64]
call fcn.10015cd0
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 0x1000e7c0
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 0x1000e7ff
push dword [0x10164654]
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 0x1000e7ff
nop dword [eax]
cmp dword [eax], esi
je 0x1000e8b8
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e7f0
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e81e
push 0x64
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100229a0
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.10013a40
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.100259a0
pop edi
pop esi
add esp, 0x40
ret 4
cmp dword [eax + 4], 0
je 0x1000e7ff
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.10013a40
nop
nop
lea ecx, [esp + 0x14]
call fcn.10016b30
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000e8b0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000e8b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000e8b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x40
ret 4
Function at 0x1000e940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebb45
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000e9a5
push dword [0x10164654]
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 0x1000e9a5
cmp dword [eax], esi
je 0x1000ea41
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e996
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e9c4
push 0x70
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022a40
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.10013340
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.100259a0
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 0x1000e9a5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10013340
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.1001dd10
nop
lea ecx, [ebp - 0x24]
call fcn.10017710
lea ecx, [ebp - 0x5c]
call fcn.10015890
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 0x1000ead0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebb85
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000eb35
push dword [0x10164654]
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 0x1000eb35
cmp dword [eax], esi
je 0x1000ec0b
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000eb26
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000eb54
push 0x5c
call fcn.100beeb0
add esp, 4
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022b90
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.10013b60
mov eax, dword [edi]
mov dword [esi + 0x58], 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.100259a0
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 0x1000eb35
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.10013730
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1001b7a0
nop
lea ecx, [ebp - 0x34]
call fcn.100173f0
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1000ebf7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000ebf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000ebf7
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 0x1000ecb0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000ecef
push dword [0x10164654]
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 0x1000ecef
nop dword [eax]
cmp dword [eax], esi
je 0x1000eda2
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ece0
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ed0e
push 0x34
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10022c80
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.100259a0
pop edi
pop esi
add esp, 0x10
ret 4
cmp dword [eax + 4], 0
je 0x1000ecef
mov ecx, dword [esp + 0x1c]
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
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
nop
lea ecx, [esp + 8]
call fcn.1001d8b0
nop
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1000ed9a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000ed9a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000ed9a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1000ee20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000ee5f
push dword [0x10164654]
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 0x1000ee5f
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000ef0f
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ee50
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ee7e
push 0x34
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10022d20
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 eax, dword [ecx + 0xc]
mov dword [edx + 0x2c], eax
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.100259a0
pop edi
pop esi
ret 4
cmp dword [eax + 4], 0
je 0x1000ee5f
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax]
test edx, edx
je 0x1000ef4b
mov ecx, 1
lea eax, [edx + 0x48]
xchg dword [eax], ecx
push edx
call fcn.10020630
add esp, 4
nop
test esi, esi
je 0x1000ef0a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000ef0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000ef0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4
Function at 0x1000ef80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebbc5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000efe5
push dword [0x10164654]
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 0x1000efe5
cmp dword [eax], esi
je 0x1000f081
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000efd6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000f004
push 0x44
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022dc0
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.100130b0
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.100259a0
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 0x1000efe5
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.100130b0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001d520
nop
lea ecx, [ebp - 0x24]
call fcn.100177c0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x1000f06d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f06d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000f06d
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 0x1000f130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc05
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000f195
push dword [0x10164654]
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 0x1000f195
cmp dword [eax], esi
je 0x1000f231
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000f186
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000f1b4
push 0x4c
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022e80
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.100133d0
mov eax, dword [edi]
mov dword [esi + 0x48], 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.100259a0
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 0x1000f195
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x38]
call fcn.100133d0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.1001b980
nop
lea ecx, [ebp - 0x34]
call fcn.10015a00
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 0x1000f2a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc45
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000f305
push dword [0x10164654]
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 0x1000f305
cmp dword [eax], esi
je 0x1000f398
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000f2f6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000f324
push 0x64
call fcn.100beeb0
add esp, 4
mov esi, eax
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10022f30
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
call fcn.100137f0
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.100259a0
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 0x1000f305
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.100137f0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001dd60
nop
lea ecx, [ebp - 0x4c]
call fcn.100153e0
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 0x1000f400
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc85
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000f465
push dword [0x10164654]
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 0x1000f465
cmp dword [eax], esi
je 0x1000f523
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000f456
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000f484
push 0x34
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10022fe0
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.100259a0
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 0x1000f465
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.1001d330
nop
test esi, esi
je 0x1000f50f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f50f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000f50f
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 0x1000f5e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebcc5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1000f645
push dword [0x10164654]
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 0x1000f645
cmp dword [eax], esi
je 0x1000f703
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000f636
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000f664
push 0x34
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x100230b0
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 eax, dword [ecx + 0xc]
mov dword [edx + 0x2c], eax
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.100259a0
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 0x1000f645
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.1001b300
nop
test esi, esi
je 0x1000f6ef
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f6ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000f6ef
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