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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x7d0
lea eax, [edi + 4]
mov dword [edi], 0x5ad578
push eax
call esi
push 0x7d0
lea eax, [edi + 0x1c]
push eax
call esi
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x78]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x74], 0xf
mov dword [edi + 0x70], 0
mov byte [edi + 0x60], 0
call fcn.004e9520
push ecx
lea eax, [esp + 0xc]
mov dword [edi + 0x98], 0
push eax
lea ecx, [edi + 0x9c]
mov dword [esp + 0x10], 0
call fcn.004fbb20
lea ecx, [edi + 0xbc]
call fcn.004e9520
lea ecx, [edi + 0xdc]
call fcn.004fb410
lea ecx, [edi + 0xfc]
call fcn.004e9520
mov dword [edi + 0x120], 0
lea ecx, [edi + 0x188]
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x15c], 0xf
mov dword [edi + 0x158], 0
mov byte [edi + 0x148], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x178], 0xf
mov dword [edi + 0x174], 0
mov byte [edi + 0x164], 0
mov dword [edi + 0x17c], 1
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
call fcn.00512f90
lea ecx, [edi + 0x1cc]
call fcn.00512f90
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x210], 0
call esi
mov dword [edi + 0x210], eax
cmp eax, 0xffffffff
jne 0x4f8ba8
cmp byte [0x5c2bfc], 0
jne 0x4f8d72
int3
mov dword [edi + 0x214], 0
call esi
mov dword [edi + 0x214], eax
cmp eax, 0xffffffff
jne 0x4f8bcd
cmp byte [0x5c2bfc], 0
jne 0x4f8d79
int3
mov dword [edi + 0x218], 0
call esi
mov dword [edi + 0x218], eax
cmp eax, 0xffffffff
jne 0x4f8bf2
cmp byte [0x5c2bfc], 0
jne 0x4f8d80
int3
lea ecx, [edi + 0x21c]
call fcn.004fb2c0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x260], 0xf
mov dword [edi + 0x25c], 0
mov byte [edi + 0x24c], 0
mov dword [edi + 0x264], 0
mov dword [edi + 0x268], 0
mov dword [edi + 0x26c], 0
mov dword [edi + 0x284], 0xf
mov dword [edi + 0x280], 0
mov byte [edi + 0x270], 0
mov dword [edi + 0x288], 0
mov byte [edi + 0x28c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x130], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.0053a570
mov ecx, edi
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], edx
call fcn.004fb000
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x4f8cd6
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x5c2bf0]
test eax, eax
jne 0x4f8d3e
mov eax, dword [0x5c2be4]
test eax, eax
je 0x4f8ced
cmp eax, 1
jne 0x4f8d3e
mov ecx, 1
mov edx, 0x5c2be4
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4f8d1c
push 0xb0
call fcn.00539d85
add esp, 4
mov ecx, eax
call fcn.00514860
mov dword [0x5c2be4], eax
jmp 0x4f8d3e
mov eax, dword [0x5c2be4]
cmp eax, 1
jne 0x4f8d3e
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0
call esi
mov eax, dword [0x5c2be4]
cmp eax, 1
je 0x4f8d30
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x18], 1
push ecx
push str.TraceLog
push edi
mov ecx, eax
mov dword [esp + 0x1c], 0
call fcn.00514b80
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
call fcn.00549dc3
push 1
call fcn.00549dc3
push 1
call fcn.00549dc3
int3