Function at 0x41e3d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x84
mov ecx, dword [ebp + 0x14]
xor edx, edx
cmp ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
fld dword [ebx + 0x14]
mov eax, bind
push esi
fstp dword [esp + 0x14]
push edi
mov byte [esp + 0x16], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jle 0x41e481
mov esi, dword [ebp + 0x10]
add esi, 8
mov edi, ecx
jmp 0x41e434
mov eax, dword [esp + 0x24]
and eax, 0x3fffffff
cmp dword [esp + 0x20], eax
jne 0x41e44e
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.00402730
add esp, 8
mov ecx, dword [esp + 0x20]
fld dword [esi - 8]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
add ecx, 1
mov dword [esp + 0x20], ecx
fstp dword [eax]
fld dword [esi - 4]
add esi, 0x10
sub edi, 1
fstp dword [eax + 4]
fld dword [esi - 0x10]
fstp dword [eax + 8]
fld dword [esi - 0xc]
fstp dword [eax + 0xc]
jne 0x41e430
cmp byte [ebx + 1], 0
mov esi, dword [ebp + 0x1c]
je 0x41e4b4
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x54]
push edx
push esi
call fcn.00416030
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00416030
add esp, 0x18
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1e]
push edx
lea eax, [esp + 0x8c]
push eax
push esi
push edi
push ecx
lea edx, [esp + 0x33]
push edx
mov byte [ebx], 1
call fcn.00419720
fld dword [esp + 0x38]
add esp, 0x20
cmp byte [esp + 0x16], 0
push ecx
fstp dword [esp]
je 0x41e517
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push edi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2f]
push eax
call fcn.0041e030
mov cl, byte [eax]
mov byte [ebx], cl
jmp 0x41e536
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
push esi
push edi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2f]
push edx
call fcn.0041e120
mov al, byte [eax]
mov byte [ebx], al
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
cmp byte [ecx + 1], 0
je 0x41e56c
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.00416250
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00416250
add esp, 0x18
mov esi, dword [esp + 0x24]
test esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
js 0x41e59b
mov ecx, dword [0x4c6060]
push ecx
and esi, 0x3fffffff
call edi
mov edx, dword [esp + 0x1c]
push 0x17
shl esi, 4
push esi
push edx
mov ecx, eax
call fcn.004023e0
mov esi, dword [esp + 0x30]
test esi, esi
js 0x41e5c3
mov eax, dword [0x4c6060]
push eax
and esi, 0x3fffffff
call edi
mov ecx, dword [esp + 0x28]
push 0x17
shl esi, 4
push esi
push ecx
mov ecx, eax
call fcn.004023e0
mov esi, dword [esp + 0x3c]
test esi, esi
js 0x41e5ec
mov edx, dword [0x4c6060]
push edx
and esi, 0x3fffffff
call edi
mov ecx, dword [esp + 0x34]
push 0x17
shl esi, 5
push esi
push ecx
mov ecx, eax
call fcn.004023e0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret