Function at 0x1010af70
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov ebx, ecx
push ebx
push dword [0x102056e8]
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 0x7c]
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x1010afa8
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0xf4]
mov dword [ebp - 0xc], ecx
jmp 0x1010afae
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
xor al, al
mov byte [ebp - 1], 0
xor edi, edi
mov byte [ebp - 2], al
inc edi
xor eax, eax
mov dword [ebp - 8], edi
test esi, esi
je 0x1010afdd
lea edi, [esi + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x1015d234]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov ecx, dword [ebx + 0xc]
lea edx, [ecx + 0xf0]
cmp dword [edx], 0
jne 0x1010aff7
test eax, eax
je 0x1010aff7
push 2
mov dword [edx], esi
mov ecx, dword [ebx + 0xc]
pop edi
mov eax, dword [ecx + 0xf0]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1010b011
cmp byte [eax + 0xb2], 0
je 0x1010b011
mov byte [ebp - 1], 1
cmp dword [ebp - 0xc], 0
jne 0x1010b020
mov eax, dword [ecx + 0x54]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
test esi, esi
je 0x1010b02d
mov dword [esi + 0xf4], edi
mov ecx, dword [ebx + 0xc]
mov edi, dword [ecx + 0x78]
and dword [ecx + 0x78], 0
mov dword [ebp - 8], edi
test edi, edi
jne 0x1010b1a9
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xf0], 0
je 0x1010b095
mov ecx, dword [ebx + 8]
sub esp, 0x10
mov eax, esp
and dword [eax], 0
and dword [eax + 4], 0
and dword [eax + 8], 0
and dword [eax + 0xc], 0
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xe8], 0
je 0x1010b095
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0xf0]
mov dword [eax + 0xe8], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], edi
and dword [eax + 0xf0], 0
jmp 0x1010b0cd
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x28]
and dword [ebp - 0x28], 0
and dword [ebp - 0x20], 0
push 1
mov edi, dword [esi + 0x48]
mov ecx, edi
push 0
push dword [ebp - 0xc]
push eax
call dword [0x1015d234]
lea ecx, [esi + 0x28]
call edi
mov esi, dword [ebp - 0x10]
test al, al
je 0x1010b0ca
mov edi, dword [ebp - 0x20]
mov dword [ebp - 8], edi
jmp 0x1010b0cd
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x18], 0
jne 0x1010b109
test edi, edi
jne 0x1010b109
mov ecx, dword [ebx + 8]
add ecx, 8
call fcn.100f5f23
mov ecx, dword [ebx + 8]
mov edi, eax
add ecx, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x1010b0f8
call fcn.100f524e
jmp 0x1010b109
push 0
push 0
call fcn.100f5985
push eax
mov ecx, edi
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
test esi, esi
je 0x1010b135
test edi, edi
jne 0x1010b11d
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov al, byte [eax + 4]
and al, 1
movzx eax, al
push eax
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
xor esi, esi
mov dword [ebp - 0x10], esi
test edi, edi
jne 0x1010b19c
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 1
jne 0x1010b164
cmp byte [ebp - 1], 0
jne 0x1010b156
mov byte [ebp - 2], cl
mov ecx, dword [ebx + 0xc]
call fcn.1010a93a
mov ecx, dword [ebx + 0xc]
push ebx
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
jmp 0x1010b03f
jle 0x1010b03f
cmp byte [ebp - 1], 0
jne 0x1010b18a
mov ecx, dword [ebx + 0xc]
push ebx
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
test al, al
jne 0x1010b184
mov ecx, ebx
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
mov byte [ebp - 2], 0
jmp 0x1010b192
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1010b03f
cmp byte [ebp - 2], 0
je 0x1010b1a9
mov ecx, ebx
call sym.icuuc69.dll_private:_signed_char___thiscall_icu_69::MessagePattern::copyStorage_class_icu_69::MessagePattern_const___enum_UErrorCode__
mov edi, dword [ebx + 0xc]
push dword [ebp - 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1015d234]
mov ecx, edi
call esi
mov edi, dword [ebx + 0x10]
push 1
push dword [ebp - 8]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1015d234]
mov ecx, edi
call esi
jmp 0x1010af88