Function at 0x72a46537
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x72a4ef9c]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ebx, [eax + 0x50]
mov edi, dword [esp + 0x18]
test byte [edi + 1], 0x40
je 0x72a4679b
mov esi, dword [esp + 0x14]
cmp word [esi], 9
jne 0x72a465c1
mov ecx, dword [esi + 8]
push ebx
push 3
push 0
push 0
push 0
push 0
push ecx
call fcn.72a1955e
cmp word [ebx], 9
jne 0x72a46583
push 0xd
call fcn.72a0e22c
cmp word [esp + 0x1c], 0
je 0x72a4659a
mov eax, dword [esi + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esi], 0
mov esi, ebx
mov ebp, 1
xor eax, eax
mov ax, word [edi]
and ah, 0xbf
cmp eax, 0x24
ja case.0x72a465ba.16
xor ecx, ecx
mov cl, byte [eax + 0x72a4680c]
jmp dword [ecx*4 + 0x72a467c8]
mov ebp, dword [esp + 0x1c]
jmp 0x72a465a1
push esi
call sym.MSVBVM60.DLL___vbaUI1Var
mov edx, dword [edi + 8]
mov byte [edx], al
test bp, bp
je 0x72a467ba
mov ecx, esi
call sym.MSVBVM60.DLL___vbaFreeVar
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
call sym.MSVBVM60.DLL___vbaI2Var
mov ecx, dword [edi + 8]
mov word [ecx], ax
jmp 0x72a465d2
push esi
call sym.MSVBVM60.DLL___vbaI4Var
mov edx, dword [edi + 8]
mov dword [edx], eax
jmp 0x72a465d2
test bp, bp
je 0x72a4662b
cmp word [esi], 8
jne 0x72a4662b
mov ebx, dword [esi + 8]
mov dword [esi], 0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [edi + 8]
mov dword [edx], ebx
jmp 0x72a465d2
push esi
call sym.MSVBVM60.DLL___vbaStrVarCopy
mov ebx, eax
jmp 0x72a46618
push esi
call sym.MSVBVM60.DLL___vbaR4Var
mov eax, dword [edi + 8]
fstp dword [eax]
jmp 0x72a465d2
push esi
call sym.MSVBVM60.DLL___vbaR8Var
mov ecx, dword [edi + 8]
fstp qword [ecx]
jmp 0x72a465d2
push esi
call sym.MSVBVM60.DLL___vbaDateVar
mov edx, dword [edi + 8]
fstp qword [edx]
jmp 0x72a465d2
push esi
call sym.MSVBVM60.DLL___vbaCyVar
mov ecx, dword [edi + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x72a465d2
mov edi, dword [edi + 8]
push 0xe
push esi
push edi
mov word [edi], 0xe
call fcn.72a214f5
jmp 0x72a465d2
mov ecx, dword [edi + 8]
mov edx, esi
test bp, bp
je 0x72a467b5
call sym.MSVBVM60.DLL___vbaVarMove
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
cmp word [esi], 0x24
jne 0x72a46710
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
test eax, eax
je 0x72a46710
mov eax, dword [esi + 0xc]
test bp, bp
je 0x72a466f3
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [edx + 0x20]
push 0
push eax
call fcn.72a193d1
mov esi, dword [esi + 8]
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edx, dword [edi + 8]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 8]
push edx
push eax
call dword [ecx + 0x14]
push 0
push eax
call fcn.72a193d1
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push 0xd
call fcn.72a0e22c
mov eax, dword [edi + 8]
push 0
push 4
push 1
mov ecx, dword [eax]
push 0x7296f448
push 1
push esi
push ecx
call fcn.72a1955e
jmp 0x72a465d2
push 0xd
call fcn.72a0e22c
mov ax, word [edi]
test ah, 0x20
je 0x72a46791
and ah, 0xbf
cmp ax, word [esi]
jne 0x72a46791
test bp, bp
je 0x72a46760
mov edx, dword [edi + 8]
mov eax, dword [esi + 8]
mov dword [edx], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
push 0
push eax
call fcn.72a193d1
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_DispGetParam]
push 0
push eax
call fcn.72a193d1
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push 0x1ca
call fcn.72a0e22c
cmp word [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
mov ecx, edi
je 0x72a467b5
call sym.MSVBVM60.DLL___vbaVarMove
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
call sym.MSVBVM60.DLL___vbaVarCopy
pop edi
pop esi
pop ebp
pop ebx
ret 0xc