Function at 0x5c2200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a871
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x745694]
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 [0x74bb34]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x74b4a0]
cmp eax, dword [esi + 4]
jg 0x5c24bd
cmp dword [0x745180], 0
jne 0x5c249e
mov eax, dword [0x74b49c]
cmp eax, dword [esi + 4]
jg 0x5c24f3
cmp dword [0x745168], 0
jne 0x5c2394
push 0x208
push 0
mov dword [ebp - 0x44], 0x104
call fcn.006637d2
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.005be600
add esp, 8
push 1
push 0x70df74
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 [0x74516c]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp edx, 0x10
jb 0x5c2327
mov ecx, dword [0x745158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c2314
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c2547
push edx
push ecx
call fcn.0065cc27
movups xmm0, xmmword [ebp - 0x58]
add esp, 8
movq xmm1, qword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
movq qword [0x745168], xmm1
mov byte [ebp - 4], 0
movups xmmword [0x745158], xmm0
cmp edx, 0x10
jb 0x5c236e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c2364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c2547
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 esi, esi
je 0x5c2394
push esi
call fcn.006637b7
add esp, 4
call fcn.005c3cb0
mov esi, dword [0x745168]
mov ecx, accept
sub ecx, esi
mov edx, dword [eax + 0x10]
cmp ecx, edx
jb 0x5c254c
cmp dword [0x74516c], 0x10
mov ecx, 0x745158
cmovae ecx, dword [0x745158]
cmp dword [eax + 0x14], 0x10
jb 0x5c23cc
mov eax, dword [eax]
push edx
push eax
push esi
push ecx
push 0x745158
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.005b3710
push 1
push 0x70df74
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 [0x745184]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp edx, 0x10
jb 0x5c245b
mov ecx, dword [0x745170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c2448
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c2551
push edx
push ecx
call fcn.0065cc27
movups xmm0, xmmword [ebp - 0x58]
add esp, 8
movq xmm1, qword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
movq qword [0x745180], xmm1
movups xmmword [0x745170], xmm0
cmp edx, 0x10
jb 0x5c249e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c2494
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c2551
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov eax, 0x745170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
push 0x74b4a0
call fcn.0065cdda
add esp, 4
cmp dword [0x74b4a0], 0xffffffff
jne 0x5c2249
push 0x691a80
call fcn.0065d20f
push 0x74b4a0
call fcn.0065cd90
add esp, 8
jmp 0x5c2249
push 0x74b49c
call fcn.0065cdda
add esp, 4
cmp dword [0x74b49c], 0xffffffff
jne 0x5c2267
push 0x691d80
mov dword [0x745158], 0
mov dword [0x745168], 0
mov dword [0x74516c], 0xf
call fcn.0065d20f
push 0x74b49c
call fcn.0065cd90
add esp, 8
jmp 0x5c2267
call fcn.0066375b
call fcn.00446f60
call fcn.0066375b
int3