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

Disassembly:
mov eax, dword [0x1004fea0]
push esi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fa50
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov ecx, dword [esi - 0x20]
mov edx, dword [esp + 8]
push ecx
push esi
push edx
mov ecx, eax
call fcn.10016030
pop esi
ret 4

Function at 0x1000fa70
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fa8d
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
push esi
mov esi, dword [esp + 8]
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x20]
mov byte [ecx + 0x18], 4
cmp edx, eax
jne 0x1000faad
mov edx, dword [eax + 0x3c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x3c], esi
pop esi
ret 4
test edx, edx
je 0x1000fab9
cmp edx, 0x1000
jb 0x1000fac2
push ecx
call sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__
add esp, 4
pop esi
ret 4

Function at 0x1000fad0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [esp + 4], eax
mov edx, dword [esp + 4]
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 8], eax
mov ecx, dword [0x1004fea0]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fb0f
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edx, dword [esi + 4]
mov ecx, dword [edx - 0x20]
push ecx
push edx
mov edx, dword [esp + 0x18]
push edx
mov ecx, eax
call fcn.10016030
pop esi
add esp, 8
ret 4

Function at 0x1000fb30
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004c1c8]
sub esp, 8
push esi
mov esi, dword [ecx + 4]
test eax, eax
je 0x1000fb49
lea ecx, [esi - 0x10]
push ecx
call eax
add esp, 4
lea ecx, [esi - 0x10]
mov dword [esp + 8], ecx
mov edx, dword [esp + 8]
mov eax, 0xffffffff
lock xadd dword [edx], eax
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jne 0x1000fb77
mov eax, dword [0x1004c1c4]
test eax, eax
je 0x1000fb77
push ecx
call eax
add esp, 4
mov edx, dword [0x1004fea0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fb95
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov esi, dword [esp + 0x10]
mov edx, dword [esi - 0x1c]
lea ecx, [esi - 0x20]
mov byte [ecx + 0x18], 4
cmp edx, eax
jne 0x1000fbb7
mov edx, dword [eax + 0x3c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x3c], esi
pop esi
add esp, 8
ret 4
test edx, edx
je 0x1000fbc3
cmp edx, 0x1000
jb 0x1000fbcc
push ecx
call sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__
add esp, 4
pop esi
add esp, 8
ret 4

Function at 0x1000fbe0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fbfd
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0xbc]
lea eax, [eax*4 + 4]
ret
Function at 0x1000fc10
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x1000fc49
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fc3a
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov ecx, dword [eax + 0x10]
mov esi, dword [ecx + 0xbc]
inc esi
imul esi, ebx
jmp 0x1000fc4b
xor esi, esi
cmp esi, dword [edi + 4]
je 0x1000fc8e
mov eax, dword [edi]
test eax, eax
je 0x1000fc6c
push eax
call sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
test esi, esi
je 0x1000fc8e
push 0
push 2
push esi
call sym.tbb.dll_void____cdecl_tbb::internal::NFS_Allocate_unsigned_int__unsigned_int__void__
lea edx, [esi + esi]
push edx
push 0
push eax
mov dword [edi], eax
call fcn.1001c6e0
add esp, 0x18
mov dword [edi + 4], esi
pop edi
pop esi
pop ebx
ret 4

Function at 0x1000fca0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fcbd
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov eax, dword [eax + 0x14]
ret

