Function at 0x517660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b3aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x74666f53
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1d], 0x55455c65
mov word [ebp - 0x19], 0x4b44
mov word [ebp - 0x20], 0x6177
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x1e], 0x72
call fcn.0041fa80
push 0x104
lea eax, [ebp - 0x190]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00443110
add esp, 0xc
lea ecx, [ebp - 0x190]
call fcn.005297e0
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041fa80
push 0x545ea0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004118e0
add esp, 4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.004119c0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x517752
cmp dword [edi + 0xc], 0
jl 0x517746
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x517746
call fcn.0041fb60
mov ecx, edi
mov esi, eax
call fcn.00420560
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x517752
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0041f900
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x517790
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x51778c
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x517790
mov ecx, edx
call esi
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5177c5
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5177c1
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x5177c5
mov ecx, edx
call esi
mov byte [ebp - 4], 0
mov eax, ebx
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5177fa
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5177f6
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x5177fa
mov ecx, edx
call esi
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], 4
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x88], 4
push eax
mov ecx, 0x80000003
mov dword [ebp - 0x2d], 0x54746e6f
mov word [ebp - 0x35], 0x6574
mov word [ebp - 0x38], 0x7953
mov dword [ebp - 0x28], 0x666570
mov dword [ebp - 0x31], 0x464b4455
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x29], 0x79
mov word [ebp - 0x33], 0x456d
call fcn.0052fbf0
add esp, 0x10
cmp dword [ebp - 0x68], 1
jne 0x517abd
call fcn.00420480
mov ecx, eax
test ecx, ecx
jne 0x517889
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x51789e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x5178a0
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x41], 0x73253d6d
mov dword [ebp - 0x5c], 0x70747468
mov word [ebp - 0x50], 0x6f6c
mov dword [ebp - 0x3c], 0x313d73
mov dword [ebp - 0x48], 0x3d646975
mov dword [ebp - 0x4d], 0x7068702e
mov word [ebp - 0x53], 0x2f73
mov word [ebp - 0x43], 0x2673
mov byte [ebp - 0x4e], 0x67
mov dword [ebp - 0x58], 0x2f2f3a73
mov byte [ebp - 0x3d], 0x26
mov byte [ebp - 0x54], 0x25
mov byte [ebp - 0x44], 0x25
mov byte [ebp - 0x51], 0x66
mov byte [ebp - 0x49], 0x3f
call fcn.005185a0
mov esi, eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0040c0e0
push str.a28d2cc7764b4884adda9021233272ff
mov byte [ebp - 4], 6
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00419930
mov byte [ebp - 4], 5
add esp, 0x14
mov edx, dword [ebp - 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x517964
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x517962
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x517964
call esi
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x517999
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x517995
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x517999
mov ecx, edx
call esi
mov esi, dword [ebp - 0x14]
xor ebx, ebx
nop
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push eax
push esi
call fcn.00525c50
test al, al
je 0x5179fa
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
mov edi, dword [ebp - 0x70]
mov eax, 1
cmovae ecx, dword [ebp - 0x80]
cmp edi, eax
cmovb eax, edi
push eax
push 0x545f40
push ecx
call fcn.004051e0
add esp, 0xc
test eax, eax
jne 0x5179fa
cmp edi, 1
jb 0x5179fa
jbe 0x517a87
mov ecx, 0x3e8
call fcn.00522bf0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x517a46
mov ecx, dword [ebp - 0x80]
inc eax
cmp eax, 0x1000
jb 0x517a3d
test cl, 0x1f
jne 0x517ab0
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x517ab0
sub ecx, eax
cmp ecx, 4
jb 0x517ab0
cmp ecx, 0x23
ja 0x517ab0
mov ecx, eax
push ecx
call fcn.00426633
add esp, 4
inc ebx
cmp ebx, 6
jl 0x5179a0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x517ab7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x517ab5
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call edi
jmp 0x517abd
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x517a9c
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00409e50
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
jmp 0x517a50
call fcn.0044d762
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x517b02
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x517afe
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
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]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret