Function at 0x100094ae
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a6f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push esi
mov dword [ebp - 0x20], 0x88a137b1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xa4], 0x3187110e
mov dword [ebp - 0x88], 6
mov dword [ebp - 0x28], 0
jmp 0x100094ff
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10009512
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x68], 0xccb03629
jmp 0x100094f8
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa8], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp - 0xb4], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x68]
cmp dword [ebp + eax - 0x68], ecx
jl 0x10009552
mov dword [ebp - 0x9c], 1
jmp 0x10009559
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x68], 0
je 0x1000956f
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x68], 0
cmp dword [ebp - 0x20], 1
ja 0x10009581
cmp dword [ebp - 0x1c], 0
jne 0x10009581
and dword [ebp - 0x74], 0
jmp 0x10009588
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax - 0x68]
mov dword [ebp + ecx - 0x68], eax
mov dword [ebp - 0x1c], 0
jmp 0x100095b7
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffef
jne 0x100096ac
mov dword [ebp - 0xa0], 0x18f7
cmp dword [ebp - 0xa0], 0x113b
jge 0x1000968f
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x1065b470
call fcn.1000b67e
mov dword [ebp - 0x24], 1
jmp 0x100095f9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x7c]
jg 0x1000968f
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x1065b470
call fcn.1000b67e
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x8c], 0
je 0x1000964f
lea eax, [ebp - 0x94]
push eax
mov ecx, 0x1065b470
call fcn.1000b67e
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x30], eax
jmp 0x10009617
push fcn.1000f2a9
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov edx, 0x100077fc
mov ecx, 0x1065b3b8
call fcn.1000f0d2
mov ecx, eax
call fcn.1000b879
mov edx, 0x10007760
mov ecx, eax
call fcn.1000f0d2
mov ecx, eax
call fcn.1000b879
mov ecx, eax
call fcn.1000b86d
jmp 0x100095f2
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x88], 0xfffffffb
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
jmp 0x100095b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
push 4
lea ecx, [ebp - 0x44]
call fcn.1000b98b
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x29000d4e
mov dword [ebp - 0x2c], 0
jmp 0x100096d7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x100096f0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
mov dword [eax], 0x207
jmp 0x100096d0
mov dword [ebp - 0x10], 0
jmp 0x10009700
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x10009903
mov dword [ebp - 0x14], 0
jmp 0x1000971a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10009730
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc0], 0xed69376
jmp 0x10009713
mov dword [ebp - 0x14], 0
jmp 0x10009740
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10009753
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], 0
jmp 0x10009739
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
mov ecx, dword [esi]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10009782
xor eax, eax
inc eax
jne 0x10009782
and dword [ebp - 0x98], 0
jmp 0x1000978c
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
cmp dword [eax], 2
jge 0x100097ae
mov dword [ebp - 0x5c], 1
jmp 0x100097b2
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x23cc
jl 0x100097c4
mov dword [ebp - 0x50], 1
jmp 0x100097c8
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
sub eax, 0x47027eb9
cmp eax, 0x71639956
jle 0x100097e0
mov dword [ebp - 0x34], 1
jmp 0x100097e4
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp + eax - 0xc0], ecx
cmp dword [ebp - 0x34], 1
je 0x10009803
mov dword [ebp - 0x48], 1
jmp 0x10009807
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
jne 0x10009817
xor eax, eax
jne 0x10009817
and dword [ebp - 0x58], 0
jmp 0x1000981e
mov dword [ebp - 0x58], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jne 0x1000983c
mov dword [ebp - 0x90], 1
jmp 0x10009843
and dword [ebp - 0x90], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffb
cmp dword [eax], ecx
jne 0x1000986f
mov dword [ebp - 0x4c], 1
jmp 0x10009873
and dword [ebp - 0x4c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000ba29
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [eax]
je 0x1000989e
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1000989c
push 0x17b6
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x100098b8
mov dword [ebp - 0x80], 0xfffffffb
mov dword [ebp - 0x84], 0x9ff7503a
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x70], 3
jmp 0x100098dd
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x70], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x70], 0
jl 0x100098fe
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100098fc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x100098c8
jmp 0x100096f9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.1000ba0d
mov eax, dword [ebp - 0x78]
mov dword [eax], 0xfffffffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret