Function at 0x408cf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x54], 0x399
mov dword [ebp - 0x70], 0x189
mov dword [ebp - 0x74], 0x1ea
mov dword [ebp - 0x78], 0x219
mov dword [ebp - 0x7c], 0x40
mov dword [ebp - 0x80], 0x314
mov dword [ebp - 0x84], 0x1b1
mov dword [ebp - 0x68], 0x330
mov dword [ebp - 0x48], 0xba
mov dword [ebp - 0x40], 0xec
mov dword [ebp - 0x44], 0x267
mov dword [ebp - 0x10], 0x1a5
mov dword [ebp - 0x88], 0xee
mov dword [ebp - 0x8c], 0x111
mov dword [ebp - 0x24], 0x2c8
mov dword [ebp - 0x64], 0x2db
mov dword [ebp - 0x60], 0x21b
mov dword [ebp - 0x28], 0xb2
mov dword [ebp - 0xc], 0x27a
mov dword [ebp - 0x6c], 0x269
mov dword [ebp - 0x3c], 0x101
mov dword [ebp - 0x5c], 0x2aa
mov dword [ebp - 0x18], 0x1ab
mov dword [ebp - 0x38], 0x2fd
mov dword [ebp - 4], 0x2d8
mov eax, dword [ebp + 0x18]
sub eax, 1
mov dword [ebp + 0x18], eax
mov dword [ebp - 8], 0
jmp 0x408dcc
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
sub edx, 0x163
cmp dword [ebp - 8], edx
jge 0x408ee5
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x408def
mov dword [ebp - 0x1c], 1
jmp 0x408df6
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x50]
jge 0x408e1c
mov dword [ebp - 0x20], 1
jmp 0x408e23
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x20]
je 0x408ee0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x38]
jge 0x408ee0
mov ecx, dword [ebp - 0x28]
or ecx, dword [ebp + 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0x18]
sub edx, 1
mov dword [ebp + 0x18], edx
cmp dword [ebp - 0x58], 0
je 0x408ee0
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x3c]
or ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x5c]
jge 0x408e74
mov dword [ebp - 0x2c], 1
jmp 0x408e7b
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x28]
jge 0x408e90
mov dword [ebp - 0x30], 1
jmp 0x408e97
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x40]
jge 0x408ea8
mov dword [ebp - 0x34], 1
jmp 0x408eaf
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x34]
je 0x408ee0
mov edx, dword [ebp - 0x18]
or edx, dword [ebp - 0x68]
je 0x408ee0
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x3c]
jge 0x408ee0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x408dc3
mov dword [ebp - 0x14], 0
jmp 0x408ef7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x40]
sub ecx, 0x1878c
cmp dword [ebp - 0x14], ecx
jge 0x408f16
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp + 0x18]
sub edx, 1
mov dword [ebp + 0x18], edx
jmp 0x408eee
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x19d
push ecx
call fcn.00415fb0
add esp, 4
mov esp, ebp
pop ebp
ret