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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb945
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 0x1000d505
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 0x1000d505
cmp dword [eax], esi
je 0x1000d598
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000d4f6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000d524
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], 0x10022030
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 0x1000d505
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.1001d8f0
nop
lea ecx, [ebp - 0x4c]
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 0x1000d600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb985
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 0x1000d665
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 0x1000d665
cmp dword [eax], esi
je 0x1000d701
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000d656
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000d684
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], 0x100220e0
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 0x1000d665
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.1001a100
nop
lea ecx, [ebp - 0x34]
call fcn.10015550
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 0x1000d770
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 0x1000d7af
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 0x1000d7af
nop dword [eax]
cmp dword [eax], esi
je 0x1000d862
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000d7a0
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000d7ce
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], 0x10022190
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 0x1000d7af
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov esi, dword [ecx + 0xc]
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 dword [esp + 0x14], esi
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
nop
lea ecx, [esp + 8]
call fcn.1001d9b0
nop
test esi, esi
je 0x1000d85a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000d85a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000d85a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1000d8e0
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 0x1000d91f
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 0x1000d91f
nop dword [eax]
cmp dword [eax], esi
je 0x1000d9d2
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000d910
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000d93e
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], 0x10022230
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 0x1000d91f
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov esi, dword [ecx + 0xc]
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 dword [esp + 0x14], esi
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
nop
lea ecx, [esp + 8]
call fcn.1001d9b0
nop
test esi, esi
je 0x1000d9ca
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000d9ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000d9ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1000da50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb9c5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 0x1000dab5
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 0x1000dab5
cmp dword [eax], esi
je 0x1000db57
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000daa6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000dad4
push 0x58
call fcn.100beeb0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100222d0
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.10013440
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.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 0x1000dab5
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.10013440
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1001da20
nop
lea ecx, [ebp - 0x2c]
call fcn.10017100
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1000db43
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000db43
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000db43
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 0x1000dc10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eba05
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 0x1000dc75
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 0x1000dc75
cmp dword [eax], esi
je 0x1000dd39
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000dc66
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000dc94
push 0x38
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x100223a0
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 eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
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 eax, dword [edi]
mov dword [edx + 0x34], 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 0x1000dc75
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1001dae0
nop
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1000dd25
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000dd25
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000dd25
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 0x1000de10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eba45
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 0x1000de75
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 0x1000de75
cmp dword [eax], esi
je 0x1000df39
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000de66
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000de94
push 0x38
call fcn.100beeb0
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10022470
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 eax, dword [ecx + 8]
mov dword [edx + 0x28], eax
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 eax, dword [edi]
mov dword [edx + 0x34], 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 0x1000de75
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1001dba0
nop
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1000df25
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000df25
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000df25
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 0x1000e010
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eba85
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 0x1000e075
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 0x1000e075
cmp dword [eax], esi
je 0x1000e14b
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e066
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e094
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], 0x10022540
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 0x1000e075
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.1001ae60
nop
lea ecx, [ebp - 0x34]
call fcn.10016e30
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1000e137
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000e137
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000e137
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 0x1000e1f0
Capabilities:
Access peb ldr_data
Get number of processors
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebac5
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 ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 4]
test al, 1
jne 0x1000e255
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 0x1000e255
cmp dword [eax], esi
je 0x1000e32c
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e246
mov ebx, dword [ebx]
mov ecx, 1
lea eax, [ebx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e274
push 0x64
call fcn.100beeb0
add esp, 4
mov ebx, eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10022630
mov dword [ebx], 0
lea edi, [ecx + 4]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov eax, dword [ecx]
lea ecx, [ebx + 0x24]
push edi
mov dword [ebx + 0x20], eax
call fcn.10013440
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x54], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x58], eax
mov al, byte [edi + 0x38]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebx + 0x5c], al
mov byte [edi + 0x38], 0
mov eax, dword [ecx]
mov dword [ebx + 0x60], eax
mov ecx, dword [ecx + 4]
mov eax, ecx
shr eax, 1
and ecx, 0xfffffffc
and al, 1
movzx eax, al
push eax
mov ecx, dword [ecx + 8]
push ebx
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 0x1000e255
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.10013790
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001dc60
nop
lea ecx, [ebp - 0x54]
call fcn.100165b0
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 0x1000e390
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000e3cf
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 0x1000e3cf
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000e47f
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e3c0
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e3ee
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], 0x100227b0
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
ret 4
cmp dword [eax + 4], 0
je 0x1000e3cf
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
nop
mov edx, dword [eax]
test edx, edx
je 0x1000e4bb
mov ecx, 1
lea eax, [edx + 0x48]
xchg dword [eax], ecx
push edx
call fcn.10020630
add esp, 4
nop
test esi, esi
je 0x1000e47a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000e47a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000e47a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4
Function at 0x1000e4f0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000e52f
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 0x1000e52f
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000e5df
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e520
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000e54e
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], 0x10022850
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 0x1000e52f
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 0x1000e61b
mov ecx, 1
lea eax, [edx + 0x48]
xchg dword [eax], ecx
push edx
call fcn.10020630
add esp, 4
nop
test esi, esi
je 0x1000e5da
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000e5da
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000e5da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4