Function at 0x1000fcd0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax]
mov esi, dword [edi - 0x14]
push 0
mov ecx, edi
call edx
test esi, esi
je 0x1000fd28
mov eax, dword [0x1004c1c8]
test eax, eax
je 0x1000fcfa
lea ecx, [esi - 0x10]
push ecx
call eax
add esp, 4
lea ecx, [esi - 0x10]
mov dword [esp + 8], ecx
mov edx, dword [esp + 8]
mov eax, 0xffffffff
lock xadd dword [edx], eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 1
jne 0x1000fd28
mov eax, dword [0x1004c1c4]
test eax, eax
je 0x1000fd28
push ecx
call eax
add esp, 4
mov edx, dword [0x1004fea0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fd46
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edx, dword [edi - 0x1c]
lea ecx, [edi - 0x20]
mov byte [ecx + 0x18], 4
cmp edx, eax
jne 0x1000fd61
mov edx, dword [eax + 0x3c]
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x3c], edi
pop edi
pop esi
pop ecx
ret
test edx, edx
je 0x1000fd7d
cmp edx, 0x1000
jb 0x1000fd5d
test edx, edx
je 0x1000fd7d
push edi
mov ecx, eax
call fcn.10016b80
pop edi
pop esi
pop ecx
ret
pop edi
pop esi
add esp, 4
mov dword [esp + 4], ecx
jmp sym.tbb.dll_void___cdecl_tbb::internal::NFS_Free_void__
Function at 0x1000fd90
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push ebx
push ebp
push esi
push edi
push eax
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fdb3
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
mov ebx, eax
test esi, esi
je 0x1000fdde
mov eax, dword [edi + 4]
lea ecx, [esi - 4]
cmp ecx, eax
je 0x1000fdd5
mov edx, dword [esi - 4]
push eax
push edx
mov ecx, ebx
call fcn.10017300
mov dword [edi], 0
mov dword [edi + 4], edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push esi
push ebp
mov ecx, ebx
call edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1000fe40
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push ebx
push esi
push edi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000fe62
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
push ecx
mov edi, eax
push 0
push edx
mov ecx, edi
call fcn.10016030
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
jne 0x1000fe9a
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0x40]
jne 0x1000fe92
mov edx, dword [esi]
mov dword [edx], 0
jmp 0x1000fe9a
mov ecx, dword [esi]
push edi
call fcn.100114d0
mov eax, dword [0x1004c22c]
test eax, eax
jne 0x1000feb0
mov ecx, dword [esi]
pop edi
mov dword [ecx + 0x10], eax
pop esi
mov eax, ebx
pop ebx
ret 4
call eax
mov ecx, dword [esi]
pop edi
mov dword [ecx + 0x10], eax
pop esi
mov eax, ebx
pop ebx
ret 4

Function at 0x1000fec0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dword [ecx - 0x20], esi
mov eax, dword [esi]
cmp eax, 1
jne 0x1000ff05
mov ecx, dword [0x1004fea0]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000feed
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edx, dword [eax + 0x14]
cmp edx, dword [eax + 0x40]
jne 0x1000fefd
mov dword [esi], 0
jmp 0x1000ff05
push eax
mov ecx, esi
call fcn.100114d0
mov eax, dword [0x1004c22c]
test eax, eax
jne 0x1000ff15
mov dword [esi + 0x10], eax
pop esi
ret 4
call eax
mov dword [esi + 0x10], eax
pop esi
ret 4
Function at 0x10011230
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
cmp eax, 2
jne 0x100113dc
mov ecx, dword [0x1004fea0]
mov edi, dword [esi + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
jne 0x1001131d
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0xd8]
mov dword [eax + 0xdc], 1
mfence
mov eax, dword [esi + 0x88]
cmp dword [eax + 0xfc], 0
je 0x100112cb
mov edi, dword [esi + 0x88]
add edi, 0xd4
push edi
call fcn.100011f0
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [ecx], edx
mov eax, dword [esi + 0x88]
add esp, 4
mov dword [eax + 0xdc], 0
test edi, edi
je 0x100113dc
mov byte [edi], 0
jmp 0x100113dc
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [esi + 0x88]
mov dword [eax + 0xdc], 0
cmp ecx, dword [0x1004fe70]
je 0x100113dc
mov edi, dword [esi + 0x88]
add edi, 0xd4
push edi
call fcn.100011f0
add esp, 4
test edi, edi
je 0x100113dc
mov byte [edi], 0
jmp 0x100113dc
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lock xchg dword [edx], eax
mov dword [esp + 8], eax
cmp dword [esp + 8], 3
jne 0x10011355
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ecx + 4], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
jmp 0x100113dc
mov edx, dword [esi + 0x88]
add edx, 0xfc
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x88]
add eax, 0xdc
push 0
push eax
call fcn.10001ae0
mov ecx, dword [esi + 0x88]
add ecx, 0xd4
push ecx
call fcn.100011f0
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [ecx], edx
mov eax, dword [esi + 0x88]
add esp, 0xc
mov byte [eax + 0xd4], 0
mov eax, dword [esi + 0x88]
add eax, 0xfc
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov eax, 0xffffffff
lock xadd dword [edx], eax
mov dword [esp + 0x18], eax
mov edi, dword [esi + 0x84]
test edi, edi
je 0x100113f5
push edi
call fcn.1001f5e7
push edi
call sym.tbb.dll_void___cdecl_tbb::internal::deallocate_via_handler_v3_void__
add esp, 8
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1001140b
mov eax, dword [0x1004c230]
test eax, eax
je 0x1001140b
push esi
call eax
add esp, 4
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10011850
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi + 0x7c], 0
lea eax, [esi + 0x7c]
jne 0x100118c5
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
lock cmpxchg dword [edx], ecx
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x100118c5
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x100118ab
push 1
push eax
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0xc0]
push 1
push esi
push 0x7c
call fcn.10011590
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret

