Function at 0x72a1db60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
xor ebx, ebx
push dword [0x72a4ef9c]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, 0x50
mov word [ebp - 0x30], bx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.72a218ab
movzx ecx, word [eax]
dec ecx
je 0x72a1dcbe
sub ecx, 7
je 0x72a1dc10
push eax
call fcn.72a20050
movsx esi, ax
cmp esi, ebx
jle 0x72a1dc09
cmp esi, 0xff
jg 0x72a1dc09
mov eax, dword [0x72a4c62c]
push 1
pop edx
add eax, 4
mov ecx, dword [eax - 4]
cmp ecx, ebx
mov dword [ebp - 0xc], ecx
je 0x72a1dbd8
cmp esi, edx
je 0x72a1dbd8
inc edx
add eax, 4
cmp edx, ebx
jne 0x72a1dbc2
mov edi, dword [ebp - 0xc]
cmp edi, ebx
jne 0x72a1dcc5
push 0x72968afc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
call sym.MSVBVM60.DLL___vbaFreeVar
cmp dword [ebp - 4], ebx
jne 0x72a1dd81
push 0xe
call fcn.72a0e22c
push 5
call fcn.72a0e22c
push dword [eax + 8]
call sym.MSVBVM60.DLL_rtcTrimBstr
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x72a1dc33
xor esi, esi
cmp esi, ebx
jne 0x72a1dc3a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 5
call fcn.72a0e22c
mov esi, dword [eax - 4]
shr esi, 1
jmp 0x72a1dc21
lea eax, [ebp - 0x10]
inc esi
push 1
push eax
lea eax, [ebp - 0x94]
lea edi, [esi + esi]
push eax
push edi
push edi
push 0x64
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.72a118ff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x72a1dcb6
add eax, 3
and al, 0xfc
call fcn.7295b2e8
mov dword [ebp + 8], esp
push ebx
push ebx
push edi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [0x72a4ee5c], ebx
je 0x72a1dc94
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CharToOemA]
push dword [ebp + 8]
call fcn.72a2c503
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x20]
call fcn.72a11955
jmp 0x72a1dbd8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
jmp 0x72a1dc6e
push 0x5e
jmp 0x72a1dc0b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
inc esi
lea edi, [esi + esi]
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x72a1dceb
push 0xe
call fcn.72a0e22c
cmp dword [0x72a4ee5c], ebx
je 0x72a1dd6d
lea eax, [ebp - 8]
push 1
push eax
lea eax, [ebp - 0x94]
push eax
push edi
push edi
push 0x64
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], ebx
call fcn.72a118ff
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x72a1dd65
add eax, 3
and al, 0xfc
call fcn.7295b2e8
mov dword [ebp + 8], esp
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_OemToCharA]
push edi
push dword [ebp - 4]
push esi
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.72a11955
dec esi
lea eax, [ebp - 4]
push esi
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
test eax, eax
jne 0x72a1dbf1
push 0xe
call fcn.72a0e22c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
jmp 0x72a1dd23
push edi
push dword [ebp - 4]
push esi
push dword [ebp - 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
jmp 0x72a1dd49
mov eax, dword [ebp - 4]
lea esp, [ebp - 0xa0]
pop edi
pop esi
pop ebx
leave
ret 4