Function at 0x435ccc
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x63c04c]
sub esp, 0x10
push ebx
push edi
cmp eax, 0xffffffff
je 0x435ce9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esi + 0x6518], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x74], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x50], ecx
mov ecx, dword [eax + 0x14]
and ecx, 1
mov dword [esi + 0x70], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x28], ecx
mov eax, dword [eax + 4]
push 2
push eax
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [esi + 0x2c], eax
lea ebx, [esi + 0x3350]
lea eax, [esi + 0x63a0]
mov dword [ebx + 0x3030], eax
mov dword [eax + 0xc], ebx
mov ecx, dword [ebx]
lea eax, [esi + 0x3314]
push eax
push 0x5cd880
push ebx
call dword [ecx]
mov ecx, dword [ebx]
lea eax, [esi + 0x332c]
push eax
push 0x5cd7d0
push ebx
call dword [ecx]
and dword [esp + 8], 0
xor eax, eax
lea edi, [esp + 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push 0x5d0be4
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x24]
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov ecx, esi
call fcn.00412944
mov eax, dword [esi + 4]
test eax, eax
je 0x435e3c
mov ecx, dword [esi + 0x28]
mov dword [ebx + 0x3040], eax
mov dword [ebx + 0x3044], ecx
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x3024], esi
mov dword [ebx + 0x303c], esi
lea ebx, [esi + 0x3318]
push ebx
push dword [esi + 0x332c]
push dword [esi + 0x3314]
push 0
push 1
push 0x5cd890
push 0x5cd5c0
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
jne 0x435e3c
mov eax, dword [ebx]
test eax, eax
je 0x435e3c
mov ecx, dword [eax]
lea edx, [esi + 0x3334]
push edx
push 0x5cd8e0
push eax
call dword [ecx]
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [esi + 0x3330]
push edx
push 0x5cd8c0
push eax
call dword [ecx]
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea edi, [esi + 0x331c]
push edi
push 0x5cd5a0
push ebx
call dword [eax]
mov edi, dword [edi]
test edi, edi
je 0x435e3c
mov eax, dword [edi]
lea ecx, [esi + 0x3338]
push ecx
push 0x5cd810
push edi
call dword [eax]
cmp dword [esi + 0x3338], 0
je 0x435ed6
mov eax, esi
call fcn.004358d0
cmp dword [esi + 0x50], 0xffffffff
jne 0x435e96
mov eax, dword [0x6394e4]
test eax, eax
jne 0x435e6f
mov eax, dword [esi + 4]
mov dword [0x6394ec], eax
mov dword [0x6394f0], esi
jmp 0x435e96
mov ecx, dword [0x6394e8]
push str.PropChildOwner
push eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetPropW]
push 2
push eax
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.PropChildThreadID
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x435ed1
push esi
push dword [esi + 4]
push 0x6400
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x435ed1
mov ax, word [esi + 0x74]
mov ecx, esi
call fcn.004375cc
xor eax, eax
inc eax
jmp 0x435ed8
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4