Function at 0x5c18c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68ac84
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x746694]
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 [0x74cb34]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x74c48c]
cmp eax, dword [esi + 4]
jg 0x5c1bd1
cmp dword [0x746108], 0
jne 0x5c1bb1
mov eax, dword [0x74c490]
cmp eax, dword [esi + 4]
jg 0x5c1c07
mov ecx, dword [0x746120]
test ecx, ecx
jne 0x5c1a58
push 0x208
push ecx
mov dword [ebp - 0x5c], 0x104
call fcn.00663d02
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.005be990
mov esi, eax
add esp, 8
cmp esi, 0x746110
je 0x5c19f8
mov edx, dword [0x746124]
cmp edx, 0x10
jb 0x5c19b5
mov ecx, dword [0x746110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c19ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c1c5b
push edx
push ecx
call fcn.0065d157
add esp, 8
mov dword [0x746120], 0
mov dword [0x746124], 0xf
mov byte [0x746110], 0
movups xmm0, xmmword [esi]
movups xmmword [0x746110], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x746120], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c1a2c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1a22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c1c5b
push edx
push ecx
call fcn.0065d157
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 0x5c1a52
push edi
call fcn.00663ce7
add esp, 4
mov ecx, dword [0x746120]
mov eax, accept
sub eax, ecx
cmp eax, 1
jb 0x5c1c60
cmp dword [0x746124], 0x10
mov eax, 0x746110
push 1
cmovae eax, dword [0x746110]
push 0x70eff4
push ecx
push eax
push 0x746110
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.005b3730
mov dword [ebp - 4], 1
call fcn.005c4040
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005b3570
add esp, 0xc
push 1
push 0x70eff4
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 [0x74610c]
movq qword [ebp - 0x60], xmm1
movups xmmword [ebp - 0x20], xmm0
cmp edx, 0x10
jb 0x5c1b28
mov ecx, dword [0x7460f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1b15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c1c65
push edx
push ecx
call fcn.0065d157
movups xmm0, xmmword [ebp - 0x20]
add esp, 8
movq xmm1, qword [ebp - 0x60]
mov edx, dword [ebp - 0x2c]
movq qword [0x746108], xmm1
movups xmmword [0x7460f8], xmm0
cmp edx, 0x10
jb 0x5c1b6b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1b61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c1c65
push edx
push ecx
call fcn.0065d157
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 0x5c1bb1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c1ba7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c1c65
push edx
push ecx
call fcn.0065d157
add esp, 8
mov eax, 0x7460f8
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.0065d16a
mov esp, ebp
pop ebp
ret
push 0x74c48c
call fcn.0065d30a
add esp, 4
cmp dword [0x74c48c], 0xffffffff
jne 0x5c190a
push 0x691ee0
call fcn.0065d73f
push 0x74c48c
call fcn.0065d2c0
add esp, 8
jmp 0x5c190a
push 0x74c490
call fcn.0065d30a
add esp, 4
cmp dword [0x74c490], 0xffffffff
jne 0x5c1928
push 0x6922a0
mov dword [0x746110], 0
mov dword [0x746120], 0
mov dword [0x746124], 0xf
call fcn.0065d73f
push 0x74c490
call fcn.0065d2c0
add esp, 8
jmp 0x5c1928
call fcn.00663c8b
call fcn.00446f60
call fcn.00663c8b
int3