Function at 0x101049a5
Capabilities:
Set thread local storage value

Disassembly:
push 0x468
mov eax, 0x101287ac
call fcn.10004395
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44c]
mov ebx, dword [ebp + 8]
mov di, word [ebp + 0x10]
mov si, word [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x1c]
push 0x200
mov dword [ebp - 0x45c], eax
call fcn.1003a42b
xor eax, eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x44c]
mov byte [ebp - 4], 1
push eax
push ebx
call fcn.100a9586
and dword [ebp - 0x450], 0
lea eax, [ebp - 0x450]
push eax
push ebx
call fcn.1003a42b
push dword [ebp - 0x450]
lea eax, [ebp - 0x468]
push ebx
push eax
call fcn.1003a42b
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
test si, si
je 0x10104b09
xor esi, esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 3
push eax
push ebx
call fcn.1003a42b
test al, al
je 0x10104ab8
push dword [ebp - 0x454]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.1003a42b
lea ecx, [ebp - 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x458], esi
call fcn.100050ed
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
add ecx, 0x14
push 0
mov esi, 0xffff
mov word [ebp - 0x18], si
push dword [ebp - 0x18]
push dword [ebp - 0x458]
call fcn.1003a42b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.100050ed
mov byte [ebp - 4], 2
jmp 0x10104b0e
push 0x800700a1
push dword [0x101a55c4]
call dword [sym.imp.kernel32.dll_TlsSetValue]
push ebx
push esi
push 0xffffffffffffffff
push 0x2c93
push 3
push 0x10169a50
lea eax, [ebp - 0x30]
push 0x1e619794
push eax
call fcn.1003a42b
add esp, 0x20
lea ecx, [ebp - 0x30]
mov esi, dword [eax]
call fcn.1003a42b
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.100050ed
mov byte [ebp - 4], 5
jmp 0x10104bcf
mov esi, 0xffff
push dword [ebp - 0x460]
lea ecx, [ebp - 0x18]
push 0x10169120
call fcn.1003a42b
mov ax, word [0x10131a40]
mov byte [ebp - 4], 7
mov word [ebp - 0x458], si
test di, di
jne 0x10104b3e
mov word [ebp - 0x458], ax
push dword [ebp - 0x458]
mov ecx, dword [ebp - 0x18]
movzx eax, ax
push eax
push dword [ebp - 0x44c]
lea eax, [ebp - 0x3c]
push eax
call fcn.100c8f92
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.100935da
cmp dword [ebp - 0x3c], 0
mov byte [ebp - 4], 9
jge 0x10104be9
push dword [ebp - 0x3c]
push dword [0x101a55c4]
call dword [sym.imp.kernel32.dll_TlsSetValue]
lea ecx, [ebp - 0x44c]
call fcn.100bf951
push dword [ebp - 0x44c]
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
push 0x2c90
push 4
push 0x10169a50
lea eax, [ebp - 0x474]
push 0x1e619793
push eax
call fcn.1003a42b
add esp, 0x20
lea ecx, [ebp - 0x474]
mov esi, dword [eax]
call fcn.1003a42b
lea ecx, [ebp - 0x3c]
call fcn.1003a42b
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
call fcn.100050ed
lea ecx, [ebp - 0x44c]
call fcn.10006e62
mov eax, esi
jmp 0x10104cc5
push dword [ebp - 0x464]
lea ecx, [ebp - 0x1c]
push 0x101699f0
call fcn.1003a42b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x10104c3c
call fcn.1003a42b
test eax, eax
je 0x10104c3c
mov ecx, dword [ebp - 0x1c]
call fcn.1003a42b
test eax, eax
je 0x10104c3c
mov ecx, dword [ebp - 0x1c]
call fcn.1003a42b
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.1003a42b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.1003a42b
mov esi, dword [ebp - 0x45c]
test esi, esi
je 0x10104c7a
push 0x17
push 0x101690b0
push 0x10168fa0
lea ecx, [ebp - 0x18]
call fcn.1003a42b
push dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.1003a42b
mov dword [esi], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.100935da
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.100935da
lea ecx, [ebp - 0x3c]
call fcn.1003a42b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.100050ed
lea ecx, [ebp - 0x44c]
call fcn.10006e62
xor eax, eax
jmp 0x10104cc5
call fcn.100049a7
ret 0x18