Function at 0x10011a20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
add ecx, 0xe0000001
mov eax, 0x80000005
imul ecx
add edx, ecx
sar edx, 0x1c
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [edi + 0x90], esi
jne 0x10011a52
test byte [edi + 0x8c], 1
je 0x10011a92
mov dword [edi + 0x90], esi
mov eax, dword [0x1004fea0]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x10011a91
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0xc0]
push esi
push edi
push 0x90
call fcn.100116e0
test al, al
je 0x10011a91
mov ecx, dword [ebx + 0x10]
push esi
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.10012ef0
pop ebx
pop edi
pop esi
ret 4

Function at 0x10011e40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10011e7a
cmp byte [esi + 0x48], 0
je 0x10011e7a
dec dword [esi + 0x44]
jne 0x10011e7a
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10011e72
mov ecx, dword [0x1004fea0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
pop esi
jmp fcn.10017c40
pop esi
ret

Function at 0x10011f20
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push esi
mov esi, dword [esp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [0x1004fe6c]
test ecx, ecx
je 0x10011f5b
push edi
mov eax, 0x10011e80
push esi
push eax
lea edi, [esi + 0x100]
push edi
call ecx
add esp, 0xc
test eax, eax
je 0x10011f5a
mov dword [edi], 0
pop edi
pop esi
ret
Function at 0x10012020
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov al, byte [0x1004feb8]
test al, al
jne 0x1001202f
call fcn.1001a720
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10012044
inc dword [eax + 0x44]
pop ecx
ret
lea ecx, [esp]
push 0x1004fe68
push ecx
mov dword [esp + 8], 0x10011b10
call fcn.10011f80
mov ecx, dword [esp + 0x10]
add esp, 8
cmp ecx, 0xffffffff
jne 0x1001207c
mov ecx, dword [0x1004fe9c]
test ecx, ecx
jne 0x1001207c
call fcn.1000f570
mov dword [0x1004fe9c], eax
mov ecx, eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10012089
mov eax, 0x200000
push eax
dec ecx
push ecx
call fcn.10012760
push eax
call fcn.100161a0
mov dl, byte [esp + 0x1c]
add esp, 0xc
mov byte [eax + 0x48], dl
pop ecx
ret

Function at 0x100148d0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
push edi
jbe 0x100148e4
mov dword [esi + 0xc], 1
cmp dword [esi + 8], 1
jge 0x10014900
mov eax, dword [0x1004fe9c]
test eax, eax
jne 0x100148fd
call fcn.1000f570
mov dword [0x1004fe9c], eax
mov dword [esi + 8], eax
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10014923
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
push 1
push eax
inc ecx
push ecx
call fcn.10012020
add esp, 0xc
mov edx, dword [esi + 8]
sub edx, dword [esi + 0xc]
push 0x200000
push edx
call fcn.10012760
mov edi, eax
add esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lock cmpxchg dword [edx], ecx
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x100149ac
mov ecx, dword [edi + 0xc4]
mov esi, dword [edi + 0xc0]
lea eax, [edi + 0x84]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lock xadd dword [edx], eax
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
dec edx
jne 0x100149b5
push 1
push ecx
push edi
push esi
call fcn.100129d0
add esp, 0x10
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [edi + 0xd4]
mov dword [esi + 4], eax
pop edi
pop esi
add esp, 0x10
ret

Function at 0x10014e20
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1004fea0]
push esi
push edi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov eax, dword [0x1004c22c]
test eax, eax
je 0x10014e3d
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xd4]
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x10]
add edi, 0x34
push edi
push eax
push ecx
mov ecx, dword [esi]
call fcn.10014d80
pop edi
pop esi
ret 8
Function at 0x100161a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0
push ebx
call dword [0x1004feb4]
mov esi, eax
mov edi, dword [esi + 0x40]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push esi
mov dword [edi - 0x10], 1
call fcn.10011f20
mov eax, dword [ebx + 0xd4]
mov dword [edi - 0x20], eax
mov ecx, dword [ebx + 0xc0]
mov edx, dword [esi + 0x10]
mov eax, 1
mov word [esi + 0x20], ax
add edx, 0xffffff80
mov dword [esi + 0x30], ecx
mov dword [esi + 0x1c], edx
lea eax, [ebx + 0x180]
mov dword [esi + 0xc], eax
mov dword [eax], esi
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
add esp, 0xc
lea eax, [esi + 0xf8]
push eax
call edx
mov eax, dword [esi + 0x30]
mov ecx, dword fs:[0x18]
cmp dword [esi + 8], 0
mov eax, dword [eax + 0x10]
jne 0x10016236
cmp eax, 0x100000
jb 0x10016236
mov ecx, dword [ecx + 4]
sub ecx, 0x80000
mov dword [esi + 0x2c], ecx
jmp 0x10016240
mov edx, dword [ecx + 4]
shr eax, 1
sub edx, eax
mov dword [esi + 0x2c], edx
mov eax, dword [0x1004fe70]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x10]
lea ecx, [eax + 0x88]
add eax, 0xec
mov dword [esi + 0xec], eax
mov dword [esi + 0xe0], ecx
mov edx, dword [esi + 0x24]
lea eax, [esi + 0x24]
cmp edx, dword [0x1004fe7c]
je 0x10016280
push 0
push eax
mov ecx, 0x1004fe78
call fcn.10019e90
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x10016f80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1003e598
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004d650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov ecx, 1
mov eax, esi
or eax, ecx
imul eax, eax, 0xba5703f5
mov dword [esi], vtable.tbb::internal::generic_scheduler.0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], eax
mov edx, esi
shr edx, 1
xor edx, eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x34], edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x50], ebx
mov byte [esi + 0xd4], bl
lea ebp, [esi + 0x50]
mov byte [esp + 0x17], bl
mov dword [esi + 0xdc], ebx
lea edi, [esi + 0xd4]
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
push ebx
mov byte [esi + 0xf4], bl
mov dword [esi + 0xfc], ebx
push ebx
mov dword [esi + 0x10], ecx
xor edx, edx
push 4
mov ecx, esi
mov dword [esp + 0x30], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov word [esi + 0x20], dx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.10016030
mov dword [esi + 0x40], eax
lea eax, [esi + 0xcc]
mov dword [eax], eax
mov dword [esi + 0xd0], eax
mov eax, dword [0x1004c0b4]
cmp eax, ebx
je 0x10017090
mov ecx, dword [str.TBB_Scheduler]
mov edx, dword [str._Constant]
push 2
push ecx
push edx
push edi
call eax
add esp, 0x10
mov eax, dword [esi + 0x40]
mov dword [eax - 0x10], 2
mov eax, dword [0x1004c0b4]
cmp eax, ebx
je 0x100170de
mov ecx, dword [str.TBB_Scheduler]
mov edx, dword [str._Constant]
push 2
push ecx
mov ecx, dword [esi + 0x40]
push edx
sub ecx, 0x10
push ecx
call eax
mov eax, dword [0x1004c0b4]
add esp, 0x10
cmp eax, ebx
je 0x100170de
mov edx, dword [str.TBB_Scheduler]
mov ecx, dword [str._Constant]
push 2
push edx
push ecx
push ebp
call eax
add esp, 0x10
mov dword [esi + 0x100], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x1001a6c0
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x1004feac
mov edx, dword [esp + 4]
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp], eax
mov eax, dword [esp]
inc eax
cmp eax, 1
jne 0x1001a6ec
add esp, 8
jmp fcn.10011db0
add esp, 8
ret

