Function at 0x10025e44
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071eee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10025ead
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
push 1
push dword [ebp - 0xb0]
push dword [ebp - 0xdc]
push 0x29da
push dword [ebp - 0xb8]
call fcn.1002649e
add esp, 0x14
jmp 0x1002648e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x18], 0x17c10977
mov dword [ebp - 0x10], 0x799040c3
mov dword [ebp - 0x1c], 0x7e80a7c6
mov dword [ebp - 0x34], 0
jmp 0x10025edb
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10025eee
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x2c], 0xda439beb
jmp 0x10025ed4
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2c], 0
jne 0x10025f07
mov dword [ebp - 0xa0], 1
jmp 0x10025f0e
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
je 0x10025f24
mov eax, 0x7fe6
test eax, eax
jne 0x10025f3f
mov dword [ebp - 0x18], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x18], eax
jg 0x10025f3f
and dword [ebp - 0x78], 0
jmp 0x10025f46
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x78]
jge 0x10025f5a
mov dword [ebp - 0x48], 1
jmp 0x10025f5e
and dword [ebp - 0x48], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp + eax - 0x2c]
jne 0x10025f7f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
jne 0x10025f7f
and dword [ebp - 0x7c], 0
jmp 0x10025f86
mov dword [ebp - 0x7c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp eax, dword [ebp - 0x7c]
jg 0x100260f2
push 2
lea ecx, [ebp - 0xec]
call fcn.1001a500
and dword [ebp - 4], 0
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x10025fc1
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10025fdd
push dword [ebp - 0x30]
lea ecx, [ebp - 0xec]
call fcn.1001a61e
mov dword [eax], 0xf4f23013
jmp 0x10025fba
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x10025ff1
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xf0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x10026028
mov eax, 0x4d99
test eax, eax
je 0x10026028
mov dword [ebp - 0x84], 1
jmp 0x1002602f
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xfffffffa
je 0x10026041
mov dword [ebp - 0x58], 1
jmp 0x10026045
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0xec]
call fcn.1001a61e
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
je 0x10026065
mov dword [ebp - 0x8c], 1
jmp 0x1002606c
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0xec]
call fcn.1001a61e
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jl 0x1002608c
mov dword [ebp - 0x60], 1
jmp 0x10026090
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x60], eax
je 0x100260ab
mov dword [ebp - 0x94], 1
jmp 0x100260b2
and dword [ebp - 0x94], 0
push 1
lea ecx, [ebp - 0xec]
call fcn.1001a61e
mov eax, dword [eax]
neg eax
cmp eax, dword [ebp - 0x94]
jge 0x100260d4
mov dword [ebp - 0x68], 1
jmp 0x100260d8
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.1001a5b7
jmp 0x100261e8
mov dword [ebp - 0x20], 0xbd2f23d3
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x10026112
push 0
push 0x92
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp - 0x20], 1
jle 0x10026124
mov dword [ebp - 0x9c], 1
jmp 0x1002612b
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x9c]
test eax, eax
je 0x10026147
or eax, 0xffffffff
je 0x10026147
mov dword [ebp - 0x70], 1
jmp 0x1002614b
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
jl 0x10026163
cmp dword [ebp - 0x20], 0
je 0x10026163
mov dword [ebp - 0xa4], 1
jmp 0x1002616a
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
sub eax, 0x56a759f3
cmp eax, 0xffff9775
jg 0x10026188
mov dword [ebp - 0xd8], 1
jmp 0x1002618f
and dword [ebp - 0xd8], 0
mov eax, 0x634d71b3
sub eax, dword [ebp - 0x20]
test eax, eax
jg 0x100261a7
mov dword [ebp - 0xac], 1
jmp 0x100261ae
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xac], eax
jne 0x100261c2
mov dword [ebp - 0x40], 1
jmp 0x100261c6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x40]
jge 0x100261d7
mov dword [ebp - 0x80], 1
jmp 0x100261db
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x2c], ecx
mov dword [ebp - 0x18], 0
jmp 0x100261f8
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff9
jge 0x10026477
push 1
lea ecx, [ebp - 0xd0]
call fcn.1001a500
mov dword [ebp - 4], 1
mov dword [ebp - 0xe0], 0xd3f58f29
mov dword [ebp - 0x38], 0
jmp 0x10026230
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002624c
push dword [ebp - 0x38]
lea ecx, [ebp - 0xd0]
call fcn.1001a61e
mov dword [eax], 0x820eaada
jmp 0x10026229
mov dword [ebp - 0x1c], 0
jmp 0x1002625c
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffffb
jne 0x10026463
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x10], 2
jmp 0x10026280
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002645e
mov dword [ebp - 0xc4], 0xfffffffa
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100262b5
push 0x1c43
push 0x2580
push 0x1d1b
call dword [sym.imp.USER32.dll_EnableScrollBar]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + eax*4 - 0x2c]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + eax*4 - 0x2c]
push 0
lea ecx, [ebp - 0xd0]
call fcn.1001a61e
sub edi, dword [eax]
add esi, edi
jne 0x100262df
mov dword [ebp - 0x5c], 1
jmp 0x100262e3
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc0]
cmp dword [ebp + eax - 0x2c], ecx
jg 0x10026301
mov dword [ebp - 0x98], 1
jmp 0x10026308
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x98], eax
jg 0x10026322
mov dword [ebp - 0x88], 1
jmp 0x10026329
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xfffffffb
jle 0x1002633e
mov dword [ebp - 0xd4], 1
jmp 0x10026345
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xf4], eax
mov eax, 0x8e44
cmp eax, 4
jne 0x10026364
mov dword [ebp - 0xa8], 1
jmp 0x1002636b
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x26b1
je 0x10026383
mov dword [ebp - 0x90], 1
jmp 0x1002638a
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x90]
jg 0x1002639e
mov dword [ebp - 0x74], 1
jmp 0x100263a2
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp dword [ebp - 0x74], eax
jg 0x100263b7
mov dword [ebp - 0x44], 1
jmp 0x100263bb
and dword [ebp - 0x44], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.1001a61e
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jne 0x100263d8
mov dword [ebp - 0x4c], 1
jmp 0x100263dc
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x2c]
cmp dword [ebp - 0x4c], eax
jle 0x100263f1
mov dword [ebp - 0x54], 1
jmp 0x100263f5
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.1001a61e
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
jne 0x10026412
mov dword [ebp - 0x64], 1
jmp 0x10026416
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x64]
jge 0x10026427
mov dword [ebp - 0x3c], 1
jmp 0x1002642b
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x2c], ecx
imul eax, dword [ebp - 0x3c], 0xc01c
cmp eax, 0x6e03
jl 0x1002644c
mov dword [ebp - 0x6c], 1
jmp 0x10026450
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xe0], eax
jmp 0x10026279
jmp 0x10026255
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.1001a5b7
jmp 0x100261f1
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret