Function at 0x1001c20d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e661
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001c679
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe0], 0x5a9c4c8d
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x44], 0
jmp 0x1001c265
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1001c278
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x80], 8
jmp 0x1001c25e
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x80], 0
jmp 0x1001c29d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x80], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0xfffffff5
jge 0x1001c2ca
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1001c2c8
push 0x5ed
push 0x25b6
push 0
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
jmp 0x1001c288
mov eax, dword [ebp - 0xe0]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x80]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x5c], 0x24a8c6a5
mov dword [ebp - 0x160], 0xbe9fb1c0
mov dword [ebp - 0x1a4], 0xffffffff
mov dword [ebp - 0x168], 0xc2da8afc
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x138], 0xdb696893
mov dword [ebp - 0x134], 0xdb696893
mov dword [ebp - 0x130], 0xdb696893
mov dword [ebp - 0x12c], 0xdb696893
lea ecx, [ebp - 0x69]
call fcn.1000e0f3
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.1001a2de
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1bc]
call fcn.1001a2a0
and dword [ebp - 4], 0
mov dword [ebp - 0x1ac], 0xffffffff
mov dword [ebp - 0x15c], 0x592404e5
mov dword [ebp - 0xa8], 0x7290b1c5
mov dword [ebp - 0x5c], 0xffffffeb
jmp 0x1001c3a7
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xa
jne 0x1001c568
mov dword [ebp - 0x124], 0x69f4288a
mov dword [ebp - 0x120], 0x69f4288a
mov dword [ebp - 0x11c], 0x69f4288a
mov dword [ebp - 0x118], 0x69f4288a
lea ecx, [ebp - 0x61]
call fcn.1000e0f3
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.1001a2de
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x104]
call fcn.1001a2a0
mov byte [ebp - 4], 1
mov dword [ebp - 0x148], 0x283066c9
mov dword [ebp - 0x184], 2
mov dword [ebp - 0x154], 0xfffffff6
push 3
lea ecx, [ebp - 0x190]
call fcn.1001a25e
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], 0
jmp 0x1001c44e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1001c46a
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x190]
call fcn.1001a2cf
mov dword [eax], 0xfffffff9
jmp 0x1001c447
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1001c47e
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 1
lea ecx, [ebp - 0x104]
call fcn.1001a2cf
mov dword [eax], 0x11
jmp 0x1001c4b7
push 1
lea ecx, [ebp - 0x104]
call fcn.1001a2cf
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x104]
call fcn.1001a2cf
cmp dword [eax], 0xffffffec
jge 0x1001c545
push 1
lea ecx, [ebp - 0x180]
call fcn.1001a25e
mov byte [ebp - 4], 3
mov dword [ebp - 0x158], 0xe
mov dword [ebp - 0x13c], 0xfffffffe
mov dword [ebp - 0xcc], 6
mov dword [ebp - 0x38], 0
jmp 0x1001c508
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1001c524
push dword [ebp - 0x38]
lea ecx, [ebp - 0x180]
call fcn.1001a2cf
mov dword [eax], 0x9cb61d22
jmp 0x1001c501
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.1001a2ca
jmp 0x1001c493
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x190]
call fcn.1001a2ca
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.1001a2ca
jmp 0x1001c3a0
mov eax, dword [ebp - 0xa8]
dec eax
mov dword [ebp - 0xa8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.1001a2ca
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x1001c674
mov dword [ebp - 0x3c], 0x3b26bdde
push 1
lea ecx, [ebp - 0x1a0]
call fcn.1001a25e
mov dword [ebp - 4], 4
mov dword [ebp - 0x54], 0
jmp 0x1001c5c0
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1001c5dc
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1a0]
call fcn.1001a2cf
mov dword [eax], 0xfffffffd
jmp 0x1001c5b9
mov dword [ebp - 0x3c], 0x15
jmp 0x1001c5ec
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1a
jl 0x1001c649
mov dword [ebp - 0x28], 0x3ed15de0
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0
jmp 0x1001c610
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x1001c647
mov dword [ebp - 0xf4], 0xd9b4e94f
mov dword [ebp - 0xf4], 0x8146cdea
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1001c645
push 0
push 0x21b3
push 0
call dword [sym.imp.GDI32.dll_GetObjectW]
jmp 0x1001c609
jmp 0x1001c5e5
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1001c65d
push 0
call dword [sym.imp.USER32.dll_DestroyIcon]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.1001a2ca
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1001cc10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x1a8], 0xc8a81d5f
mov dword [ebp - 0x10], 0
jmp 0x1001c6a8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1001c6be
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x144], 0xb57f
jmp 0x1001c6a1
mov dword [ebp - 0x10], 0
jmp 0x1001c6ce
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1001c6e1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x34], 0xc184c506
jmp 0x1001c6c7
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x34], 1
jmp 0x1001c706
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x34], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
jl 0x1001c8f5
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 1
jmp 0x1001c72e
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1001c8f0
mov dword [ebp - 0x20], 0x9dfcf09c
mov dword [ebp - 0xd4], 0x18b47430
mov dword [ebp - 0x20], 1
jmp 0x1001c759
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1001c8d4
mov dword [ebp - 0x48], 0xfffffffe
mov dword [ebp - 0x40], 0
jmp 0x1001c77a
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1001c790
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1c8], 0xfffffffc
jmp 0x1001c773
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1001c7ba
push 0xe28
push 0x8c3
push 0x235f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 0x48], 1
jmp 0x1001c7ca
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1001c8cf
mov dword [ebp - 0x90], 0xd1dc
mov dword [ebp - 0xf8], 0xfffffff7
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0xf8], 0
je 0x1001c817
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], eax
jge 0x1001c80b
cmp dword [ebp - 0x20], 0
je 0x1001c817
mov dword [ebp - 0x88], 1
jmp 0x1001c81e
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x144]
cmp eax, dword [ebp - 0x88]
jge 0x1001c83f
mov dword [ebp - 0xc8], 1
jmp 0x1001c846
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
add eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x90]
jne 0x1001c86e
mov dword [ebp - 0xb0], 1
jmp 0x1001c875
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, 5
cmp eax, dword [ebp - 0x20]
jle 0x1001c88f
mov dword [ebp - 0xec], 1
jmp 0x1001c896
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x194], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1c8], 0xdd9ae65c
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1001c8ca
push 0x5f0
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x1001c7c3
jmp 0x1001c752
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1001c8eb
push 0x237d
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x1001c727
jmp 0x1001c6f1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x1001c9d0
push 2
lea ecx, [ebp - 0x110]
call fcn.1001a25e
mov dword [ebp - 4], 5
mov dword [ebp - 0x24], 0x2ee76f50
mov dword [ebp - 0x50], 0
jmp 0x1001c931
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1001c94d
push dword [ebp - 0x50]
lea ecx, [ebp - 0x110]
call fcn.1001a2cf
mov dword [eax], 0xfffffff6
jmp 0x1001c92a
mov dword [ebp - 0x24], 1
jmp 0x1001c95d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1001c9bb
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001a2cf
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001a2cf
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1001c9b9
push 0x1f7b
push 0x8bd
push 0x1cd1
push 0x64f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x1001c956
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.1001a2ca
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x30], 0xedc0223d
mov dword [ebp - 0x94], 5
mov dword [ebp - 0x70], 6
mov dword [ebp - 0xc4], 0xf9531def
mov dword [ebp - 0x58], 0
jmp 0x1001ca10
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1001ca26
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x150], 1
jmp 0x1001ca09
cmp dword [ebp - 0x60], 0x18bd8502
jle 0x1001ca3b
mov dword [ebp - 0x98], 1
jmp 0x1001ca42
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xcf5aa05
jl 0x1001ca5a
mov dword [ebp - 0xc0], 1
jmp 0x1001ca61
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0xc0]
jne 0x1001ca78
mov dword [ebp - 0xd0], 1
jmp 0x1001ca7f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x14], 0
jne 0x1001ca9a
mov dword [ebp - 0xa0], 1
jmp 0x1001caa1
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa0], eax
jne 0x1001cab8
mov dword [ebp - 0xb8], 1
jmp 0x1001cabf
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xb8], eax
je 0x1001cad3
mov dword [ebp - 0x78], 1
jmp 0x1001cad7
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x30]
jge 0x1001caee
mov dword [ebp - 0x84], 1
jmp 0x1001caf5
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x84]
cmp dword [ebp - 0x14], eax
jg 0x1001cb10
mov dword [ebp - 0x8c], 1
jmp 0x1001cb17
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x94], eax
jge 0x1001cb37
mov dword [ebp - 0x74], 1
jmp 0x1001cb3b
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x74], eax
jne 0x1001cb4f
mov dword [ebp - 0xa4], 1
jmp 0x1001cb56
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa4], eax
jne 0x1001cb73
cmp dword [ebp - 0x14], 0
je 0x1001cb73
mov dword [ebp - 0xac], 1
jmp 0x1001cb7a
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 1
jb 0x1001cb8c
mov dword [ebp - 0x68], 1
jmp 0x1001cb90
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x150], ecx
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x68], eax
jl 0x1001cbba
mov eax, 0x30385d06
test eax, eax
jne 0x1001cbba
and dword [ebp - 0xb4], 0
jmp 0x1001cbc4
mov dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x14], 1
jae 0x1001cbf4
mov dword [ebp - 0xbc], 1
jmp 0x1001cbfb
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret