Function at 0x41debe
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x41e027
lea eax, [ebp + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x41dfda
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x41df5c
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41df37
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 8
je 0x41df5a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41df58
push 0
push 0x1bf0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x41df2c
jmp 0x41dfd8
mov dword [ebp - 0x70], 0x8a8f
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x7c], 0xc6f1bf50
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x78], 0xe5f36f6d
push 2
lea ecx, [ebp - 0x90]
call fcn.00430131
mov dword [ebp - 0x80], 0x3e3
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], 0
jmp 0x41dfad
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x41dfc6
push dword [ebp - 0xc]
lea ecx, [ebp - 0x90]
call fcn.0043021f
and dword [eax], 0
jmp 0x41dfa6
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x90]
call fcn.00430203
jmp 0x41e022
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
push 0x114c
push dword [ebp - 0x60]
push 1
push dword [ebp - 0x3c]
push 0x219d
push 0x31d3
push 0x2454
push 1
push 0x7e0e
push 0
push 0x31b7
push 0x5946
push 0x457
call fcn.00429b03
add esp, 0x34
jmp 0x41e0b6
lea eax, [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x41e09e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push 1
push 0x1c2b
push 0x3474
push dword [ebp - 0x38]
push dword [ebp - 0x40]
call fcn.004096be
add esp, 0x20
jmp 0x41e0b6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push 0x641f
push 0
call fcn.0040cf9e
add esp, 0xc
mov esp, ebp
pop ebp
ret