Function at 0x100166f0
Capabilities:
Allocate thread local storage
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x1010b520]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x7d0
mov dword [esp + 0x14], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push edi
call esi
push 0x7d0
lea eax, [edi + 0x18]
push eax
call esi
mov dword [edi + 0x34], ebx
lea ecx, [edi + 0x6c]
mov dword [edi + 0x38], ebx
sub esp, 8
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov byte [edi + 0x44], bl
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x68], 0xf
mov dword [edi + 0x64], ebx
mov byte [edi + 0x54], bl
call fcn.10007c80
sub esp, 8
mov dword [edi + 0x8c], ebx
lea ecx, [edi + 0x90]
call fcn.1001a400
sub esp, 8
lea ecx, [edi + 0xb0]
call fcn.10007c80
sub esp, 8
lea ecx, [edi + 0xd0]
call fcn.1001a490
sub esp, 8
lea ecx, [edi + 0xf0]
call fcn.10007c80
mov dword [edi + 0x110], ebx
xor ecx, ecx
mov dword [edi + 0x114], ebx
mov eax, 0xe
mov dword [edi + 0x118], ebx
mov dword [edi + 0x11c], ebx
mov dword [edi + 0x120], ebx
mov dword [edi + 0x128], ebx
mov dword [edi + 0x12c], ebx
mov dword [edi + 0x130], ebx
mov dword [edi + 0x134], ebx
mov dword [edi + 0x138], ebx
mov dword [edi + 0x150], 0xf
mov dword [edi + 0x14c], ebx
mov byte [edi + 0x13c], bl
mov dword [edi + 0x154], 1
mov dword [edi + 0x158], ebx
mov dword [edi + 0x15c], ebx
mov dword [edi + 0x160], ebx
cmp byte [str._Debug__Test], cl
mov dword [esp + 0xf0], 0xf
cmove eax, ecx
mov dword [esp + 0xec], ebx
push eax
push str._Debug__Test
lea ecx, [esp + 0xe4]
mov byte [esp + 0xe4], bl
call fcn.100029e0
lea eax, [esp + 0xdc]
push eax
lea ecx, [edi + 0x164]
call fcn.10019010
cmp dword [esp + 0xf0], 0x10
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
jb 0x10016895
mov eax, dword [0x10310174]
test eax, eax
je 0x10016889
dec eax
cmp eax, 1
ja 0x10016895
push dword [esp + 0xdc]
push ebx
push dword [0x10310170]
call esi
jmp 0x10016895
mov ecx, dword [esp + 0xdc]
call fcn.1002f460
xor ecx, ecx
mov dword [esp + 0xf0], 0xf
cmp byte [str._Debug__Test], cl
mov eax, 0xe
mov dword [esp + 0xec], ebx
cmove eax, ecx
mov byte [esp + 0xdc], bl
push eax
push str._Debug__Test
lea ecx, [esp + 0xe4]
call fcn.100029e0
lea eax, [esp + 0xdc]
push eax
lea ecx, [edi + 0x194]
call fcn.10019010
cmp dword [esp + 0xf0], 0x10
jb 0x1001691b
mov eax, dword [0x10310174]
test eax, eax
je 0x1001690f
dec eax
cmp eax, 1
ja 0x1001691b
push dword [esp + 0xdc]
push 0
push dword [0x10310170]
call esi
jmp 0x1001691b
mov ecx, dword [esp + 0xdc]
call fcn.1002f460
mov dword [edi + 0x1c4], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x1c4], eax
cmp eax, 0xffffffff
je 0x10016ccf
mov dword [edi + 0x1c8], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x1c8], eax
cmp eax, 0xffffffff
je 0x10016cd4
mov dword [edi + 0x1cc], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x1cc], eax
cmp eax, 0xffffffff
je 0x10016cd9
sub esp, 8
lea ecx, [edi + 0x1d0]
call fcn.1001a6f0
mov dword [edi + 0x1f0], ebx
mov dword [edi + 0x1f4], ebx
mov dword [edi + 0x1f8], ebx
mov dword [edi + 0x1fc], ebx
mov dword [edi + 0x200], ebx
mov dword [edi + 0x204], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x120], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.100477e0
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], edx
cmp dword [0x1030f264], ebx
je 0x10016a27
push 0x10
push str.trace_to_console
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.100029e0
mov ecx, dword [0x1030f264]
lea eax, [esp + 0xdc]
push eax
mov ebx, 1
call fcn.10010ea0
mov byte [esp + 0xf], bl
test al, al
jne 0x10016a2c
mov byte [esp + 0xf], 0
test bl, 1
je 0x10016a6c
and ebx, 0xfffffffe
cmp dword [esp + 0xf0], 0x10
jb 0x10016a6c
mov eax, dword [0x10310174]
test eax, eax
je 0x10016a60
dec eax
cmp eax, 1
ja 0x10016a6c
push dword [esp + 0xdc]
push 0
push dword [0x10310170]
call esi
jmp 0x10016a6c
mov ecx, dword [esp + 0xdc]
call fcn.1002f460
cmp byte [esp + 0xf], 0
je 0x10016c8f
push 0x10
push str.trace_to_console
lea ecx, [esp + 0xfc]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.100029e0
test ebx, 0x100
je 0x10016abf
lea ecx, [esp + 0x18]
and ebx, 0xfffffeff
call fcn.10012e80
mov ecx, dword [0x1030f264]
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.10010fb0
cmp dword [esp + 0x108], 0x10
jb 0x10016b12
mov eax, dword [0x10310174]
test eax, eax
je 0x10016b06
dec eax
cmp eax, 1
ja 0x10016b12
push dword [esp + 0xf4]
push 0
push dword [0x10310170]
call esi
jmp 0x10016b12
mov ecx, dword [esp + 0xf4]
call fcn.1002f460
cmp dword [esp + 0xec], 0
lea ecx, [esp + 0xdc]
jne 0x10016b31
push 0xa
push str._ipc__task
call fcn.100029e0
jmp 0x10016b50
push 1
push str.____
call fcn.10006490
push 0xa
push str._ipc__task
lea ecx, [esp + 0xe4]
call fcn.10006490
cmp dword [0x1030f270], 2
jg 0x10016c0c
push 1
push 2
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 2
or ebx, 2
call fcn.10007010
xorps xmm0, xmm0
mov dword [esp + 0xbc], str.e:_trunk_v39_97_src_basedebug_trace_event_impl.cc
mov dword [esp + 0xc0], 0x4dd
movlpd qword [esp + 0xc8], xmm0
mov byte [esp + 0xd0], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4dd
push str.e:_trunk_v39_97_src_basedebug_trace_event_impl.cc
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], eax
call fcn.10013120
push 0x10104c44
lea eax, [esp + 0xe0]
push eax
push str._with_CategoryFilter_
push str.trace_to_console
lea eax, [esp + 0x30]
push str.Start
push eax
call fcn.10006d00
add esp, 8
push eax
call fcn.10006d00
add esp, 8
push eax
call fcn.10006d00
add esp, 8
push eax
call fcn.1000aad0
add esp, 8
push eax
call fcn.10006d00
add esp, 8
test bl, 2
je 0x10016c1a
lea ecx, [esp + 0x18]
call fcn.10012e80
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 2
push eax
push ecx
lea eax, [esp + 0xe4]
mov word [esp + 0x1c], 0
push eax
lea ecx, [esp + 0x100]
call fcn.10019010
push eax
mov ecx, edi
call fcn.100174d0
lea ecx, [esp + 0xf4]
call fcn.10019250
cmp dword [esp + 0xf0], 0x10
jb 0x10016c8f
mov eax, dword [0x10310174]
test eax, eax
je 0x10016c83
dec eax
cmp eax, 1
ja 0x10016c8f
push dword [esp + 0xdc]
push 0
push dword [0x10310170]
call esi
jmp 0x10016c8f
mov ecx, dword [esp + 0xdc]
call fcn.1002f460
mov ecx, edi
call fcn.10017910
mov esi, eax
test esi, esi
je 0x10016ca1
cmp esi, dword [edi + 0x3c]
je 0x10016cde
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], 0
test ecx, ecx
je 0x10016cb5
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x124]
mov eax, edi
mov dword [edi + 0x3c], esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10041ad4
mov esp, ebp
pop ebp
ret
call fcn.1001fee0
call fcn.1001fee0
call fcn.1001fee0
call fcn.100439d6
int3