Function at 0x1001a720
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 8
push 0x1004fea7
call fcn.100011f0
add esp, 4
cmp byte [0x1004feb8], 0
jne 0x1001a818
mov dword [esp + 4], 0x1004feac
mov edx, dword [esp + 4]
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp], eax
mov eax, dword [esp]
inc eax
cmp eax, 1
jne 0x1001a763
call fcn.10011db0
push str.TBB_VERSION
call fcn.1000ea60
add esp, 4
test al, al
je 0x1001a779
call fcn.1000eab0
cmp byte [0x1004fea5], 0
jne 0x1001a7ba
call fcn.100077a0
test eax, eax
mov eax, dword [0x1004c0b4]
setne byte [0x1004fea6]
mov byte [0x1004fea5], 1
test eax, eax
je 0x1001a7ba
mov ecx, dword [str.TbbSchedulerInitialization]
mov edx, dword [str.TbbGlobalLock]
push 2
push ecx
push edx
push 0x1004feb9
call eax
add esp, 0x10
push ebx
mov bl, byte [0x1004fea6]
mov byte [esp + 8], bl
call fcn.10007990
call fcn.10011c70
mov eax, dword [esp + 8]
push eax
call fcn.10019990
add esp, 4
cmp dword [0x1004fe9c], 0
jne 0x1001a7ef
call fcn.1000f570
mov dword [0x1004fe9c], eax
call fcn.10011c10
test bl, bl
pop ebx
mov eax, str.enabled
jne 0x1001a803
mov eax, str.disabled
push eax
push str.Tools_support
call fcn.1000ead0
add esp, 8
mov byte [0x1004feb8], 1
mov byte [0x1004fea7], 0
add esp, 8
ret

