Function at 0x41eea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4f91a4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x18]
call fcn.0041e990
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x41efcb
mov esi, dword [0x528278]
test esi, esi
jne 0x41efac
push 0x33
push str.ActivityTracker.ThreadTrackers.MemLimitTrackerCount
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], bl
call fcn.004073c0
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x3e8
mov dword [esp + 0x28], 0x32
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], 0x4efb8c
call fcn.0042a4c0
mov esi, eax
mov eax, dword [esp + 0x48]
cmp eax, 0x10
jb 0x41ef91
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, 0x1000
jb 0x41ef88
test cl, 0x1f
jne 0x41f0ed
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41f0f2
sub ecx, eax
cmp ecx, 4
jb 0x41f0f7
cmp ecx, 0x23
ja 0x41f0fc
mov ecx, eax
push ecx
call fcn.0046101e
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [0x528278], esi
mov eax, dword [edi + 0x14]
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x10]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0046100d
mov esp, ebp
pop ebp
ret
mov esi, dword [edi]
cmp ebx, 0x38
jae 0x41efd6
xor esi, esi
jmp 0x41f043
test bl, 7
je 0x41efdf
xor esi, esi
jmp 0x41f043
lea ecx, [ebx + 0x11]
cmp ecx, dword [esi + 0xc]
jbe 0x41efeb
xor esi, esi
jmp 0x41f043
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x20]
cmp dword [esi + 0xc], edx
mov dword [esp + 0x30], edx
cmovb edx, dword [esi + 0xc]
cmp ecx, edx
jbe 0x41f004
xor esi, esi
jmp 0x41f043
mov ecx, dword [esi + 4]
add ecx, ebx
cmp dword [ecx], 0x11
jae 0x41f012
xor esi, esi
jmp 0x41f043
mov eax, dword [ecx]
add eax, ebx
cmp eax, edx
jbe 0x41f01e
xor esi, esi
jmp 0x41f043
cmp ebx, 0x28
je 0x41f030
cmp dword [ecx + 4], 0xc8799269
je 0x41f030
xor esi, esi
jmp 0x41f043
mov eax, dword [ecx + 8]
cmp eax, 0x5d7381b2
je 0x41f03e
xor esi, esi
jmp 0x41f043
mov esi, dword [esi + 4]
add esi, ebx
lea eax, [esi + 0x10]
neg esi
push 0x1c
sbb esi, esi
and esi, eax
call fcn.00461023
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, eax
push dword [edi + 4]
push esi
call fcn.0041eb50
mov eax, dword [esp + 0x10]
mov dword [eax], 0x4ef28c
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], esi
mov eax, dword [0x51f2e4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
test edx, edx
jne 0x41f08e
call fcn.00428da0
mov edx, eax
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x10]
mov dword [edx + eax*8], esi
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov dword [edx + ecx*8 + 4], eax
lea eax, [edi + 0x14]
mov edi, 1
lock xadd dword [eax], edi
mov eax, dword [0x528274]
test eax, eax
jne 0x41f0ce
push ecx
push 0x65
push 0x64
mov ecx, str.ActivityTracker.ThreadTrackers.Count
call fcn.0042bfb0
add esp, 0xc
mov dword [0x528274], eax
mov edx, dword [eax]
lea ecx, [edi + 1]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046100d
mov esp, ebp
pop ebp
ret
call fcn.004abee1
call fcn.004abee1
call fcn.004abee1
call fcn.004abee1
int3