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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036e15
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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 0x1000c0d5
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 0x1000c0d5
cmp dword [eax], esi
je 0x1000c168
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000c0c6
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000c0f4
push 0x64
call fcn.100293e4
add esp, 4
mov esi, eax
push dword [ebp + 8]
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10020990
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.100123c0
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
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 0x1000c0d5
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.100123c0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001c340
nop
lea ecx, [ebp - 0x4c]
call fcn.10014360
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 0x1000c1d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036e55
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 0x1000c235
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 0x1000c235
cmp dword [eax], esi
je 0x1000c2d1
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000c226
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000c254
push 0x4c
call fcn.100293e4
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10020a40
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.10011fa0
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.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 0x1000c235
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.10011fa0
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.10018b60
nop
lea ecx, [ebp - 0x34]
call fcn.10014020
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 0x1000c340
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 0x1000c37f
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 0x1000c37f
nop dword [eax]
cmp dword [eax], esi
je 0x1000c432
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000c370
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000c39e
push 0x34
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10020af0
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
pop edi
pop esi
add esp, 0x10
ret 4
cmp dword [eax + 4], 0
je 0x1000c37f
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.1001c400
nop
test esi, esi
je 0x1000c42a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000c42a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000c42a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1000c4b0
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 0x1000c4ef
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 0x1000c4ef
nop dword [eax]
cmp dword [eax], esi
je 0x1000c5a2
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000c4e0
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000c50e
push 0x34
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10020b90
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
pop edi
pop esi
add esp, 0x10
ret 4
cmp dword [eax + 4], 0
je 0x1000c4ef
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.1001c400
nop
test esi, esi
je 0x1000c59a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000c59a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000c59a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x1000c620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036e95
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 0x1000c685
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 0x1000c685
cmp dword [eax], esi
je 0x1000c727
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000c676
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000c6a4
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], 0x10020c30
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 0x1000c685
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.1001c470
nop
lea ecx, [ebp - 0x2c]
call fcn.10015ba0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1000c713
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000c713
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000c713
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 0x1000c7e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036ed5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 0x1000c845
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 0x1000c845
cmp dword [eax], esi
je 0x1000c909
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000c836
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000c864
push 0x38
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10020d00
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.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 0x1000c845
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.1001c530
nop
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1000c8f5
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000c8f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000c8f5
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 0x1000c9e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036f15
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 0x1000ca45
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 0x1000ca45
cmp dword [eax], esi
je 0x1000cb09
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ca36
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ca64
push 0x38
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10020dd0
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.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 0x1000ca45
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.1001c5f0
nop
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1000caf5
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000caf5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000caf5
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 0x1000cbe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036f55
mov eax, dword fs:[0]
push eax
sub esp, 0x44
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 0x1000cc45
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 0x1000cc45
cmp dword [eax], esi
je 0x1000cd1b
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000cc36
mov esi, dword [edi]
mov ecx, 1
lea eax, [esi + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000cc64
push 0x5c
call fcn.100293e4
add esp, 4
mov esi, eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10020ea0
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.10012730
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.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 0x1000cc45
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.10012300
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.100198c0
nop
lea ecx, [ebp - 0x34]
call fcn.100158d0
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1000cd07
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000cd07
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000cd07
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 0x1000cdc0
Capabilities:
Access peb ldr_data
Get number of processors
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036f95
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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]
test al, 1
jne 0x1000ce25
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 0x1000ce25
cmp dword [eax], esi
je 0x1000cefc
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000ce16
mov ebx, dword [ebx]
mov ecx, 1
lea eax, [ebx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000ce44
push 0x64
call fcn.100293e4
add esp, 4
mov ebx, eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10020f90
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.10012010
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.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 0x1000ce25
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.10012360
mov dword [ebp - 4], 0
nop
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1001c6b0
nop
lea ecx, [ebp - 0x54]
call fcn.10015050
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 0x1000cf60
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000cf9f
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 0x1000cf9f
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000d04f
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000cf90
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x108]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000cfbe
push 0x34
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10021110
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
pop edi
pop esi
ret 4
cmp dword [eax + 4], 0
je 0x1000cf9f
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 0x1000d08b
mov ecx, 1
lea eax, [edx + 0x48]
xchg dword [eax], ecx
push edx
call fcn.1001f000
add esp, 4
nop
test esi, esi
je 0x1000d04a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000d04a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000d04a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4
Function at 0x1000d0c0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test al, 1
jne 0x1000d0ff
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 0x1000d0ff
nop word [eax + eax]
cmp dword [eax], esi
je 0x1000d1af
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000d0f0
mov edx, dword [edi]
mov ecx, 1
lea eax, [edx + 0x208]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000d11e
push 0x34
call fcn.100293e4
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x100211b0
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.100242a0
pop edi
pop esi
ret 4
cmp dword [eax + 4], 0
je 0x1000d0ff
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 0x1000d1eb
mov ecx, 1
lea eax, [edx + 0x48]
xchg dword [eax], ecx
push edx
call fcn.1001f000
add esp, 4
nop
test esi, esi
je 0x1000d1aa
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000d1aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000d1aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
ret 4