Function at 0x5c6f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691bc9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x74e694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x754b3c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x7544b8]
cmp eax, dword [esi + 4]
jg 0x5c724d
cmp dword [0x74e180], 0
jne 0x5c722e
mov eax, dword [0x7544b4]
cmp eax, dword [esi + 4]
jg 0x5c7283
cmp dword [0x74e168], 0
jne 0x5c7124
push 0x208
push 0
mov dword [ebp - 0x44], 0x104
call fcn.0066a672
mov esi, eax
add esp, 8
mov dword [ebp - 0x48], esi
push 1
push 2
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005c3530
add esp, 8
push 1
push 0x716504
mov ecx, eax
mov byte [ebp - 4], 1
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 [0x74e16c]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp edx, 0x10
jb 0x5c70b7
mov ecx, dword [0x74e158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c70a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72d7
push edx
push ecx
call fcn.00663ac7
movups xmm0, xmmword [ebp - 0x58]
add esp, 8
movq xmm1, qword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
movq qword [0x74e168], xmm1
mov byte [ebp - 4], 0
movups xmmword [0x74e158], xmm0
cmp edx, 0x10
jb 0x5c70fe
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c70f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72d7
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5c7124
push esi
call fcn.0066a657
add esp, 4
call fcn.005c8a40
mov esi, dword [0x74e168]
mov ecx, accept
sub ecx, esi
mov edx, dword [eax + 0x10]
cmp ecx, edx
jb 0x5c72dc
cmp dword [0x74e16c], 0x10
mov ecx, 0x74e158
cmovae ecx, dword [0x74e158]
cmp dword [eax + 0x14], 0x10
jb 0x5c715c
mov eax, dword [eax]
push edx
push eax
push esi
push ecx
push 0x74e158
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.005b5360
push 1
push 0x716504
lea ecx, [ebp - 0x40]
mov dword [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 [0x74e184]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp edx, 0x10
jb 0x5c71eb
mov ecx, dword [0x74e170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c71d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72e1
push edx
push ecx
call fcn.00663ac7
movups xmm0, xmmword [ebp - 0x58]
add esp, 8
movq xmm1, qword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
movq qword [0x74e180], xmm1
movups xmmword [0x74e170], xmm0
cmp edx, 0x10
jb 0x5c722e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7224
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72e1
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov eax, 0x74e170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
push 0x7544b8
call fcn.00663c7a
add esp, 4
cmp dword [0x7544b8], 0xffffffff
jne 0x5c6fd9
push 0x6993c0
call fcn.006640af
push 0x7544b8
call fcn.00663c30
add esp, 8
jmp 0x5c6fd9
push 0x7544b4
call fcn.00663c7a
add esp, 4
cmp dword [0x7544b4], 0xffffffff
jne 0x5c6ff7
push 0x6996c0
mov dword [0x74e158], 0
mov dword [0x74e168], 0
mov dword [0x74e16c], 0xf
call fcn.006640af
push 0x7544b4
call fcn.00663c30
add esp, 8
jmp 0x5c6ff7
call fcn.0066a5fb
call fcn.00446f60
call fcn.0066a5fb
int3