Function at 0x72a0a827
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
and dword [ebp - 0xc], 0
push esi
mov esi, dword [ecx + 8]
push edi
push 1
movzx eax, word [esi + 0x58]
inc eax
pop edi
cmp eax, edi
mov dword [ebp - 0x14], ecx
jle 0x72a0aa35
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp + 8]
je 0x72a0a952
mov ax, word [esi + 0x64]
mov word [ebp - 8], ax
mov dword [ebp + 8], edi
movzx eax, word [esi + 0x58]
inc eax
cmp eax, edi
jbe 0x72a0a97e
mov dword [ebp - 4], 0x28
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax - 0x1c], 0xffffffff
lea edi, [ecx + eax - 0x28]
jne 0x72a0a89b
test byte [edi], 0x10
jne 0x72a0a89b
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.72a0c946
test eax, eax
je 0x72a0a8ac
movzx eax, word [esi + 0x58]
inc dword [ebp + 8]
add dword [ebp - 4], 0x28
inc eax
cmp dword [ebp + 8], eax
jb 0x72a0a876
cmp dword [edi + 0xc], 0xffffffff
jne 0x72a0aa35
test byte [edi], 8
je 0x72a0a9a2
mov eax, dword [esi + 4]
xor esi, esi
mov ecx, dword [eax + 0x44]
mov eax, dword [edi + 4]
add eax, ebx
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
je 0x72a0a986
mov edx, dword [eax]
push esi
push esi
lea edi, [ebp - 0x24]
push esi
push edi
push 1
push ecx
push 0x7295aea8
push 0xfffffffffffffffa
push eax
call dword [edx + 0x18]
mov ebx, eax
cmp ebx, esi
jge 0x72a0a92a
cmp dword [ebp + 0xc], esi
jne 0x72a0a92a
cmp ebx, 0x800a9c68
je 0x72a0a92a
mov eax, dword [ebp - 0x10]
add eax, 0x78
cmp ebx, 0x80020009
mov dword [ebp + 8], eax
jne 0x72a0a91f
mov ebx, dword [eax + 0x1c]
push eax
call fcn.72a0c6b6
call fcn.72a0e2a7
mov eax, dword [ebp - 0xc]
dec eax
je 0x72a0aa13
dec eax
jne 0x72a0a949
lea eax, [ebp - 0x44]
push eax
call fcn.72a187d7
lea eax, [ebp - 0x44]
push eax
call fcn.7294e4c8
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test byte [ebx + 0x2c], 8
mov dword [ebp - 0x10], eax
je 0x72a0aa35
test byte [eax + 0x76], 2
jne 0x72a0aa35
mov ax, word [esi + 0x66]
jmp 0x72a0a85b
mov edi, dword [ebp + 0xc]
jmp 0x72a0a8ac
and dword [ebx + 0x2c], 0xfffffff7
mov edx, dword [eax]
push esi
push esi
lea edi, [ebp - 0x24]
push esi
push edi
push 1
push ecx
push 0x7295aea8
push 0xfffffffffffffff9
jmp 0x72a0a8f4
cmp word [ebp - 8], 0xffff
je 0x72a0aa35
movzx eax, word [ebp - 8]
mov ecx, dword [edi + 0x18]
mov esi, dword [ecx + eax + 0xc]
test esi, esi
je 0x72a0aa35
cmp dword [ebp + 0xc], 0
jne 0x72a0a9ec
mov eax, dword [ebp - 0x10]
and dword [ebx + 0x2c], 0xfffffff7
cmp dword [eax + 0x10], 0
je 0x72a0a9fd
add eax, 0x78
mov dword [ebp - 0xc], 1
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.72a0e7e8
call fcn.72a0e2a7
mov eax, dword [edi + 4]
add eax, ebx
push eax
call esi
mov ebx, eax
xor esi, esi
jmp 0x72a0a8fa
lea eax, [ebp - 0x44]
push eax
call fcn.72a1876f
test eax, eax
jne 0x72a0a9ec
mov dword [ebp - 0xc], 2
jmp 0x72a0a9ec
push dword [ebp + 8]
call fcn.7294e4c8
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push 8
lea esi, [ebp - 0x44]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x10], 1
jmp 0x72a0a949
xor eax, eax
jmp 0x72a0a94b