Function at 0x13a1c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x14c732b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x15316ec]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x15316ec]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [0x153b258]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
cmp eax, 0xffffffff
je 0x13a1ccd
mov ecx, dword [0x153b258]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x13a1ccf
jmp 0x13a1d08
xor ebx, ebx
push 0x2c
call fcn.01458a50
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], ebx
cmp eax, ebx
je 0x13a1cf0
push eax
call fcn.013a1a90
jmp 0x13a1cf2
xor eax, eax
push eax
mov dword [esp + 0x8c], 0xffffffff
mov edi, eax
call fcn.013a25d0
add esp, 4
cmp byte [edi + 0x28], bl
jne 0x13a1e40
mov eax, 1
mov byte [edi + 0x28], al
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x88], eax
mov edx, dword [edi + 0x18]
cmp edx, dword [edi + 0x1c]
jne 0x13a1d3e
mov dword [esp + 0x14], ebx
jmp 0x13a1d48
mov eax, dword [edi + 0x1c]
mov eax, dword [eax - 4]
mov dword [esp + 0x14], eax
lea ecx, [edi + 8]
lea ebx, [esp + 0x14]
lea eax, [esp + 0x20]
call fcn.01361fa0
mov eax, dword [eax]
mov ebx, 0x10
cmp eax, dword [edi + 0xc]
je 0x13a1db0
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x60]
push edx
mov edx, esi
mov esi, dword [esp + 0x24]
push eax
call fcn.013a22e0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 2
call fcn.01317740
mov byte [esp + 0x88], 1
cmp dword [esp + 0x70], ebx
jb 0x13a1dc2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.01458a36
add esp, 4
jmp 0x13a1dc2
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.01319870
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x13a1dee
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x13a1dee
mov eax, edx
cmp eax, dword [ecx + 4]
je 0x13a1dee
mov ecx, dword [eax]
test ecx, ecx
je 0x13a1de3
cmp dword [ecx + 4], 0
jne 0x13a1e61
mov ecx, dword [edi + 4]
add eax, 4
cmp eax, dword [ecx + 4]
jne 0x13a1dd7
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x13a1dfc
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push eax
push esi
push str._s:_d:__s_n
call fcn.0146a52f
call fcn.01459acd
add eax, 0x20
push eax
call fcn.01459ec7
add esp, 0x14
mov byte [edi + 0x28], 0
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x38], ebx
jb 0x13a1e40
mov ecx, dword [esp + 0x24]
push ecx
call fcn.01458a36
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.01458a41
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x18]
push edi
lea edx, [esp + 0x30]
call fcn.013a22e0
cmp dword [esp + 0x54], ebx
jb 0x13a1e8c
mov edx, dword [esp + 0x40]
push edx
call fcn.01458a36
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
jmp 0x13a1e1e