Function at 0x515b90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b2a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0xd], 0
call fcn.00420480
mov ecx, eax
test ecx, ecx
jne 0x515bcd
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515be2
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x515be4
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4f], 0x68702e65
mov dword [ebp - 0x5c], 0x70747468
mov dword [ebp - 0x54], 0x69742f73
mov word [ebp - 0x4b], 0x70
mov word [ebp - 0x57], 0x2f2f
mov byte [ebp - 0x50], 0x6d
mov byte [ebp - 0x58], 0x3a
mov byte [ebp - 0x55], 0x25
call fcn.0040c0e0
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00419930
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x515c74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515c72
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x515c74
call esi
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 2
xor esi, esi
mov edi, dword [ebp - 0x24]
nop
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.00525c50
test al, al
jne 0x515cae
mov ecx, 0x1f4
call fcn.00522bf0
inc esi
cmp esi, 3
jl 0x515c90
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x20]
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.0041fa80
mov byte [ebp - 4], 3
call fcn.00420480
mov ecx, eax
test ecx, ecx
jne 0x515cdb
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515cf0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x515cf2
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
mov edx, dword [eax - 0xc]
cmp edx, 8
jl 0x515e87
test edx, edx
jns 0x515d19
push 0x80070057
call fcn.00420020
cmp byte [eax], 0x7c
jne 0x515e87
cmp edx, 4
jge 0x515d31
push 0x80070057
call fcn.00420020
cmp byte [eax + 4], 0x7c
jne 0x515e87
cmp edx, 7
jge 0x515d4a
push 0x80070057
call fcn.00420020
mov al, byte [eax + 7]
cmp al, 0x7c
jne 0x515e87
push 3
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00411a90
mov byte [ebp - 4], 5
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x515da6
cmp dword [ebx + 0xc], 0
jl 0x515d97
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x515d97
call fcn.0041fb60
mov ecx, ebx
mov esi, eax
call fcn.00420560
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x515da6
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.0041f900
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x515de0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515ddc
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x515de0
mov ecx, edx
call ebx
push 2
push 5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00411a90
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov eax, dword [ebp - 0x1c]
lea ebx, [edx - 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
cmp ebx, ecx
je 0x515e3d
cmp dword [ecx + 0xc], 0
jl 0x515e32
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x515e2f
mov ecx, ebx
call fcn.0041fb60
mov ecx, dword [ebp - 0x2c]
mov ebx, eax
call fcn.00420560
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
jmp 0x515e3d
mov eax, dword [ebp - 0x1c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.0041f900
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x515e7e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515e7a
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0xd], 1
jmp 0x515f66
mov ecx, edx
call ebx
mov byte [ebp - 0xd], 1
jmp 0x515f66
lea ecx, [ebp - 0x38]
call fcn.00521e00
mov byte [ebp - 4], 7
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x515f06
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x515ef7
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x515ef7
call fcn.0041fb60
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x515eec
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515eea
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x2c]
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x515f06
call edx
mov esi, dword [ebp - 0x2c]
add esi, 0x10
mov dword [ebp - 0x18], esi
jmp 0x515f06
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.0041f900
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x515f40
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x515f3c
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x515f40
mov ecx, edx
call ebx
lea ecx, [ebp - 0x14]
mov word [ebp - 0x13], 0x53
mov byte [ebp - 0x14], 0x55
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x515f50
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0041f900
lea ecx, [ebp - 0x34]
call fcn.00529170
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
push ecx
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x1c], edx
mov ebx, dword [edx]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebx]
cmp eax, vtable.ATL::CAtlStringMgr.0
je 0x515f9a
mov ecx, ebx
call dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov ebx, eax
mov dword [ebp - 0x28], eax
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
jl 0x515fb1
cmp ebx, dword [edx]
jne 0x515fb1
mov ebx, edx
lock inc dword [eax]
jmp 0x51607f
mov eax, dword [ebx]
mov ecx, dword [edx + 4]
mov edi, dword [eax]
mov dword [ebp - 0x2c], edi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x516049
mov eax, ecx
not eax
shr eax, 0x1f
test eax, eax
jne 0x515fd8
xor ebx, ebx
jmp 0x516056
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jl 0x515fd1
inc ecx
lea eax, [ecx + 7]
and eax, 0xfffffff8
mov dword [ebp - 0x2c], eax
cmp ecx, eax
jle 0x515ff6
xor ebx, ebx
jmp 0x516056
mov eax, 1
mul dword [ebp - 0x2c]
test edx, edx
ja 0x516045
jb 0x516009
cmp eax, 0xffffffff
ja 0x516045
cmp eax, 0xffffffef
ja 0x516045
mov ecx, dword [ebx + 4]
add eax, 0x10
push eax
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
mov ebx, eax
test ebx, ebx
je 0x516056
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebx + 0xc], 1
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0
jmp 0x516056
xor ebx, ebx
jmp 0x516053
push 1
push ecx
mov ecx, ebx
call dword [ebp - 0x2c]
mov ebx, eax
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
test ebx, ebx
jne 0x516062
call fcn.0041fd10
mov eax, dword [edx + 4]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x1c]
inc edx
push edx
add eax, 0x10
push eax
call fcn.004980c0
add esp, 8
mov ecx, dword [ebp - 0x3c]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x30]
call fcn.004013c0
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48]
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x48], 0x73257325
push eax
push dword [ebp - 0x40]
mov byte [ebp - 0x44], 0
call fcn.00419930
mov byte [ebp - 4], 8
add esp, 0x10
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5160ee
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5160ea
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5160ee
mov ecx, edx
call ebx
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x51612a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x516126
mov eax, dword [edx + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call ebx
jmp 0x516130
mov ecx, edx
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x516161
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x51615f
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x516161
call edx
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x51619c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x516195
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x516199
mov ecx, edx
call esi
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x5161ea
mov ecx, dword [ebp - 0x74]
inc eax
cmp eax, 0x1000
jb 0x5161e1
test cl, 0x1f
je 0x5161bd
call fcn.0044d762
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x5161c9
call fcn.0044d762
sub ecx, eax
cmp ecx, 4
jae 0x5161d5
call fcn.0044d762
cmp ecx, 0x23
jbe 0x5161df
call fcn.0044d762
mov ecx, eax
push ecx
call fcn.00426633
add esp, 4
mov dword [ebp - 0x60], 0xf
add edi, 0xfffffff0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x51623f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x51623d
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edx
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret