Function at 0x45fd60
Capabilities:
Allocate thread local storage
Contain obfuscated stackstrings
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eae60
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00406200
mov dword [ebp - 0x258], eax
cmp dword [0x56e6b0], 0xffffffff
jne 0x45fdb1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x56e6b0], eax
push 1
mov eax, dword [0x56e6b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x22c], cx
push 0x206
push 0
lea edx, [ebp - 0x22a]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x25c], fcn.0045fd60
push 0x104
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.004600a0
add esp, 0xc
test eax, eax
jne 0x45fe22
push 0x104
lea edx, [ebp - 0x22c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call fcn.00495e20
add esp, 0xc
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x45fe78
mov eax, 1
jmp 0x460072
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x230]
je 0x45fe9c
push 0
mov edx, dword [0x56e6b0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
jmp 0x460072
mov byte [ebp - 0x24], 0x68
mov byte [ebp - 0x23], 0x50
mov byte [ebp - 0x22], 0x43
mov byte [ebp - 0x21], 0x71
mov byte [ebp - 0x20], 7
mov byte [ebp - 0x1f], 1
mov byte [ebp - 0x1e], 0x54
mov byte [ebp - 0x1d], 0x5a
mov byte [ebp - 0x1c], 0x1e
mov byte [ebp - 0x1b], 0x48
mov byte [ebp - 0x1a], 0x24
mov byte [ebp - 0x19], 0x5f
mov byte [ebp - 0x18], 0x59
mov byte [ebp - 0x17], 0
push 3
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0048e330
push 0x5c
lea edx, [ebp - 0x22c]
push edx
call fcn.00406530
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x45ff26
mov eax, dword [ebp - 0x238]
add eax, 2
mov dword [ebp - 0x238], eax
xor ecx, ecx
mov edx, dword [ebp - 0x238]
mov word [edx], cx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x45ff44
mov dword [ebp - 0x250], 0
jmp 0x45ffbd
mov ecx, dword [ebp - 0x240]
push ecx
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0x3fffffff
jle 0x45ff74
mov dword [ebp - 0x248], 0
jmp 0x45ffb1
mov eax, dword [ebp - 0x23c]
shl eax, 1
call fcn.004e1240
mov dword [ebp - 0x254], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call fcn.00417bd0
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
push 0x104
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
push 3
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0048e330
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00495e20
add esp, 0xc
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x460024
mov eax, 1
jmp 0x460072
mov edx, dword [ebp - 0x234]
cmp edx, dword [ebp - 0x230]
jne 0x46003e
cmp dword [ebp - 0x230], 0x8d36e
je 0x460050
push 0
mov eax, dword [0x56e6b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
jmp 0x460072
mov eax, 1
jmp 0x460072
lea esp, [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret