Function at 0x101928f0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10222a70
mov edi, eax
test edi, edi
je 0x10192923
mov ecx, edi
nop word [eax + eax]
cmp dword [ecx + 8], 0x101926e0
je 0x101929c6
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10192910
push 0x10
call fcn.102af954
add esp, 4
mov esi, eax
push esi
push dword [0x10372ae0]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 4
call fcn.102af954
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], 0x101926e0
mov dword [esi + 0xc], 0x10192700
mov ebx, dword [ebp + 8]
mov dword [eax], ebx
call fcn.10222a70
mov edi, eax
test edi, edi
je 0x1019297f
mov ecx, edi
nop dword [eax + eax]
cmp dword [ecx + 8], 0x10192770
je 0x101929cb
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10192970
push 0x10
call fcn.102af954
add esp, 4
mov esi, eax
push esi
push dword [0x10372ae0]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x800
call fcn.102aff02
mov edi, eax
mov dword [esi + 8], 0x10192770
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], 0x10192780
cmp ebx, 6
ja case.default.0x101929bf
jmp dword [ebx*4 + 0x10192b58]
mov eax, dword [ecx + 4]
jmp 0x10192959
mov edi, dword [ecx + 4]
jmp 0x101929ba
mov eax, str.No_Error
jmp 0x10192a06
mov eax, str.Invalid_Argument
jmp 0x10192a06
mov eax, str.Invalid_Operation
jmp 0x10192a06
mov eax, str.Invalid_Handle
jmp 0x10192a06
mov eax, str.Invalid_Paint
jmp 0x10192a06
mov eax, str.Out_Of_Memory
jmp 0x10192a06
mov eax, str.Parse_Error
jmp 0x10192a06
mov eax, str.Unknown_error
push eax
push str._s:
push edi
call fcn.101926a0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10192a20
sub ecx, edx
mov edx, 0x800
sub edx, ecx
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10192a35
lea eax, [ebp + 0x10]
sub ecx, esi
push eax
push 0
push dword [ebp + 0xc]
add edi, ecx
push edx
push edi
call fcn.10011550
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
add esp, 0x1c
call fcn.10222a70
mov edi, eax
test edi, edi
je 0x10192a83
mov ecx, edi
nop
cmp dword [ecx + 8], 0x10192710
je 0x10192b3c
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10192a70
push 0x10
call fcn.102af954
add esp, 4
mov esi, eax
push esi
push dword [0x10372ae0]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 4
call fcn.102af954
add esp, 4
mov dword [eax], 0x10192800
mov dword [esi + 4], eax
mov dword [esi + 8], 0x10192710
mov dword [esi + 0xc], 0x10192730
mov eax, dword [eax]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10192b35
test ebx, ebx
je 0x10192b35
call fcn.10222a70
mov edi, eax
test edi, edi
je 0x10192aef
mov ecx, edi
nop word [eax + eax]
cmp dword [ecx + 8], 0x10192740
je 0x10192b44
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10192ae0
push 0x10
call fcn.102af954
add esp, 4
mov esi, eax
push esi
push dword [0x10372ae0]
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 4
call fcn.102af954
add esp, 4
mov dword [eax], 0
mov dword [esi + 4], eax
mov dword [esi + 8], 0x10192740
mov dword [esi + 0xc], 0x10192760
push dword [eax]
push ebx
call dword [esp + 0x14]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
jmp 0x10192abf
mov eax, dword [ecx + 4]
push dword [eax]
push ebx
call dword [esp + 0x14]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret