Function at 0x1001eb5e
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083b4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001eb90
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1001ee86
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jl 0x1001ec37
mov dword [ebp - 0x38], 1
jmp 0x1001ec3b
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jle 0x1001ec4e
mov dword [ebp - 0x48], 1
jmp 0x1001ec52
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 1
jne 0x1001ec61
mov dword [ebp - 0x20], 1
jmp 0x1001ec65
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x1001ec82
or eax, 0xffffffff
jne 0x1001ec82
and dword [ebp - 0x2c], 0
jmp 0x1001ec89
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0x5cefd06b
jne 0x1001ec9b
mov dword [ebp - 0x58], 1
jmp 0x1001ec9f
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0x22a1
jge 0x1001ecb1
mov dword [ebp - 0x24], 1
jmp 0x1001ecb5
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], eax
jl 0x1001ecd8
mov dword [ebp - 0x9c], 1
jmp 0x1001ecdf
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x1001ed08
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x1001edfb
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x68], 0xd423cb8e
mov dword [ebp - 0x28], 9
mov dword [ebp - 0x1c], 0
jmp 0x1001ed30
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1001ed46
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xc4], 0x3c9e4a04
jmp 0x1001ed29
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x8c]
cmp dword [eax], ecx
jne 0x1001ed5c
mov dword [ebp - 0x3c], 1
jmp 0x1001ed60
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x78]
jne 0x1001ed94
mov dword [ebp - 0x80], 1
jmp 0x1001ed98
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0x3c], 0x9e47
je 0x1001edb8
mov dword [ebp - 0x44], 1
jmp 0x1001edbc
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jl 0x1001edcf
mov dword [ebp - 0x4c], 1
jmp 0x1001edd3
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x5d580090
jg 0x1001ede5
mov dword [ebp - 0x5c], 1
jmp 0x1001ede9
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x1001ee86
push 3
lea ecx, [ebp - 0xb0]
call fcn.10018b26
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x1001ee1c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1001ee38
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb0]
call fcn.10018bb0
mov dword [eax], 0xeda7
jmp 0x1001ee15
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001ee4e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jg 0x1001ee77
mov dword [ebp - 0x90], 8
mov esi, dword [ebp - 0x90]
push 1
lea ecx, [ebp - 0xb0]
call fcn.10018bb0
mov dword [eax], esi
jmp 0x1001ee43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.10018bab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret