Function at 0x520a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52878a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
mov bl, dl
mov bh, cl
push edi
mov byte [ebp - 0x1d], bl
push 0x104
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x15], 0
call fcn.00443110
add esp, 0xc
mov dword [ebp - 0x28], 0x80000002
test bl, bl
je 0x520ab6
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x28], 0x80000003
call fcn.005297e0
mov esi, 0x20019
mov dword [ebp - 0x14], esi
test bl, bl
jne 0x520acf
test bh, bh
mov eax, 0x20119
cmovne esi, eax
mov dword [ebp - 0x14], esi
mov edx, 0x545eb0
mov dword [ebp - 0x44], 0x74736e49
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x40], 0x4c6c6c61
mov dword [ebp - 0x38], 0x6e6f69
mov dword [ebp - 0x3c], 0x7461636f
mov dword [ebp - 0x33], 0x6d6f7268
mov word [ebp - 0x2c], 0x6578
mov word [ebp - 0x2f], 0x2e65
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x34], 0x63
mov byte [ebp - 0x2d], 0x65
call fcn.0051e060
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
mov edx, 0x545ea0
lea ecx, [ebp - 0x48]
call fcn.00411800
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00415190
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x48]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x520b84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520b81
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520b84
call dword [ebp - 0x1c]
cmp byte [ebp - 0x1d], 0
je 0x520cca
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x54]
call fcn.0041fa80
push 0x545ea0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.004118e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.004119c0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x1c], ecx
lea eax, [edx - 0x10]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x48], ecx
cmp eax, ecx
je 0x520c16
cmp dword [ecx + 0xc], 0
jl 0x520c0a
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x520c0a
mov ecx, dword [ebp - 0x1c]
call fcn.0041fb60
mov ecx, dword [ebp - 0x48]
mov esi, eax
call fcn.00420560
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x520c16
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.0041f900
mov byte [ebp - 4], 4
mov eax, edi
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x520c52
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520c4d
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520c52
mov ecx, edx
call dword [ebp - 0x1c]
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x520c8e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520c89
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520c8e
mov ecx, edx
call dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x520cca
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520cc5
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520cca
mov ecx, edx
call dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0050eac0
add esp, 0xc
test eax, eax
jne 0x520e7a
push 0x545d74
lea ecx, [ebp - 0x14]
call fcn.0041fa80
mov byte [ebp - 4], 6
mov edx, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x54], 0x800
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x520d2d
push 0x800
lea ecx, [ebp - 0x14]
call fcn.0041fd60
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
push ecx
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x44]
call fcn.0052e2a0
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.00469a19
mov ecx, eax
add esp, 0x18
test ecx, ecx
js 0x520eb1
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x520eb1
mov dword [eax - 0xc], ecx
mov eax, dword [ebp - 0x14]
mov byte [ecx + eax], 0
test esi, esi
jne 0x520e43
push 0x545ea0
lea ecx, [ebp - 0x1c]
call fcn.0041fa80
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.004118e0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00415190
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x520de2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520de0
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520de2
call esi
mov byte [ebp - 4], 6
mov eax, edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x520e17
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520e13
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520e17
mov ecx, edx
call esi
mov ecx, dword [ebp - 0x14]
call fcn.0052a710
test eax, eax
je 0x520e43
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov word [ebp - 0x28], 0x7325
push eax
push dword [ebp + 0xc]
mov byte [ebp - 0x26], 0
call fcn.00419930
add esp, 0xc
mov byte [ebp - 0x15], 1
mov ecx, dword [ebp - 0x58]
call fcn.00527fe0
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x520e7a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520eab
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x520ebf
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520ebb
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x520ebf
mov ecx, edx
call esi
jmp 0x520e7a
push 0x80070057
call fcn.00420020
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x520f07
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x520f03
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x15]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret