Function at 0x72a2429e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [esi], edi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov ebx, dword [ebp + 8]
test byte [ebx], 1
je 0x72a2436c
cmp dword [0x72a4efa0], edi
mov dword [ebp + 0xc], edi
jne 0x72a24357
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
call fcn.72a0c925
xor ecx, ecx
cmp esi, eax
sete cl
cmp dword [0x72a4efa0], edi
mov dword [ebp + 8], ecx
jne 0x72a24363
mov eax, dword [ebx + 0x1c]
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push esi
push ecx
push dword [ebp + 8]
mov ecx, dword [eax]
push edi
call fcn.72a0aa3c
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x72a24328
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esi], edi
jne 0x72a24534
mov dword [ebp - 4], 0x800a005b
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test byte [eax + 0x76], 2
jne 0x72a243e8
cmp dword [ebp - 4], 0x800a9c68
jne 0x72a243e8
mov dword [ebp - 4], 0x800a01ad
mov eax, dword [ebp - 4]
jmp 0x72a243a5
mov ecx, ebx
call fcn.72a1689b
jmp 0x72a242da
mov ecx, ebx
call fcn.72a1689b
jmp 0x72a242f6
test byte [ebx], 2
je 0x72a243ac
lea eax, [ebp - 8]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x72a243ac
mov eax, dword [ebp - 8]
push esi
push dword [ebx + 8]
mov ecx, dword [eax]
push eax
call dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], edi
jl 0x72a24328
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [ebx + 0xc], edi
jne 0x72a2459a
mov edx, dword [ebx + 4]
push 0x10
pop ecx
mov edi, edx
mov esi, 0x7296e600
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x72a24423
call fcn.72a1f744
mov ecx, dword [ebp + 0xc]
test eax, eax
mov dword [ecx], eax
jne 0x72a2452f
mov dword [ebp - 4], 0x8007000e
xor edi, edi
jmp 0x72a24328
mov esi, 0x80020009
cmp dword [ebp - 4], esi
je 0x72a24352
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.72a1876f
test eax, eax
jl 0x72a24352
mov eax, dword [ebp - 4]
mov word [ebx], di
mov dword [ebx + 0x1c], eax
mov dword [ebp - 4], esi
jmp 0x72a24352
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x72a243a5
mov eax, dword [0x72a4ee4c]
xor esi, esi
cmp eax, esi
je 0x72a244ed
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x44], 0x7295a460
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x44]
push ecx
push 4
push esi
push 5
push esi
push edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x72970540
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0x72970750
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call eax
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x72a243e1
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x24], esi
jl 0x72a244a0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x18], esi
jl 0x72a244bf
cmp dword [ebp - 0x24], esi
jge 0x72a244b6
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], esi
jge 0x72a244d2
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x72a243e1
mov eax, dword [ebp - 0x30]
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x72a243e1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [ecx], eax
jmp 0x72a243a3
lea eax, [ebp - 8]
push eax
push 0x7295a460
push 5
push esi
push edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x72a243e1
push dword [ebp + 0xc]
mov eax, dword [ebp - 8]
push dword [ebx + 8]
mov ecx, dword [eax]
push eax
call dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], 0
jl 0x72a243e1
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [esi]
lea edx, [ebp - 0x10]
push edx
push 0x72970540
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x72a24575
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 4], edi
jge 0x72a243a3
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi], edi
jmp 0x72a24328
mov eax, dword [esi]
lea edx, [ebp - 0x14]
push edx
push 0x72970750
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x72a2455d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
jmp 0x72a24557
lea eax, [ebp + 8]
push eax
push 0x72970510
push edi
push 5
push dword [ebx + 4]
call dword [sym.imp.ole32.dll_CoGetClassObject]
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x72a24328
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 0x72970500
mov ecx, dword [eax]
push eax
call dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], edi
jl 0x72a24328
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0xc], eax
cmp eax, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
je 0x72a24418
push esi
push dword [ebp - 0xc]
push dword [ebx + 8]
push edi
push edi
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 4], edi
jge 0x72a24534
jmp 0x72a24328