Function at 0x5c1530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a714
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x74bb34]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x74b48c]
cmp eax, dword [esi + 4]
jg 0x5c1841
cmp dword [0x745108], 0
jne 0x5c1821
mov eax, dword [0x74b490]
cmp eax, dword [esi + 4]
jg 0x5c1877
mov ecx, dword [0x745120]
test ecx, ecx
jne 0x5c16c8
push 0x208
push ecx
mov dword [ebp - 0x5c], 0x104
call fcn.006637d2
mov edi, eax
add esp, 8
mov dword [ebp - 0x60], edi
push 1
push 0x28
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.005be600
mov esi, eax
add esp, 8
cmp esi, 0x745110
je 0x5c1668
mov edx, dword [0x745124]
cmp edx, 0x10
jb 0x5c1625
mov ecx, dword [0x745110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c161b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c18cb
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov dword [0x745120], 0
mov dword [0x745124], 0xf
mov byte [0x745110], 0
movups xmm0, xmmword [esi]
movups xmmword [0x745110], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x745120], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c169c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1692
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c18cb
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x5c16c2
push edi
call fcn.006637b7
add esp, 4
mov ecx, dword [0x745120]
mov eax, accept
sub eax, ecx
cmp eax, 1
jb 0x5c18d0
cmp dword [0x745124], 0x10
mov eax, 0x745110
push 1
cmovae eax, dword [0x745110]
push 0x70df74
push ecx
push eax
push 0x745110
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.005b3710
mov dword [ebp - 4], 1
call fcn.005c3cb0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005b3550
add esp, 0xc
push 1
push 0x70df74
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004485a0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [0x74510c]
movq qword [ebp - 0x60], xmm1
movups xmmword [ebp - 0x20], xmm0
cmp edx, 0x10
jb 0x5c1798
mov ecx, dword [0x7450f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1785
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c18d5
push edx
push ecx
call fcn.0065cc27
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x60]
mov edx, dword [ebp - 0x2c]
movq qword [0x745108], xmm1
movups xmmword [0x7450f8], xmm0
cmp edx, 0x10
jb 0x5c17db
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c17d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c18d5
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x5c1821
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1817
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c18d5
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov eax, 0x7450f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
push 0x74b48c
call fcn.0065cdda
add esp, 4
cmp dword [0x74b48c], 0xffffffff
jne 0x5c157a
push 0x691960
call fcn.0065d20f
push 0x74b48c
call fcn.0065cd90
add esp, 8
jmp 0x5c157a
push 0x74b490
call fcn.0065cdda
add esp, 4
cmp dword [0x74b490], 0xffffffff
jne 0x5c1598
push 0x691d20
mov dword [0x745110], 0
mov dword [0x745120], 0
mov dword [0x745124], 0xf
call fcn.0065d20f
push 0x74b490
call fcn.0065cd90
add esp, 8
jmp 0x5c1598
call fcn.0066375b
call fcn.00446f60
call fcn.0066375b
int3