Function at 0x495d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x19], 0x36363037
mov dword [ebp - 0x1f], 0x2e302e36
mov word [ebp - 0x1b], 0x2e35
mov byte [ebp - 0x20], 0x36
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x34], 0
call fcn.0040bf20
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], 0
jne 0x495e4c
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0040bfe0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
or esi, 0xffffffff
mov dword [ebx], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x495f4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x44], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x495e44
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x495f4e
call dword [ebp - 0x44]
jmp 0x495f4e
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call fcn.00411050
mov edi, eax
test edi, edi
je 0x495ef8
push edi
call fcn.00415c5b
mov edx, dword [ebp - 0x38]
mov esi, eax
mov ecx, dword [ebp + 8]
push esi
push edi
call fcn.00411110
add esp, 0xc
test eax, eax
je 0x495eef
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004111d0
add esp, 8
test eax, eax
je 0x495eef
cmp dword [ebp - 0x3c], 0
je 0x495eef
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 0xfeef04bd
jne 0x495eef
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x64252e64
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x252e6425
push eax
mov dword [ebp - 0x28], 0x64252e
call fcn.0040ae40
add esp, 0x18
push esi
call fcn.004157b2
add esp, 4
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0040bfe0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
or esi, 0xffffffff
mov dword [ebx], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x495f4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x44], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x495f4b
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x495f4e
call dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x495f84
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x495f80
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x495f84
mov ecx, edx
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041553e
mov esp, ebp
pop ebp
ret