Function at 0x1002173c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072cfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002177f
push 0x11
push 0x7142
push 0
call fcn.10024e4d
add esp, 0xc
jmp 0x10021a31
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x100217b4
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x10021a31
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xffffffe2
jmp 0x10021800
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0xfffffff2
jle 0x10021a31
mov dword [ebp - 0x3c], 0x4325
mov dword [ebp - 0x68], 0x10008318
cmp dword [ebp - 0x3c], 0x44be
jle 0x100218b5
and dword [ebp - 0x20], 0
jmp 0x10021834
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2749
jge 0x100218b5
and dword [ebp - 0x30], 0
jmp 0x1002184a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x69b3
jge 0x100218b0
and dword [ebp - 0x28], 0
jmp 0x10021860
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x48e7
jge 0x100218ae
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x30]
add edx, dword [ebp - 0x28]
mov eax, edx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x9c]
call fcn.1000ae7e
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.100183f5
push eax
call fcn.10059c69
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.100183eb
jmp 0x10021859
jmp 0x10021843
jmp 0x1002182d
mov eax, dword [ebp - 0x14]
mov dword [eax], 3
jmp 0x100218cb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x100219ed
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.10018a67
cmp dword [eax], 0
je 0x100218ee
jmp 0x100219ed
mov dword [ebp - 0x38], 0x66
mov dword [ebp - 0x60], 0x10008344
cmp dword [ebp - 0x38], 0x431
jle 0x10021993
and dword [ebp - 0x18], 0
jmp 0x10021916
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1d3d
jge 0x10021993
and dword [ebp - 0x1c], 0
jmp 0x1002192c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3964
jge 0x1002198e
and dword [ebp - 0x24], 0
jmp 0x10021942
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x316b
jge 0x1002198c
and dword [ebp - 0x2c], 0
jmp 0x10021958
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1f94
jge 0x1002198a
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
imul edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x2c]
mov eax, edx
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, 0x1061af38
call fcn.100186af
jmp 0x10021951
jmp 0x1002193b
jmp 0x10021925
jmp 0x1002190f
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x14]
push 0x755a
call fcn.100293a1
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0xfffffd06
jge 0x100219c2
mov edx, dword [ebp - 0x60]
mov ecx, 0x1061af38
call fcn.1001d234
jmp 0x100219de
or dword [ebp - 4], 0xffffffff
jmp 0x100219e8
jmp 0x100218c0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x412d
jge 0x10021a06
push dword [ebp - 0x68]
call fcn.10059c69
pop ecx
jmp 0x10021a22
or dword [ebp - 4], 0xffffffff
jmp 0x10021a2c
jmp 0x100217f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret