Function at 0x100214c1
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x1005974b
call fcn.10058764
sub esp, 0xc8
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
cmp byte [ebp + 0x14], bl
je 0x100219c9
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x1c], 0x12fd89d6
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ebx
jmp 0x1002150f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], 0xfffffffe
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x10021501
push ecx
push 1
push 0x6e96
push ecx
push ecx
mov edx, 0x5b30
mov ecx, 0x1eb2
call fcn.1002139a
add esp, 0x14
mov dword [ebp - 0x14], ebx
jmp 0x10021590
mov dword [ebp - 0x1c], 0xe61780ee
lea ecx, [ebp - 0x98]
push 3
call fcn.1000adae
mov dword [ebp - 0x18], ebx
jmp 0x10021562
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x98]
mov dword [eax + ecx*4], 0x3cf81320
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1002154f
mov dword [ebp - 0x58], 0xfffffffb
mov ecx, 0xff7673ed
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
lea ecx, [ebp - 0x98]
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
call fcn.1000ae31
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 5
jge 0x10021536
push 0x7c
pop eax
push 2
mov ecx, ebx
mov dword [ebp - 0x30], 0xf9019300
mov word [ebp - 0x34], ax
pop esi
mov dword [ebp - 0x4c], ecx
cmp esi, 2
jne 0x100215b8
push esi
pop ecx
mov dword [ebp - 0x4c], ecx
jmp 0x100215ec
movzx edx, byte [ebp + esi - 0x2f]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x32]
movzx eax, word [ebp + eax*2 - 0x34]
mov ecx, eax
and eax, edx
or ecx, edx
lea edx, [ebp - 0x4c]
sub ecx, eax
movzx eax, byte [ebp + esi - 0x30]
push ecx
push ecx
mov word [ebp + eax*2 - 0x34], cx
call fcn.10020a66
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
add esi, 2
cmp esi, 4
jb 0x100215ac
xor eax, eax
lea ecx, [ebp - 0xbc]
push 2
mov word [ebp - 0x32], ax
call fcn.1000adae
push 0x7ec5
lea eax, [ebp - 0x74]
mov dword [ebp - 4], ebx
push eax
push 1
push ecx
mov dword [ebp - 0x14], 0x9bdba76a
lea edx, [ebp - 0xbc]
push 0x137
mov ecx, 0x45f
call fcn.1001f6d5
add esp, 0x14
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], ebx
jl 0x10021747
mov dword [ebp - 0x18], ebx
jmp 0x10021658
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x48], 0x7a888ada
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x1002164a
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0x48], 1
jg 0x1002173f
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x20], 0x5666
cmp dword [ebp - 0x20], 0x598a
jle 0x100216ce
push ebx
push 0x2320
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov dword [ebp - 0x18], 0x7a1f
mov dword [ebp - 0x1c], ebx
mov esi, 0x71ea
mov eax, ebx
mov ecx, 0x10073a98
cdq
push edx
push eax
call fcn.1000ab96
add ebx, edi
dec esi
jne 0x1002169e
mov esi, dword [ebp - 0x24]
add edi, esi
dec dword [ebp - 0x18]
push 0
pop ebx
jne 0x10021696
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x38d9
jl 0x1002168d
mov edi, dword [ebp + 8]
push 0x4301
lea eax, [ebp - 0x25]
mov dl, 1
push eax
push 0x4326
push ebx
push 0x4ba7
mov cl, dl
call fcn.10022c86
add esp, 0x14
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0x548a
jge 0x10021734
mov edx, str.sdryqb_wwfabodf_rxzbhn_pkcmsztu_zpgjxa_hgc_wvkgs_dopfahjfs_ivu_kdhjxhout_cztzk_qihdwwryn
mov ecx, 0x10073a98
call fcn.1000d257
jmp 0x10021734
mov dword [ebp - 4], ebx
inc dword [ebp - 0x48]
jmp 0x10021661
dec dword [ebp - 0x14]
jmp 0x1002163c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.1000ae31
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x7c], ebx
push eax
call fcn.1000b303
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 3
push eax
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.1001f566
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.1000b425
push ecx
push ecx
mov dword [ebp - 0x34], ebx
call fcn.10020de7
pop ecx
pop ecx
push 0xa
pop eax
push 2
mov ecx, ebx
mov dword [ebp - 0x44], 0x2a030602
mov dl, 2
mov dword [ebp - 0x40], 0x61032d01
mov word [ebp - 0x3c], 0xa233
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], 4
mov word [ebp - 0x60], ax
pop esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x1c], esi
cmp esi, 0xc
jae 0x10021922
movzx eax, dl
lea eax, [eax*2 + 2]
cmp esi, eax
jne 0x10021808
movzx eax, byte [ebp + esi - 0x44]
dec esi
add esi, eax
lea ecx, [eax + 1]
mov dword [ebp - 0x54], ecx
jmp 0x1002191a
movzx edx, byte [ebp + esi - 0x43]
mov eax, esi
sub eax, ecx
push ebx
movzx eax, byte [ebp + eax - 0x46]
movzx ecx, word [ebp + eax*2 - 0x64]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [ebp + esi - 0x44]
add ecx, edx
mov edx, 0x6f30
mov word [ebp + eax*2 - 0x64], cx
lea ecx, [ebp - 0x54]
call fcn.100224a3
mov dword [ebp - 0x2c], 0x732b
cmp dword [ebp - 0x2c], 0x7603
pop ecx
jle 0x100218f9
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov edx, esi
mov dword [ebp - 0x38], ebx
mov ecx, edi
mov esi, ebx
sar edx, cl
mov dword [ebp - 0x24], edx
mov edi, ebx
mov dword [ebp - 0x20], 0x3b8
mov eax, edi
lea ecx, [ebp - 0xd4]
xor eax, edx
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002188f
mov eax, dword [eax]
push eax
call fcn.10040afc
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xd4]
call fcn.1000b217
mov edx, dword [ebp - 0x24]
add edi, esi
dec dword [ebp - 0x20]
jne 0x10021873
inc esi
cmp esi, 0x7e82
jl 0x1002186a
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x1156
jl 0x1002185c
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x6326
jl 0x10021857
push 0x1f55
push ebx
push ebx
push 0x2609
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0x6f63
jge 0x1002190d
push str.upvh_nynp_nruol_czagut_hupm_dslamrtf_auurdnz_ialdzodtv_wmv
call fcn.10040afc
pop ecx
mov dword [ebp - 4], 5
mov dl, byte [ebp - 0x44]
mov ecx, dword [ebp - 0x54]
add esi, 2
jmp 0x100217db
xor eax, eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0xb0]
mov word [ebp - 0xb0], ax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0xa0], ebx
call fcn.1000b303
xor eax, eax
mov byte [ebp - 4], 8
lea edi, [ebp - 0x64]
mov dword [ebp - 0x50], ebx
stosd dword es:[edi], eax
push 0x18
pop ecx
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x70]
cdq
idiv ecx
mov esi, eax
test esi, esi
je 0x100219a2
push 0x5481
lea eax, [ebp - 0x70]
mov edx, 0x1d2
push eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea eax, [ebp - 0xb0]
mov ecx, 0x7415
push eax
call fcn.10020c27
mov eax, dword [ebp - 0x50]
add esp, 0x14
inc eax
mov dword [ebp - 0x50], eax
cmp eax, esi
jb 0x10021970
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x70]
push eax
call fcn.100233e1
push ebx
push 1
lea ecx, [ebp - 0xb0]
call fcn.1000b425
lea ecx, [ebp - 0x70]
call fcn.10023973
jmp 0x10021a6b
mov dword [ebp - 0x24], 0x5609
cmp dword [ebp - 0x24], 0x56ca
jle 0x10021a38
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x2c], 0x7cff
mov dword [ebp - 0x1c], eax
xor eax, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], eax
mov esi, eax
mov eax, esi
mov ecx, 0x10073a98
or eax, ebx
cdq
push edx
push eax
call fcn.1000ab96
inc ebx
cmp ebx, 0x4681
jl 0x100219f6
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add eax, edi
dec dword [ebp - 0x2c]
push 0
mov dword [ebp - 0x1c], eax
pop ebx
jne 0x100219ec
inc edi
cmp edi, 0x4621
jl 0x100219e0
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x2c62
jl 0x100219de
mov byte [ebp - 0x26], bl
mov dword [ebp - 4], 9
cmp dword [ebp - 0x24], 0x5443
jge 0x10021a5a
mov edx, str.ysepva_xhpqoeps_lutjaxt_pqoyams_ypqmyfh_qngt_ppwredge_inafppkx_gwcnqfea_cjwgzhktv_icj_gkpari_locd_wdwy
mov ecx, 0x10073a98
call fcn.1000d257
cmp byte [ebp - 0x26], 0
je 0x10021a6b
push 0xd17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret