Function at 0x415de6
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aed23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x4161a9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x415e8f
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x415e8a
push 0
push 0x45a5
call fcn.0042647c
pop ecx
pop ecx
jmp 0x4161a7
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x40], 0x6f5b
mov dword [ebp - 0x94], str.lgoeoy_eoy_cnxronko_zgb_mspjys_ztxwnnv_ddk_xmhbrc_ciburblem
cmp dword [ebp - 0x40], 0x7197
jle 0x415f6d
push 0x101c
push 0
push 0x4ec
call dword [sym.imp.USER32.dll_GetClassNameW]
and dword [ebp - 0x20], 0
jmp 0x415ede
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5d8f
jge 0x415f63
and dword [ebp - 0x1c], 0
jmp 0x415ef4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1d2c
jge 0x415f5e
and dword [ebp - 0x24], 0
jmp 0x415f0a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x731a
jge 0x415f5c
and dword [ebp - 0x28], 0
jmp 0x415f20
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1b4
jge 0x415f5a
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0xae0558
call fcn.00441f36
jmp 0x415f19
jmp 0x415f03
jmp 0x415eed
jmp 0x415ed7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x6cf2
jge 0x415f90
mov edx, dword [ebp - 0x94]
mov ecx, 0xae0558
call fcn.004438dc
jmp 0x415fac
or dword [ebp - 4], 0xffffffff
jmp 0x415fb6
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 3
jmp 0x416011
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x4161a7
mov dword [ebp - 0x3c], 9
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
cmp dword [eax], 0
je 0x41603b
jmp 0x4161a7
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jbe 0x41604c
mov dword [ebp - 0x38], 1
jmp 0x416050
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
cmp ecx, 0x22736378
jle 0x416073
mov dword [ebp - 0x70], 1
jmp 0x416077
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, 0x1d77f172
cmp eax, 0x1fcc1031
jl 0x416097
mov dword [ebp - 0x78], 1
jmp 0x41609b
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4160b4
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
push 3
mov ecx, dword [ebp - 0x18]
call fcn.00442139
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x4160dc
mov dword [ebp - 0x48], 1
jmp 0x4160e0
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jge 0x4160f3
mov dword [ebp - 0x80], 1
jmp 0x4160f7
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ecx]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
cmp esi, dword [eax]
jg 0x416140
push 8
pop eax
test eax, eax
je 0x416140
mov dword [ebp - 0x44], 1
jmp 0x416144
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jg 0x416161
mov dword [ebp - 0x34], 1
jmp 0x416165
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.00442139
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], eax
jle 0x416193
mov dword [ebp - 0x4c], 1
jmp 0x416197
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x416006
jmp 0x4161c7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x98], eax
push 0xff6
push 0
push dword [ebp - 0x98]
call fcn.00401dfa
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret