Function at 0x10028e07
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10028fea
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10028e4c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x10028fe8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xad816f93
jb 0x10028e90
mov dword [ebp - 8], 1
jmp 0x10028e94
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jg 0x10028eaf
mov dword [ebp - 0x10], 1
jmp 0x10028eb3
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x270
jle 0x10028ec5
mov dword [ebp - 0x14], 1
jmp 0x10028ec9
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x10028ee1
mov dword [ebp - 0x18], 1
jmp 0x10028ee5
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xcf5a
jge 0x10028ef7
mov dword [ebp - 0x1c], 1
jmp 0x10028efb
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
xor ecx, ecx
inc ecx
sub ecx, eax
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jge 0x10028f23
mov eax, 0x6721f7d
test eax, eax
jne 0x10028f23
and dword [ebp - 0x20], 0
jmp 0x10028f2a
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x10028f3d
mov dword [ebp - 0x24], 1
jmp 0x10028f41
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 6
jle 0x10028f50
mov dword [ebp - 0x28], 1
jmp 0x10028f54
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
add eax, 0x23fddc22
cmp eax, 9
jb 0x10028f6a
mov dword [ebp - 0x60], 1
jmp 0x10028f6e
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, 0x77c4
cmp eax, 0xfffffffb
jle 0x10028f89
mov dword [ebp - 0x2c], 1
jmp 0x10028f8d
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jge 0x10028fa0
mov dword [ebp - 0xc], 1
jmp 0x10028fa4
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x10028fbf
mov dword [ebp - 0x30], 1
jmp 0x10028fc3
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
je 0x10028fd6
mov dword [ebp - 0x34], 1
jmp 0x10028fda
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
jmp 0x10029006
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x6c]
push 0
push dword [ebp - 0x70]
call fcn.1000e4dc
add esp, 0xc
mov esp, ebp
pop ebp
ret