Function at 0x416290
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44df42
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x46d45c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
push str.AutoRuns
call fcn.0041f490
add esp, 0xc
test eax, eax
jne 0x4162de
mov eax, 1
jmp 0x416731
push 0x20000
call fcn.0043890c
add eax, 0x20
push eax
call fcn.0043a706
add esp, 4
push eax
call fcn.0043a60f
add esp, 8
push 0xfeff
push 0x45ca98
call fcn.0043a050
add esp, 8
call fcn.0042f700
mov byte [0x46f6b0], al
call fcn.00405730
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x46f464], eax
push 0
mov edx, dword [0x46f464]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call fcn.00405890
push str._PATH_
lea eax, [ebp - 0x434]
push eax
call fcn.0041d6a0
add esp, 8
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x43c]
push edx
mov ecx, 0x46f6d4
call fcn.00402240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.004021c0
push 0x46e7dc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.004045a0
push 0x4591c4
push 0x45924c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46f6cc], eax
call fcn.00415f30
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00415b60
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x4163e6
mov eax, 1
jmp 0x416731
movzx ecx, byte [0x46f6b1]
test ecx, ecx
je 0x416458
movzx edx, word [0x469984]
push edx
movzx eax, word [0x469984]
push eax
movzx ecx, word [0x469984]
push ecx
movzx edx, word [0x469984]
push edx
movzx eax, word [0x469984]
push eax
movzx ecx, word [0x469984]
push ecx
movzx edx, word [0x469984]
push edx
movzx eax, word [0x469984]
push eax
movzx ecx, word [0x469984]
push ecx
movzx edx, word [0x469984]
push edx
movzx eax, word [0x469984]
push eax
push str.Time_cEntry_Location_cEntry_cEnabled_cCategory_cDescription_cPublisher_cImage_Path_cLaunch_String_cMD5_cSHA_1_cSHA_256_n
call fcn.0043a050
add esp, 0x30
jmp 0x4164a0
movzx ecx, byte [0x46f6b2]
test ecx, ecx
je 0x4164a0
push 1
push str._xml_version_1.0__encoding_ISO_8859_1__
call fcn.0043890c
add eax, 0x20
push eax
call fcn.004167e0
add esp, 0xc
push 0x4595ac
call fcn.0043a050
add esp, 4
push 1
push 0x45963c
call fcn.0043890c
add eax, 0x20
push eax
call fcn.004167e0
add esp, 0xc
cmp dword [0x46f6b4], 0
je 0x4166fb
push 1
mov edx, dword [ebp - 0x220]
push edx
call fcn.00410df0
add esp, 8
push 0
call fcn.00415410
add esp, 4
mov ecx, 0x46f858
call fcn.00418a00
test eax, eax
jne 0x4164f1
call fcn.0043890c
add eax, 0x40
push eax
push str.No_other_accounts_detected_on_this_system._n_n
call fcn.00438860
add esp, 8
jmp 0x4166f9
mov dword [ebp - 0x430], 0
jmp 0x41650c
mov eax, dword [ebp - 0x430]
add eax, 1
mov dword [ebp - 0x430], eax
mov ecx, 0x46f858
call fcn.00418a00
cmp dword [ebp - 0x430], eax
jae 0x4166f9
mov ecx, dword [ebp - 0x430]
push ecx
mov ecx, 0x46f858
call fcn.00418b00
mov edx, dword [eax]
add edx, 0x210
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.004387e0
add esp, 8
lea ecx, [ebp - 0x42c]
push ecx
call fcn.00439a18
add esp, 4
mov edx, dword [0x46f6b4]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.004387e0
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00439a18
add esp, 4
push 0x4597fc
lea edx, [ebp - 0x21c]
push edx
call fcn.00438feb
add esp, 8
test eax, eax
je 0x4165b5
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call fcn.00416750
add esp, 8
test eax, eax
je 0x4166f4
movzx edx, byte [0x46f6b2]
test edx, edx
je 0x41664e
push 0x4598ac
call fcn.0043a050
add esp, 4
push 1
push 0x45cc54
call fcn.0043890c
add eax, 0x20
push eax
call fcn.004167e0
add esp, 0xc
push 1
mov eax, dword [ebp - 0x430]
push eax
mov ecx, 0x46f858
call fcn.00418b00
mov ecx, dword [eax]
add ecx, 0x210
push ecx
push str.UserName
call fcn.0043890c
add eax, 0x20
push eax
call fcn.00405240
add esp, 0x10
push 1
mov edx, dword [ebp - 0x430]
push edx
mov ecx, 0x46f858
call fcn.00418b00
mov eax, dword [eax]
add eax, 0x418
push eax
push str.ProfileDirectory
call fcn.0043890c
add eax, 0x20
push eax
call fcn.00405240
add esp, 0x10
jmp 0x41668f
mov ecx, dword [ebp - 0x430]
push ecx
mov ecx, 0x46f858
call fcn.00418b00
mov edx, dword [eax]
add edx, 0x418
push edx
mov eax, dword [ebp - 0x430]
push eax
mov ecx, 0x46f858
call fcn.00418b00
mov ecx, dword [eax]
add ecx, 0x210
push ecx
push str._nAutoruns_for__s___s_:_n
call fcn.0043a050
add esp, 0xc
mov edx, dword [ebp - 0x430]
push edx
mov ecx, 0x46f858
call fcn.00418b00
mov eax, dword [eax]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x46f6ac]
push edx
push 0
call fcn.0040a4d0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x4166c0
jmp 0x4166f9
push 0
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.00410df0
add esp, 8
movzx edx, byte [0x46f6b2]
test edx, edx
je 0x4166f4
push 0
push str.userprofile
call fcn.0043890c
add eax, 0x20
push eax
call fcn.004167e0
add esp, 0xc
jmp 0x4164fd
jmp 0x41670c
push 2
mov eax, dword [ebp - 0x220]
push eax
call fcn.00410df0
add esp, 8
movzx ecx, byte [0x46f6b2]
test ecx, ecx
je 0x41672f
push 0
push str.autoruns
call fcn.0043890c
add eax, 0x20
push eax
call fcn.004167e0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004376f1
mov esp, ebp
pop ebp
ret