Function at 0x522e90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528ba9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xcc
push ebx
xor eax, eax
mov dword [ebp - 0x48], ecx
push esi
push edi
mov dword [ebp - 4], 0
lea edi, [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x74], 0
movaps xmm0, xmmword [0x548f70]
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
cpuid
mov esi, ebx
movups xmmword [ebp - 0x2c], xmm0
pop ebx
mov dword [edi], eax
xorps xmm0, xmm0
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
xor edi, edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x24]
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x8c], eax
mov eax, edi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x18], ebx
pop ebx
lea esi, [ebp - 0x2c]
mov dword [esi], eax
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 1
jne 0x522fb3
mov eax, dword [ebp - 0x2c]
mov ecx, eax
sar ecx, 4
and ecx, 0xf
mov dword [ebp - 0x1c], ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xf
mov dword [ebp - 0x44], ecx
mov ecx, eax
sar ecx, 0xc
and ecx, 3
mov dword [ebp - 0x40], ecx
mov ecx, eax
sar eax, 0x14
movzx eax, al
sar ecx, 0x10
and ecx, 0xf
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
movzx ecx, al
sar eax, 8
movzx eax, al
shl eax, 3
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
inc edi
cmp edi, dword [ebp - 0x14]
jbe 0x522f42
mov eax, 0x80000000
lea edi, [ebp - 0x2c]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0xd8]
mov dword [edi + 4], esi
push 0x40
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, dword [ebp - 0x2c]
push 0
push eax
mov dword [ebp - 0x14], edi
call fcn.00443110
mov esi, 0x80000000
add esp, 0xc
cmp edi, esi
jb 0x523058
mov eax, esi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x18], ebx
pop ebx
lea edi, [ebp - 0x2c]
mov dword [edi], eax
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp esi, 0x80000002
jne 0x52302a
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xd8], xmm0
jmp 0x523052
cmp esi, 0x80000003
jne 0x52303f
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xc8], xmm0
jmp 0x523052
cmp esi, 0x80000004
jne 0x523052
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0xb8], xmm0
inc esi
cmp esi, dword [ebp - 0x14]
jbe 0x522ff6
call fcn.00420480
mov ecx, eax
test ecx, ecx
jne 0x52306d
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x523082
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x523084
call edx
mov esi, dword [ebp - 0x48]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x74], 1
call fcn.00422af0
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00422af0
mov byte [ebp - 4], 2
mov edx, 0x25
mov dword [ebp - 0x62], 0x250064
mov dword [ebp - 0x4e], 0x64
mov dword [ebp - 0x68], 0x640025
lea eax, [edx + 0x4e]
mov dword [ebp - 0x6e], 0x250073
mov word [ebp - 0x6a], ax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x56], 0x250064
push dword [ebp - 0x18]
mov word [ebp - 0x70], dx
push eax
push esi
mov dword [ebp - 0x52], 0x250064
mov dword [ebp - 0x5a], 0x250064
mov dword [ebp - 0x5e], 0x250064
mov word [ebp - 0x64], dx
call fcn.00422d40
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 0x2c
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 0x523184
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x523181
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x523184
call dword [ebp - 0x1c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x5231b7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5231b3
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x5231b7
mov ecx, edx
call esi
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret