Function at 0x5c2590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68ade1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x746694]
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 [0x74cb34]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x74c4a0]
cmp eax, dword [esi + 4]
jg 0x5c284d
cmp dword [0x746180], 0
jne 0x5c282e
mov eax, dword [0x74c49c]
cmp eax, dword [esi + 4]
jg 0x5c2883
cmp dword [0x746168], 0
jne 0x5c2724
push 0x208
push 0
mov dword [ebp - 0x44], 0x104
call fcn.00663d02
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.005be990
add esp, 8
push 1
push 0x70eff4
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 [0x74616c]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp edx, 0x10
jb 0x5c26b7
mov ecx, dword [0x746158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c26a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c28d7
push edx
push ecx
call fcn.0065d157
movups xmm0, xmmword [ebp - 0x58]
add esp, 8
movq xmm1, qword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
movq qword [0x746168], xmm1
mov byte [ebp - 4], 0
movups xmmword [0x746158], xmm0
cmp edx, 0x10
jb 0x5c26fe
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c26f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c28d7
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 esi, esi
je 0x5c2724
push esi
call fcn.00663ce7
add esp, 4
call fcn.005c4040
mov esi, dword [0x746168]
mov ecx, accept
sub ecx, esi
mov edx, dword [eax + 0x10]
cmp ecx, edx
jb 0x5c28dc
cmp dword [0x74616c], 0x10
mov ecx, 0x746158
cmovae ecx, dword [0x746158]
cmp dword [eax + 0x14], 0x10
jb 0x5c275c
mov eax, dword [eax]
push edx
push eax
push esi
push ecx
push 0x746158
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.005b3730
push 1
push 0x70eff4
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 [0x746184]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp edx, 0x10
jb 0x5c27eb
mov ecx, dword [0x746170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c27d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c28e1
push edx
push ecx
call fcn.0065d157
movups xmm0, xmmword [ebp - 0x58]
add esp, 8
movq xmm1, qword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
movq qword [0x746180], xmm1
movups xmmword [0x746170], xmm0
cmp edx, 0x10
jb 0x5c282e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c2824
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c28e1
push edx
push ecx
call fcn.0065d157
add esp, 8
mov eax, 0x746170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push 0x74c4a0
call fcn.0065d30a
add esp, 4
cmp dword [0x74c4a0], 0xffffffff
jne 0x5c25d9
push 0x692000
call fcn.0065d73f
push 0x74c4a0
call fcn.0065d2c0
add esp, 8
jmp 0x5c25d9
push 0x74c49c
call fcn.0065d30a
add esp, 4
cmp dword [0x74c49c], 0xffffffff
jne 0x5c25f7
push 0x692300
mov dword [0x746158], 0
mov dword [0x746168], 0
mov dword [0x74616c], 0xf
call fcn.0065d73f
push 0x74c49c
call fcn.0065d2c0
add esp, 8
jmp 0x5c25f7
call fcn.00663c8b
call fcn.00446f60
call fcn.00663c8b
int3