Function at 0x5185a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x51b576
push eax
mov eax, 0x2508
mov dword fs:[0], esp
call fcn.004972d0
mov eax, dword [0x567774]
push ebx
push esi
push edi
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x88], 0
jne 0x518ad9
push 0x1000
lea eax, [ebp - 0x1510]
push 0
push eax
call fcn.00443110
add esp, 0xc
lea eax, [ebp - 0x2510]
push 0x1000
push 0
push eax
call fcn.00443110
mov eax, 0x49
mov dword [ebp - 0x34], 0x72
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x1c]
mov eax, 0x5f
mov dword [ebp - 0x42], 0x73006e
mov word [ebp - 0x64], ax
add esp, 0xc
mov eax, 0x73
mov dword [ebp - 0x4e], 0x690074
mov word [ebp - 0x5a], ax
mov ebx, 0x74
lea eax, [ebp - 0x64]
mov dword [ebp - 0x48], 0x730067
mov edx, 0x6e
mov dword [ebp - 0x5e], 0x77006f
push eax
mov dword [ebp - 0x62], 0x720062
mov dword [ebp - 0x38], 0x65006c
mov dword [ebp - 0x58], 0x720065
mov dword [ebp - 0x3c], 0x6c0061
mov dword [ebp - 0x54], 0x650053
mov word [ebp - 0x4a], dx
mov word [ebp - 0x50], bx
mov word [ebp - 0x3e], bx
call fcn.004218c0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.0052cb00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00522e90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0051ae70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0052c950
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0052aae0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0052fe90
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1510]
push dword [ebp - 0x30]
push 0x800
push eax
call fcn.0046a60c
add esp, 0xc
lea eax, [ebp - 0x1510]
push dword [ebp - 0x2c]
push 0x800
push eax
call fcn.0046a6e2
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1510]
add esp, 0xc
push esi
push 0x800
push eax
call fcn.0046a6e2
add esp, 0xc
lea eax, [ebp - 0x1510]
push dword [ebp - 0x28]
push 0x800
push eax
call fcn.0046a6e2
add esp, 0xc
lea eax, [ebp - 0x1510]
push dword [ebp - 0x1c]
push 0x800
push eax
call fcn.0046a6e2
add esp, 0xc
lea eax, [ebp - 0x2510]
push dword [ebp - 0x20]
push 0x800
push eax
call fcn.0046a6e2
add esp, 0xc
lea eax, [ebp - 0x2510]
push dword [ebp - 0x24]
push 0x800
push eax
call fcn.0046a6e2
add esp, 0xc
lea eax, [ebp - 0x2510]
push dword [ebp - 0x1c]
push 0x800
push eax
call fcn.0046a6e2
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.00404ef0
lea eax, [ebp - 0x1510]
push 0x800
push eax
call fcn.00469b40
add esp, 8
lea ecx, [ebp - 0x110]
add eax, eax
push eax
lea eax, [ebp - 0x1510]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0052a4b0
lea eax, [ebp - 0x2510]
mov byte [ebp - 4], 7
push 0x800
push eax
call fcn.00469b40
add esp, 8
lea ecx, [ebp - 0x110]
add eax, eax
push eax
lea eax, [ebp - 0x2510]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0052a4b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.00409240
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x51883d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409e50
push 0x400
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.00443110
add esp, 0xc
mov word [ebp - 0x18], 0x7325
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
mov byte [ebp - 0x16], 0
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x510]
push 0x400
push eax
call fcn.0041f2e0
add esp, 0xc
lea edx, [ebp - 0x510]
lea ecx, [ebp - 0x68]
call fcn.00518100
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ebx, dword [0x567774]
add ebx, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x5188e0
cmp dword [ebx + 0xc], 0
jl 0x5188d2
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x5188d2
call fcn.0041fb60
mov ecx, ebx
mov edi, eax
call fcn.00420560
lea eax, [edi + 0x10]
mov dword [0x567774], eax
jmp 0x5188e0
push dword [edx - 0xc]
mov ecx, 0x567774
push edx
call fcn.0041f900
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov ecx, dword [ebp - 0x68]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x518925
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x518920
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518925
mov ecx, edx
call dword [ebp - 0x10]
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x518940
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00409e50
mov byte [ebp - 4], 5
mov eax, edi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x70], 0xf
add ecx, 0xfffffff0
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x518991
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x51898c
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518991
mov ecx, edx
call dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov eax, edi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5189cd
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5189c8
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x5189cd
mov ecx, edx
call dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x518a09
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x518a04
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518a09
mov ecx, edx
call dword [ebp - 0x10]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x518a39
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x518a37
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518a39
call edx
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x518a6e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x518a6a
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518a6e
mov ecx, edx
call esi
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x518aa3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x518a9f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518aa3
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x518ad9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x518ad5
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x518ad9
mov ecx, edx
call esi
mov ecx, dword [0x567774]
lea ecx, [ecx - 0x10]
call fcn.0041fb60
mov ecx, dword [ebp - 0x6c]
add eax, 0x10
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret