Function at 0x72a1331c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [0x72a4ef9c]
xor eax, eax
mov di, word [esi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax]
test ebx, ebx
jne 0x72a13358
push 5
call fcn.72a0e22c
lea eax, [ebp + 8]
push eax
push ebx
call fcn.72a13b42
push eax
mov dword [ebp - 8], eax
call fcn.72a21a97
test eax, eax
jne 0x72a13358
cmp dword [ebp - 8], 9
je 0x72a13358
cmp dword [ebp - 8], 0xffffffff
jne 0x72a1339e
and word [esi], ax
call fcn.72a138be
cmp dword [ebp + 8], 0
jne 0x72a13396
mov dword [ebp + 8], 0x3e
cmp dword [ebp + 8], 0
je 0x72a1339e
push dword [ebp + 8]
call fcn.72a0e22c
push dword [ebp - 8]
mov word [esi], 8
call fcn.72a21ac5
test eax, eax
je 0x72a13417
cmp di, 8
je 0x72a133ba
test di, di
jne 0x72a13417
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.72a138d1
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
call fcn.72a13b42
mov edi, eax
push edi
call fcn.72a21a97
test eax, eax
jne 0x72a13403
push edi
call fcn.72a21ac5
test eax, eax
jne 0x72a13403
cmp edi, 9
jne 0x72a13577
lea eax, [ebp + 8]
push eax
push ebx
call fcn.72a13b42
mov edi, eax
push edi
call fcn.72a21a97
jmp 0x72a133f6
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
push ebx
call fcn.72a13bb6
cmp dword [ebp + 8], 0
je 0x72a13432
push dword [ebp + 8]
call fcn.72a0e22c
cmp di, 8
jne 0x72a1343c
push 2
jmp 0x72a133bc
cmp dword [ebp - 8], 0x23
jne 0x72a1349b
cmp di, 7
je 0x72a1344e
cmp di, 0xb
jne 0x72a1349b
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.72a138d1
test eax, eax
mov dword [ebp + 8], eax
jne 0x72a133da
mov eax, dword [ebp - 4]
push esi
mov word [esi], 8
mov dword [esi + 8], eax
call fcn.72a1379b
cmp word [esi], di
je 0x72a1348d
mov dword [ebp - 0x10], 0x80020005
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x72a133da
lea eax, [ebp - 4]
push 3
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.72a138d1
test eax, eax
mov dword [ebp + 8], eax
jne 0x72a133da
mov eax, dword [ebp - 4]
test eax, eax
jne 0x72a1350c
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x618]
push 0x200
push ecx
and byte [ebp + eax - 0x214], 0
and byte [ebp + eax - 0x213], 0
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, eax
mov dword [ebp - 0x61c], eax
and word [ebp + eax - 0x618], 0
lea eax, [ebp - 0x618]
push edi
push esi
mov dword [esi + 8], eax
mov word [esi], 8
call fcn.72a1362d
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x72a13563
cmp word [esi], 8
jne 0x72a13563
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.72a138d1
cmp dword [ebp - 8], 0x23
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
jne 0x72a13559
test di, di
jne 0x72a13559
push esi
call fcn.72a1379b
cmp word [esi], 8
je 0x72a133da
lea eax, [ebp - 0x618]
cmp dword [ebp - 4], eax
jne 0x72a1348d
jmp 0x72a133da
cmp edi, 0xd
jne 0x72a135c4
lea eax, [ebp + 8]
push eax
push ebx
call fcn.72a13b42
cmp eax, 0xa
je 0x72a135d9
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x72a1359d
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
call fcn.72a13bb6
cmp dword [ebp - 0x10], edi
jl 0x72a135a7
cmp dword [ebp + 8], edi
je 0x72a135bd
mov word [esi], di
call fcn.72a138be
cmp dword [ebp - 0x10], edi
jge 0x72a135dd
push edi
push dword [ebp - 0x10]
call fcn.72a193d1
pop edi
pop esi
pop ebx
leave
ret 4
push edi
call fcn.72a21af3
test eax, eax
jne 0x72a135d9
lea eax, [ebp + 8]
push eax
push edi
push ebx
call fcn.72a13bb6
xor edi, edi
jmp 0x72a1359d
cmp dword [ebp + 8], edi
je 0x72a135bd
push dword [ebp + 8]
call fcn.72a0e22c