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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb020
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 0x45ff31
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.0045fee0
push 0x104
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00460220
add esp, 0xc
test eax, eax
jne 0x45ffa2
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.00495fc0
add esp, 0xc
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x45fff8
mov eax, 1
jmp 0x4601f2
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp - 0x230]
je 0x46001c
push 0
mov edx, dword [0x56e6b0]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
jmp 0x4601f2
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.0048e4d0
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 0x4600a6
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 0x4600c4
mov dword [ebp - 0x250], 0
jmp 0x46013d
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 0x4600f4
mov dword [ebp - 0x248], 0
jmp 0x460131
mov eax, dword [ebp - 0x23c]
shl eax, 1
call fcn.004e13c0
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.0048e4d0
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00495fc0
add esp, 0xc
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x4601a4
mov eax, 1
jmp 0x4601f2
mov edx, dword [ebp - 0x234]
cmp edx, dword [ebp - 0x230]
jne 0x4601be
cmp dword [ebp - 0x230], 0x8d36e
je 0x4601d0
push 0
mov eax, dword [0x56e6b0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
jmp 0x4601f2
mov eax, 1
jmp 0x4601f2
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.004e134c
mov esp, ebp
pop ebp
ret