Function at 0x2e069f6c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [0x2e106d94]
push edi
cmp eax, 0xffffffff
je 0x2e06a23c
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x210], ebx
cmp ebx, esi
je 0x2e06a23a
cmp dword [ebx], esi
jne 0x2e06a23a
mov eax, dword [ebp + 8]
mov dword [ebx], 1
cmp eax, 0x63
ja 0x2e06a238
mov edi, dword [ebx + eax*4 + 4]
cmp edi, esi
je 0x2e06a238
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.2e046a1a
mov eax, dword [ebp + 0x14]
and eax, 3
add esp, 0xc
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x214], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov dword [ebp - 0x218], eax
call fcn.2e069d92
cmp eax, dword [edi + 0x24]
jg 0x2e06a05f
mov eax, dword [edi + 0x48]
cmp eax, dword [edi + 0x44]
jge 0x2e06a05f
mov eax, dword [edi + 4]
test al, 1
jne 0x2e06a05f
test eax, 0x400
jne 0x2e06a05f
test byte [ebp + 0x14], 0x10
jne 0x2e06a05f
cmp dword [0x2e10fae8], esi
je 0x2e06a05f
push esi
lea eax, [ebp - 0x2a0]
push eax
push 0x20
push 1
call dword [sym.imp.KERNEL32.dll_RtlCaptureStackBackTrace]
movzx eax, ax
mov dword [ebp - 0x21c], eax
mov esi, edi
push dword [ebp - 0x220]
lea eax, [ebp - 0x2a0]
push dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x214]
call fcn.2e069ec9
test byte [esi + 4], 2
jne 0x2e06a09b
mov esi, dword [esi]
test esi, esi
jne 0x2e06a061
cmp dword [ebp - 0x214], 0
jne 0x2e06a1ef
cmp dword [0x2e10a2a4], 0
je 0x2e06a1ef
cmp byte [0x2e10a26e], 0
mov al, byte [0x2e10a2a8]
mov esi, SysReAllocString
je 0x2e06a0e2
cmp al, 4
jae 0x2e06a0d4
test al, al
jne 0x2e06a1ef
test byte [0x2e10a2a0], 2
jne 0x2e06a130
jmp 0x2e06a1ef
cmp al, 4
jae 0x2e06a0ee
test al, al
jne 0x2e06a1ef
mov eax, dword [0x2e10a290]
mov ecx, dword [0x2e10a294]
and eax, 2
and ecx, esi
or eax, ecx
je 0x2e06a1ef
mov eax, dword [0x2e10a298]
mov ebx, dword [0x2e10a29c]
mov ecx, eax
mov edx, ebx
and ecx, 2
and edx, esi
cmp ecx, eax
jne 0x2e06a1e9
cmp edx, ebx
jne 0x2e06a1e9
mov ebx, dword [ebp - 0x210]
push dword [ebp - 0x220]
push dword [ebp - 0x218]
push dword [ebp + 0xc]
push dword [edi + 8]
push dword [edi + 0x38]
push dword [edi + 0x34]
push 0x2e0035ec
push 0x2e003620
push dword [0x2e10a27c]
push dword [0x2e10a278]
call fcn.2e0698a8
cmp byte [0x2e10a26e], 0
mov al, byte [0x2e10a2a8]
je 0x2e06a184
cmp al, 4
jae 0x2e06a179
test al, al
jne 0x2e06a1ef
test byte [0x2e10a2a0], 1
jne 0x2e06a1c2
jmp 0x2e06a1ef
cmp al, 4
jae 0x2e06a18c
test al, al
jne 0x2e06a1ef
mov eax, dword [0x2e10a290]
mov ecx, dword [0x2e10a294]
and eax, 1
and ecx, esi
or eax, ecx
je 0x2e06a1ef
mov eax, dword [0x2e10a298]
mov ebx, dword [0x2e10a29c]
mov ecx, eax
mov edx, ebx
and ecx, 1
and edx, esi
cmp ecx, eax
jne 0x2e06a1e9
cmp edx, ebx
jne 0x2e06a1e9
mov ebx, dword [ebp - 0x210]
push 0x2e0035dc
push 0x2e003610
push 0x2e003600
push 0x2e003620
push dword [0x2e10a27c]
push dword [0x2e10a278]
call fcn.2e069ce4
jmp 0x2e06a1ef
mov ebx, dword [ebp - 0x210]
mov edi, dword [edi + 0xc]
cmp edi, 0xffffffff
je 0x2e06a233
mov esi, dword [ebx + edi*4 + 4]
jmp 0x2e06a22f
push 0
push dword [ebp - 0x21c]
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x214]
call fcn.2e069ec9
test byte [esi + 4], 2
jne 0x2e06a233
mov esi, dword [esi]
test esi, esi
jne 0x2e06a1fd
and dword [ebx], 0
jmp 0x2e06a23a
mov dword [ebx], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.2e046266
leave
ret 0x10