Function at 0x4e1ab0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov ebx, eax
mov dword [esp + 0xc], edi
cmp ecx, edi
je 0x4e1e44
mov esi, 5
cmp dword [ecx + 4], esi
jne 0x4e1e44
mov edx, dword [ebp + 0x10]
cmp edx, edi
je 0x4e1e44
cmp dword [edx + 4], esi
jne 0x4e1e44
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x4e1e44
cmp dword [eax + 4], esi
jne 0x4e1e44
mov ecx, dword [ecx + 0x14]
mov edx, dword [edx + 0x14]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call fcn.0049dac0
test al, al
jne 0x4e1b46
mov esi, dword [ebp + 8]
push 0x4437ac
mov ecx, 0xbcc
mov edx, ebx
call fcn.004a7840
add esp, 4
jmp 0x4e1bb4
mov edi, 0x58
call fcn.00450d70
test eax, eax
je 0x4e1ba2
push ebx
push 1
push 0
push 0
lea edx, [edi - 0x38]
call fcn.004a9810
mov dword [esp + 0xc], eax
test eax, eax
je 0x4e1baa
mov edi, dword [ebp + 8]
lea esi, [eax + 0x14]
mov eax, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x30]
push edx
push 0
push 0xe
push eax
mov eax, dword [esp + 0x4c]
push ebx
push edi
call fcn.004ab1e0
test eax, eax
jge 0x4e1bd2
push 0x4437c8
jmp 0x4e1d14
mov dword [esp + 0xc], 0
mov edi, dword [ebp + 8]
mov byte [edi + 0x188], 1
mov ecx, dword [esp + 0xc]
call fcn.00450d50
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 0
call eax
test al, al
je 0x4e1bfa
mov esi, dword [esi]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
jmp 0x4e1c11
mov dword [esp + 0x18], 1
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x38]
push eax
push 0
push 0x200
push ebx
push edi
mov dword [esp + 0x30], ecx
call fcn.004aa560
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x4e1cef
mov eax, dword [esp + 0x1c]
cmp eax, 1
ja 0x4e1ca0
cmp dword [esp + 0x20], 1
jbe 0x4e1cff
cmp eax, 1
jne 0x4e1ca0
mov eax, dword [0x551d48]
test eax, eax
jge 0x4e1c67
xor eax, eax
jmp 0x4e1c6e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push 0x10
push 0x20
call fcn.00547721
xor ecx, ecx
cmp eax, ecx
je 0x4e1cef
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x441b60
mov dword [eax + 4], 9
jmp 0x4e1ccc
push 0x20
call fcn.0049cdd0
xor ecx, ecx
cmp eax, ecx
je 0x4e1cef
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x441b30
mov dword [eax + 4], 8
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push ecx
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x2c]
push ebx
push edi
mov dword [eax + 0x14], esi
mov dword [eax + 0x1c], edx
call fcn.004aa560
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e1cfb
mov byte [edi + 0x188], 1
jmp 0x4e1bad
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push 0
push esi
call fcn.004ab720
test al, al
jne 0x4e1d2a
push 0x4437f4
mov ecx, 0xbcc
mov edx, ebx
mov esi, edi
call fcn.004a7840
add esp, 4
jmp 0x4e1bb4
mov eax, dword [ebp + 0xc]
push 0
push ebx
push edi
call fcn.004e17b0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x24], eax
test eax, eax
je 0x4e1bad
mov edi, 0x58
call fcn.00450d70
test eax, eax
je 0x4e1baa
push ebx
push 1
push 0
push 0
lea edx, [edi - 0x56]
call fcn.004a9810
mov edi, eax
test edi, edi
je 0x4e1baa
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x28], edi
cmp ecx, esi
je 0x4e1dab
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push esi
call edx
test al, al
jne 0x4e1dab
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
mov eax, dword [ebp + 0x10]
call fcn.004e17b0
mov dword [edi + 0x24], eax
test eax, eax
je 0x4e1baa
jmp 0x4e1db1
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x24], ecx
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0x4e1de5
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push esi
call eax
test al, al
jne 0x4e1de5
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push 0
push ebx
push ecx
call fcn.004e17b0
mov dword [edi + 0x28], eax
test eax, eax
je 0x4e1baa
jmp 0x4e1deb
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x28], edx
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4e1df7
call fcn.004e0210
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4e1e03
call fcn.004e0210
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
add ebx, eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x1c], ebx
call fcn.004e0210
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10