Function at 0x72a147cf
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
push dword [0x72a4ef9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [ebp + 0x10]
mov esi, dword [eax + 0x1c]
lea ebx, [eax + 0x50]
cmp word [edi], 9
mov dword [ebp - 8], ebx
jne 0x72a14826
push ebx
xor eax, eax
push 3
push eax
push eax
push eax
push eax
push dword [edi + 8]
call fcn.72a1955e
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], ebx
je 0x72a14823
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xffffffff
jne 0x72a14823
push 0x39
call fcn.72a0e22c
mov edi, dword [ebp + 0x10]
movzx eax, word [edi]
cmp eax, 9
jg 0x72a14a4f
je 0x72a14935
test eax, eax
je 0x72a1493c
cmp eax, 1
je 0x72a148e4
jle 0x72a14a69
cmp eax, 6
jle 0x72a14a7a
cmp eax, 7
je 0x72a1487b
cmp eax, 8
jne 0x72a14a69
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x72a1493e
mov esi, dword [ebx - 4]
shr esi, 1
jmp 0x72a14940
cmp dword [ebp + 0xc], 2
jne 0x72a148a8
lea eax, [ebp - 0xa0]
push eax
push edi
call fcn.72a14cae
lea eax, [ebp - 0xa0]
push eax
call fcn.72a2b57a
pop ecx
mov esi, eax
lea ebx, [ebp - 0xa0]
jmp 0x72a14940
push 8
push edi
push ebx
call fcn.72a214f5
lea edi, [ebx + 8]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x72a14ac9
xor esi, esi
cmp dword [ebp + 0xc], 2
je 0x72a14adc
inc esi
push esi
push ebx
push edi
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
test eax, eax
jne 0x72a14ad3
push 0xe
call fcn.72a0e22c
cmp dword [ebp + 0xc], 2
je 0x72a1491d
lea eax, [ebp - 0x34]
push 0x28
push eax
push 0x729599f1
push 0x8dac
call fcn.72a1a2ca
lea eax, [ebp - 0xa0]
push 0x28
push eax
lea eax, [ebp - 0x34]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x72a1488e
push 0x7296f0b4
lea eax, [ebp - 0xa0]
push eax
call fcn.729491f6
pop ecx
pop ecx
jmp 0x72a1488e
push 0xd
call fcn.72a0e22c
xor ebx, ebx
xor esi, esi
xor eax, eax
cmp ebx, eax
je 0x72a14954
push eax
push eax
push eax
push eax
push esi
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp + 0xc], 1
jne 0x72a14979
push esi
push dword [ebp + 8]
call fcn.72a14dd2
test eax, eax
je 0x72a14979
push 2
push 0x7296f06c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a14e28
cmp dword [ebp + 0xc], 2
jne 0x72a14c2c
mov ax, word [edi]
cmp ax, 8
je 0x72a14996
cmp ax, 0x2011
jne 0x72a14c2c
push esi
push 0x22
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], esi
call fcn.7294a3b6
mov edi, dword [ebp + 8]
mov esi, 0x7296f078
push 1
push esi
push dword [ebp + 0xc]
mov ebx, eax
push edi
call fcn.72a14e28
test ebx, ebx
je 0x72a149ff
inc ebx
inc ebx
mov edi, ebx
sub edi, dword [ebp - 4]
sar edi, 1
push edi
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a14e28
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a14e28
sub dword [ebp + 0x10], edi
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push 0x22
push ebx
call fcn.7294a3b6
mov ebx, eax
test ebx, ebx
jne 0x72a149bf
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
push edi
call fcn.72a14e28
push 1
push esi
push ebx
push edi
call fcn.72a14e28
cmp dword [ebp + 0x14], 2
je 0x72a14c6f
cmp ebx, 2
jne 0x72a14c44
push 1
push 0x7296f074
push ebx
push edi
call fcn.72a14e28
mov ecx, dword [ebp - 8]
cmp word [ecx], 0
je 0x72a14a48
call sym.MSVBVM60.DLL___vbaFreeVar
pop edi
pop esi
pop ebx
leave
ret 0x10
sub eax, 0xa
je 0x72a14b50
dec eax
je 0x72a14ae4
sub eax, 3
je 0x72a14a7a
sub eax, 3
je 0x72a14a7a
push 8
push edi
push ebx
call fcn.72a214f5
mov ebx, dword [ebx + 8]
jmp 0x72a14869
push 8
push edi
push ebx
call fcn.72a214f5
cmp dword [ebp + 0xc], 2
je 0x72a14aad
mov ecx, dword [ebx + 8]
lea eax, [ebx + 8]
cmp word [ecx], 0x2d
je 0x72a148b1
push eax
call fcn.72a21867
test eax, eax
je 0x72a148b1
push eax
call fcn.72a0e22c
push esi
call fcn.72a10d44
movsx ax, byte [eax + 0xe]
push eax
push dword [ebx + 8]
call fcn.72a208bf
mov dword [ebx + 8], eax
jmp 0x72a148b1
mov esi, dword [ebx - 4]
shr esi, 1
jmp 0x72a148c1
mov ebx, dword [edi]
mov word [ebx + esi*2 - 2], 0x20
mov edi, dword [ebp + 0x10]
jmp 0x72a14940
cmp word [edi + 8], 0
je 0x72a14b2e
cmp dword [ebp + 0xc], 2
je 0x72a14b24
lea eax, [ebp - 0x34]
push 0x28
push eax
push 0x729599f1
push 0x8db0
call fcn.72a1a2ca
lea eax, [ebp - 0xa0]
push 0x28
push eax
lea eax, [ebp - 0x34]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x72a1488e
push 0x7296f0a4
jmp 0x72a14922
cmp dword [ebp + 0xc], 2
je 0x72a14b46
lea eax, [ebp - 0x34]
push 0x28
push eax
push 0x729599f1
push 0x8dad
jmp 0x72a14b01
push 0x7296f094
jmp 0x72a14922
cmp dword [ebp + 0xc], 2
je 0x72a14bcb
lea eax, [ebp - 0x34]
push 0x28
push eax
push 0x729599f1
push 0x8dab
call fcn.72a1a2ca
lea eax, [ebp - 0xa0]
push 0x28
push eax
lea eax, [ebp - 0x34]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0xa0]
push 0x7296f080
push eax
call fcn.72a2bbb8
mov esi, dword [edi + 8]
pop ecx
pop ecx
push esi
call fcn.72a0be99
cmp eax, 0x1b8
jne 0x72a14baf
cmp esi, 0x800a01b8
jne 0x72a14bb1
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.72946557
push eax
push esi
call fcn.72a21831
test eax, eax
je 0x72a14be0
push eax
call fcn.72a0e22c
lea eax, [ebp - 0xa0]
push 0x7296f084
push eax
call fcn.729491f6
pop ecx
pop ecx
jmp 0x72a14b84
push dword [ebp - 4]
lea eax, [ebp - 0xa0]
push eax
call fcn.72a2bbb8
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
mov eax, 0x72968afc
jne 0x72a14c01
mov eax, 0x7296f07c
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.72a2b57a
pop ecx
lea eax, [ebp + eax*2 - 0xa0]
push eax
call fcn.729491f6
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x72a1488e
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.72a14e28
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
jmp 0x72a14a19
cmp dword [ebp + 0x14], 0
jne 0x72a14a3a
cmp ebx, 1
jne 0x72a14c88
mov eax, dword [edi + 0x2c]
push 0xe
pop esi
xor edx, edx
mov ecx, esi
div ecx
sub esi, edx
lea eax, [esi + 0xe]
push eax
push edi
call fcn.72a14dd2
test eax, eax
je 0x72a14c7b
push 2
push 0x7296f06c
jmp 0x72a14a33
push esi
push ebx
push edi
call fcn.72a14df8
jmp 0x72a14a3a
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push edi
call dword [eax + 0x14]
mov ecx, dword [ebp - 0xc]
push 0xe
mov eax, ecx
xor edx, edx
pop ebx
mov esi, dword [edi]
div ebx
sub ecx, edx
add ecx, ebx
push ecx
push edi
call dword [esi + 0x10]
jmp 0x72a14a3a