Function at 0x1001a830
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
sub eax, 0
je 0x1001a895
dec eax
je 0x1001a865
sub eax, 2
jne 0x1001a8e6
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.10011e40
add esp, 4
mov al, 1
add esp, 8
ret 0xc
mov dword [esp + 4], 0x1004feac
mov edx, dword [esp + 4]
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 1
jne 0x1001a8e6
call fcn.10011db0
mov al, 1
add esp, 8
ret 0xc
mov dword [esp + 0x10], 0x1004feac
mov edx, dword [esp + 0x10]
mov eax, 0xffffffff
lock xadd dword [edx], eax
mov dword [esp], eax
mov edx, dword [esp]
dec edx
jne 0x1001a8b8
call fcn.10011de0
mov al, byte [0x1004feb8]
test al, al
je 0x1001a8e6
mov dword [esp + 0x10], 0x1004feac
mov edx, dword [esp + 0x10]
mov eax, 0xffffffff
lock xadd dword [edx], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
dec eax
jne 0x1001a8e6
call fcn.10011de0
mov al, 1
add esp, 8
ret 0xc
Function at 0x1001b7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003e7e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004d650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
and ebp, 0xfffffff8
mov edx, ebp
lea ebx, [ecx - 1]
shr edx, 3
xor esi, esi
and ebx, edx
jne 0x1001b84e
mov eax, dword [eax + 0x10]
imul eax, ecx
add eax, 8
push eax
call fcn.1001d2d9
mov esi, eax
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi], ebx
lea eax, [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
lea eax, [edi + 0xc]
push ebp
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], eax
call fcn.10001ae0
add esp, 8
test esi, esi
je 0x1001b89c
lea ebp, [edi + 0x10]
push ebp
call fcn.100011f0
mov eax, dword [edi + 8]
add esp, 4
test eax, eax
je 0x1001b88d
mov dword [eax], esi
jmp 0x1001b88f
mov dword [edi], esi
mov dword [edi + 8], esi
test ebp, ebp
je 0x1001b89f
mov byte [ebp], 0
jmp 0x1001b89f
mov esi, dword [edi + 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push ebx
push esi
call edx
mov eax, 1
mov ecx, ebx
shl eax, cl
or dword [esi + 4], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [edx], ecx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc

Function at 0x1001cbd7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004d650]
jne 0x1001cbe1
repz ret
jmp fcn.100227bc